Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To watch for motion, pyrLK Optical Flow is probably the simplest choice. Find a set of keypoints on the object, and track them to see if they move any significant amount.

Match Template is capable of using multiple channels, as are several of the other trackers, such as TrackerKCF. Whether that is HSV or RGB or YUV depends on the images you pass to it.

Template Matching is far more general than any decent facial recognition software. Template Matching would see only very small differences between a face with high cheek bones or not. Also, a turned face would be very different to template matching, with a different size and shape. Google some face recognition tutorials to see how they usually work.