File size: 772 Bytes
e5c7430
1865436
e5c7430
1865436
 
e5c7430
1865436
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e5c7430
1865436
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: poi_Engineering
app_file: app.py
sdk: gradio
sdk_version: 3.50.2
---
# Pipeline_POI_Engineering
Repo Signboard segmentation and Text recognition

## Download pretrain model:

ss: signboards segmentation
str: scene text recognition
ir: information retrieval

All the checkpoints are available here: [poi_engineering_checkpoints](https://drive.google.com/drive/folders/1mY5RWhaxNAFiAX-rROZSnJtd1npVB48U?usp=sharing)

For each model, copy the checkpoint to the same directory (ir --> ir; ss --> ss; str --> str)

## Run:
Setup enviroments: 
```sh
bash setup.sh
```
Extract text: 
```sh
bash extract.sh
```

## Image parser
```
curl -F "image=@/home/trungtv/sources/POI_Engineering/outputs/20220520_150925/frames/frames_0.jpg" http://localhost:5050/parse_image
```