augmented-reality

What is the best way to debug IL2CPP code?

邮差的信 提交于 2019-12-08 08:54:07
问题 With Unity doing away with the .NET scripting backend we have been using the IL2CPP scripting backend so we can get used to it. We have having a very hard time debugging c++ code as the code files created do not use the same method names from the .NET code. More specifically we are developing for the Hololens emulator. I heard that Unity is putting out some sort of debugger that will let you debug managed .NET c# code at runtime even when you use the IL2CPP scripting backend, does anyone know

Augmented Reality App in Landscape Mode

ⅰ亾dé卋堺 提交于 2019-12-08 08:13:37
问题 I am trying to build an augmented reality app using the CoreMotion framework. I have tried to go off of Apple's pARk sample code project, but it only works in portrait mode. I need it to work in landscape. When switched to landscape mode the subviews in the overlay view move in the opposite directions and at the wrong rate (they either move too fast or too slow across screen) I have read other postings that provide two solutions: Create a reference attitude and apply the inverse of that

rotation and translation matrix from homography opencv

北城以北 提交于 2019-12-08 07:04:33
问题 I'm working on an android application in java,I calculated homography with opencv using findHomography(), how I can find the matrix of the camera pose containing the rotation and translation through homography Mat homography = Calib3d.findHomography(ReferencePoints2, ReferencePoints1,0,Calib3d.RANSAC); 回答1: You need to know the intrinsic parameters of the camera to do that. Considers the z=0 plane. The point X=(x,y,0,1)' is projected to the image as p=P*X. Now use the decomposition P=K[R t],

Opengl Augmented Reality in Android from solvepnp

我们两清 提交于 2019-12-08 06:50:50
问题 I am trying to project a 3D surface in opengl on top of a camera view in Android. I am using opencv function solvepnp in native code to get the rotation and translation vectors of the device camera. I use these vectors to calculate the modelView matrix and modelViewProjection matrix as given in the following link: http://spottrlabs.blogspot.com/2012/07/opencv-and-opengl-not-always-friends.html Finally, I pass these matrices to the java code in a float array but when I use these matrices in my

Auto video play in Augmented Reality in Android [closed]

▼魔方 西西 提交于 2019-12-08 06:23:57
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I want to play video automatically when device detects a marker. How can I achieve this functionality? I'm using Vuforia SDK and VideoPlayBack tutorial. 回答1: In VideoPlayBack sample : If you would like the video

Marker based AR android application using Qualcomm SDK

末鹿安然 提交于 2019-12-08 06:09:21
问题 I am developing an android application in which a specific video is played when the poster of a specific movie is shown infront of the camera in android. Earlier i was using AndAr project for this stuff and i did some changes in draw() function of customObject and got it working. But now my client wants me to use Qualcomm sdk . I was playing with image targets application but couldnt find anything to get in my head. 回答1: Ok i got it working. The following is the solution to it which i got

augmented reality — Android [closed]

Deadly 提交于 2019-12-08 01:50:57
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am new and blank to augmented reality framework for android. Can anyone guide me on how to integrate this with android applications. And any other framework for augmented reality which could be used to our

Drawing a line given the angle and a point on the line

青春壹個敷衍的年華 提交于 2019-12-08 01:14:47
问题 In my image I have a triangle (representing an arrow). This arrow defines the direction and area under consideration for further search in same image. For example if I have a triangle rotated at 30 degree w.r.t x-axis and it's tip is located at (250,150) in the image. I would want to find and draw a line normal the tip of triangle, as shown in the image below. In the image above, I have the angle of blue line in the triangle, to which the normal is to be drawn. Also the tip of the triangle is

How to change Vuforia AR camera focus mode?

你离开我真会死。 提交于 2019-12-08 00:37:25
问题 I am using Vuforia 6.2 AR SDK for in Unity. But while I test the application in Android phone the camera seems like blurry . I searched in Vuforia's developer website and found some camera focus mode but I can't implement because that guideline was for older Vuforia SDK, I can't find the script they mentioned in their website. Here is their code sample but it's not working. I created different script and run this line on Start() function, but still not working. CameraDevice.Instance

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;