Installation & Usage
Introduction¶
Source code: https://github.com/RapidAI/RapidOCRWeb
rapidocr_web is a Web-based OCR application built on the rapidocr library. It lets you quickly start an OCR service locally, supports clipboard, drag-and-drop and image file uploads for recognition, and provides one-click copying of the recognized text.
The whole project uses a front-end/back-end separation design:
- Front end: HTML + CSS + JavaScript
- Back end: Flask
The UI comes from Cursor and adapts to both mobile and desktop devices. Compared with the older version (v0.x), the current version (v1.x) is more modern.
Installation¶
Usage¶
Start the service¶
After startup, open http://localhost:9003/ in a browser. It uses http by default, not https.
Where:
-ip 0.0.0.0allows access from other devices on the local network; change it to127.0.0.1when using it on the local machine only.-p 9003specifies the port. If the port is occupied, switch to another port and access the corresponding address.
Note
If accessing from another device, replace localhost with the local-network IP of the device running the service.