View Single Post
  #1  
Old 03-14-2017, 04:08 AM
rajnishv rajnishv is offline
Member
 
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Smile 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.
Attached Thumbnails
Click image for larger version

Name:	carPattern.png
Views:	940
Size:	820.8 KB
ID:	914  
Attached Files
File Type: zip VizardPatternSaveScript.zip (978 Bytes, 1115 views)

Last edited by rajnishv; 03-14-2017 at 04:11 AM.
Reply With Quote