Log in or register to post comments

Integrating Augumenta with Vuforia on Unity

September 22, 2016 - 1:56am #1

Hello,

I'm experiencing some difficulties trying to integrate Augumenta library with Vuforia on Unity.

Augumenta is a library based on openCV that I would like to use to handle gestures while using Vuforia for AR content.

Augumenta use a canvas to display the camera, where it manages the content for the gestures. For this reason Augumenta and Vuforia conflict with each other while trying to get their priority on the ARCamera.

Is there a way to manage the camera and populate both Vuforia and Augumenta? Has someone ever tried to achieve this kind of integration for gestures?



Thanks.

Integrating Augumenta with Vuforia on Unity

November 13, 2017 - 1:45am #3

Hi :)

Just to inform you all, cooperation between Augumenta and Vuforia is possible and supported:

 

"# AIP Vuforia example

This example shows how to integrate AIP with Vuforia SDK examples.

Only a patch that handles to integration is provided. Integration is done by

extending existing Vuforia example class (you can find it online at:

https://developer.vuforia.com/downloads/samples, the vuforia-samples-eyewear )

files. We use StereoRendering sample code from there. That is where you should

apply the patch.

## Pre-setup

You will need to do the calibration of your devices using the Vuforia

Calibration Assistant from https://developer.vuforia.com/downloads/tool.

Failing to do so, will crash the application in the smart glasses.

## Example usage

1. Make sure Vuforia examples are build-able and run-able (you need the

   Vuforia SDK, the sample-apps for eyewear with proper license for eyewear

   installed via setting the proper values in Vuforia.setInitParameters);

2. Import the modules from AIP SDK (agapi.aar and sre.aar) by using `File->New

   module->Import Java .JAR/.AAR Package`;

3. You also need to tell the app to compile the agapi. You add in

   app/build.gradle, in `dependencies` section, the following line:

   `compile project(":agapi")`;

4. In the same app/build.gradle you need to update `minSdkVersion 14` (was 8);

5. Apply the patch to StereoRendering.java:

   app/src/main/java/com/vuforia/samples/StereoRendering/app/StereoRendering/StereoRendering.java

6. You also need to add the Augumenta License to the resources by inserting

   the following line to the app/src/main/AndroidManifest.xml:

   `<meta-data

android:name="com.augumenta.aip.LicenseKey"

android:value="@string/augumenta_sdk_license_key" />`

7. Fix any package names to suit your company licenses (refactor com.vuforia...)

8. Build and start `MainActivity`

Hand pose detections are printed to LogCat."

 

You need to proper install augumenta and vuforia and then start to build project. 

Integrating Augumenta with Vuforia on Unity

September 29, 2016 - 1:48am #2

Hello,

 

As far as I know, the Augumenta team is working on it. At the moment you are not able to use Vuforia and Augumenta at the same time in Unity. 

Log in or register to post comments