Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

KCF and BOOSTING tracker segfaults in Python

Hi,

I installed opencv 3.1.0-dev on Ubuntu 14.04, compiled with OPENCV_EXTRA_MODULES_PATH set to opencv_contrib.

I can successfully run opencv_contrib/modules/tracking/samples/tracker.py with MIL, TLD, MEDIANFLOW, but I get segmentation fault with these two trackers:

> tracker = cv2.Tracker_create("BOOSTING") 
> tracker = cv2.Tracker_create("KCF")

In C++ it works: I can run

opencv_contrib/modules/tracking/samples/tutorial_introduction_to_tracker.cpp

successfuly which uses the KCF tracker.

This is my first time working with opencv_contrib, so I'm not sure how to go at it. The error output from python is just "Segmentation fault"

Any help is appreciated,

Thank you!!