Home > other >  Opencv debugging simple read pictures appear undefined identifiers
Opencv debugging simple read pictures appear undefined identifiers

Time:11-24

# include
#include
#include
Using the namespace CV;
using namespace std;

Int main ()
{
//read in an image (visuals of the game)
Mat img=imread (" C: \ \ 1211. PNG ");
//create a named "visuals of the game window
"NamedWindow (" visuals of the game, "WINDOW_AUTOSIZE);
//the window displays the visuals of the game
Imshow (" visuals of the game, "img);
//wait for 6000 ms window automatically shut down after
WaitKey (6000);
return 0;
}


Also have according to the tutorial v + opencv configuration ok, don't know how to solve
  • Related