Files
rapidocr/ocrweb
2022-07-08 09:03:28 +08:00
..
2022-07-07 22:52:57 +08:00
2022-07-05 10:12:55 +08:00
2022-06-30 21:45:22 +08:00
2022-06-26 14:27:58 +08:00
2022-07-07 22:52:57 +08:00
2022-06-30 13:44:01 +08:00
2022-07-08 09:03:28 +08:00
2022-06-26 10:42:02 +08:00
2022-06-29 13:35:37 +08:00

RapidOCR Web Demo

相关问题

  1. 各个阶段使用的模型以及配置参数有哪些?
    • 使用模型搭配(最优组合)为:ch_PP-OCRv3_det + ch_ppocr_mobile_v2.0_cls + ch_PP-OCRv3_rec
    • 所有相关参数配置参见当前目录下的config.yaml文件
    • 其中给出了使用模型,以及具体参数,参数具体介绍参见:Link
  2. 网页上显示的推理时间可以具体解释一下吗?

运行

  1. 安装requirements.txt下相关包

    pip install -r requirements.txt -i https://pypi.douban.com/simple/
    
  2. 下载resources目录

    • 下载链接:百度网盘 | Google Drive
    • 最终目录结构如下:
      ocrweb
      ├── README.md
      ├── config.yaml
      ├── main.py
      ├── requirements.txt
      ├── task.py
      ├── rapidocr_onnxruntime
      │   ├── __init__.py
      │   ├── ch_ppocr_v2_cls
      │   ├── ch_ppocr_v2_det
      │   ├── ch_ppocr_v2_rec
      │   └── rapid_ocr_api.py
      ├── resources
      │   ├── models
      │   │   ├── ch_PP-OCRv3_det_infer.onnx
      │   │   ├── ch_ppocr_mobile_v2.0_cls_infer.onnx
      │   │   └── ch_PP-OCRv3_rec_infer.onnx
      │   └── rec_dict
      │       ├── en_dict.txt
      │       ├── japan_dict.txt
      │       ├── korean_dict.txt
      │       └── ppocr_keys_v1.txt
      ├── static
      │   ├── css
      │   └── js
      └── templates
          └── index.html
      
  3. 运行main.py

    python main.py
    
  4. 打开http://0.0.0.0:9003/即可, enjoy it!