Quantcast
Viewing all articles
Browse latest Browse all 5248

Camera board • PiCam 3 Wide not very wide?

I just got the PiCam 3 Wide, which is advertised as having a 120° field of view. But in my measurements, it's barely 90°. It seems the FoV is wider if I set the camera resolution wider, but still not 120°. I'm using code like this to view things:

Code:

import cv2from libcamera import Transformfrom picamera2 import Picamera2, Preview, MappedArrayimport timepicam2 = Picamera2()camera_config = picam2.create_preview_configuration(transform=Transform(hflip=1, vflip=1))camera_config["main"]["size"] = (4096, 2304)# camera_config["main"]["size"] = (640, 480)picam2.configure(camera_config)picam2.start_preview(Preview.QTGL)picam2.start()picam2.capture_file("test2.jpg")while True:time.sleep(5)
It's a slightly wider FoV at 4096 than it is at 640, but seems like 90° or less. Is there a different configuration I should be using?

Statistics: Posted by JetForMe — Fri Apr 12, 2024 6:24 am



Viewing all articles
Browse latest Browse all 5248

Trending Articles