Skip to main content

Real Time OCR with Hailo

OCR (Optical Character Recognition) is a technology that enables the detection and recognition of text within images, scanned documents, and real-world scenes. It transforms visual text into editable and searchable digital text, supporting various applications such as document digitization, license plate recognition, and scene text detection.

In this project, we use Baidu's PGNet model and deploy it on Seeed Studio's AI Box to achieve real-time OCR functionality.

Hardware prepare

Raspberry Pi AI boxreComputer R1100
Raspberry Pi AI KitreComputer R1100
Purchase NowPurchase Now

Download the project

git clone https://github.com/Seeed-Projects/AIbox_pgnet_OCR.git

Prepare Environment

python -m venv .env --system-site-packages
source .env/bin/activate
pip install -r requirements.txt

Run this project

python inference_pgnet.py pgnet_640.hef --camera 0

Result

object detection