Hey,
The Video4Linux driver in ARToolkit is coded to request a particular
sized video frame and if your camera does not support that resolution
then it will fail with that error message. If you supply -width and
-height arguments inside simpleTest then it will prevent this error
message.
A while ago I made patches to the code which would do a better job
auto-detecting the resolution, I should mail them in so they can get
merged into the standard tree.
regards,
Wayne
------------------------------------------------------------------------
---
Dr Wayne Piekarski - Researcher / Lecturer pho: +61-8-8302-5070
fax: +61-8-8302-3381
Assistant Director - Wearable Computer Lab mob: +61-407-395-889
School of Computer and Information Science ema:
wayne@c ..............
University of South Australia www:
http://www.tinmith.net
On 17/03/2005, at 11:52 PM, Ville Ranki wrote:
>
> Hello,
> I have some trouble on getting ARToolKit working. I'm running
> Fedora Core 3 on x86. I have a Aiptek Pencam connected via usb and
> i can watch picture from it with Camorama. I configured ARToolkit
> with video4linux (is believe that's what USB webcams use) and
> compiled it.
>
> The simpletest doesn't work:
>
> # ./simpleTest
> arVideoOpen: width or height oversize
>
> What might be the problem?
>
>
> Btw i'm trying to implement 3D head-tracking for my flight simulator
> using ARToolkit. It's just like what commercial TrackIR 3 Vector does.
> Does anyone have any experience or hints on how implement this?
>
>
> --
> -- Ville Ranki oh3gbq
> ville.ranki@t ..... 040-757 2533
> http://www.vip.fi/~cosmo/
|