Hi all, i am need to openCV and i need some guidance.
I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in error, there is error.
The Error: 1>C:\opencv243\include\opencv\cv.h(63): fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory 1> 1>Build FAILED.
Program:
include <c:\opencv243\include\opencv\cv.h>
include <c:\opencv243\include\opencv\highgui.h>
using namespace cv;
int main(){
//create Matrix to store image
Mat image;
// initialize capture
VideoCapture cap; cap.open(0);
// create window to show image namedWindow(“window”, CV_WINDOW_AUTOSIZE); namedWindow("window",1); while(1){
// copy webcam stream to image
cap>>image;
// print image to screen imshow(“window”, image); imshow("window",image); // delay 33ms waitKey(33); waitKey(33);
}
return 0; }
Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform.