Scheme for regular substitution via VScode.
When encountering an incorrect version of OpenCV
-
- Find.
(find_package\(OpenCV).*
-
- Replace:
$1 REQUIRED)
-
- CV_GRAY2RGB
-
- Find:
CV_(.*GRAY[^)]*)
Replace:
cv::COLOR_$1
-
- CV_AA
- Replace:
CV_AA
-
- Replace:
cv::LINE_AA
-
- CV_CALIB_*
-
- Replace:
CV_(CALIB[^ ,)]*)
-
- Replace:
cv::$1
-
- CV_LOAD_IMAGE_UNCHANGED、CV_LOAD_IMAGE_GRAYSCALE
-
- Find:
CV_LOAD_IMAGE_([^ )]*)
-
- Replace:
cv::IMREAD_$1
-
- Most other issues, just add the header file
-
-
- chessboard.cc Error
- No such file or directory
-
#include<opencv/cv.h>
:
#include <opencv2/imgproc/imgproc_c.h>
#include <opencv2/highgui/highgui_c.h>
Read More:
- 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
- Opencv perfect configuration strategy 2015 (win7 + opencv 2.4.9 + vs 2013)
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- NPM run build failed to package err! Missing script: build
- Opencv opencvsharpexternal compilation and recording process
- Simple license plate recognition based on Halcon
- Installation and use of OpenGL based on CodeBlocks
- Undeclared identifier CV in opencv4.2.0_ WINDOW_ AUTOSIZE
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Mac clion configuring opencv environment
- An example of 3D data modeling based on VB6 + OpenGL
- Realization of breakpoint download based on DIO in flutter
- Visualization of training process based on tensorboard on Python
- Environment configuration at the beginning of OpenCV + vs2015
- [CICD] Jenkins Role-based Authorization Strategy
- Implementation of HTTPS file server based on nginx in win2012
- Introduction to the principle of Mali tile based rendering
- Failed to build bottleneck ERROR: Could not build wheels for bottleneck which use PEP 517