Hello,
We are trying to use a Firewire VidereDesign DCAM Digital Color Video
Camera
(http://www.videredesign.com/products.htm) under linux.
We have installed the librairies:
libraw1394-0.9.0-1.i386.rpm,
libraw1394-devel-0.9.0-1.i386.rpm
libdc1394_0.8.1.tar.gz
and compiled ARToolKit2.61
on Redhat 8.0.
While the program "simpleTest" was running, we got a similar problem to
Yoshi Fujiwara who
asked in February 2003 a solution for his iBOT camera.
Thanks to his problem, we found out finally that we had to specify the
capture mode and
the frame rate.
So, we added the corresponding options in
ARToolKit2.61/examples/simple/video.c:
char *vconf ="-mode=640x480_RGB -rate=15 -debug";
and the following problem disappeared
"Node 1 is not a camera
Sorry, Unsupported Video Format for IEEE1394 Camera".
However, we got another problem with the camera trigger mode. This is
the information obtained from
the application "simpleTest":
CAMERA INFO
===============
Node: 0
CCR_Offset: 15728640x
UID: 0x00d0f54000060e7f
Vendor: VIDERE_DESIG Model: DCAM
node 1 is not a camera
1 camera(s) found on the bus
Node IDs are: 0,
Using a camera #0 (Node ID = 0)
FEATURE SETTINGS
==================================
OP- one push capable
RC- readout capable
O/OC- on/off capable
AC- auto capable
MC- manual capable
==================================
Brightness:
RC AC MC
MANUAL min: 0 max 511
current value is: 0
Exposure:
RC AC MC
MANUAL min: 0 max 511
current value is: 0
Sharpness:
RC MC
MANUAL min: 0 max 255
current value is: 0
White Balance:
RC AC MC
MANUAL min: 0 max 255
B/U value: 0 R/V value: 0
Hue:
NOT AVAILABLE
Saturation:
RC MC
MANUAL min: 0 max 255
current value is: 0
Gamma:
RC MC
MANUAL min: 0 max 1
current value is: 0
Shutter:
RC MC
MANUAL min: 0 max 6
current value is: 0
Gain:
RC MC
MANUAL min: 0 max 255
current value is: 0
Iris:
MANUAL min: 4 max 4
current value is: 0
Focus:
MANUAL min: 0 max 117
current value is: 0
Temperature:
NOT AVAILABLE
Trigger:
NOT AVAILABLE
Zoom:
NOT AVAILABLE
Pan:
NOT AVAILABLE
Tilt:
NOT AVAILABLE
Optical Filter:
NOT AVAILABLE
Capture Size:
NOT AVAILABLE
Capture Quality:
NOT AVAILABLE
==================================
unable to set camera trigger mode (ignored)
Image size (x,y) = (640,480)
*** Camera Parameter ***
--------------------------------------
SIZE = 640, 480
Distotion factor = 317.500000 192.000000 26.300000 1.009989
780.54604 0.54781 304.64423 0.00000
0.00000 762.30679 208.68123 0.00000
0.00000 0.00000 1.00000 0.00000
--------------------------------------
Failed to upload texture, sz 65536
Memory heap (nil):
heap == 0
End of memory blocks
Failed to upload texture, sz 65536
Memory heap (nil):
heap == 0
End of memory blocks
Failed to upload texture, sz 65536
Memory heap (nil):
heap == 0
(...)
The application does not crash, but it cannot display the images from
camera.
We tried to specify in the options the node number. But it seems to have
any effect
on the result.
We also changed the Firewire port, according to Christoph Ganser, but
the error message
is always the same.
We would appreciate any help.
Sincerely yours
Gerald Bianchi
--
***************************************
* Bianchi Gerald *
* ETH Zurich *
* Computer Vision Laboratory (BIWI) *
* *
* Gloriastrasse 35 *
* CH-8092 Zurich *
* Switzerland *
* phone: +41 1 632 51 80 *
* email: bianchi@v ................ *
* http://www.vision.ee.ethz.ch *
***************************************
|