I’m trying to capture an image using the full resolution (1920*1080) of the On_board CSI camera of the Jetson TX2.
I found a way to capture an image :
nvgstcapture-1.0 -m 1
where: 1 stands for the video snap which practically means image. But the problem is that a video snap(image) is being taken from a video that has a resolution of 640480, where the CSI onboard_camera offers 19201080. So the resulted image is 640*480 resolution.
So I’m trying to capture an image using full resolution of the On_board CSI camera.
the following command makes it possible to capture a video with 1920*1080 :
gst-launch-1.0 nvarguscamerasrc maxperf=1 ! \ 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, \ format=(string)NV12, framerate=(fraction)30/1' ! nvv4l2h265enc \ control-rate=1 bitrate=8000000 ! 'video/x-h265, \ stream-format=(string)byte-stream' ! h265parse ! qtmux ! filesink \ location=test.mp4 -e
but I couldn’t find a similar command for taking picture with 1920*1080 resolution.
So is there a way to capture image with 1920*1080 resolution using the on_board camera ?
thanks in Advance