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
  #1  
Old 03-06-2014, 02:06 PM
vrmdl vrmdl is offline
Member
 
Join Date: Mar 2012
Posts: 14
artoolkit no webcam showing

Hi, all

I tried to get artookit example running on my PC. I tried to run the artoolkit_simple that came with the vizard. Codes are shown below.

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

#Add ARToolkit extension
ar = viz.add('artoolkit.dle')

#Create camera using first available webcam
camera = ar.addWebCamera()

#Create marker from pattern file
marker = camera.addMarker('ar/patt.worldviz',width=1000)

#Add logo model
logo = viz.add('logo.ive')

#Link logo model to marker sensor
viz.link(marker,logo)
*************

However the screen shows nothing only black/white dots (see screenshot). It looks like the webcam is not turned on. However I checked my webcam setting. My webcam shows fine in programs such as skype.

The message window shows no error but the following

************************************************** ****************************
** Loading artoolkit_simple.py
************************************************** ****************************
artoolkit.dle ARToolkit Extension
VideoCamera.dle Video Camera Extension
** WARNING: Video camera does not support capturing at 640 x 480, using default size (720 x 576)
** NOTIFY: Connected to 'AVerMedia 7231 Analog Capture' (720 x 576 , 25.00 fps)
Loading File: logo.ive
** Load Time: 0.55 seconds

Any help or hint is helpful.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	2096
Size:	400.2 KB
ID:	628  
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 07:50 AM.


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