Ask Your Question

adeelh's profile - activity

2017-03-14 13:34:26 -0600 commented answer How to use python T-API with the tracking module?

In tldTracker.cpp, tldModel.cpp, tldDetector.cpp. Also in the multi-tracker files.

2017-03-14 12:46:57 -0600 answered a question KCF and BOOSTING tracker segfaults in Python

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

2017-03-14 12:44:54 -0600 commented answer How to use python T-API with the tracking module?

I do see some opencl related code in the tracking module's cpp files. But I don't seem to be getting any GPU acceleration. Does it use opencl internally if it is present?

2017-03-14 04:34:23 -0600 asked a question How to use python T-API with the tracking module?

I tried

tracker = cv2.Tracker_create("TLD")
img_umat = cv2.UMat(img)
tracker.init(img_umat, (x, y, w, h))

But it says TypeError: image is not a numpy array, neither a scalar.

What is the correct usage?