Get latest frame from VideoIO.opencamera() buffer

arnief3
Wed, 08 Jun 2022 02:44:09 +0000
General Usage

Is it possible to grab the latest frame from the VideoIO.opencamera() buffer. Can I flush the buffer so that read(cam) waits for a new frame? Right now I am forced to close and reopen the camera each time I want to grab the latest frame. Any help would be appreciated.

1 post - 1 participant