openCV imshow not rendering image on screen

后端 未结 3 1653
小鲜肉
小鲜肉 2020-12-10 02:02

I am new to openCV, have recently obtained a pre-compiled version of openCV 2.4.7 and was successfully able to integrate it with visual studio 2010.

Apparently libr

3条回答
  •  清歌不尽
    2020-12-10 02:38

    I suggest removing the cv::namedWindow statement, and adding

    cv::waitKey();
    

    after the cv:imshow statement. You can also check whether the dimensions of the window are correct.

提交回复
热议问题