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
|