Ask Your Question
0

KCF and BOOSTING tracker segfaults in Python

asked 2016-09-28 17:59:02 -0600

catdef gravatar image

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!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-14 12:46:57 -0600

adeelh gravatar image

I was getting this too. Seems to have been fixed in OpenCV 3.2.0 though.

edit flag offensive delete link more

Comments

Question Tools

1 follower

Stats

Asked: 2016-09-28 17:59:02 -0600

Seen: 1,209 times

Last updated: Mar 14 '17