WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-14-2017, 05: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:	1522
Size:	820.8 KB
ID:	914  
Attached Files
File Type: zip VizardPatternSaveScript.zip (978 Bytes, 1618 views)

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 11:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 11:46 AM
help with augmented reality and physics Darkmax Vizard 1 06-12-2010 04:26 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
Vizard and Augmented Reality realvision Vizard 4 04-04-2008 11:59 AM


All times are GMT -7. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC