has updateMotionHistory been removed from OpenCV 3 python 3?
I am trying to resurrect some old object tracking code written for opencv2 and python 2. Currently I am using opencv 3 (directly from the git repository) and python 3. Due to the method name changes (WHY is everything renamed? There must be a reason but everything is broken) I am going through everything and replacing the methods with the new ones. I can't seem to find a replacement for updateMotionHistory. Has it been removed completely? I
hmm,
yes, it was moved to opencv_contrib, into the optflow module there
but yes, it should be wrapped to python (from cv2.optflow) but is not.
hmm.
IS there a good changelog somewhere that has differences between the cv2 and cv3? I wish the wiki had name change information for each of the functions.
so, you already found the wiki (roadmap,activity,issues to watch there).
another good one: http://docs.opencv.org/ref/master/db/...
so , i checked. there's a problem/bug related to namespaces. if you want updateMotionHistory in python:
then, finally, use:
cv2.optflow.updateMotionHistory(...)
you know this chinese curse ? "may you live in 'interesting' times..."
Where is this bug?
the bug is, that the generator script (for the python/java wrappers) sees module optflow, and expects things in namespace cv::optflow, but it finds cv::motempl, and gets confused.
(sorry for not being explicit enough here before)
Slightly off topic but if you have experience with Arch Linux packages, does this pkgbuild look right for building opencv with the contrib repo: http://slexy.org/view/s2zowjaWY3
sorry, no idea about either arch or pkgbuild
okay thanks. IS the bug just with the git version? Is 3.0.0-rc1 affected as well?