google-project-tango

How to set the tango camera exposure and iso parameters from c#/Unity

不羁的心 提交于 2019-12-07 16:34:35
问题 I'm trying to disable the camera auto-exposure. According to the docs here, https://developers.google.com/project-tango/apis/c/reference/group/config-params , it's possible to set the color_mode_auto, color_exp and color_iso values in the config. I've tried setting values to the TangoConfig object straight after it is created in TangoApplication.cs, but I get a warning back saying these TangoConfig was unable to set the relevant keys (key string name taken directly from the docs above). Is it

Adding ARToolkit Marker tracking into Tango

核能气质少年 提交于 2019-12-07 08:20:31
I have been trying to integrate ARToolkit Marker Object tracking into a Tango Application . So far I have created a build so that a tango app can access and use the ARToolkit Native Library or the ARToolkit Unity wrappers. However, they both seem to require exclusive access to the camera in their default configurations. How could you feed the same Android video feed to both libraries? Could you create a dummy camera device which doubles out the feed? Could you take the tango feed as normal, and then resend it into ARToolkit with a special VideoConf [edit] ARToolkit uses the older Camera1 API,

How to find corner points of any object in point cloud and find distance between corner points in inch/cm/m?

自作多情 提交于 2019-12-06 15:56:37
问题 We are creating an app which is used for calculating measurements of any a window/door using Project tango Device. For that we need to follow below mentioned steps: 1. Capture Image (normal 2D image). Store this image. 2. Also capture point cloud while capturing the Image. Store the point cloud in a PCD file. 3. Indicate the position of the window/door in the image displayed on a canvas by drawing a rectangle on the image. See Image. 4. As the rectangle is drawn automatically calculate width

Generate and export point cloud from Project Tango

放肆的年华 提交于 2019-12-06 15:25:39
After some weeks of waiting I finally have my Project Tango. My idea is to create an app that generates a point cloud of my room and exports this to .xyz data. I'll then use the .xyz file to show the point cloud in a browser! I started off by compiling and adjusting the point cloud example that's on Google's github. Right now I use the onXyzIjAvailable(TangoXyzIjData tangoXyzIjData) to get a frame of x y and z values; the points. I then save these frames in a PCLManager in the form of Vector3 . After I'm done scanning my room, I simple write all the Vector3 from the PCLManager to a .xyz file

TangoPoseData 'pose.status_code' always remains VALID even if the device steps out of the Area Descrition File

亡梦爱人 提交于 2019-12-06 14:59:11
问题 Tango pose.status_code always remains VALID after localization even if the device steps out of the ADF. How do I know if the device has moved out of the ADF? I have tried with both AreaLearningMode = enabled & Loading Existing ADF and all combinations of FramePair ; but in both cases pose.status_code is always VALID even if we step out of the ADF. 回答1: It's intended to have ADF pose status to be valid even after device is out of ADF area. Under the hood, ADF pose is just a motion tracking

Cannot update Tango Core - “Package file was not signed correctly”

Deadly 提交于 2019-12-06 04:33:16
问题 Got my Tango tablet last night and tried to get it going by installing required packages. Updating "Project Tango Core" app failed. Here's the error I get: Anybody else seen this and know how to fix it? Here's some info that may be required: 回答1: Looking at the build number that you have pictured above, this is an old OS build. In order to fix this issue you need to perform an update on the system software (Settings->About Tablet->System Updates). Once you have updated to the latest software

Project Tango Pose data producing drift while stationary AND in motion

情到浓时终转凉″ 提交于 2019-12-06 04:09:05
问题 I am creating an augmented reality app using the Project Tango. An essential part of this is accurate position tracking. Of course I understand that no inertial tracking system is perfect, but the Tango seems to have worked pretty well so far. However, in the past few days, the translation data (x, y, z) from the Tango appears to be experiencing slight drift, even when the device is held stationary. I have the device writing X, Y, and Z coords to the screen, and when the device is sitting

How to set the tango camera exposure and iso parameters from c#/Unity

久未见 提交于 2019-12-06 02:16:17
I'm trying to disable the camera auto-exposure. According to the docs here, https://developers.google.com/project-tango/apis/c/reference/group/config-params , it's possible to set the color_mode_auto, color_exp and color_iso values in the config. I've tried setting values to the TangoConfig object straight after it is created in TangoApplication.cs, but I get a warning back saying these TangoConfig was unable to set the relevant keys (key string name taken directly from the docs above). Is it possible to set these values in C#, and if so, where is the correct place to do it? You might need to

Occlusion in AR

三世轮回 提交于 2019-12-06 01:21:30
I'm trying make virtual objects be hidden when a real world object is positioned in front of it, but not having any luck with it, i've been playing with the occlusion settings in unity but the virtual objects do not become hidden? You could fix this problem by building your augmented reality scene with the experimental meshing enabled. Here is an example of the concept https://www.youtube.com/watch?v=sn3bhnPlfcw You then could ray cast from camera to the virtual object and turn off the object if a mesh blocks the raycast. +1 on AndrewNakas's solution. Another solution is to do the screen space

TangoPoseData 'pose.status_code' always remains VALID even if the device steps out of the Area Descrition File

半城伤御伤魂 提交于 2019-12-04 21:24:37
Tango pose.status_code always remains VALID after localization even if the device steps out of the ADF. How do I know if the device has moved out of the ADF? I have tried with both AreaLearningMode = enabled & Loading Existing ADF and all combinations of FramePair ; but in both cases pose.status_code is always VALID even if we step out of the ADF. It's intended to have ADF pose status to be valid even after device is out of ADF area. Under the hood, ADF pose is just a motion tracking pose with ADF's transformation correction on top of that. Thus even if it's out of the ADF, as long as motion