Skip to content

Commit ec5b2c8

Browse files
authored
fix legacy doc in CRNN (#247)
1 parent ab9f965 commit ec5b2c8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

models/text_recognition_crnn/README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CRNN
22

3-
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
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)
44

55
Results of accuracy evaluation with [tools/eval](../../tools/eval) at different text recognition datasets.
66

@@ -21,20 +21,16 @@ Note:
2121
- `text_recognition_CRNN_EN_2021sep.onnx`: https://docs.opencv.org/4.5.2/d9/d1e/tutorial_dnn_OCR.html (CRNN_VGG_BiLSTM_CTC.onnx)
2222
- `text_recognition_CRNN_CH_2021sep.onnx`: https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html (crnn_cs.onnx)
2323
- `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) (view `charset_36_EN.txt` for details).
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 (view `charset_94_CH.txt` for details).
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 (view `charset_3944_CN.txt` for details).
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`).
2727
- For details on training this model series, please visit https://github.com/zihaomu/deep-text-recognition-benchmark.
2828

2929
## Demo
3030

3131
***NOTE***:
3232

3333
- 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`.
3834

3935
### Python
4036

@@ -85,7 +81,7 @@ Run the demo detecting Chinese:
8581

8682
# get help regarding various parameters
8783
./build/opencv_zoo_text_recognition_crnn --help
88-
84+
```
8985

9086
### Examples
9187

0 commit comments

Comments
 (0)