arcore

ARCore – How to place/create objects on surfaces like walls without any Feature Points?

冷暖自知 提交于 2019-12-12 12:10:03
问题 For example: I am interested in placing 2D images on a vertical plane (like: white or single solid color walls with no feature points present). What are different workarounds? I am aware that ARCore supports placement of objects with respect to other objects. How can I extend this to fulfill my requirement of placing objects relative to other objects where feature points are not detected? Any ideas or workaround much appreciated. 回答1: You can set an Anchor relative to the camera position - i

ARCore: Model Showing Above Face

旧时模样 提交于 2019-12-12 09:55:34
问题 I am trying to follow the following guide as to how to create a custom 3D model for Augmented Faces but for some reason my model is going above my head, literally. My model is on the 0 x, y, and z axis as well. For code I'm using this example project provided by from Google: 回答1: Check where's a position of a pivot point of your model . 3D model's pivot must be near a pivot of Google's face mesh used in Augmented Faces. There's two ways to correct it: Fix pivot's position in 3D application

Marker based initial positioning with ARCore/ARKit?

最后都变了- 提交于 2019-12-12 08:10:34
问题 problem situation: Creating AR-Visualizations always at the same place (on a table) in a comfortable way. We don't want the customer to place the objects themselves like in countless ARCore/ARKit examples. I'm wondering if there is a way to implement those steps: Detect marker on the table Use the position of the marker as the initial position of the AR-Visualization and go on with SLAM-Tracking I know there is something like an Marker-Detection API included in the latest build of the

Need web-based AR solutions for Plane detection

大城市里の小女人 提交于 2019-12-11 18:01:32
问题 I am searching for solutions for web-based solutions for AR using marker-less detection i.e using plane detection or object detection. Tried using a-frame framework and three.js but they are only marker-based detection technique to render 3d object. 回答1: I’ve been searching for the same and found 8th Wall https://8thwall.com It works well, and have a few different pricing tiers including a free one. 来源: https://stackoverflow.com/questions/54306700/need-web-based-ar-solutions-for-plane

ARCore : Get Camera's resolution

给你一囗甜甜゛ 提交于 2019-12-11 16:57:57
问题 Is there any way to get camera's resolution ? (unless using Android from scratch) I did not found any getter, on a setter on session.setDisplayGeometry() that is not really what I expect. My goal is to know the camera's picture ratio to cropp it on my display since the screen and the camera do not use the same size. Thanks. 回答1: There isn't a way to access the camera's resolution through the ARCore API in the developer preview. I asked about the resolution in comments of a separate question

LoadRawTextureData() not enough data provided error in Unity

允我心安 提交于 2019-12-11 11:24:18
问题 I am working on a project using ARcore. I need a real world screen that is visible on the ARcore camera, formerly using the method of erasing UI and capturing. But it was so slow that I found Frame.CameraImage.Texture in Arcore API It worked normally in a Unity Editor environment. But if you build it on your phone and check it out, Texture is null. Texture2D snap = (Texture2D)Frame.CameraImage.Texture; What is the reason? maybe CPU problem? and I tried to do a different function. public class

How do I build the arcore camera_utility shared library in NDK-BUILD?

家住魔仙堡 提交于 2019-12-11 06:11:11
问题 I'm trying to build the 'arcore camera utility' library in NDK_BUILD, here: https://github.com/google-ar/arcore-unity-sdk/tree/master/Assets/GoogleARCore/Examples/ComputerVision/Plugins/src Using this guide: https://yeephycho.github.io/2016/10/20/How-to-Use-NDK-to-Build-A-Shared-Android_Native-Library/ I was at least able to get it to compile in a libarcore_camera_utility.so file. Not only that but it was actually recognized by my app on the phone and instead of getting a DLL missing error I

How do I delete individual renderables from the scene using a button using arcore and sceneform?

守給你的承諾、 提交于 2019-12-11 04:25:36
问题 I'm trying to make a button that will delete a 3d model from the scene after it is selected. I know that the way to delete 3d objects is by using anchor.detach(). And I can select individual models using node.select(). However, I am not sure how to access the anchor after selecting the node. FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab); fab.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { deleteObject(//I'm not sure how to

Replace node renderable ( same rotation, position and scale ) with another node renderable in Sceneform sdk

不打扰是莪最后的温柔 提交于 2019-12-10 23:33:47
问题 I am new to sceneform sdk for Android . I have added one Transformable Node , then i applied some rotation , scaling and changed its position also. Now on click of button i need to place second node with same rotation , scaling and position. For that what i did is: Node nodeTwo = new Node(); // second node nodeTwo.setLocalPosition(nodeOne); nodeTwo.setLocalRotation(nodeOne); nodeTwo.setLocalScale(nodeOne); nodeTwo.setRenderable(renderable); I have also tried with setWorldPosition() ,

SceneKit equivalent for Android? [closed]

我怕爱的太早我们不能终老 提交于 2019-12-10 15:39:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I created an ARKit app using SceneKit. I want to bring it over to ARCore but using straight OpenGl seems daunting. Is there a high level scene graph framework like SceneKit for Android developers? 回答1: ViroCore is a SceneKit for Android. With ViroCore you describe scenes at a high level in Java, without having to