12-10-2014, 12:44 PM
(12-10-2014, 08:46 AM)Antidote Wrote: Since it's quite troublesome to set up everything right, I decided to move everything into one folder to make things easier.
Inside this folder is Tesseract-OCR portable with traineddata included, edited Tesseract.au3 file and Test.au3 script I made to check Tesseract's accuracy.
I personally tested with all 3 resolutions and it works fine. You don't have to install anything. Just open Bluestacks, stay at your main village and open the script. It will begin searching opponents and display gold & elixir on screen. Feel free to tweak the screen region in the script for optimal reading (I'm still experimenting myself) and let me know how it works for you guy
https://mega.co.nz/#!Y0NBWbjK!l0m74jAce3...kSQRzjC_OQ
script only: http://pastebin.com/2gNxVSK1
I used it and it pressed attack and went to find base. The first base it found was very low gold/elixar. It let the timer wind down and it never skipped the base (to search for more loot) nor did it deploy any troops. Don't know if this is what was supposed to happen and if it was it actually did a really good job. Otherwise did i do something wrong so it didn't keep searching. Keep up the good work and i plan to help when i get done with finals!