Ask Your Question
0

How to use opencv_contrib

asked Jan 26 '16

KTM gravatar image

updated Jan 26 '16

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

Preview: (hide)

Comments

2

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 (Jan 26 '16)edit
1

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 (Jan 26 '16)edit
3

Thank you guys! I will try again.

KTM gravatar imageKTM (Jan 26 '16)edit

1 answer

Sort by » oldest newest most voted
1

answered Jan 27 '16

dpwicaksa gravatar image

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

Preview: (hide)

Comments

Thank you. I made it!

KTM gravatar imageKTM (Jan 28 '16)edit

Question Tools

1 follower

Stats

Asked: Jan 26 '16

Seen: 654 times

Last updated: Jan 27 '16