Skip to content

Commit 5a74ce9

Browse files
authored
Add files via upload
1 parent 00e4ca9 commit 5a74ce9

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
sidebar_position: 7
3+
---
4+
5+
# Introduction
6+
7+
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.
8+
9+
In this project, we use Baidu's PGNet model and deploy it on Seeed Studio's AI Box to achieve real-time OCR functionality.
10+
11+
12+
## Hardware prepare
13+
14+
| Raspberry Pi AI box | reComputer R1100 |
15+
| :----------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: |
16+
| ![Raspberry Pi AI Kit](https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/i/m/image114993560.jpeg) | ![reComputer R1100](https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/2/-/2-114993595-recomputer-ai-industrial-r2135-12.jpg) |
17+
| [**Purchase Now**](https://www.seeedstudio.com/reComputer-AI-R2130-12-p-6368.html?utm_source=PiAICourse&utm_medium=github&utm_campaign=Course) | [**Purchase Now**](https://www.seeedstudio.com/reComputer-AI-Industrial-R2135-12-p-6432.html?utm_source=PiAICourse&utm_medium=github&utm_campaign=Course) |
18+
19+
20+
## Download the project
21+
22+
```bash
23+
git clone https://github.com/Seeed-Projects/AIbox_pgnet_OCR.git
24+
```
25+
26+
## Prepare Environment
27+
28+
```bash
29+
python -m venv .env --system-site-packages
30+
source .env/bin/activate
31+
pip install -r requirements.txt
32+
```
33+
34+
## Run this project
35+
36+
```bash
37+
python inference_pgnet.py pgnet_640.hef --camera 0
38+
```
39+
40+
## Result
41+
42+
- [OCR_result](./pictures/Chapter6/ocr_result.png)

0 commit comments

Comments
 (0)