PyPI

简介

  • 该库是rapidocr_onnxruntime的web版本,依赖最新版本的rapidocr_onnxruntime库。

  • 如果想要离线部署,可以先手动下载rapidocr_onnxruntime whl包,再手动安装rapidocr_web whl包来使用。

  • 网页上显示的推理时间具体解释如下:

安装

  pip install rapidocr_web
  

使用

  • 用法:

      $ rapidocr_web -h
    usage: rapidocr_web [-h] [-ip IP] [-p PORT]
    
    optional arguments:
    -h, --help            show this help message and exit
    -ip IP, --ip IP       IP Address
    -p PORT, --port PORT  IP port
      
  • 运行:

      rapidocr_web -ip 0.0.0.0 -p 9003
      
  • 浏览器打开 http://localhost:9003/,enjoy it!

Last updated 12 May 2024, 15:24 +0800 . history