-
-
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
🐛 Orientation is always 0 #793
Comments
Does this work on an iPhone? |
I will test and inform you as soon as possible. |
Probably will not test soon I am having some: |
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! |
Hey - I'm tracking Orientation in this feature request/issue now: #1891 ✨ Make sure to upvote or sponsor to support this feature, and leave a comment if you have any additional thoughts/ideas. |
What were you trying to do?
Tested on android 8 device (huawei p10 Lite).
I tried to take photos in portrait or landscape but in response object
metadata.Orientation
is always zero.Reason for this is if user take photo in landscape we check orientation and based on that set different UI elements.
Or we need to make sure that photo is taken in desired orientation.
Reproduceable Code
What happened instead?
metadata.Orientatio is always 0
Relevant log output
No response
Device
huawei p10 lite
VisionCamera Version
2.12.0
Additional information
The text was updated successfully, but these errors were encountered: