Start a new topic

IR tracker

IR tracker


Hi,

This week i started my thesis on energy readings in augmented reality. While doing research about augmented reality i came upon Wikitude.

I have tested some basic things this yesterday like setting up the simpleIRExample on my Galaxy s3 and testing the hello world tutorial, with ARchitect viewer.

Today i wanted to test out the simple IR recognition tracker, making a database(Test.zip) with a 3 star rated object in it(micro).

This is the code i used, suggested in the tutorial with some minor changes.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<!-- Important: Let the viewport cover the whole screen -->

<meta name="viewport" content="target-densitydpi=device-dpi, width = 540, user-scalable = 0" />

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Test tracker</title>

<!-- Include the ARchitect library -->

<script src="architect://architect.js"></script>

<!-- Include the ARchitect Desktop Engine for testing on a desktop browser-->

<script type="text/javascript" src="../ade.js"></script>

<script>

// create tracker

var tracker = new AR.Tracker(https://www.dropbox.com/s/0l7b9ln6p766vzv/Test.zip);

var image = new AR.ImageResource(https://www.dropbox.com/s/33uuvfedznfzalt/OK.jpg);

var overlay = new AR.ImageDrawable(image, 1.0);

var trackable2DObject = new AR.Trackable2DObject(tracker, "micro",{ drawables: { cam: overlay }});

</script>

</head>

<body>

</body>

</html>

 

After many tests i never got the tracker to pick up anything. 

Am i missing something that is needed or does the exampleIRapp not work with this code?

 

Any help would be appreciated.

Greetings Tim

I tested the code with ARchitect viewer but i did not react in any way.

I replaced the code inside the SimpleIRExample with my own code and it worked fine.
Login or Signup to post a comment