Questions tagged [arcore]

1

votes
1

answer
87

Views

What is the difference between Point.OrientationMode ESTIMATED_SURFACE_NORMAL and Point.OrientationMode INITIALIZED_TO_IDENTITY?

After I read the following document, the information I get is an orientation mode of the feature point is ESTIMATED_SURFACE_NORMAL if it is on textured surfaces, otherwise it is INITIALIZED_TO_IDENTITY. But I expect the feature point to be detected because it is on textured surfaces, so I'm a bit co...
henry
1

votes
3

answer
431

Views

Sceneform plane rendering similar to the HelloAR sample

I was trying to cover the whole surface of the detected plane with a texture. Using OpenGl (like in the HelloAr sample) enables me do this like this screenshot . However i want to switch to Sceneform and i only could get something like this by following other questions in the Github. These are the...
Alperen Kantarcı
1

votes
2

answer
68

Views

In ARCore, how to make node/anchor stick to camera?

I am trying to get an object to stick to camera and follow its movement/rotation. The idea is for a 'fishing game' and i need the rod to be glued to the camera. Is there a way to do this?
Oojiitee
1

votes
2

answer
531

Views

ARCore - reading superimposed image (screenshot of an AR scene)

I've been experimenting with ARCore for the past few months. I have read almost all the documentation. Talking in reference to the sample app, what I want to do is to extract the superimposed image from the app i.e a frame containing the camera texture and also the bots drawn by opengl (like a scree...
Tushar Rain
1

votes
1

answer
881

Views

Proper Raycast with ARCORE

I try to add some simple raycasting effect in my app. Work perfectly in Editor but as soon as I try to use it with ARCORE I'm unnable to make a proper raycast... using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; using GoogleARCore; public cla...
SandaleRaclette
1

votes
1

answer
1.3k

Views

Is there a way to enable multithreaded rendering with ARCore or ARInterface on Unity for a device?

I am working on an AR project, on iOS(Tested on iPad Pro, iPhone 6s, iPhone X) with ARKit I have much, much better performance than on Android (Samsung S8). I believe it is because I have multithreaded rendering enabled on the iOS versions, but on Android, I can't enable it. When I try to build it w...
Revangelis
1

votes
4

answer
1.1k

Views

Why some devices don't support ARCore?

I've seen that ARCore has a few compatible devices (Samsung or Google Pixel), which also appear, along with a few more Android and Apple devices, in the compatible devices of ground plane detection in Vuforia SDK. Why only those devices can support this technology and others not?
Josean Muñoz
1

votes
0

answer
66

Views

ARCore : how to display world origin or axes in debug mode?

Is there a way to display the world origin and X,Y,Z axes in debug mode ? (as with ARKit) Would be very convenient for debug. Thanks.
Regis_AG
1

votes
0

answer
63

Views

Raycast origin or Object intersection point

Following screenToWorld() method returns Ray origin point (or) intersection point of object. If it is a intersection point of object,how to identify click event on particular object? public PointF hitTest(MotionEvent e) { return screenToWorld(modelViewMatrix, modelViewProjectionMatrix, e.getX(), e.g...
Ramprasad
1

votes
0

answer
212

Views

GPS location trigger for Arcore

I am completely fresh in coding and Unity/ArCore. I am looking to get into it and would love some pointers on where I can get started to learn how this software works? One app I am interested in making this: Device enters GPS location that triggers 3D scene/animation Scene is triggered at different...
Ame
1

votes
0

answer
244

Views

ARCore: How to detect HitTest on the infinite extension of a detected plane?

I want to detect the hitTests on the infinite extension of a defined detected plane. I see that there is isHitInPolygon() but too restrictive. There is also isPoseInExtents but detects the hits only the overall rectangular surface. How to detect a HitTest on the infinite extension of a detected plan...
Regis_AG
1

votes
0

answer
454

Views

Can't open front camera while using ARCore with the back camera on some devices

I'm developing an Open Source App in Unity to play around with ARCore. In it I use the following code to display video being capture from the front facing camera on a plane placed in the environment of the user in AR. public class MirrorController : MonoBehaviour { private WebCamTexture webCamTextur...
HePa
1

votes
0

answer
54

Views

GearVR with glsurfaceview?

I'm having some problem for developing GearVR applications with ARCore, In my application, I want to use function from ARCore which needs GLContext, and I don't have to draw some object with it. ARCore just need context of OpenGL. I tried to make small size glsurfaceview on it, to hide surfaceview a...
JongWon Jung
1

votes
2

answer
192

Views

ARCore Collider on TrackingPlane in Unity

I would like a spider to wander around the tracking plane in ARcore, but since there is no collider not a single AI script works (I tried tons of them, also ICE - Creature Control and HerdSim) because there is no collider on the ground. So my last resort is making the trackable plane a collider itse...
Danve
1

votes
0

answer
104

Views

Should we can put multiple different object on a singlesurefaceview in ARCore?

Should we can put multiple different objects on a singlesurefaceview in ARCore Android. And if possible than we can able to rotate that single particular object only and another all are remain as it is at same position.
Shubham Sejpal
1

votes
0

answer
54

Views

how should i get the touch of specific object in ARCore?(Android)

If i have two different objects on my surface view how should i get the touch of specific object? So i can only to pass that particular object for rendering and i can just enable the rotation of that particular object only. It is possible with Radio Button selection mode demo link is given below but...
Shubham Sejpal
1

votes
0

answer
437

Views

ARCore: accessing camera image data from frame.acquireCameraImage

I have an app in Java which needs to get the camera image from ARCore for custom rendering. Recently, two new APIs have been added to ARCore (v1.1.0) which should support this. Well, everything else works for me except these two calls. Both calls are failing with same error (SIGINIT): SIGINIT and I...
Alfred J
1

votes
1

answer
981

Views

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

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...
xFL
1

votes
0

answer
180

Views

ARCore with different scene / real camera

Friends and me are trying out the ARCore of Google. But since there is only limited phone support at the moment, none of us owns one of the supported phones. So I googled and found out that you can run ARCore in the Android Emulator, which works nice. But I have a question regarding that given scene...
user7981924
1

votes
0

answer
156

Views

unity ARCore Rendering issue in orientation

There is a rendering issue in ARCore. I need a landscape oriented scene in ARCore. I worked on an example scene in ARCore sdk. I changed the orientation to landscape left. I just put a game object 1m in front the camera. When I run the project everything works fine. But what my problem is, at first...
Satheesh
1

votes
0

answer
169

Views

Unity Scene was crashed in android

I have working AR-App in unity and android using google arcore sdk.I have a AR scene with 100 models and also i have initial scene in that initial scene script i was load the AR Scene because of splitting expansion files for android.When i was load the AR Scene from initial scene the app was crashe...
Arigarasuthan
1

votes
1

answer
53

Views

Update view after applying rotation on one 3D object OpenGL ES 2.0

I have been working on an app based on the ARCore sample for Android Studio. I have managed to bring different objects of my choice in the view and now I am trying to rotate only one object, that being the last object placed. That means that when selecting an object, I should be able to rotate it an...
Delia
1

votes
0

answer
436

Views

ViewRenderable not working properly with VideoView[SceneForm ARCore]

Github issue : https://github.com/google-ar/sceneform-android-sdk/issues/9 Iam using ViewRenderable with this Layout TextView's and Button is coming properly in ARScene, but VideoView is moving along with Camera. My final goal is to play Video with chroma key.but iam unable to play video also
Balu Sangem
1

votes
0

answer
874

Views

ArCore - Create anchor in context of Session

I want to create an anchor in the context of session rather than trackable planes. I want to know whether these 2 statements are same or they are different in creating anchors in different context? arFragment.setOnTapArPlaneListener( (HitResult hitResult, Plane plane, MotionEvent motionEvent) -> { A...
Daniyal Javaid
1

votes
1

answer
2.4k

Views

ARCore Tracking Marker

I am developing an Android app that will simply track a real life marker and draw some graphics on top of that. I have just started looking into frameworks... Is ARCore suitable for this or Vuforia ?
Trt Trt
1

votes
0

answer
198

Views

ArCore + Android NDK + OpenCV. Image from ArFrame to valid cv::Mat

I'am use ArCore with Android NDK. And I want to recognize square from each frame of ArFrame. I'am successfully get ArImage throught ArFrame_acquireCameraImage(...) and convert it to AImage throught ArImage_getNdkImage(...). After, when I do it, I need to create cv::Mat, that use it for processing....
Sinigr
1

votes
0

answer
100

Views

Is there a way of accessing the RGB values of a point whose 3D coordinates are known in ARCore?

I am trying to extract the RGB colour information once I know the 3D coordinates of a point cloud. To get the point cloud, I am using the function :- PointCloud pointCloud = frame.acquirePointCloud(); After getting the point cloud, I iterate over the buffer FloatBuffer points_buffer = pointCloud.g...
1

votes
1

answer
56

Views

clarification needed on document public List<HitResult> hitTest (float xPx, float yPx)

The on-line document on hitTest says: public List hitTest (float xPx, float yPx) .............................. Parameters xPx x coordinate in pixels yPx y coordinate in pixels ................................. However, I do not know in which coordinate system these pixel value are in regards. Backg...
Peter Yin
1

votes
0

answer
624

Views

Could not create a cross platform ARCore session (ErrorInvalidArgument). GoogleARCoreInternal.ARCoreIOSLifecycleManager:EnableSession()

I'm using Unity 2017.3.1F1 / Unity 2017.4.3f1 with ARCore Unity SDK 1.2.0/1.2.1 and Unity-AR-Kit Plugin dated 2018-5-9 along with the information provided at https://developers.google.com/ar/develop/unity/quickstart-ios and XCode 9.4 testing on a iPhone 6S Plus with iOS 11.3 installed. Testing usin...
James
1

votes
1

answer
198

Views

Is it possible to create AR-Based App on device without ARKit or ARCore?

I'm going to work on a cross-platform mobile application that will identify objects on a planar by creating a label and pointed to the objects on the planar in any angle. I am not sure if this is possible without ARKit or ARCore. I have to use React Native as the development system, and I have searc...
Bearfinn
1

votes
1

answer
399

Views

Is on-device image recognition possible with dynamic images?

One question about Image Recognition in AR SDKs. Is it mandatory that the target images should be part of the app itself or can we have set of images in the app memory and perform on-device image recognition with it (the images might change or download when we click on a button each time in the app)...
Giriraj AR
1

votes
0

answer
71

Views

How to show a marker in camera preview

I am an iOS developer, newbie to Android App Development. I am currently developing an App in Android where I have to open the camera preview and show a marker right in front. As the user pans through the camera, the marker should be fixed at one point and should be visible only when camera is point...
Adithya
1

votes
0

answer
409

Views

Scan QR Code in Unity using ZXing and AR Core

I'm trying to scan a QR code in Unity using the libraries ZXing and AR Core. Currenty I tried the following: private void _OnImageAvailable(TextureReaderApi.ImageFormatType format, int width, int height, IntPtr pixelBuffer, int bufferSize) { // pixelBuffer is input image byte[] s_ImageBuffer = new...
Maxim Geerinck
1

votes
0

answer
297

Views

Android ArCore Animated 3D Objects Not Animation movements not working

I'am working on a app in that i need to use 3d Animated Model's and I downloaded 3D Animated Model and Imported using AR SceneForm Successfully but i'am not getting Animation Effect of 3D models how to Acieve this, can Anyone suggest me please ?
sudhakara
1

votes
0

answer
264

Views

Reset default scale ARCore Transformable Node

I am using an ArFragment and I'm trying to change the scale of a TransformableNode which is the child of an AnchorNode programatically. I'm using the following code: ar_scaleTest_button.setOnClickListener { for(node in fragment!!.arSceneView.scene.children) { if(node.children.size != 0) { val transN...
Gaston Maffei
1

votes
1

answer
63

Views

Support for more devices for ARCore - Huawei Nova Plus

Exist the possibility to support more devices? For example, I have a Huawei Nova Plus, I think this phone fit with all the hardware and software capabilities to support applications developed with ARCore.
Rotiux
1

votes
3

answer
452

Views

How to load ModelRenderable.builder() with multiple model?

I'm not sure how to load model into array for below code. All i can do it load a single model in a single ModelRenderable.builder(). but not for multiple model in same ModelRenderable.builder(). I appreciate if any one can help me with that. ModelRenderable.builder() .setSource(this, Uri.parse('http...
Rikesh Shrestha
1

votes
1

answer
88

Views

Retrieve bounds of an augmented object

I'm attempting to anchor a ViewRenderable to a ModelRenderable so that it appears on the top right corner of the Renderable & I use the following snippet to place it. //Sets the button north east of the node that it is attached to viewRenderable.localPosition = Vector3( parent.right.x, parent.up.y,...
Clinkz
1

votes
1

answer
279

Views

ARKit - ARCore multiplayer positioning issue

I'm trying to make a simple ARKit/ARCore multiplayer app in Unity, using Photon according to this tutorial. It works fine in general, but there is one strange problem: I use 2 smartphones - iPhone and Android device. When I place my 3D scene in the real world space for the first time using one of...
Rumata
1

votes
0

answer
90

Views

Collouring Android Sceneform PointCloud by confidence value

I want to collourize the PointCloud by it's confidence value. First I create three FloatBuffer, where I put single Points based on a threshold. private FloatBuffer makeFLoatBuffer(ArrayList conf) { FloatBuffer confFB = FloatBuffer.allocate(conf.size()); for(Float value : conf){ confFB.put(value); }...
Sceada

View additional questions