Skip to content

PiGear FAQs⚓


What is PiGear API and what does it do?⚓

Answer: PiGear is similar to CamGear but exclusively made to support various Raspberry Pi Camera Modules (such as OmniVision OV5647 Camera Module and Sony IMX219 Camera Module). For more info. see PiGear doc ➶


I'm only familiar with OpenCV, how to get started with PiGear API?⚓

Answer: First, see Switching from OpenCV, then go through PiGear doc. Still in doubt, then ask us on Gitter ➶ Community channel.


Why my camera module is not detected by PiGear?⚓

Answer: Make sure to enable Raspberry Pi hardware-specific settings ➶ before using PiGear. Also, recheck/change your Camera Module's ribbon-cable and Camera Module itself, if it damaged or got broken somehow.


How to select camera index on Pi Compute IO board with two Cameras attached?⚓

Answer: See PiGear's camera_num parameter ➶


Why PiGear is throwing SystemError?⚓

Answer: This means your Raspberry Pi CSI ribbon-cable is not connected properly to your Camera Module, or damaged, or even both.


How to assign picamera settings for Camera Module with PiGear?⚓

Answer: See this usage example ➶


"Video output is too dark with PiGear", Why?⚓

Answer: Seems like the settings are wrong. Kindly see picamera docs for available parameters, and look for parameters are sensor_mode, shutter_speed and exposure_mode, try changing those values. Also, maybe your framerate value is too high. Try lowering it.


How to change picamera settings for Camera Module at runtime?⚓

Answer: You can use stream global parameter in PiGear to feed any picamera setting at runtime. See this bonus example ➶


Last update: September 1, 2021