Ask Your Question

[OpenCV-Python] Change Feature Extraction Method for Object Tracking API

asked 2018-04-15 05:44:01 -0600

I want to change the default observation model (i.e., method of feature extraction) of OpenCV object tracking methods (e.g., BOOSTING, MIL, KCF, TLD, MEDIANFLOW) in python. Would you please kindly help me to do that? (In fact I read the Customizing the CN Tracker but I can't do that in Python)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-04-15 05:55:55 -0600

berak gravatar image

no, you can't do that from python.

you either have to write c++ code, or write your own tracker, e.g. like the MOSSE example here

edit flag offensive delete link more


also note, that the CN Tracker example does not change the observation model, it only adds another feature on top of the existing (CN, gray) ones.

berak gravatar imageberak ( 2018-04-15 06:06:15 -0600 )edit

Question Tools

1 follower


Asked: 2018-04-15 05:44:01 -0600

Seen: 320 times

Last updated: Apr 15 '18