Thread Rating:
Developing Bot
|
12-11-2014, 11:23 PM
(This post was last modified: 12-11-2014, 11:28 PM by BoredCoder.
Edit Reason: N00b question
)
Hi All,
Antidote thanks for your posts. They've been very helpful. I just had a query relating to coc.traineddata. How did you go about making it? Can it be improved? I also had a similar issue where it would add numbers or not quite work properly and just trying to fine tune it even more. Cheers! Sorry probably should have googled a bit harder first: http://blog.cedric.ws/how-to-train-tesseract-301 Let me know if im on the wrong track, or specifically how you did it. Cheers
12-11-2014, 11:37 PM
Sorry being real lazy here as new to AutoIT.
Is there a way to easily show the captured bitmap/png in a popup box to compare what the script sees vs what the OCR data is returning? Will help with adjusting the capture window. Cheers and sorry for the lazy q's in advance.
12-12-2014, 02:15 AM
(This post was last modified: 12-12-2014, 02:23 AM by BoredCoder.
Edit Reason: too many painkillers
)
Hi odySSeys,
I did both... I have tesseract installed still, but am just using the package because i couldn't be stuffed changing all the paths and parameters in the installed version. If you're having problems still, make sure you change the temp path to a writeable location. C:\ isn't writeable unless running the script as administrator on Win7/8, so you might want to change it to mydocs or something like that. So in Tesseract.au3 file find the bit: Global $tesseract_temp_path = "C:\" Change to Global $tesseract_temp_path = "C:\Users\yourusername\Documents\" Where yourusername is your user profile folder name. That might fix your problem. Cheers
12-12-2014, 03:50 AM
12-12-2014, 03:57 AM
I made a very simple GUI for the script, when started it asks you to click on barrack to record position then train troops according to your input and proceed to attack. Gonna start with attack function and image compare soon.
Btw anyone knows how to interupt a running script? something like togglePause function but using GUI button and not Hot Key?
12-12-2014, 05:13 AM
Hello though I just registered on this site I have some time following this great work , I've signed nothing more than to give my congratulations and let them know that the lf bot robot in directotio windows creates two folders:
1 c: windows \ coc \ 2 c: windows \ coc - in \ In these two folders there are more folders and in them there are terminated coc files: example ejemplo.coc Well arrived here these files can be opened with the paint from windows giving as a result catches couple makes lf robot program I hope you understand my English is the translator of google thank you
12-12-2014, 05:53 AM
12-12-2014, 07:25 AM
|
|
Users browsing this thread: 61 Guest(s)