opencv 3.0 deprecated opencv_legacy module

asked 2014-09-22 21:19:25 -0600

shaqi gravatar image

updated 2014-09-23 02:39:31 -0600

berak gravatar image

opencv3.0 deprecated opencv_legacy module, and my old code needs the function cv::PatchGenerator used to declare in legacy.hpp . How could I fix this problem, is any function could instead of cv::PatchGenerator in the latest opencv3.0?

edit retag flag offensive close merge delete

Comments

legacy is gone for good.

you might copy/paste the PatchGenerator code from the 2.4 branch to your own project, and try to fix it there.

(you'll run into the obvious problems with different header structures (can't use precomp.hpp), and general changes 2.4 -> 3.0, come back when you hit a wall there)

berak gravatar imageberak ( 2014-09-23 02:18:54 -0600 )edit