Windows platform VS2015 compiles Opencv and introduces the extension library opencv_conrtib

     The project needs to use the Opencv library and use the xfeature2d submodule. The directly downloadable library file provided by the official website does not contain the extension module, it took a night to compile the extension with the extension

Module version, where the compilation process is recorded for later use. OpenCV version: 3.1.0

      1. Download and install CMake

The download address is https://cmake.org/download/ Download cmake-3.11.1-win64-x64.msi             as shown below

    

                                                                                                                                Figure 1 Schematic diagram of CMake download

    Download Cmake (to be precise, it should be CMake Gui) and install it by default. After the CMake GUI is installed, the running interface is as follows

                                             Figure 2 CMake-gui running interface

2. Download OpenCV and opencv_contrib source code

        The OpenCV download address is https://opencv.org/releases.html The version I chose is 3.1.0

        The source code download address of opencv_contrib is https://github.com/opencv/opencv_contrib. Please select version 3.1.0. If the version is selected incorrectly, an error will occur.

 

       

 

     

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324781676&siteId=291194637