Regarding Vizard Augmented Reality Custom Pattern Creation
Hi Jeff,
I am preparing a demo in which i have to create a pattern and save it , load it using AR modules in Vizard and draw a 3D model on to the pattern saved.
When my program gets executes.
It opens a web cam to get the markers data using
code:raw = camera.getRawMarkers()
I am trying to draw lines on to the edges of the car model using
Code:
viz.startLayer(viz.LINES)
....
...
square = viz.endLayer()
I am using the code from 'artoolkit_createPattern.py' code to save the pattern tracked by the web cam using the vizards artoolkit.
But when i m tracking it draws the layer randomly and sometimes goes off.
I dont want random lined to be drawn.
How can i accurately get all the data points (by considering edges,wheels,etc)using the layers (lines,points,polygons,etc) on the car Model as which can be saved as a marker and can be used to Augment a 3D model on to a car.
Pls assist how to proceed further.
PFA the code and the screen shot of the pattern.
Waiting for ur reply.
Last edited by rajnishv; 03-14-2017 at 04:11 AM.
|