Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 558 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 558 Bytes

pdfocr

this project can ocr scanning image and out excel,only support table or bill format. you can open billocr.ipynb, then input your image or direct.

function removeStamp can remove red stamp.

debug is true ,show debug image or tips. path = './' path is image direct. filename="test.jpeg" filename is image name.

ocrimgtoexcel can deal only one image.

you must modify baiduaip APP_ID='', API_KEY='', SECRET_KEY=''.

Or you can use you ocr api or tesserocr.function ocrclient.image_to_stringforcv2(roiimg) ,input image then return string.