fix legacy doc in CRNN (#247)
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# CRNN
|
2 |
|
3 |
-
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
|
4 |
|
5 |
Results of accuracy evaluation with [tools/eval](../../tools/eval) at different text recognition datasets.
|
6 |
|
@@ -21,9 +21,9 @@ Note:
|
|
21 |
- `text_recognition_CRNN_EN_2021sep.onnx`: https://docs.opencv.org/4.5.2/d9/d1e/tutorial_dnn_OCR.html (CRNN_VGG_BiLSTM_CTC.onnx)
|
22 |
- `text_recognition_CRNN_CH_2021sep.onnx`: https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs.onnx)
|
23 |
- `text_recognition_CRNN_CN_2021nov.onnx`: https://docs.opencv.org/4.5.2/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs_CN.onnx)
|
24 |
-
- `text_recognition_CRNN_EN_2021sep.onnx` can detect digits (0\~9) and letters (return lowercase letters a\~z) (
|
25 |
-
- `text_recognition_CRNN_CH_2021sep.onnx` can detect digits (0\~9), upper/lower-case letters (a\~z and A\~Z), and some special characters (
|
26 |
-
- `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 (
|
27 |
- For details on training this model series, please visit https://github.com/zihaomu/deep-text-recognition-benchmark.
|
28 |
|
29 |
## Demo
|
@@ -31,10 +31,6 @@ Note:
|
|
31 |
***NOTE***:
|
32 |
|
33 |
- This demo uses [text_detection_db](../text_detection_db) as text detector.
|
34 |
-
- Selected model must match with the charset:
|
35 |
-
- Try `text_recognition_CRNN_EN_2021sep.onnx` with `charset_36_EN.txt`.
|
36 |
-
- Try `text_recognition_CRNN_CH_2021sep.onnx` with `charset_94_CH.txt`
|
37 |
-
- Try `text_recognition_CRNN_CN_2021sep.onnx` with `charset_3944_CN.txt`.
|
38 |
|
39 |
### Python
|
40 |
|
@@ -85,7 +81,7 @@ Run the demo detecting Chinese:
|
|
85 |
|
86 |
# get help regarding various parameters
|
87 |
./build/opencv_zoo_text_recognition_crnn --help
|
88 |
-
|
89 |
|
90 |
### Examples
|
91 |
|
|
|
1 |
# CRNN
|
2 |
|
3 |
+
[An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition](https://arxiv.org/abs/1507.05717)
|
4 |
|
5 |
Results of accuracy evaluation with [tools/eval](../../tools/eval) at different text recognition datasets.
|
6 |
|
|
|
21 |
- `text_recognition_CRNN_EN_2021sep.onnx`: https://docs.opencv.org/4.5.2/d9/d1e/tutorial_dnn_OCR.html (CRNN_VGG_BiLSTM_CTC.onnx)
|
22 |
- `text_recognition_CRNN_CH_2021sep.onnx`: https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs.onnx)
|
23 |
- `text_recognition_CRNN_CN_2021nov.onnx`: https://docs.opencv.org/4.5.2/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs_CN.onnx)
|
24 |
+
- `text_recognition_CRNN_EN_2021sep.onnx` can detect digits (0\~9) and letters (return lowercase letters a\~z) (see `CHARSET_EN_36` for details in `crnn.py`).
|
25 |
+
- `text_recognition_CRNN_CH_2021sep.onnx` can detect digits (0\~9), upper/lower-case letters (a\~z and A\~Z), and some special characters (see `CHARSET_CH_94` for details in `crnn.py`).
|
26 |
+
- `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 (see `CHARSET_CN_3944` for details in `crnn.py`).
|
27 |
- For details on training this model series, please visit https://github.com/zihaomu/deep-text-recognition-benchmark.
|
28 |
|
29 |
## Demo
|
|
|
31 |
***NOTE***:
|
32 |
|
33 |
- This demo uses [text_detection_db](../text_detection_db) as text detector.
|
|
|
|
|
|
|
|
|
34 |
|
35 |
### Python
|
36 |
|
|
|
81 |
|
82 |
# get help regarding various parameters
|
83 |
./build/opencv_zoo_text_recognition_crnn --help
|
84 |
+
```
|
85 |
|
86 |
### Examples
|
87 |
|