B4J Question Image Hash to recognize playing cards

jroriz

Active Member
Licensed User
Longtime User
Would it be possible to use image rash to recognize playing cards?


Images can appear on the screen in 2 different sizes (the ones the player has (A7103JK) and the community cards (K749).

Note that sometimes the card comes with a yellow border (K79 for example), and sometimes it doesn't come with a yellow border (4 of diamonds, for example).

Another thing is that the screen size can vary a little, if the player resizes the window, for example.
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Jawt robot library allow to get pixel colors of the screens
ScreenPixelColorGetAt
 
Upvote 0

jroriz

Active Member
Licensed User
Longtime User
But I need to recognize images (cards suits), not just the colors...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…