12-09-2014, 05:56 PM
(12-09-2014, 04:31 PM)xpiamchris Wrote: How did you get it to read the gold/elixir properly? That was the hard part for me..
You have to train tesseract. The moment you get the right font for tesseract, it reads number in game very accurately.
The font for gold and elixir is Supercell Magic 5. You can download here: https://mega.co.nz/#!wt1GwYhA!EJIYKn8bCl...R9LgbtKFkI
Then train tesseract with the new font, you can read here: https://code.google.com/p/tesseract-ocr/...Tesseract3
Or use this tool to train faster: http://vietocr.sourceforge.net/training.html