Component guide · Intermediate · 3 min read
12MP IMX378 Cameras

Arducam, DFRobot 79 and 190 Degree, Waveshare Fisheye) and Arducam IMX577 for DepthAI
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The Sony IMX378 is a 12MP sensor with good low-light performance, used in phones and here on Raspberry Pi camera boards. DFRobot sells 79 degree and 190 degree fisheye versions, Waveshare a fisheye board, and Arducam a standard module. The IMX577 board is made for Luxonis OAK and DepthAI cameras. On the Pi they use the imx378 overlay.
Key specs at a glance
- Sensor
- Sony IMX378 or IMX577, 12.3MP
- Video
- Up to 4K30 or 1080p60 (board dependent)
- Interface
- MIPI CSI-2
- Field of view
- About 79 to 190 degrees
- Focus
- Fixed
- Boards
- Raspberry Pi 4 and 5; DepthAI (IMX577)
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Arducam 12MP IMX378 Camera Module for Raspberry Pi₹4,599
Option 2DFRobot IMX378-79 12.3MP Camera Module for Raspberry Pi₹3,099
Option 3DFRobot IMX378-190 12.3MP Wide-Angle Camera for Raspberry Pi 4B/5₹4,109
Option 4Waveshare IMX378-190 12.3MP Fisheye Lens Camera for Raspberry Pi₹5,074
Option 5Arducam B0597 12.3MP IMX577 Mini Camera Module for DepthAI₹7,139
What the IMX378 and IMX577 12MP cameras is
IMX378 and IMX577 12 MP camera modules use Sony sensors with large pixels for sharp images, used with Raspberry Pi, Jetson and OAK depth cameras.
On Raspberry Pi OS add dtoverlay=imx378 (and camera_auto_detect=0) in config.txt. A 190 degree fisheye gives a huge view with strong edge distortion; correct it in OpenCV if you need straight lines.
The IMX577 board connects to OAK-FFC baseboards, not straight to a Pi.
IMX378 and IMX577 12MP cameras pinout
The pins on the IMX378 and IMX577 12MP cameras and what each one does.
| Pin | Function |
|---|---|
| CSI ribbon (15 or 22-pin) | Camera data lanes, clock, I2C control and power in one flat cable |
| Metal contacts | Face the connector contacts; a reversed cable gives 'no cameras available' |
| Lens mount | Fixed, M12 or CS/C mount depending on the board |
| IR-CUT / focus motor | Driven over the same ribbon on boards that have them |
- CSI ribbon (15 or 22-pin)
- Camera data lanes, clock, I2C control and power in one flat cable
- Metal contacts
- Face the connector contacts; a reversed cable gives 'no cameras available'
- Lens mount
- Fixed, M12 or CS/C mount depending on the board
- IR-CUT / focus motor
- Driven over the same ribbon on boards that have them
Wiring the IMX378 and IMX577 12MP cameras
Turn the Pi off before connecting. Lift the connector latch, push the ribbon fully in with the contacts facing the pins, then press the latch down. The Pi 5 and Zero use the smaller 22-pin connector.
| IMX378 and IMX577 12MP cameras pin | Raspberry Pi 5 | Raspberry Pi 4 |
|---|---|---|
| Ribbon cable | CAM/DISP 0 or 1 (22-pin, use a 15-to-22 cable) | CAMERA port (15-pin) |
| Power | From the ribbon (no extra wires) | From the ribbon (no extra wires) |
| Software | rpicam-apps / Picamera2 (Bookworm) | rpicam-apps / Picamera2 (Bookworm) |
- Ribbon cable
- Raspberry Pi 5:
- CAM/DISP 0 or 1 (22-pin, use a 15-to-22 cable)
- Raspberry Pi 4:
- CAMERA port (15-pin)
- Power
- Raspberry Pi 5:
- From the ribbon (no extra wires)
- Raspberry Pi 4:
- From the ribbon (no extra wires)
- Software
- Raspberry Pi 5:
- rpicam-apps / Picamera2 (Bookworm)
- Raspberry Pi 4:
- rpicam-apps / Picamera2 (Bookworm)
Example code
Check the camera first with rpicam-hello --list-cameras. Third-party sensors usually need camera_auto_detect=0 and the right dtoverlay= line in /boot/firmware/config.txt, or the maker's driver package.
from picamera2 import Picamera2
from picamera2.encoders import H264Encoder
import time
cam = Picamera2()
cam.configure(cam.create_still_configuration())
cam.start()
time.sleep(2) # let exposure and white balance settle
cam.capture_file("imx378.jpg")
cam.stop()
video = cam.create_video_configuration(main={"size": (1920, 1080)})
cam.configure(video)
cam.start_recording(H264Encoder(10_000_000), "clip.h264")
time.sleep(10)
cam.stop_recording()Setup and tuning
check the driver for your board; the IMX477 is the official Pi HQ sensor, while IMX378 and IMX577 need specific drivers.
use the right CSI ribbon (15 or 22 pin) and insert it the right way.
use the M12 or CS mount lens supplied, and focus it by turning.
use libcamera on Pi or the vendor SDK on Jetson and OAK.
check whether the module has an IR cut filter for daytime colour.
What you need
Shop this list8 of 8 found in our store · ₹64,892
Arducam 12MP IMX378 Camera Module for Raspberry Pi: the part this guide coversArducam 12MP IMX378 Camera Module for Raspberry Pi₹4,599
DFRobot IMX378-79 12.3MP Camera Module for Raspberry Pi: another version this guide coversDFRobot IMX378-79 12.3MP Camera Module for Raspberry Pi₹3,099
DFRobot IMX378-190 12.3MP Wide-Angle Camera for Raspberry Pi 4B/5: another version this guide coversDFRobot IMX378-190 12.3MP Wide-Angle Camera for Raspberry Pi 4B/5₹4,109
Waveshare IMX378-190 12.3MP Fisheye Lens Camera for Raspberry Pi: another version this guide coversWaveshare IMX378-190 12.3MP Fisheye Lens Camera for Raspberry Pi₹5,074
Arducam B0597 12.3MP IMX577 Mini Camera Module for DepthAI: another version this guide coversArducam B0597 12.3MP IMX577 Mini Camera Module for DepthAI₹7,139
Raspberry Pi 5 (4 GB): the computer the camera plugs intoRaspberry Pi 5 16GB RAM Single Board Computer₹36,169Closest match, check the specs
Raspberry Pi 4 Model B (4 GB): works with the standard 15-pin cableRaspberry Pi 4 Model B 1GB RAM₹4,476Closest match, check the specs
15-pin to 22-pin camera cable: for Raspberry Pi 5 and Zero boardsArducam CB008 3.8cm 15-Pin to 22-Pin Camera Cable for Raspberry Pi Zero/W₹227
Alternatives and when to choose them
- HQ camera IMX477: changeable lenses.
- Autofocus cameras: IMX519 and 64MP.
- Depth cameras: OAK and RealSense.
Common mistakes to avoid
- Assuming the module is plug and play on any Pi.
- Inserting the ribbon backwards.
- Forgetting to focus the lens.
- Using a NoIR module for daytime colour.
Frequently asked questions
Will an IMX577 camera work with a Raspberry Pi?
Only with a driver from the camera vendor; check support for your Pi OS.
What is the difference between IMX378 and IMX577?
Both are 12 MP; the IMX577 is newer with better video modes.
Why is the image blurry?
Turn the lens to focus and lock it.
Why are colours pink in daylight?
The module has no IR cut filter.
Can it record 4K video?
Yes on boards whose ISP supports it, such as Jetson.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


