Simple example which shows how to use the OpenCV videoio API.
(All of them are optional)
Allowed options:
--help Print help.
--device arg Camara id to be used. (defaults to 0)
The optional "--device" parameter can be used to specify the camara device (defaults to 0). Pressing the 's' key allows taking snapshots which are stored in the same directory as the executable.
All provided executables are completely statically linked and thus should be able to run on any device running Linux/Windows.
2020, Daniel Giritzer