Get opencv vino
git clone --branch 4.5.1 https://github.com/opencv/opencv_ contrib.git
git clone --branch 4.5.1-openvino https://github.com/opencv/opencv.git code> opencv_ Place contrib in opencv OL> directory
Enter the opencv Directory:
mkdir build & cd build
cmake -D CMAKE_ BUILD_ TYPE=RELEASE -D CMAKE_ INSTALL_ PREFIX=/usr/local -D INSTALL_ PYTHON_ EXAMPLES=ON -D OPENCV_ EXTRA_ MODULES_ PATH=../../opencv_ contrib/modules -D WITH_ INF_ ENGINE=ON -D ENABLE_ CXX11=ON -D PYTHON_ EXECUTABLE=/usr/bin/python ..
Common errors and solutions:
opencv_ contrib/modules/xfeatures2d/src/ boostdesc.cpp:673 :20: fatal error: boostdesc_ BGM. I: no such file or directory
solution:
source code compilation is adopted, so you can view the log file in the build folder CMakeDownloadLog.txt , in the log file CMakeDownloadLog.txt Search for bootdesc in_ BGM. I keyword (not search in the folder),
found that the file download failed. The log file has its download address. You can directly copy the download address to the web page to see the source code of the file. You can directly copy the source code and save the file with the same name and put it in OpenCV_ The path of contrib/modules/xfeatures2d/SRC/ code> is OK.
Baidu network disk download address: https://pan.baidu.com/s/1BeYF8kqEZLAJYQj-MvxpmA Password: e1wc (thank you for sharing) fatal error: features2d/test/test_ detectors_ regression.impl.hpp : no such file or directory
solution:
copy opencv/modules/features2d and paste it into the build directory to solve the problem. Final error: opencv2/xfeatures2d.hpp: no such file or directory
solution:
Add OpenCV_ The problem of OL> can be solved by copying the contrib/modules/xfeatures 2D/include/opencv2 code> folder to the /usr/local/include/opencv2/ code> folder
Read More:
- Opencv perfect configuration strategy 2015 (win7 + opencv 2.4.9 + vs 2013)
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- Project files may be invalid appears when cmake compiles opencv3.1, and the debug additional dependency of the compiled opencv3.1 is at the end
- Anaconda installation opencv Python error solution
- Opencv2.4.9 + ffmpeg1.2.12 installation configuration and problem solution under Ubuntu 14.04
- Ubuntu 18.04 installation of opencv2.4.13 encountered fatal error. Possible solutions
- Mac installation opencv brew tap homebrew / Science
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- Java cpp-0.11.jar, opencv-windows-x86_ 64.jar,opencv-2.4.11-0.11.jar
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Installing opencv Python in docker container
- Opencv opencvsharpexternal compilation and recording process
- Environment configuration at the beginning of OpenCV + vs2015
- Error reporting of OpenCV and Darknet under Python 2.7
- Mac clion configuring opencv environment
- Report ippicv error during opencv3 compilation
- [solution] build vins and orb-slam based on opencv4
- Opencv: the application can’t start normally
- Undeclared identifier CV in opencv4.2.0_ WINDOW_ AUTOSIZE