WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 17 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-07-2014, 01:17 PM
vrmdl vrmdl is offline
Member
 
Join Date: Mar 2012
Posts: 14
I tried the following to test the webcam

*****
import viz
viz.go()

#Create Video Camera extension
video = viz.add('VideoCamera.dle')

#Connect to next available generic video capture device
cam = video.addWebcam(size=video.WEBCAM_MAX_SIZE, id=1)

#Create quad to display video capture data
quad = viz.addTexQuad(pos=(0,1.8,2),texture=cam)
***********
I noticed that I have to use "id=1" to obtain webcam image. There are two imaging devices on my computer, one is scanner, the other is webcam.

Now my question is
(1) Do I need a full license to run artookit?
(2) How do select the other imaging device in the artoolkit example I gave in the above example. I tried to use "id=1". But the function ar.addWebCamera() does not take the attribute id.

Any hint is appreciated.
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
One webcam for AR in HMD infouser Vizard 2 12-18-2012 05:43 AM
How can I use a webcam to record a video in Vizard Zero Vizard 4 06-10-2010 03:53 AM
Plugin For Headtracking with webcam via FaceAPI Adam Plug-in development 3 04-16-2010 11:55 AM
ARToolKit mirror skywalkerbr Vizard 2 07-13-2009 12:24 PM
problems with webcam plug-in v-clizzin Plug-in development 2 01-25-2008 03:06 PM


All times are GMT -7. The time now is 09:11 AM.


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