OpenCV 2.3 and Visual Studio 2010

前端 未结 6 1143
醉话见心
醉话见心 2020-12-18 10:42

I am having so much trouble installing openCV 2.3 with visual studio 2010. Crash after crash, installation after installation and after several weeks I\'ve had no luck. Unfo

6条回答
  •  我在风中等你
    2020-12-18 11:09

    You should try making a cycle structure:

    #include 
    #include 
    #include 
    
    using namespace cv;
    
    int main(){
    
      Mat image;
      namedWindow( "Gray image", 2 );
    
        while(1){
           image = imread( "d://Gaa6P.png", 1 );
           imshow( "Gray image", image );
           waitKey(0);
    
        }
    
    return 0;
    
    }
    

提交回复
热议问题