JohnTigue / whiteboarder

A two bit image processor app for whiteboard capture images
http://tigue.com/whiteboarder_a_two_bit_photo_processor/
MIT License
0 stars 0 forks source link

MacOS: can the built-in camera cough up raw images? #3

Open JohnTigue opened 4 years ago

JohnTigue commented 4 years ago

Perhaps different things happen with camera-in-macOS-Photobooth compared to camera-in-Colab notebook take picture.

JohnTigue commented 4 years ago

I mean, come on, that's an awfully suspiciously wide histogram.

Screen Shot 2020-05-05 at 18 55 12
JohnTigue commented 4 years ago

Yeah, turns out macOS is processing the RAW image, which can be gotten at via iOS APIs: Capturing Photos in RAW Format

Still unknown: how to do that in macOS

JohnTigue commented 4 years ago

Maybe the answer is in JavaScript-land: navigator.mediadevices.getusermedia.

JohnTigue commented 4 years ago

The Photos app can handle RAW:
https://www.nytimes.com/2016/08/26/technology/personaltech/put-os-x-photos-in-the-raw-format.html