-
-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The front camera returns null metadata🐛 #1081
Comments
Huh this is really weird, apparently the native camera library cannot get that value, hence it's default value of Line 30 in fb2156e
I don't think I'm doing anything wrong here, might be an issue with CameraX? |
Same issue here using a couple of Samsung devices: frontal camera returns null Exif data and Orientation is always 0 |
I have the same issue. Samsung devices too. |
Did anyone find out the solution |
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3. I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here? Here's an instruction on how you can test that: #1674 (comment) If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉 Thank you! |
What were you trying to do?
ANDROID
I was trying to take a picture with the method
takePhoto()
and with the front facing camera and it returns this metadata:I need the FocalLength and the FocalLenIn35mmFilm but it is impossible to get it.
The back camera metadata works perfectly btw.
Reproduceable Code
What happened instead?
It returned this null metadata:
Relevant log output
Device
OnePlus 8T (Android 12)
VisionCamera Version
2.13.3
Additional information
The text was updated successfully, but these errors were encountered: