-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃挱 Use Vision Camera as Light Meter #2809
Comments
Is that information in the format or device object? If that's the case you can pass an extra object in each frame processor plugin call (the second param) |
AFAIK you can't have info like current ISO, WB point in preview, as frame processors work with preview images in almost real time. Also there's no shutter for preview frames. What you probably need is take a photo with vision camera and somehow get all those params you need from the photo's metadata. Then you can read the photo from cache file or camera roll and get pixel values. |
Hey - yea currently that is not something VisionCamera offers.
|
@mrousavy I just PM you via your email. Thanks. |
Question
I would like to use the
react-native-vision-camera
to develop a Light Meter to measure the Exposure Value (EV) on the different part of the image captured by the device camera. I plan to use the frame processor from the library but the data pass into theframe
variable only contain the image size, format and pixel values (returned by frame.toArrayBuffer()). The pixel values was useful but I need extra information like current ISO, shutter speed and aperture value use by the device camera that capture the frame. Only with all this information then I can calculate the EV in different area from the image.Is it possible to return the current ISO, shutter speed and aperture value too in the frame object? Please advise, thank you.
What I tried
No response
VisionCamera Version
Ver 3
Additional information
The text was updated successfully, but these errors were encountered: