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

cap.set property is not working in C++

$
0
0
While cap.get property is working, I used cap.set property in a simple code but it doesn't seem to be working: cap.set(CV_CAP_PROP_FPS, 60); cap.set(CV_CAP_PROP_FRAME_HEIGHT, 360.0); for(;;) { cap >> frame; if( frame.empty() ) break; // end of video stream imshow("Display Window",frame); if( waitKey(1) == 27 ) break; // stop capturing by pressing ESC } waitKey(); return 0; Any ideas, am I missing something here? Thanks.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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