Skip to content

wwj718/Playing-Card-Recognition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
  
  python card_img.py test2.jpg 4 train.png train.tsv 56

Note: The recognition method is not very robust; please see SIFT / SURF for a good algorithm.  


###
if libxx wrong
`!sudo ln /dev/null /dev/raw1394`

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%