Skip to content
Advertisement

Tag: arcore

getRGB throws error when trying to get the color of coordinates of an image

I have been searching for ways to get the color of a coordinate (x, y) of an image. I have an image, Image depthImage = mActivityTestRule.getActivity().getDepthImage();, and I would like to do that, by giving the coordinates. My project is an ARCore project (git clone https://github.com/google-ar/arcore-android-sdk.git) One solution that I found is but the expression getRGB is highlighted in red.

ARCore: How to make my app available on GPlay only to devices that support Depth API?

I have an app that uses Depth API. As mentioned here: https://developers.google.com/ar/discover/supported-devices Depth API is not supported by all devices that support ARCore. How can I specify in my Manifest (or elsewhere) that my app requires a device compatible with Depth API ? Indeed, I don’t want to see my app to be downloaded by users who can’t use it!

Hide PlaneRenderer when taking photos in Sceneform

I added a feature based on the Codelabs tutorial from Google (https://codelabs.developers.google.com/codelabs/sceneform-intro/index.html?index=..%2F..index#15) which allows users to take photos of AR objects that were added into the scene. The code works fine, however, I wish to hide the PlaneRenderer (the white dots that appear when ARCore detects a surface) in the photo taken by users. In the onClickListener for the “Capture

How to place a object without tapping on the screen

I am trying to show an object without tapping on the screen using ARCore. In the basic sample of ARCore Sceneform provided by Google, you need to tap on the screen after it detects the surface. I want to implement that, AR shows the object without tapping on the screen. I tried this for displaying without tapping on the screen.

Advertisement