Заменил rus на mns в примере, т. к. наименование файла модели "mns.traineddata", если оставить rus, то tesseract-ocr будет искать модель rus.traineddata
#1
by
egorv
- opened
README.md
CHANGED
@@ -35,11 +35,11 @@ pipeline_tag: image-to-text
|
|
35 |
|
36 |
2. **Запуск OCR**
|
37 |
```bash
|
38 |
-
tesseract <image> <output> -l
|
39 |
```
|
40 |
*Пример:*
|
41 |
```bash
|
42 |
-
tesseract images/toc.png images/toc -l
|
43 |
pdftotext -layout images/toc.pdf images/toc.txt
|
44 |
```
|
45 |
|
|
|
35 |
|
36 |
2. **Запуск OCR**
|
37 |
```bash
|
38 |
+
tesseract <image> <output> -l mns --oem 1 --psm 11
|
39 |
```
|
40 |
*Пример:*
|
41 |
```bash
|
42 |
+
tesseract images/toc.png images/toc -l mns --psm 11 pdf
|
43 |
pdftotext -layout images/toc.pdf images/toc.txt
|
44 |
```
|
45 |
|