arcore

Sceneform Collisions With Camera

淺唱寂寞╮ 提交于 2019-12-10 10:42:23
问题 I'm stretching my very limited ARCore knowledge. My question is similar (but different) to this question I want to work out if my device camera node intersects/overlaps with my other nodes, but I've not been having any luck so far I'm trying something like this (the camera is another node): scene.setOnUpdateListener(frameTime -> { Node x = scene.overlapTest(scene.getCamera()); if (x != null) { Log.i(TAG, "setUpArComponents: CAMERA HIT DETECTED at: " + x.getName()); logNodeStatus(x); } });

Augmented Faces API – How facial landmarks generated?

守給你的承諾、 提交于 2019-12-10 03:59:54
问题 I'm an IT student, and would like to know (understand) more about the Augmented Faces API in ARCore. I just saw the ARCore V1.7 release, and the new Augmented Faces API. I get the enormous potential of this API. But I didn't see any questions or articles on this subject. So I'm questioning myself, and here are some assumptions / questions which come to my mind about this release. Assumption ARCore team are using (Like Instagram and Snapchat) machine learning, to generate landmarks all over

Added object on vertical plane always rotated in ARCore

久未见 提交于 2019-12-08 18:52:31
问题 I am adding an image on vertical plane in Sceneform ARFragment. But it always get rotated. The code is working fine on horizontal plane. My code for placing images on vertical Plane is as follow: arFragment.setOnTapArPlaneListener { hitResult: HitResult, plane: Plane, motionEvent: MotionEvent -> if(!isOnceTapedOnSurface) { val anchor = hitResult.createAnchor() val anchorNode = AnchorNode(anchor) anchorNode.setParent(arFragment.arSceneView.scene) andy = TransformableNode(arFragment

ARCore Save Camera Image (Unity C#) on Button click

点点圈 提交于 2019-12-08 08:59:44
问题 I've a similiar question like the follow three SO questions: Save AcquireCameraImageBytes() from Unity ARCore to storage as an image Save Camera image from unity ARCore ARCore for Unity save camera image My aim is to save the camera image (without the augmented objects) and the pose of the camera on a button click. Today I tried the whole day on saving the camera image with ARCore. I tried the different approaches from the three questions linked above, but it didn't worke. My C# Script which

Saving ARCore Image Database between sessions

走远了吗. 提交于 2019-12-08 07:08:37
问题 first time posting. I’m trying to save an augmented image database made during runtime, for using in a later session. I have looked around but found no questions related to this. Thanks in advance. EDIT should have mentioned, I am using Unity(sorry, I'm new). 回答1: You can use serialize function to create a byte array or an output stream depending on whether you use Android or Android NDK. For NDK: void ArAugmentedImageDatabase_serialize( const ArSession *session, const

How to rotate animate the rotation of a Node in ARCore Sceneform

不问归期 提交于 2019-12-08 05:36:01
问题 I understand that 3D animations such as walking are not yet supported in ARCore, but how can I animate the rotation of a Node? I know I can set LocalRotation or WorldRotation but how do I make this animated continuously in a smooth fashion? 回答1: The easiest way is to use the Android Property Animation. An example of doing this is in the Sceneform sample "Solar System". Take a look at RotatingNode. This rotates the node around its axis. First, it creates an ObjectAnimator that uses

How to show different prefabs for different images in ARcore-Augmented Image scene using Unity?

故事扮演 提交于 2019-12-08 00:31:33
问题 Hi I am trying to augment different prefabs for different images say around 20 models.Currently testing with 2 models for 2 images in AugmentedImage sample scene.I have added the script AugmentedImageVisualizer.cs to each prefab.I drag and dropped the two models to the script.In the AugmenetedImageExampleController.cs I have made the following changes. namespace GoogleARCore.Examples.AugmentedImage { using System.Collections.Generic; using System.Runtime.InteropServices; using GoogleARCore;

Using Google Vision API with ARCore in Android

自作多情 提交于 2019-12-07 13:10:59
问题 I'm looking to build an app that detects certain objects and then overlays something using ARCore. Is it possible to use Google's Vision API for real-time detection of objects? If not, is there another library that I could use that has object detection, landmark detection, and/or OCR? 来源: https://stackoverflow.com/questions/56031856/using-google-vision-api-with-arcore-in-android

Placing an object 30 meters above a person

旧巷老猫 提交于 2019-12-07 07:05:28
问题 Is it possible to place an object right above a person that is 30 or 50 meters higher? When I try to place an object linked to anchor it is visible in 20 meters and not visible in 40 meters? Why this happens and how can I configure this? 回答1: It is frustum culling issue in ARCore – objects that aren't within the viewable area of camera frustum won't be rendered. Typically FoV (field of view) in Android devices is around 60 degrees horizontally (vertical aperture depends on aspect ratio).

Packaging ARCore Unity Projects for distribution

旧街凉风 提交于 2019-12-07 02:09:15
问题 I have just picked up the Unity ARCore project and have been having a bit of a play around with it. Very exciting stuff for AR on Android devices! I am interested however in how developers in Unity are meant to package the applications for distribution through the Play store if it is also necessary for users to install the arcore-preview.apk ? What is it exactly? And is there a way of bundling its contents in a Unity build? Exciting stuff! O. 回答1: Yes, the arcore-preview has to be installed