A script to recognize playing cards
Test the detection:
python3 card.py test/cards_01.png
You will obtain something like this:
- 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