preface

I recently found an interesting project.

This project is conducted by learning gitee.com/nbsl/idCard… Post-integration tess4J, you don’t need to be trained to use it directly, of course, you can also be trained to use it.

Github :JavaCodeHuby

By Endlesshh Reference link: gitee.com/endlesshh/i… Source: gitee

The project modified the original need to install opencv process, all using javaccp technology reconstruction, through javaccp to introduce the need for c++ library development. There is no need to install opencV to add the function of front-end control identification area, add the back-end identification verification, page style is mainly adapted to paid, modify the identification process behind, users opencV for image optimization and region selection, Tess4j is used to identify the number and x with the region in the style and crop the associated region image in the background

/idCardCv/src/main/resources/static/js/plugins/cropper/cropper.css

Identification of ID card Number

Request to address it based on openCV open-source library at http://localhost:8080/idCard/index. This means you can take the full source code and port it to all platforms supported by OpencV. It is based on Java development. It has a high recognition rate. When the picture is clear, the number detection and recognition accuracy is above 90%.

Required Software

This version has been tested on the following platforms:

  • windows7 64bit

  • Jdk1.8.0 _45

  • junit 4

  • opencv4.3

  • javaccp1.5.3

  • 5.1 tess4j4.

  • tesseract4.0.0

Project update

1. It was slow to upload pictures using Base64 before, but sharding upload using Webuploader plug-in can improve the speed when the network speed is slow, especially when used by paid browser. Change the original page to idcard_bak.html.

2. There is a test picture saving path in the original project, and it will be uniformly updated to the configuration document.

3. Upgrade Opencv3.4.3 to 4.3

The project address

Gitee.com/endlesshh/i…

Github :JavaCodeHuby

The last

Like the article partners can point a like oh ~, finally, as usual, amway wave of our public number: “Terminal RESEARCH and development department”, attention will send 5T programmer development tutorial, at present every day will recommend a high-quality technology-related article, mainly share Java related technology and interview skills, learning Java not lost.