Skip to content

Latest commit

 

History

History

card_recognition

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Playing cards recognition

License: MIT openCV version
A script to recognize playing cards

How to use

Test the detection:

python3 card.py test/cards_01.png

You will obtain something like this:
result

How it works

  • Generate the values and symbols set
  • Find contour to get separated value and symbol
  • Find all the card on the image
  • Extract the top left corner of each card
    • For each value and symbol of card, compare it with the values and symbols set

At this step, the behavior is the same as the digit_recognition behavior