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

Camera board • Re: Access raw CSI image data

$
0
0
Does the Picamera2 version of DNG capture work? It might have better format support. Try this:

Code:

import timefrom picamera2 import Picamera2picam2 = Picamera2()main = {'size': (3864, 2192), 'format': 'RGB888'}raw = {'size': (3864, 2192), 'format': 'R12'}config = picam2.create_still_configuration(main, raw=raw, buffer_count=3)picam2.start(config)time.sleep(1)picam2.capture_file("test.dng", 'raw')

Statistics: Posted by therealdavidp — Thu Aug 15, 2024 3:06 pm



Viewing all articles
Browse latest Browse all 5152

Trending Articles