Getting Cropped Image From rpi 2.1 Camera

Hi,

I’m trying to fetch 1920 X 1080 frames from the rpi 2.1 camera, but the output looks zoomed and cropped maybe because of 8mp pixel that camera support , Is there any api through which we can remove the zoom factor or cropped factor in sensor?

Thanks

hello yashrajs,

may I know your test pipeline?
you may execute this command to check all available sensor modes,
for example, $ v4l2-ctl -d /dev/video0 --list-formats-ext

here’s a sample gst pipeline to launch 3264x2464 sensor mode and doing a jpeg image capture,
$ gst-launch-1.0 nvarguscamerasrc num-buffers=1 ! 'video/x-raw(memory:NVMM), width=3264, height=2464' ! nvjpegenc ! filesink location=sample.jpg

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.