Closed rwb27 closed 9 years ago
I've slightly changed the mechanism for getting frames from the camera - there's a new method get_image, which will either call raw_snapshot or extract frames from the video stream, as appropriate. The only issue with this is that you'll want to discard different numbers of frames depending on which method is used... Said code is not yet in master, but is here 7d710f214a7a2f53692058acf98cf96608826420
Now in master - closing.
Camera.raw_snapshot() should probably have some mechanism for getting a "fresh" frame (e.g. using the take_snapshot function on Lumenera, or discarding 2/3 frames on OpenCV). Currently this functionality is inelegantly shoehorned into camera_stage_mapper.