[Docs] Update install.md (#1494)

MMOCR moved to mmocr.ocr
pull/1502/head
Alexander Rogachev 2022-10-26 13:41:57 +03:00 committed by GitHub
parent 52a7873973
commit 9040263b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ python mmocr/ocr.py --det DB_r18 --recog CRNN demo/demo_text_ocr.jpg --show
Also can run the following codes in your Python interpreter:
```python
from mmocr.utils.ocr import MMOCR
from mmocr.ocr import MMOCR
ocr = MMOCR(recog='CRNN', det='DB_r18')
ocr.readtext('demo_text_ocr.jpg', show=True)
```