You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changes orientation from landscape to portrait but camera view isn't rotated. Is there a way to rotate camera view and use it in fullscreen? I've seen method drawVideoSettings(int videoSourceIndex, int width, int height, boolean rotate90, boolean flipH, boolean flipV, int hAlign, int vAlign, int scalingMode, int[] viewport) in ARController. Is it something that might help?
Any help will be appreciated, thanks.
The text was updated successfully, but these errors were encountered:
I run into the same issue. If I set the orientation to portrait and use drawVideoSettings with rotate90 as true, I'll get the right camera preview but wrong tracking. The tracking still seems to be based on a landscape camera feed. Should I rotate the image acquired by ImageReader in order to get the right tracking? or is there a better way to do this?
Is it possible to use ARActivity in portrait mode? I've tried to manually setRequestedOrientation in my Activity:
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
This changes orientation from landscape to portrait but camera view isn't rotated. Is there a way to rotate camera view and use it in fullscreen? I've seen method
drawVideoSettings(int videoSourceIndex, int width, int height, boolean rotate90, boolean flipH, boolean flipV, int hAlign, int vAlign, int scalingMode, int[] viewport)
in ARController. Is it something that might help?Any help will be appreciated, thanks.
The text was updated successfully, but these errors were encountered: