Sune,
We have some code to get the device name, which we are trying to find
time to put into libARVideoWin32. We could dig this up tomorrow
(already nighttime here) if you are desperate.
But one thing about your question.. is the device name you get below
with just one camera plugged in? Because some camera drivers don't
support more than one camera, even though DsVideoLib does. And also of
course, you will need device names for both cameras..
Phil.
On 11/04/2005, at 8:12 PM, sune wrote:
> Hi
>
> We have a project demo the day after tomorrow and we have some problems
> using a specific camera with DsVideoLib. The camera is a VRMagic
> VRmC-3i (a
> USB cam). The problem is that we use two cameras for our application
> so we
> have to give the devise name to DsVideoLib and that is my problem.
> When I
> use GraphEdit to find the devise name, as suggested by Thomas Pintaric
> at
> his homepage, it is:
>
> @d .....:sw:{860BB310-5D01-11D0-BD3B-00A0C911CE86}\VRmagic VRmUsbCam DS
>
> I have tried to give the application all permutations of this
> substring that
> I could think of e.g.:
>
> @d .....:sw:{860BB310-5D01-11D0-BD3B-00A0C911CE86}\VRmagic VRmUsbCam DS
> 860BB310-5D01-11D0-BD3B-00A0C911CE86
> {860BB310-5D01-11D0-BD3B-00A0C911CE86}\VRmagic VRmUsbCam DS
> {860BB310-5D01-11D0-BD3B-00A0C911CE86}\VRmagic VRmUsbCam
> {860BB310-5D01-11D0-BD3B-00A0C911CE86}\VRmagic
> {860BB310-5D01-11D0-BD3B-00A0C911CE86}
>
> And other strings similar to the above.
> I have also tried to use combinations of the string "VRmagic VRmUsbCam
> DS"
> as friendly name (and I remembered to set InputDevice to WDM_CAP).
>
> Any suggestions?
>
> All types of advice are welcome.
>
> Best regards
>
> Sune Kristensen
>
Philip Lamb
Research Student,
Human Interface Technology Laboratory New Zealand,
University of Canterbury, Christchurch, NZ.
+64 3 3642987 x3070
|