Naïve Playing Card Recognition using OpenCV / Python
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.txt Initial Import Jun 16, 2013
card_img.py remove unused code Jun 17, 2013
test.jpg Initial Import Jun 16, 2013
test2.jpg Initial Import Jun 16, 2013
train.png Initial Import Jun 16, 2013
train.tsv Initial Import Jun 16, 2013

README.txt

Card Recognition using OpenCV
Code from the blog post 
http://arnab.org/blog/so-i-suck-24-automating-card-games-using-opencv-and-python

Usage: 

  ./card_img.py filename num_cards training_image_filename training_labels_filename num_training_cards

Example:
  ./card_img.py test.JPG 4 train.png train.tsv 56
  
Note: The recognition method is not very robust; please see SIFT / SURF for a good algorithm.