Saren-Arterius / securimage-solver

Simple statistical matching program (not nn), it should have 10% success rate :)
4 stars 0 forks source link

Python 2.x? #1

Open WGierke opened 9 years ago

WGierke commented 9 years ago

Hey :) I think that your tool was build for Python v3.x?

Do you now if it's possible to make the tool compatible to Python 2.x?

Best Regards

Saren-Arterius commented 9 years ago

It should be possible

  1. Use original PIL instead of Pillow
  2. change "tkinter" - > "Tkinter"
  3. I don't know how to mess with urllib but there should be a way
  4. use python2 version of pyquery

Sorry I am not famillar with python2 :(

WGierke commented 9 years ago

No problem but thanks for your answer ;) I created a whitelist for the ocr engine, set each pixel to white that does not have the color 140|140|140 and I'm discarding each solution that does not consist of 6 letters and my success rate is around 10% as well :)