This website collects cookies to deliver better user experience
C:\opencv\build\x64\vc15\bin
Create a New Visual Studio project C++ console.
Set the platform target to x64
x64
Project->Properties->Configuration Properties
C:\opencv\build\include
C:\opencv\build\x64\vc15\lib
opencv_world452d.lib
452
d
test.cpp
#include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <iostream> using namespace std; using namespace cv; void main() { VideoCapture cap(0); Mat img; while (true) { cap.read(img); imshow("Image", img); waitKey(1); } }
37
0