Ask Your Question

Revision history [back]

Hi,

You can try to train Haar classifiers to recognize the suit for cards, here is article with detailed explanations how this can be done: http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html

However this is not simple task as you will require a lot of positive/negative samples for this.

To recognize the numbers - I think there should be existing solutions, here is good source on OCR: http://blog.damiles.com/2008/11/basic-ocr-in-opencv/

Also you can use findContours to separate cards from each other.

This is not a simple task, if you are really interested - post here your findings and code and I can help to get you tight direction.