Ask Your Question
0

objecttracking methods, best solution?

asked Jun 23 '16

atv gravatar image

updated Jun 23 '16

Hi, I realize there are many, but If i wanted to check if an object had moved, what would be the best method for me to implement.

template matching, or use the tracker or multitracker solutions from opencv? (are these in any way similar to TLD/openTLD ?) i don't think the opencv methods use HSV color values or something?

And a unrelated question 2: why can't i use template matching for face recognition? Can i not use detectmultiscale and then use template matching to recognize the face?

Thank you.

Preview: (hide)

Comments

afaik openCV 3 has a TLD implementation, but I can't tell you the function names.

Micka gravatar imageMicka (Jun 23 '16)edit

These are the ones i'm talking about http://docs.opencv.org/3.1.0/d5/d07/t...

atv gravatar imageatv (Jun 23 '16)edit

1 answer

Sort by » oldest newest most voted
1

answered Jun 24 '16

Tetragramm gravatar image

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.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Jun 23 '16

Seen: 265 times

Last updated: Jun 23 '16