Spaces:
Build error
Build error
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 | |
``` | |