Skip to content

peternara/CRAFT-tensorflow-OCR-Text-Detection

 
 

Repository files navigation

A implement of paper :https://arxiv.org/abs/1904.01941

This is the result of training 200,000 steps.

image

Result

image image image image

Useage

Down ckpt https://drive.google.com/file/d/1-AL-T3-WucUZsWMUHqyWovuXEvqYZCi9/view?usp=drivesdk

Train: Check your syntext dataset dir in datagen.py, and change train(False) to train(True) at last line. Run craft.py

text:

modify below:

if __name__ == "__main__":

    train(False)
    # test('ckpt_path', 'text_image_path')

TO

if __name__ == "__main__":

    # train(False)
    test('ckpt_path', 'text_image_path')

The first argument is your .ckpt path, seconed argument is text image path.

Fine-tuning:

TO DO

If you want to do this, you could use train(False), it means you load a checkpoint then training

Weak supervision:

TO DO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%