Ask Your Question

ximgproc in opencv2 file not found

asked 2017-02-08 09:10:07 -0500

ginister gravatar image

Hi everyone, running #include <opencv2 ximgproc.hpp=""> results in file not found, could someone explain why this might be?

edit retag flag offensive close merge delete


Is there anyone knows that where will the extra modules in opencv_contrib be include in the source opencv pack? since I always can't find the extra modules(ex.ximgproc) in opencv/include/opencv2 or is it just that i'm failed installing it?

hysoka79 gravatar imagehysoka79 ( 2019-06-04 08:42:36 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-02-08 09:13:32 -0500

LBerger gravatar image

updated 2017-02-08 13:27:37 -0500

you need to clone opencv contrib and build opencv.

Opencv version and platform are welcome...

edit flag offensive delete link more



answered 2018-06-14 16:36:40 -0500

mannyglover gravatar image

Just for clarity, after you clone opencv contrib as @LBerger recommended, you have to rebuild opencv with the -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules option, when running cmake.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-08 09:10:07 -0500

Seen: 4,181 times

Last updated: Jun 14 '18