❓ Take raw photo without additional system effects
Question
Hi
I am going to develop an application that will take a photo to give some advices to clients using AI to make analization of photo. To implement this logic correctly I'll have to make raw photo without any system effects that improve the photos.
As I understood it's possible using native language (like Swift)
Is it possible to make the raw photos without any system effects using this library?
I'll really appreciate for you answer and explanation!!!
What I tried
No response
VisionCamera Version
2.15.4
Additional information
- [ ] I am using Expo
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar questions in the issues page as well as in the discussions page and found none.
Hey do you want YUV, RGB or RAW (DNG) images?
Hi, thanks for you answer. I was on a vacation, so I couldn't answer before, but still this question is really important for me.
Right now I am not sure about an exact format of an image that we will use. If it's possible to get an image without any system optimizations and effects I will get this project to implement it using react native, that I really like
I would ask you to explain how can I get this image in RGB or RAW format of images. Or if it's possible to get it directly in JPEG format (without system effects)
I am grateful for your time and contribution for react native community!!!
Hey - yea I get what you're saying, but the only processing that's happening is in takePhoto() (RGB -> JPEG) and recordVideo() (YUV -> mp4/h264)
In a useFrameProcessor you get raw, unprocessed YUV frames in 4:2:0 8-bit format. Those are streamed in as the Camera is active.
Additionally, to take RAW (DNG) photos (takePhoto()), this should be possible soon with the new V3 API.
As I understood right now it's possible to take a photo without any system effects and optimizations just using - takePhoto() to get it in JPEG format.
So I can use this library to develop that application
Okey, thank you for you answer! I wish you a good trip through developing this amazing library)