https://github.com/xuannianz/differentiablebinarization
DB (Real-time Scene Text Detection with Differentiable Binarization) implementation in Keras and Tensorflow
https://github.com/xuannianz/differentiablebinarization
db differentiable-binarization keras-db ocr text-detection tf-db
Last synced: 11 months ago
JSON representation
DB (Real-time Scene Text Detection with Differentiable Binarization) implementation in Keras and Tensorflow
- Host: GitHub
- URL: https://github.com/xuannianz/differentiablebinarization
- Owner: xuannianz
- Created: 2020-01-02T09:04:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:38:57.000Z (over 3 years ago)
- Last Synced: 2024-12-19T11:12:05.003Z (over 1 year ago)
- Topics: db, differentiable-binarization, keras-db, ocr, text-detection, tf-db
- Language: Python
- Size: 404 KB
- Stars: 160
- Watchers: 12
- Forks: 45
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DifferentiableBinarization
This is an implementation of [Real-time Scene Text Detection with Differentiable Binarization](https://arxiv.org/abs/1911.08947) in Keras and Tensorflow,
Most portions of code are borrowed from the official implementation [MhLiao/DB](https://github.com/MhLiao/DB).
## Build Dataset
Build dataset in the same way as the official implementation.
```
datasets/total_text/train_images
datasets/total_text/train_gts
datasets/total_text/train_list.txt
datasets/total_text/test_images
datasets/total_text/test_gts
datasets/total_text/test_list.txt
```
## Train
`python train.py`
You can download a trained model weights on TotalText by [baidu netdisk](https://pan.baidu.com/s/1SGKgI6pMuGvUb8RlHePQxA) code:jy6m or [google driver](https://drive.google.com/open?id=1ausCBrADzlhqoo6viuWP_e_zYdiqUKA7)
## Test
`python inference.py`


