1 | initial version |
Several steps could improve your attempt:
If this still doesn't help you, you can also try simple template-matching (see http://docs.opencv.org/modules/imgproc/doc/object_detection.html?highlight=matchtemplate#matchtemplate) or, more advanced, train a classifier, e.g. a cascade-classifier w. a texture-feature like HOG/LBP/HAAR (OpenCV provides you all the necessary tools to create your training-set and so on, see http://docs.opencv.org/doc/user_guide/ug_traincascade.html and http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier and the various topics in this forum).
Good Luck!