fisherking wrote:
Hey Shalako, hello and ty again!
If I remember correctly you are mostly doing HU thou; do you think it would be no more difficult for 6max?
Also, do you think we should compile our OCR or could we go with Tesseract or similia?
Tyvm!
Yeah I am mostly doing HU but I have a 9max NL and a 6max PLO bot that use the same OCR stuff. I use the Tesseract engine that was available as a plugin for my IDE and it is lightning fast. I do not know about other engines but I am sure compiling is always the better option.
At some sites the stack sizes are in the chat text so anytime you can utilize that vs OCR then do it. One thing you can always get from the chat text is the bet to call and potsize so you can save yourself some processing time by parsing text instead of OCR. The less screen shots you have to take the better obviously.
One trick to help you get more OCR accuracy is too clean the string of any odd random characters which seem to appear. Like here is my code dealing with the S problem and cleaning the text of anything but numbers:
Code:
ocrtext = ocr.GetText
//replace S with 5
ocrtext = ocrtext.Replace("S","5")
//clean all chars but numbers
ocrtext = StrClean(ocrtext,"`~;:,!@#$%^&*()_-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ .’'")
PotSize = Val(ocrtext)