Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 6:31 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Read PokerStars players
PostPosted: Tue Dec 30, 2014 9:15 pm 
Offline
New Member

Joined: Thu Mar 27, 2014 12:30 am
Posts: 5
Anyone can suggest how to read PokerStars table players?

  • I can't get the names reading the Hand Histories: them are written at the END of the hands, while in the Zoom table I need the names at the begin of the hand.
  • I can't get them by screen scraping + OCR, since in some themes names are not clear and OCR don't reads them or reads with many errors.
  • I can't get dumping the PC memory: scanning the PC memory I find the names only few times, not all and not in right order
  • I can't by dll injection (may be): hooking all the possible dlls used from PokerStars by WinApiOverride I can't find the names anywhere, so what dll do I have to inject if no dll writes the names??

I really whould like to know how / where HM reads the player's names... :(


Top
 Profile  
 
PostPosted: Sun Jan 04, 2015 5:13 pm 
Offline
Veteran Member

Joined: Mon Mar 04, 2013 9:40 pm
Posts: 269
I just had to do this as my OCR could not handle the player names as well. So what I had to do was use the chat text to get the player names and used OCR for the stacks. Then you have to figure out what stack goes with what player which is a pain.

No idea how HM does it but I am going to assume hooking which is all over my head.


Top
 Profile  
 
PostPosted: Wed Jan 07, 2015 9:18 pm 
Offline
Regular Member
User avatar

Joined: Wed Oct 02, 2013 5:00 pm
Posts: 64
Using OCR, I'm getting 100% recognition, even with different backgrounds. There are good approaches for scraping tables, not only "plain" OCR.

Have you read this (excellent) thread about OCR:
http://poker-ai.org/archive/www.pokerai ... &sk=t&sd=a

Regarding themes, you should select just one and stick with it (training your OCR with the one you chose). You should not try to support multiple themes using OCR .


Top
 Profile  
 
PostPosted: Wed Jan 07, 2015 11:33 pm 
Offline
Veteran Member

Joined: Mon Mar 04, 2013 9:40 pm
Posts: 269
Quote:
Using OCR, I'm getting 100% recognition, even with different backgrounds. There are good approaches for scraping tables, not only "plain" OCR.


Hey that is pretty impressive! I could do better with my OCR error rate but it has not been enough of an issue for me to fix it. I am using the Tessaract engine which I hear is not that great. For numbers it works pretty well. I do have to blow up the image and convert it to black and white before running it thru however. I did have a problem in which the number 5 would come thru as the letter S but it was consistent and easy to fix.


Top
 Profile  
 
PostPosted: Wed Jan 14, 2015 5:26 pm 
Offline
New Member

Joined: Mon Aug 04, 2014 6:09 pm
Posts: 7
using the openscrape.dll from openholdem I get it 100%:

see:
http://www.maxinmontreal.com/forums/vie ... 99&t=10997

and

https://code.google.com/p/open-scrape-hopper-dll/

In fact I get the whole table using this and autoit


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group