arcore

Is it possible to capture a High-Res image while using ArCore?

两盒软妹~` 提交于 2021-02-11 13:36:38
问题 In my app I'm trying to use ArCore as sort of a "camera assistant" in a custom camera view. To be clear - I want to display images for the user in his camera and have him capture images that don't contain the AR models. From what I understand, in order to capture an image with ArCore I'll have to use the Camera2 API which is enabled by configuring the session to use the "shared Camera". However, I can't seem to configure the camera to use any high-end resolutions (I'm using pixel 3 so I

How can I calculate arcore image score in Android

折月煮酒 提交于 2021-02-08 08:55:42
问题 I am setting up a android app by Kotlin, and I want to get image score for arcore. On this page they say: Run arcoreimg eval-img to get a quality score between 0 and 100 for each image. And I just found a program for Linux, macOS, Windows to unzip the arcore-android-sdk-1.11.0 . I want to calculate arcore image score via my Android app. How can I calculate the image score if the arcore team doesn't support it? I found some posts that run the Windows program on Android, but It is 'How To Run

How can I calculate arcore image score in Android

*爱你&永不变心* 提交于 2021-02-08 08:55:21
问题 I am setting up a android app by Kotlin, and I want to get image score for arcore. On this page they say: Run arcoreimg eval-img to get a quality score between 0 and 100 for each image. And I just found a program for Linux, macOS, Windows to unzip the arcore-android-sdk-1.11.0 . I want to calculate arcore image score via my Android app. How can I calculate the image score if the arcore team doesn't support it? I found some posts that run the Windows program on Android, but It is 'How To Run

Placing objects right in front of camera in ARCore Android

邮差的信 提交于 2021-02-07 08:34:36
问题 I'm trying to place a large 3D object (generated from .obj file) in front of camera and not able to do it. The model gets placed considering the hit result as the center point. Any way to get it done? 回答1: The following code will place an anchor 1M in front of the camera - you can adjust the depth to whatever you need: // Place the anchor 1m in front of the camera. Log.d(TAG,"adding Andy in fornt of camera"); Frame frame = arFragment.getArSceneView().getArFrame(); Session session = arFragment

Placing objects right in front of camera in ARCore Android

丶灬走出姿态 提交于 2021-02-07 08:33:44
问题 I'm trying to place a large 3D object (generated from .obj file) in front of camera and not able to do it. The model gets placed considering the hit result as the center point. Any way to get it done? 回答1: The following code will place an anchor 1M in front of the camera - you can adjust the depth to whatever you need: // Place the anchor 1m in front of the camera. Log.d(TAG,"adding Andy in fornt of camera"); Frame frame = arFragment.getArSceneView().getArFrame(); Session session = arFragment

Draw Renderable Shape on 3D Model using Sceneform Android

萝らか妹 提交于 2021-02-05 08:24:36
问题 I am using SceneForm Android SDK to render 3D Model in Android APP. To display the 3D Model I am using this code below which also supports Rotating and Zooming feature in 3D Model private fun renderLocalObject(position: Int) { ModelRenderable.builder() .setSource(appCompatActivity, Uri.parse(models.get(position))) .setRegistryId(models.get(position)) .build() .thenAccept { modelRenderable: ModelRenderable -> addNodeToScene(modelRenderable) } .exceptionally { throwable: Throwable? -> var

Pixel 4a - Can't find ARCore even though it says it's already downloaded

点点圈 提交于 2021-02-04 07:31:14
问题 Pixel 4a comes with ARCore and is on the list of supported devices https://developers.google.com/ar/discover/supported-devices However when I'm trying to load the ArFragment <fragment android:id="@+id/ar_fragment" android:name="com.google.ar.sceneform.ux.ArFragment" android:layout_width="match_parent" android:layout_height="match_parent" /> It keeps prompting me to download ARCore and when I go try to find ARCore in the playstore, it's not there. Can't seem to find any info about this issue

Pixel 4a - Can't find ARCore even though it says it's already downloaded

不打扰是莪最后的温柔 提交于 2021-02-04 07:31:09
问题 Pixel 4a comes with ARCore and is on the list of supported devices https://developers.google.com/ar/discover/supported-devices However when I'm trying to load the ArFragment <fragment android:id="@+id/ar_fragment" android:name="com.google.ar.sceneform.ux.ArFragment" android:layout_width="match_parent" android:layout_height="match_parent" /> It keeps prompting me to download ARCore and when I go try to find ARCore in the playstore, it's not there. Can't seem to find any info about this issue

Pixel 4a - Can't find ARCore even though it says it's already downloaded

笑着哭i 提交于 2021-02-04 07:31:05
问题 Pixel 4a comes with ARCore and is on the list of supported devices https://developers.google.com/ar/discover/supported-devices However when I'm trying to load the ArFragment <fragment android:id="@+id/ar_fragment" android:name="com.google.ar.sceneform.ux.ArFragment" android:layout_width="match_parent" android:layout_height="match_parent" /> It keeps prompting me to download ARCore and when I go try to find ARCore in the playstore, it's not there. Can't seem to find any info about this issue

Placing objects right in front of camera

我只是一个虾纸丫 提交于 2021-01-28 08:11:21
问题 I am trying to figure out how to modify HelloARController.cs from the example ARCore scene to place objects directly in front of the camera. My thinking is that we are raycasting from the camera to a Vector3 on an anchor or tracked plane, so can't we get the Vector3 of the start of that ray and place an object at or near that point? I have tried lots, and although I am somewhat a beginner, I have come up with this From my understanding, ScreenToWorldPoint should output a vector3 of the screen