|
2 | 2 |
|
3 | 3 | An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition |
4 | 4 |
|
| 5 | +Results of accuracy evaluation by ICDAR2003: |
| 6 | + |
| 7 | +| Models | Accuracy | |
| 8 | +| ------ | -------------- | |
| 9 | +| CRNN_EN | 0.8166 | |
| 10 | +| CRNN_EN_FP16 | 0.8201 | |
| 11 | +| CRNN_CH | 0.7128 | |
| 12 | +| CRNN_CH_FP16 | 0.7863 | |
| 13 | + |
| 14 | +Results of accuracy evaluation IIIT5k-Words: |
| 15 | + |
| 16 | +| Models | Accuracy | |
| 17 | +| ------ | -------------- | |
| 18 | +| CRNN_EN | 0.7433 | |
| 19 | +| CRNN_EN_FP16 | 0.7493 | |
| 20 | +| CRNN_CH | 0.8090 | |
| 21 | +| CRNN_CH_FP16 | 0.8093 | |
| 22 | +\*: 'FP16' stands for 'model quantized into FP16'. |
| 23 | + |
5 | 24 | Note: |
6 | 25 | - Model source: |
7 | 26 | - `text_recognition_CRNN_EN_2021sep.onnx`: https://docs.opencv.org/4.5.2/d9/d1e/tutorial_dnn_OCR.html (CRNN_VGG_BiLSTM_CTC.onnx) |
| 27 | + - `text_recognition_CRNN_CH_2021sep.onnx`: https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs.onnx) |
8 | 28 | - `text_recognition_CRNN_CN_2021nov.onnx`: https://docs.opencv.org/4.5.2/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs_CN.onnx) |
9 | 29 | - `text_recognition_CRNN_EN_2021sep.onnx` can detect digits (0\~9) and letters (return lowercase letters a\~z) (view `charset_36_EN.txt` for details). |
| 30 | +- `text_recognition_CRNN_CH_2021sep.onnx` can detect digits (0\~9), upper/lower-case letters (a\~z and A\~Z), and some special characters (view `charset_94_CH.txt` for details). |
10 | 31 | - `text_recognition_CRNN_CN_2021nov.onnx` can detect digits (0\~9), upper/lower-case letters (a\~z and A\~Z), some Chinese characters and some special characters (view `charset_3944_CN.txt` for details). |
11 | 32 | - For details on training this model series, please visit https://github.com/zihaomu/deep-text-recognition-benchmark. |
12 | 33 |
|
|
16 | 37 | - This demo uses [text_detection_db](../text_detection_db) as text detector. |
17 | 38 | - Selected model must match with the charset: |
18 | 39 | - Try `text_recognition_CRNN_EN_2021sep.onnx` with `charset_36_EN.txt`. |
| 40 | + - Try `text_recognition_CRNN_CH_2021sep.onnx` with `charset_94_CH.txt` |
19 | 41 | - Try `text_recognition_CRNN_CN_2021sep.onnx` with `charset_3944_CN.txt`. |
20 | 42 |
|
21 | 43 | Run the demo detecting English: |
|
0 commit comments