Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

multiple windows are opening with arbitrary name ..even i had gave named to window "myvideo"

$
0
0
#include "opencv2/highgui/highgui.hpp" #include using namespace cv; using namespace std; int main() { VideoCapture cap(0); if ( !cap.isOpened() ) namedWindow("MyVideo",CV_WINDOW_AUTOSIZE); while(1) { Mat frame; bool bSuccess = cap.read(frame); if (!bSuccess) break; imshow("MyVideo", frame); if(waitKey(30) == 27)break; }

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>