Skip to content

RapidAI/RapidOCRWeb

Repository files navigation

Shows an illustrated sun in light mode and a moon with stars in dark mode.
PyPI SemVer2.0

📖 简介

rapidocr_web是基于rapidocr库封装的web版OCR程序。它可以让小伙们快速在本地启动OCR服务,支持剪贴板、拖拽和选择图像文件上传识别,同时具有一键复制识别文本功能。

整体项目采用前后端分离设计:

  • 前端:HTML + CSS + JavaScript
  • 后端:Flask

UI来自Cursor,自适应移动端和PC端。相比于旧有版本(v0.x),现在版本(v1.x)更加现代化。

📌 版本依赖关系

rapidocr_web rapidocr
v1.x rapidocr>=3.0.0
v0.x rapidocr_onnxruntime==1.4.4

🛠️ 安装

pip install rapidocr_web

🚀 使用

rapidocr_web -ip 0.0.0.0 -p 9003

浏览器打开 http://localhost:9003/ ,enjoy it

Note

浏览器打开的网址是http的,不是https

📚 文档

完整文档请移步:docs