Poker-AI.org Poker AI and Botting Discussion Forum 2013-09-14T23:52:17+00:00 http://poker-ai.org/phpbb/feed.php?f=26&t=2535 2013-09-14T23:52:17+00:00 2013-09-14T23:52:17+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4937#p4937 <![CDATA[Re: IPoker scraping difficulties]]> Statistics: Posted by ItsJustBinary — Sat Sep 14, 2013 11:52 pm


]]>
2013-08-31T16:21:25+00:00 2013-08-31T16:21:25+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4778#p4778 <![CDATA[Re: IPoker scraping difficulties]]>
You can also use custom cards. Just use cards, where each card looks completelly unique.
You can also use an algorithm, that uses the card characteristics, instead of a general purpose algorithm. For instance there are way to distinguish an 8 from a 9, just by looking at one pixel.
If you find 3-4 pixels, that are characteristic for a card, you can scrape them pretty easilly.

Statistics: Posted by HontoNiBaka — Sat Aug 31, 2013 4:21 pm


]]>
2013-08-07T11:48:20+00:00 2013-08-07T11:48:20+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4624#p4624 <![CDATA[Re: IPoker scraping difficulties]]>
Look into DTMs, it's probably the best way. When I get home, I'll post my card reader. As far as computer intensity goes, it's not the best solution, but it's accurate and it's not slow at all, it's just 13 comparision checks.

Statistics: Posted by AiWins — Wed Aug 07, 2013 11:48 am


]]>
2013-08-06T23:00:06+00:00 2013-08-06T23:00:06+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4619#p4619 <![CDATA[Re: IPoker scraping difficulties]]> Then rather than comparing this to a database, I upscale the image. Iirc it's a 4x4 grid (actually it may be 8x8 I can't remember exactly what it is). And then I compare this image to my database of upscaled ones. I find this works pretty well.

Ofcourse it also depends on how you then proceed to compare the image to your database. I think a NN is probably OTT for this since the letters are clear (not like a CAPTCHA). I think a simplistic but efficient way is to compare pixel by pixel with each letter in the database, making sure that your function keeps a record of the %match between the images. If it hits a 100% match it breaks out the loop & declares that card, otherwise it uses the highest percentage match. Although it's highly likely that you will always get a 100% match since it's the same font with no major noise.

One major problem (usually) with pixel by pixel comparison (perhaps not in the context of a pokersite screen scrape but w/e) is the speed. Using the upscaling method as mentioned above significantly increases the speed of your comparison aswell as the chance of a match.

In terms of figuring the suit. That's pretty easy. Use the 4 colour deck, and before you mess about converting to monotone and doing the comparison stuff, just test the pixel colour of the number.

Statistics: Posted by MerlinsBeard — Tue Aug 06, 2013 11:00 pm


]]>
2013-07-21T15:11:08+00:00 2013-07-21T15:11:08+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4509#p4509 <![CDATA[Re: IPoker scraping difficulties]]> Statistics: Posted by LOLWorld — Sun Jul 21, 2013 3:11 pm


]]>
2013-07-21T04:11:03+00:00 2013-07-21T04:11:03+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4502#p4502 <![CDATA[Re: IPoker scraping difficulties]]> Statistics: Posted by shalako — Sun Jul 21, 2013 4:11 am


]]>
2013-07-21T00:14:11+00:00 2013-07-21T00:14:11+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4501#p4501 <![CDATA[Re: IPoker scraping difficulties]]> :?: :?: :?:

Statistics: Posted by rocketboy — Sun Jul 21, 2013 12:14 am


]]>
2013-07-20T20:51:37+00:00 2013-07-20T20:51:37+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4499#p4499 <![CDATA[Re: IPoker scraping difficulties]]> Statistics: Posted by PolarBear — Sat Jul 20, 2013 8:51 pm


]]>
2013-07-20T19:25:29+00:00 2013-07-20T19:25:29+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2535&p=4498#p4498 <![CDATA[IPoker scraping difficulties]]> cards but with no success. The following methods i used wich are in my knowledge area:
-tryed to get the text from the chat (it shows class Iexplore_server with no instance wich belongs to an IE app... but no text is returned so i cannot get this text even via AutoIt with IE_ functions)
-tryed to scrape the cards by single pixels like from the codingthewheel tutorial but with no success
-tryed to scrape the cards by pixel sum but the same with no success
-tryed to scrape the cards by custom pixels sum (this is my own function wich sums up only the common pixels) but returns different numbers only on 6 cards from the total of 52

Everytime i try to get a pixel sum of some card lets say '6s' i get a number now and later on when the card comes up again in a different slot has a different number. So it's impossible on ipoker to have a fixed pixel sum for a card like i did on other sites. Maybe they draw some random pixels on the images to make them this way.

Statistics: Posted by rocketboy — Sat Jul 20, 2013 7:25 pm


]]>