mirror of https://github.com/open-mmlab/mmocr.git
updata inference res (#1364)
parent
e100479ebb
commit
45f3f51dba
|
@ -109,7 +109,7 @@ We provide a method to verify the installation via inference demo, depending on
|
|||
|
||||
```bash
|
||||
# Inference result
|
||||
[{'filename': 'demo_text_ocr', 'text': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v']}]
|
||||
{'rec_texts': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v'], 'rec_scores': [...], 'det_polygons': [...], 'det_scores': tensor([...])}
|
||||
```
|
||||
|
||||
Run the following in MMOCR's directory:
|
||||
|
|
|
@ -106,7 +106,7 @@ pip install albumentations>=1.1.0 --no-binary qudida,albumentations
|
|||
|
||||
```bash
|
||||
# 识别结果
|
||||
[{'filename': 'demo_text_ocr', 'text': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v']}]
|
||||
{'rec_texts': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v'], 'rec_scores': [...], 'det_polygons': [...], 'det_scores': tensor([...])}
|
||||
```
|
||||
|
||||
在 MMOCR 的目录运行以下命令:
|
||||
|
|
Loading…
Reference in New Issue