| ARToolKit | Mailing List Archive |
|
| From: | "Jiang Tian" <jiangt@i ..........> | Received: | Apr 17, 2005 |
| To | artoolkit@h .................. | ||
| Subject: | twoView example help | ||
Hi all,
Has anyone installed the ARToolKit 2.70.1 version in Linux system? I use two
Fire-i IEEE 1394 video cameras. After I installed it, the simpleTest example
works well. But the twoView example doesn't work.
Following is the running result:
Auto-detecting firewire camera because card and node is not specified
1394 card 0 node 0 is a [Unibrain - Fire-i 1.2] --> auto detected
1394 card 0 node 1 is a [Unibrain - Fire-i 1.2] --> not used
1394 card 0 node 2 is not a camera [INVALID]
Using the firewire camera on card 0 and node 0
unable to set camera trigger mode (ignored)
demoARSetupCameras(): Camera 1 image size (x,y) = (640,480)
*** Camera 1 parameter ***
--------------------------------------
SIZE = 640, 480
Distortion factor = 318.500000 263.500000 26.200000 1.012757
700.95147 0.00000 316.50000 0.00000
0.00000 726.09418 241.50000 0.00000
0.00000 0.00000 1.00000 0.00000
--------------------------------------
(dc1394_capture.c) Unable to set video mode 66!
unable to setup camera-
check if you did 'insmod video1394' or,
check line 492 of video.c to make sure
that the video mode,framerate and format are
supported by your camera
Quitting...
And how to set the camera configuration in the following part for IEEE1394
video camera in Linux system?
char *vconfs[] = {
#if defined(_WIN32)
"showDlg,flipV",
"showDlg,flipV",
#elif defined(__APPLE__)
"",
"",
#else
"-dev=/dev/video0 -channel=0 -palette=YUV420P -width=320 -height=240",
"-dev=/dev/video3 -channel=0 -palette=YUV420P -width=320 -height=240",
#endif
};
Any help is appreciated.
Thanks.
Regards,
Jiang
-------------------------------------------------------------------------------
Jiang Tian
Graduate Student, HCI Program
Human and Computer Vision Laboratory
Virtual Reality Application Center
Iowa State University
Ames, IA 50011
Lab Phone: +1-515-294-4922
|
|||
| From: | Eike M.Lang <lang@i ......................> | Received: | Apr 18, 2005 |
| To | ARToolkit ARToolKit <artoolkit@h ..................> | ||
| Subject: | Re: twoView example help | ||
Am 18.04.2005 um 04:47 schrieb Jiang Tian:
> Has anyone installed the ARToolKit 2.70.1 version in Linux system? I=20=
> use two
> Fire-i IEEE 1394 video cameras. After I installed it, the simpleTest=20=
> example
> works well. But the twoView example doesn't work.
This excerpt from the source should answer your questions and help you=20=
build valid vconf lines:
int ar2VideoDispOption( void )
{
printf("ARVideo may be configured using one or more of the following=20
options,\n");
printf("separated by a space:\n\n");
printf(" -node=3DN\n");
printf(" specifies detected node ID of a FireWire camera (-1:=20
Any).\n");
printf(" -card=3DN\n");
printf(" specifies the FireWire adaptor id number (-1: Any).\n");
printf(" -mode=3D[320x240_YUV422|640x480_RGB|640x480_YUV411]\n");
printf(" specifies input image format.\n");
printf(" -rate=3DN\n");
printf(" specifies desired framerate of a FireWire camera. \n");
printf(" (1.875, 3.75, 7.5, 15, 30, 60)\n");
printf(" -[name]=3DN where name is brightness, iris, shutter, gain,=20
saturation, gamma, sharpness\n");
printf(" (value must be a legal value for this parameter - use=20
coriander to find what they are\n");
--=20
Dipl.-Inform. Eike M. Lang
Universit=E4t Duisburg-Essen (Standort Duisburg)
Institut f=FCr Informatik und Interaktive Systeme
Lotharstrasse 65, Raum LF 284, 47057 Duisburg
email: lang@i ......................
Tel. : +49 203 379-1417 Fax -3557
|
|||