Access to RAW camera data?

@simeon i have been playing around with using the camera for cosmic ray detection as used in the ‘COSMIC RAY’ app available on the app store. I find it does not work as well as i expected! I wonder if the apple post-processing of the camera data could remove the signal. Would it be possible to have an option to access the RAW camera data i.e. before the apple noise reduction algorithms are applied?

@piinthesky interesting question. Looking into it, I can’t see an API to disable the noise reduction applied to the camera stream we use to provide the camera texture. I’ll keep looking

@Simeon @piinthesky I’d second the request for the RAW camera data - the auto brightness adjustment was hampering some “green screen” examples I was working on

@simeon does this article help…

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/capturing_still_and_live_photos/capturing_photos_in_raw_format