Skip to content

How to get a image in portrait mode #475

Answered by Mehequanna
Maplelw asked this question in Q&A
Discussion options

You must be logged in to vote

If I remember correctly, the frame/image will match whatever the hardware camera sensor orientation is. On Android devices, this could be portrait or landscape depending. So it's up to the developer to figure out which way is up and rotate it or not.

Someone suggested using a different method here: https://stackoverflow.com/questions/52873233/arcore-image-from-arfragment-is-different-from-the-fragments-display
So that might be worth looking at.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #467 on September 24, 2024 08:50.