Open wangchongyu opened 3 years ago
Hey @wangchongyu, unfortunately this is not supported now. Could you describe your use case a little bit?
Hi @yunikkk, thanks for the reply. We are actually trying to build a GPS based outdoor AR navigation App specifically for walking instead of driving cases.
Similar to Google's AR walking directions below:
Basically, the expected use case would be:
From the example project, I have managed to perform most of the above steps except making it work on the portrait mode.
@wangchongyu unfortunately, currently Vision won't support such operation mode. It requires fixed mount in the car, walking with the device in hands won't allow us to calibrate camera (hence calculate objects positions correctly)
Currently, the supported screenOrientation by default for AR navigation use case is sensorLandscape. In our use case, we really need this to support portrait mode during AR navigation. However, if I change screenOrientation="sensorPortrait" as shown below, the SDK will give me errors: E/Vision-Encoder: Not handling orientation = 0 in encoder E/Vision-Camera2: Sensor orientation 0 is not supported And the camera will not event turn on at all.
I would like to ask if the Mapbox vision SDK has any plan to support portrait use case? Or if there is any workaround to allow me to use the AR navigation work on portrait mode? Thanks.