Skip to content

Implementation of ID card recognition utilizing CTPN and tesseractOCR

License

Notifications You must be signed in to change notification settings

vladalexey/id-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

** Build an ID Card recognition API with implementing different image processing methods on top of Text-Detection-CTPN (below) to better tackle text detection in old, damaged and artifacts-deposited ID cards **

text-detection-ctpn

Scene text detection based on ctpn (connectionist text proposal network). It is implemented in tensorflow. The origin paper can be found here. Also, the origin repo in caffe can be found in here. For more detail about the paper and code, see this blog.

setup

nms and bbox utils are written in cython, hence you have to build the library first.

cd utils/bbox chmod +x make.sh ./make.sh It will generate a nms.so and a bbox.so in current folder.

demo

follow setup to build the library download the ckpt file from google drive or baidu yun put checkpoints_mlt/ in text-detection-ctpn/ put your images in data/demo, the results will be saved in data/res, and run demo in the root python3 ./main/demo_al.py