Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6980

Raspberry Pi OS • Help with capturing raw 400×400 BYR2 Bayer frames from custom sensor on Raspberry Pi

$
0
0
Hi all,

I’m working with a custom camera sensor on Raspberry Pi (driver based on OV5647). My goal is to capture raw Bayer frames (BYR2 format) directly from the sensor, bypassing the PiSP / ISP pipeline, for live processing in OpenCV.

Current setup & observations:

Driver is loaded and registered with V4L2 (/dev/video0) → libcamera detects the camera.

Trying to bypass PiSP to get raw data: video node 0 (/dev/video0) is used.

Format set: V4L2_PIX_FMT_BYR2 (10-bit Bayer).

However, when capturing frames from /dev/video0, the frames are empty / zeroed out.

Using PiSP / ISP pipeline works, and processed frames are fine.

Problem:

I cannot capture raw Bayer data directly; the frames from the video node intended for raw output are empty. It seems the driver or pipeline may be blocking direct raw output when PiSP is bypassed.

Questions:

Is it possible to bypass PiSP / ISP and get raw Bayer frames directly from a Raspberry Pi camera sensor?

Are there any known driver configurations needed to expose raw frames from /dev/video0?

Statistics: Posted by Leenasri — Tue Sep 02, 2025 4:38 pm — Replies 1 — Views 108



Viewing all articles
Browse latest Browse all 6980

Trending Articles