huizhang0110 / AON

Implementation for CVPR 2018 text recognition Paper by Tensorflow: "AON: Towards Arbitrarily-Oriented Text Recognition"
MIT License
108 stars 32 forks source link

Missing Files for create_tfrecord.py #4

Open vsltech opened 6 years ago

vsltech commented 6 years ago

Please share how to create_tfrecord & supply input image fro demo.py? Also, these files are missing '/share/zhui/mnt/demo_20.tfrecord' from input_data.py

goodhamgupta commented 5 years ago

Hi @vsltech,

Unfortunately, it seems like the demo.py will work for images that have numbers between 0-10. My best guess would be to create the tfrecord for the MNIST dataset and try running the script.

The synthetic characters dataset is available here. Once the dataset is downloaded, extract the dataset and do the following:

./mnt/ramdisk/max/2998/7/100_KINDERGARTNERS_42516.jpg KINDERGARTNERS
./mnt/ramdisk/max/2998/7/101_MILLENNIAL_48450.jpg MILLENNIAL
./mnt/ramdisk/max/2998/7/102_multiplicities_50355.jpg multiplicities

Let me know if you have any issues! Thanks!