-1

I am working on an app with ARKit, and want to detect objects at some distance by using ARKit camera session. Could anyone help if we can add any zoom in functionality to the AR Camera view?

Although did not find any concrete answer to this question but, some people suggested to transform the ARView itself which I think cannot be the right solution. Also, few talked about adding gesture on ARView and do some transforming but not accepted. Please help if anyone has any idea.

1 Answers1

0

As per my understanding and experience in ARKit, camera zooming is not supported in ARKit. But you can zoom on the ArView.

Check this link please: Reference to camera zoom issue ARKit

Another reference regarding scenekit

  • Thank you for your response @Mostafa.. but this answer I have already gone through and transforming the arView might create issues.. as it will still be capturing the frames. And main thing is I want to read frame from a certain distance by zooming the camera frames itself.. Please let me know if you come across any other suggestions please. – Pushpendra Nov 03 '22 at 09:44
  • Did you try this out? https://stackoverflow.com/questions/36991326/scenekit-how-to-set-the-zoom-on-the-default-scncamera – Mostafa Shamin Yeasar Nov 03 '22 at 10:04