The Raspberry Pi Camera Module v2 should be used as csi://0, because through V4L2 that camera only supports raw 10-bit bayer mode, which neither I or GStreamer have the code to debayer 10-bit. Regardless, it is more efficient to use it through the csi://0 interface (which uses libargus) and the picture quality should be better as it includes ISP processing.
You should be able to use the --input-flip=clockwise
(or --input-flip=counterclockwise
) and run it as:
$ video-viewer --input-flip=clockwise csi://0
For more options to --input-flip
argument, run the program with --help
or see here:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#command-line-arguments
--input-flip=FLIP flip method to apply to input (excludes V4L2):
* none (default)
* counterclockwise
* rotate-180
* clockwise
* horizontal
* vertical
* upper-right-diagonal
* upper-left-diagonal