Ask Your Question

How to use opencv_contrib

asked 2016-01-26 00:42:46 -0500

KTM gravatar image

updated 2016-01-26 09:57:53 -0500

PLEASE Tell me how to use opencv_contrib... I tried to use it for several days, but it failed. I want to use face.hpp.(Also, I want to run facerec_fisherface.cpp) Could you teach me how to use it step by step? Thank you for your reading

ps, I am using raspberry pi(Linux), thanks

edit retag flag offensive close merge delete



What did you already do? Where are you stuck?

Personally, I didn't find difficult to use opencv_contrib. Download it, set the path and options in opencv's cmake, then build the two together.

Then, use it as any other OpenCV library.

kbarni gravatar imagekbarni ( 2016-01-26 03:26:00 -0500 )edit

Take a look at this Linux or Windows tutorial, depending on your OS. If you follow step by step, then it should be straightforward.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-01-26 06:31:31 -0500 )edit

Thank you guys! I will try again.

KTM gravatar imageKTM ( 2016-01-26 10:14:27 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-27 00:20:12 -0500

dpwicaksa gravatar image

add -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules when you setup the build

edit flag offensive delete link more


Thank you. I made it!

KTM gravatar imageKTM ( 2016-01-28 02:43:22 -0500 )edit

Question Tools

1 follower


Asked: 2016-01-26 00:40:26 -0500

Seen: 418 times

Last updated: Jan 27 '16