Arcore-unity-sdk: SDK Preview 2: Computer Vision Example

Created on 17 Dec 2017  路  2Comments  路  Source: google-ar/arcore-unity-sdk

I downloaded and tested the new preview v.2 (unity edition) and was very excited to see Computer Vision example. However as it turned out, the example is only a camera feed with applied edge detection + shader effects.

I noticed that in the archive there is a zip file unused by Unity, named "arcore_camera_utility.zip" with some C/C++ files (?) and a annotation to use Android NDK to apply the code. How to do it exactly? Through Android Studio? Is there a guide/documentation anywhere?

Most helpful comment

Thank you. That makes it clear regarding the preview example.

Are you aware of any publicly available example (with code) where ARCore was actually used together with OpenCV or Vision API?

All 2 comments

In the Computer Vision sample, all the processing is done on the CPU directly on a byte pointer, see the OnImageAvailable callback in ComputerVisionController.cs. This pointer could equally well be passed into any computer vision library, such as OpenCV or the Google Mobile Vision API.

Most of the code in arcore_camera_utility is OpenGL programming directly in C code. If you're not familiar with OpenGL development or have not done Android NDK programming before, I suggest starting from an NDK tutorial, such as the one on the Android dev site.

Thank you. That makes it clear regarding the preview example.

Are you aware of any publicly available example (with code) where ARCore was actually used together with OpenCV or Vision API?

Was this page helpful?
0 / 5 - 0 ratings