Super lightweight Chinese OCR, support for vertical text recognition, ncnn reasoning, the total model is only 17M

Finishing | AI technology base camp

Optical character recognition (OCR) technology has been widely used. For example, to identify keywords like on the invoice, title search App for questions on identification books.

Recently, this one is called chineseocr_lite of open source OCR project, which is a super lightweight Chinese ocr, support for vertical text recognition, support ncnn reasoning, PS ENET (8.5M) + crnn (6.3M) + anglenet (1.5M) The total model is only 17M.

Currently, this open source project on GitHub already starred in 2400.

This project chineseocr and psenet implement Chinese character based on natural scene detection and recognition do not, the environment is linux / macos.

The following is the function can be realized:

  • Providing lightweight backone detection model psenet (8.5M), crnn_lstm_lite (9.5M) and the direction of lines of text classification network (1.5M)

  • Text detection in any direction, determines the direction of the line of text is recognized

  • crnn \ crnn_lite lstm \ dense recognition (ocr-dense and ocr-lstm is conveyed to chineseocr)

  • Support for vertical text recognition

  • ncnn achieve psenet (not nuclear expansion)

  • ncnn achieve crnn_dense (fully connected is changed conv1x1)

  • ncnn achieve shuuflenev2 angle classification network

  • ncnn realize the whole process ocr

Recently, the project of the functions can be realized for updates.

  • nihui Gangster achieved crnn_lstm reasoning

  • Upgrade crnn_lite_lstm_dw.pth model crnn_lite_lstm_dw_v2.pth, higher accuracy

  • Provide vertical text and font sample library (rotated 90 degrees fonts)

Font style

Vertical Text samples generated

Recognition results show:

ncnn detection and identification display (x86 cpu single process)

Project Address: https://github.com/ouyanghuiyu/chineseocr_lite

【end】

Force plans

"Force plan [the second quarter] - learning ability Challenge" started! From now until March 21, must flow to support the original author! Exclusive [more] medal waiting for you to challenge

Recommended Reading

    Your point of each "look", I seriously as the AI

Released 1359 original articles · won praise 10000 + · views 6.31 million +

Guess you like

Origin blog.csdn.net/dQCFKyQDXYm3F8rB0/article/details/104889907