google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.91k stars 1.2k forks source link

How to change the fov in arcore in hello ar kotlin. #1648

Open I0034 opened 2 months ago

I0034 commented 2 months ago

I need to zoom back the arcore camera to capture the more data in android.

kinjalbhavsar commented 1 month ago

ARCore does use the full FoV of camera sensor for tracking, it only shows the cropped texture in the preview in helloAR sample to match the display aspect ratio. You can try changing the view size in which the preview goes to match camera sensor aspect ratio - 4:3 - and see the full fov.