dominhhai / captcha-breaker

High Accuracy Captcha Breaker with Tensorflow and Node.js
MIT License
135 stars 38 forks source link

Enhancement: Get training captcha solution from filename #4

Open fsarachu opened 5 years ago

fsarachu commented 5 years ago

Would be great if src/create_train_data.py picked up all files under data/captcha by itself, using each filename as the captcha solution.

I find it very tedious having to create the data/captcha.json while we could use the filename itself to store the captcha solution in an easier way (also a lot easier if you are manually creating test data).

Thoughts?

dominhhai commented 4 years ago

@fsarachu nice idea. I will flow this way when have free time. thanks for your report!

fsarachu commented 4 years ago

@fsarachu nice idea. I will flow this way when have free time. thanks for your report!

I'm not very proficient in Python, but will try to submit a PR for this as soon as I have some time!