I’m modifying the detectnet-camera (https://github.com/dusty-nv/jetson-inference/blob/master/detectnet-camera/detectnet-camera.cpp) example and I would like to flip the camera image so that the screen shows, what is in effect, a mirror image.
The functionality I want to achieve is the same as the output of the OpenCV flip method (Operations on Arrays — OpenCV 2.4.13.7 documentation).
Thanks!
Take a look at https://github.com/dusty-nv/jetson-video/blob/master/gstreamer/gstCamera.cpp (line 270) where it says “nvvidconv flip-method=2”, you need to change flip-method to 4 (refer to “Accelerated GStreamer User Guide” page 18)
Thanks frank26080115.
I’m using a USB webcam and I tried to get it to work with the v4l2src command but I keep just getting a black screen.
Do you know what the “nvvidconv flip-method=4” option would look like when using v4l2src?