Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.03k stars 1.13k forks source link

Request for Wide Angle Camera Support #622

Closed YoHana19 closed 3 years ago

YoHana19 commented 3 years ago

I currently develop AR app that uses AR segmentation feature in landscape orientation with iPhone 11 pro. And I'd like to capture a person's whole body in landscape frame. To do that the person needs to be about 3 m away from the iPhone but the problem is the segmentation gets more unstable when a person is far.

I found arfoundation camera seems to use 1x fov of built in camera app in a iPhone. There is 0.5x fov option in the camera app, so What I request is to be able to use 0.5x fov camera in arfoundation.

tdmowrer commented 3 years ago

On iOS, ARFoundation uses ARKit, and on the iPhone 11, ARKit does use the wide angle lens for AR calculations. However, the pass through video image you see is not from the wide angle lens.

I am not aware of any option to change the fov in the ARKit framework as you have described. Please let me know if I am wrong.

YoHana19 commented 3 years ago

Thank u for immediate reply. I understood it's matter of ARKit and nothing to do for ARFoundation for now. I just hope Apple will offer the option to change fov. Thank u anyway!