Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

VideoCapture not obtaining newest frames when I run read()

$
0
0
Hey guys, I'm using a VideoCapture from a C920 to read() the latest/newest images from the camera. I've noticed that unless I'm constantly looping the VideoCapture.read(), that I don't get the newest images but something in a buffer since the picture is clearly "older" than what the current frame should be. I'm using this with ROS/mavros to command a multicopter to move, if that relates to anything. I might be able to get some code here if what I said doesn't make sense. Has anyone heard of this happening? Is there another way to grab the newest image from the camera? Thanks!

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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