How to improve accuracy of character recognition. bellow is the image and the code.
code:
rcz = cv2.resize(img, dsize, fx=1, fy=1, interpolation=cv2.INTER_AREA)
gray = cv2.cvtColor(rcz, cv2.COLOR_BGR2GRAY)
bl = cv2.bilateralFilter(gray,9,5,5)
th = cv2.threshold(bl, 0, 255, cv2.THRESH_BINARY + cv2.THRESH_OTSU)[1]
text = pytesseract.image_to_string(th)
output :
5 8EM TDC ECO M*
2018
( November )
ECONOMICS ( Major ) Course : 504 ( Monetary Theory and Financial Market } Full Marks : 80 Pass Marks : 32/24 Time : 3 hours”
The figures in the margin indicate full marks for the questions
- Choose the correct option/Answer the following : 1*8=8 fa) As per RBI, M2 is composed of
(j M, + all post office deposits
(ii) M,+ time deposits of commercial banks 5
Ppo/ase (Tusn Ower}