Program language is Java
Report problems or help improve the site by opening a new issue or pull request.
Handle the gray scale and binaryzation issue by tools provided in OpenCV, and recognize the numbers or words with the help of Tess4J.
2. Recognize numbers in any identity card from Chinese based on OpenCV and machine learning algorithm
Instead of the Tess4J, the recognition task has been completed by machine learning coding myself, and you can see all the code directly.
You can run the project easily in every popular operating system. Take the example of OS, the following quick guides will help you get started:
run brew install opencv in terminal
run brew install tesseract --all-language in termimal
Take the example of Intellij Idea, you should set the java.library.path formed like -Djava.library.path=/usr/local/opt/opencv3/share/OpenCV/java
Be sure that you have installed Homebrew in your computer
Please contact Will Joseph Lu (luzezeng@gmail.com) if you need help.