simple_ocr 模型部署教程快速识别图片中的英文、标点符号、数学符号、Emoji, 模型会输出图片中文字行的坐标位置、最低得分、识别结果。当前服务用到的模型:检测模型、数字识别、英文符号识别。

apt update
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
conda create -n simple_ocr python=3.8
conda activate simple_ocr
git lfs install
git clone https://www.modelscope.cn/studios/csg800/simple_ocr.git
cd simple_ocr
pip install -r requirements.txt
export GRADIO_SERVER_NAME=0.0.0.0
export GRADIO_SERVER_PORT=8080
python3 app.py


点击此处,立即体验simple_ocr!
