An open API service indexing awesome lists of open source software.

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

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`

![image1](test/img192.jpg)
![image2](test/img795.jpg)
![image3](test/img1095.jpg)