Arcore-android-sdk: Frame Synchronization and Acquire Camera Image - Question

Created on 13 Dec 2018  路  2Comments  路  Source: google-ar/arcore-android-sdk

I am trying to integrate ArCore in an existing application which uses Camera 2 API for capturing and viewing images, and want to integrate ArCore in it particularly to track Camera (Acquire Camera Pose) and capture 3D Point Clouds.

Would it create conflicts if I call session.update to acquire frame and getCamera in the same application already accessing and viewing Camera View ?

If no would the frames on ArCore and Camera Preview be synchronized ?

Or is it recommended to use ArCore as the base and use Texture and Image provided by ArCore for rendering the view ?

feature request question

Most helpful comment

At the moment you need to let ARCore have exclusive control of the camera. Keep an eye on #153 for possible updates in this space.

All 2 comments

At the moment you need to let ARCore have exclusive control of the camera. Keep an eye on #153 for possible updates in this space.

The Shared Camera Sample shows how the camera2 APIs can be used to share the camera with ARCore.

Was this page helpful?
0 / 5 - 0 ratings