raspberrypi / picamera2

New libcamera based python library
BSD 2-Clause "Simplified" License
892 stars 188 forks source link

Timestamp capture #851

Closed davidplowman closed 1 year ago

davidplowman commented 1 year ago

This commit adds the ability to capture a request but where nothing was exposed before a given timestamp (which may be "now").

The second commit is an example/test for this functionality.

davidplowman commented 1 year ago

@naushir @will-v-pi Do we like this feature? I do get asked this kind of question from time to time, so I think it may be useful. I wonder a bit whether all the capture_xxx methods should allow it, but then again, most folks who care about this level of detail can probably use capture_request.

naushir commented 1 year ago

I can see this being useful. LGTM.