opencv2/face.hpp not found [closed]

asked 2018-04-03 05:46:48 -0600

mau.tasol gravatar image

I am new to opencv and i want to builf facerecoginition application. I followed below commands.

  1. get the code of opencv-3.0.0-rc1.
  2. get the code of opencv_contrib.
  3. run python opencv-3.0.0-rc1/platforms/ios/build_framework.py ios to generate opencv2.framework.
  4. run python opencv-3.0.0-rc1/platforms/ios/build_framework.py --contrib opencv_contrib ios_contrib to generate opencv2_contrib.framework.

I am not getting any framework. Then i have also tried below option but not getting what i want.

$ cd <opencv_build_directory> $ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory> $ make -j5

Please suggest me how can i use the opencv_contri modules in my app.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by LBerger
close date 2018-04-06 02:10:17.618755

Comments

You must use same version of opencv and opencv_contrib. Please don't use opencv-3.0.0-rc1 (it's really a strange idea)

LBerger gravatar imageLBerger ( 2018-04-03 06:04:29 -0600 )edit

then can we use 3.4.1 ? if yes the can you please give me exact command?

mau.tasol gravatar imagemau.tasol ( 2018-04-03 06:26:27 -0600 )edit

Donwload same version ofopencv and opencv_contrib and build

I don't know ios but I thnik you can find all commands on build bot

LBerger gravatar imageLBerger ( 2018-04-03 06:33:26 -0600 )edit

Okay thanks. Let me try then will get back to you.

mau.tasol gravatar imagemau.tasol ( 2018-04-03 06:36:59 -0600 )edit

Thanks it worked for me...

mau.tasol gravatar imagemau.tasol ( 2018-04-06 02:04:15 -0600 )edit