Where to get Nonfree modules?

asked 2016-06-12 09:37:25 -0600

VanGog gravatar image

updated 2016-06-12 15:47:20 -0600

I found tutorials using Feature detection. One of the tutorials includes these features:

opencv2/features2d/features2d.hpp opencv2/nonfree/features2d.hpp opencv2/nonfree/nonfree.hpp

I did not found the nonfree module where can I download it? Also is there some help how to compile the sources using Visual Studio 2010? Is there project created to build it?

I have found:

  1. xfeatures2d: Features2D extra -- Extra 2D Features Framework containing experimental and non-free 2D feature detector/descriptor algorithms. SURF, SIFT, BRIEF, Censure, Freak, LUCID, Daisy, Self-similar.

  2. ximgproc: Extended Image Processing -- Structured Forests / Domain Transform Filter / Guided Filter / Adaptive Manifold Filter / Joint Bilateral Filter / Superpixels.

  3. xobjdetect: Boosted 2D Object Detection -- Uses a Waldboost cascade and local binary patterns computed as integral features for 2D object detection.

  4. xphoto: Extra Computational Photography -- Additional photo processing algorithms: Color balance / Denoising / Inpainting.

I think it could be what I look for. There is the term "Features" often mentioned.

http://docs.opencv.org/3.1.0/de/d25/t...

edit retag flag offensive close merge delete

Comments

With opencv 3.1 you need download opencv_contrib

LBerger gravatar imageLBerger ( 2016-06-12 14:50:25 -0600 )edit

@LBerger do you mean this? I have downloaded it (the link on Github) but I cannot find nonfree folder in modules folder of opencv_contrib.

VanGog gravatar imageVanGog ( 2016-06-12 15:33:53 -0600 )edit

Which tutorials do you need ? for non free try with opencv2/xfeatures2d/nonfree.hpp

LBerger gravatar imageLBerger ( 2016-06-12 15:35:23 -0600 )edit

Features. Yeah, I found it. Can the Cmake gui manage to install from gui or must I use command line?

VanGog gravatar imageVanGog ( 2016-06-12 15:48:58 -0600 )edit

@LBerger I think the tutorial has wrong path to the library, It seems I need to select the particular model folder to configure... So I need to create folders in the target folder for Modules and the particular folder I want to build. Am I right. I do it first time like this.

VanGog gravatar imageVanGog ( 2016-06-12 15:59:42 -0600 )edit

The Cmake gui prints some errors: CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.5)
VanGog gravatar imageVanGog ( 2016-06-12 16:10:26 -0600 )edit

I don't understand your comments. I suppose your opencv version is 3.1. Have you build opencv with opencv_contrib (you have to set in cmake gui var OPENCV_EXTRA_MODULES_PACTh something like c:/opencv_contrib/modules and rebuild opencv.

Can you give a tutorila link that you mention?

LBerger gravatar imageLBerger ( 2016-06-13 01:48:02 -0600 )edit

No I did not. I understand I need to recompile OpenCV.

VanGog gravatar imageVanGog ( 2016-06-13 06:42:19 -0600 )edit

Yes before you can check in cmake gui if var build_opencv_xfeatures2d is set

LBerger gravatar imageLBerger ( 2016-06-13 08:28:35 -0600 )edit