Skip to content

Conversation

@otaku42
Copy link
Contributor

@otaku42 otaku42 commented May 25, 2023

This PR adds a new example, v4l2py-snapshot.py. It's implemented as a command line tool, allowing to take a snapshot from a V4L2 device and save it to disc as .jpeg. In case Pillow is available, some additional postprocessing features become available, such as rotating or flipping the image before it is saved to disc.

improve_controls+config+snapshot has been branched off of improve_controls+config, which contains the code referenced in PR #43 that is now also contained here. This PR will shrink to the difference between improve_controls+config and improve_controls+config+snapshot once PR #43 is merged. The code for this example starts with 546c98.

Please let me know if you have any questions, suggestions or would like to see any changes to the code to have it merged.

otaku42 added 20 commits May 7, 2023 15:26
…possible

that the loaded configuration can be applied to the given devide.
That's it for now, and this also closes #10.
…ality.

Pillow-support is optional, though - the example works without it, in which
case some Pillow-based parameters are not made available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant