JetsonHacksNano / CSI-Camera

Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Developer Kit
Other
817 stars 287 forks source link

How to change the angle of view? #35

Open DriftKong opened 3 years ago

DriftKong commented 3 years ago

I am using a Sony IMX 219 160 degree of view My images got a wrong degree and I couldn't change the degree of view Especially mode 2 has only 70 degree of view Do you have any suggestion how to fix this problem?

patrickwasp commented 3 years ago

If you're trying to run simple_capture.py, change the defaults to

def gstreamer_pipeline(
    capture_width=3280,
    capture_height=2464,
    display_width=840,
    display_height=616,
    framerate=20,
    flip_method=0,