View Full Version : problem with twoview
df4747
July 12th, 2005, 02:18 PM
The program is compiled successfully.I have two different usb cameras on my computer,
but the program can only identify one.
I don't know reason.
Leofozzy-BR
November 11th, 2005, 08:38 PM
Up...
i'm having exactly the same problem... any help ?
Leonardo
philip_lamb
November 13th, 2005, 03:11 AM
Which platform/OS is this with? Which version of ARToolKit.
If on windows, you need to edit the camera config file (WDM_camera_flipV.xml by default) so that there are configurations for both cameras.
See also http://artoolkit.sourceforge.net/apidoc/video/
Leofozzy-BR
November 13th, 2005, 04:58 AM
I'm using SimpleVRML (Artoolkit 2.72.1). Win XP. Two usb camera.
Thanks for the help, on monday i will check that.
Leonardo
Leofozzy-BR
November 14th, 2005, 08:01 PM
Hi!
I have two cams that are listed on Windows as:
- Creative WebCam NX
- VideoCAM Messenger #3
And my WDM_camera_flipV.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 rel. 3 U (http://www.altova.com)-->
<dsvl_input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Thomas\My Documents\projects\ARToolKit & DSVideoLib\ARVideoLib\DsVideoLib\DsVideoLib.xsd">
<camera show_format_dialog="true" friendly_name="PGR">
<pixel_format>
<RGB32 flip_h="false" flip_v="true"/>
</pixel_format>
</camera>
</dsvl_input>
I don't know how to configure. Where i can see the "friendly_name" ?
Leonardo
philip_lamb
November 14th, 2005, 10:54 PM
Try something like this:
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 rel. 3 U (http://www.altova.com)-->
<dsvl_input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Thomas\My Documents\projects\ARToolKit & DSVideoLib\ARVideoLib\DsVideoLib\DsVideoLib.xsd">
<camera show_format_dialog="true" friendly_name="Creative WebCam NX">
<pixel_format>
<RGB32 flip_h="false" flip_v="true"/>
</pixel_format>
</camera>
<camera show_format_dialog="true" friendly_name="VideoCAM Messenger #3">
<pixel_format>
<RGB32 flip_h="false" flip_v="true"/>
</pixel_format>
</camera>
</dsvl_input>
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.