Poker-AI.org Poker AI and Botting Discussion Forum 2014-03-16T03:54:05+00:00 http://poker-ai.org/phpbb/feed.php?f=26&t=2711 2014-03-16T03:54:05+00:00 2014-03-16T03:54:05+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5834#p5834 <![CDATA[Re: OCR and numbers, easy game or not?]]> Any Questions, send me PM.

Tom

Statistics: Posted by Tom — Sun Mar 16, 2014 3:54 am


]]>
2014-03-11T11:08:39+00:00 2014-03-11T11:08:39+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5827#p5827 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by HontoNiBaka — Tue Mar 11, 2014 11:08 am


]]>
2014-03-07T14:29:29+00:00 2014-03-07T14:29:29+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5801#p5801 <![CDATA[Re: OCR and numbers, easy game or not?]]> Check out the gx/fonts folder. Besides that check the gx.ini files. (default + the one of your theme).

I haven't written anything concrete for it yet, but I think that is the easiest as there is no noise.

Statistics: Posted by Bliss — Fri Mar 07, 2014 2:29 pm


]]>
2014-03-06T20:19:44+00:00 2014-03-06T20:19:44+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5789#p5789 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by HontoNiBaka — Thu Mar 06, 2014 8:19 pm


]]>
2014-02-26T02:16:29+00:00 2014-02-26T02:16:29+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5760#p5760 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by shalako — Wed Feb 26, 2014 2:16 am


]]>
2014-02-25T21:26:22+00:00 2014-02-25T21:26:22+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5759#p5759 <![CDATA[Re: OCR and numbers, easy game or not?]]> shalako wrote:

yeah I can see how using OCR for the chat would fail quite often. Luckily there are other methods for getting that information. I only use OCR for stacks and pot sizes so it has never been a real problem. I had a situation come up the other day in which I needed to know the name of a player in the pot that was not in the chat text and OCR failed miserably. I still am not sure what I am going to do about it.


I don't know what poker room are you using and I don't perfectly understand your problem, but the only situation where I think there are players on the table (pot), but not in the chat, is when they are sit out or they are not playing the hand. If a player is not playing then you don't need to read his information from the table. I suppose.

Please tell me more.

Statistics: Posted by bpdummy666 — Tue Feb 25, 2014 9:26 pm


]]>
2014-02-25T16:31:25+00:00 2014-02-25T16:31:25+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5758#p5758 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by shalako — Tue Feb 25, 2014 4:31 pm


]]>
2014-02-25T15:30:38+00:00 2014-02-25T15:30:38+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5757#p5757 <![CDATA[Re: OCR and numbers, easy game or not?]]> I trained Tesseract with the chat characters.
But at the end for the same input I got different results.

So I changed my idea and at the moment I use the chat reader: http://chatreader.x10.bz/

I realized that the OCR must be perfect reading the data.

Statistics: Posted by bpdummy666 — Tue Feb 25, 2014 3:30 pm


]]>
2014-02-23T19:26:13+00:00 2014-02-23T19:26:13+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5755#p5755 <![CDATA[Re: OCR and numbers, easy game or not?]]> shalako wrote:

What part of the bots behavior are you using monte carlo on?


We will be making a very slim rule based core for all the basics and then we will be leaving to the montecarlo all the rest, and then adjust accordingly to the results.
We are setting rules for the most basic parts of the strategy, starting obv from the preflop, e.g. how much $ to open from what position, what range etc. and what range to 3bet vs what opening range and things like this, that I consider almost "solved" on my part (as an experienced poker player).
So the Montecarlo part of the bot will be playing its role mostly on the postflop. But as I said we are still far from decent results, and we will still need months to finish the first part of the work. Also, consider that more than a developer I am the guy who is mostly putting the different brains together and doing the testing, so take my words on the different technical things "cum grano salis"! :)

Statistics: Posted by fisherking — Sun Feb 23, 2014 7:26 pm


]]>
2014-02-23T17:15:56+00:00 2014-02-23T17:15:56+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5754#p5754 <![CDATA[Re: OCR and numbers, easy game or not?]]> fisherking wrote:

You remember correctly, we are still working on a combo between Montecarlo and rule based. Not great results yet but we are still very confident in this approach, we need time thou as the Montecarlo guy is not working full time - he's got a family and a demanding career.
We are already setting up the interface thing because we wish to have it all ready when and if we get a decent AI.

P.s.: out of curiosity, what language is the one you are using for that code you posted? ty!


I use RealStudio which is known as Xojo now. It is a basic type language that is really easy to use. I have been using it since 1999 and have never seen the need to use anything else.

What part of the bots behavior are you using monte carlo on?

Statistics: Posted by shalako — Sun Feb 23, 2014 5:15 pm


]]>
2014-02-23T10:41:54+00:00 2014-02-23T10:41:54+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5753#p5753 <![CDATA[Re: OCR and numbers, easy game or not?]]> We are already setting up the interface thing because we wish to have it all ready when and if we get a decent AI.

P.s.: out of curiosity, what language is the one you are using for that code you posted? ty!

Statistics: Posted by fisherking — Sun Feb 23, 2014 10:41 am


]]>
2014-02-23T01:28:43+00:00 2014-02-23T01:28:43+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5752#p5752 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by shalako — Sun Feb 23, 2014 1:28 am


]]>
2014-02-22T21:17:50+00:00 2014-02-22T21:17:50+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5751#p5751 <![CDATA[Re: OCR and numbers, easy game or not?]]>

Btw this sounds as very good news for me, as the programmer says that once done the compiling of a decent OCR a very secure setup could be at hand. Hope we are not overlooking at other things...
as, e.g., mouse movements, which he is pretty confident won't be a big issue instead.

Statistics: Posted by fisherking — Sat Feb 22, 2014 9:17 pm


]]>
2014-02-22T18:31:36+00:00 2014-02-22T18:31:36+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5750#p5750 <![CDATA[Re: OCR and numbers, easy game or not?]]> 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)

Statistics: Posted by shalako — Sat Feb 22, 2014 6:31 pm


]]>
2014-02-22T17:47:56+00:00 2014-02-22T17:47:56+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5749#p5749 <![CDATA[Re: OCR and numbers, easy game or not?]]>

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!

Statistics: Posted by fisherking — Sat Feb 22, 2014 5:47 pm


]]>
2014-02-22T17:26:00+00:00 2014-02-22T17:26:00+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5748#p5748 <![CDATA[Re: OCR and numbers, easy game or not?]]> Statistics: Posted by shalako — Sat Feb 22, 2014 5:26 pm


]]>
2014-02-22T15:43:42+00:00 2014-02-22T15:43:42+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2711&p=5747#p5747 <![CDATA[OCR and numbers, easy game or not?]]> we are talking to an experienced programmer who will be working on the "stealthness" of our bot, he says the best way to go is with two machines + OCR etc., and in theory I totally agree with him, but he is very concerned about errors in reading numbers from the client via OCR (he says words won't be a problem as there are very few words in poker).

Before spending money on the programmer I would really like to know if an OCR with acceptable errors in number reading for poker is doable or not, in your opinion. Anyone got an OCR working and running no problem with a bot?

Ty!

Statistics: Posted by fisherking — Sat Feb 22, 2014 3:43 pm


]]>