Page 1 of 2

Cannot find usb webcam

PostPosted: Fri Apr 10, 2009 12:06 am
by snowboard
Hi guys and thank you for the application.
I encountered a problem when I tried to run gaze tracker.
I got the message "Please connect a camera before starting the ITU Gaze Tracker" , although I do have a usb webcam connected and it is working fine with other apps.
My system is running vista sp1 and the webcam works with directshow.
I also tried to run the app with administrative privileges with no result.
Any ideas ?
Thanks

Re: Cannot find usb webcam

PostPosted: Fri Apr 10, 2009 1:24 am
by oVISIONo
Hi,
I'd like to know what webcam are you using.
Regards,
Marcelo.

Re: Cannot find usb webcam

PostPosted: Fri Apr 10, 2009 10:19 am
by snowboard
Hi,
I am using a Lidl Silvercrest usb webcam.
From the Linux-USB device overview website I found that it is not supported by Linux and the following info.
ID : 0xeb1a:0x2710
Vendor : Anubis GmbH (Typhoon)
Product : Webcam 1.3 MPix (Lidl Silvercrest 50946SC)

Unfortunately currently I don't have access to a Linux powered machine to run lsusb .
Thank you
Chris

Re: Cannot find usb webcam

PostPosted: Fri Apr 10, 2009 11:45 am
by oVISIONo
Hi,
I'm not sure about this issue, maybe directshow could be a problem, I will try to find more info about this...

By the way, I have read the webcam manual at this page http://www.typhoon.de/en/art.php?p=753&pv=6 and it looks like that webcam doesn't have infrared leds, it has white-light leds, so maybe the ITU gazetracker software won't work properly with that webcam.

Regards,
Marcelo.

Re: Cannot find usb webcam

PostPosted: Sat Apr 11, 2009 4:18 am
by martintall
Hi there!

When the application starts up it grabs the first camera available and starts it up in the default mode. If the DirectShow library does not find a camera it displays the error message and quits the application.

So it appears that the camera for some reason is unavailable. Unfortunately I cannot look in to it further since I am traveling at the moment.

Another camera that I tried the other week produced the same result but that was using the hacked PS3 eye cam with custom drivers. I will debug this when I am back at ITU next week.

Re: Cannot find usb webcam

PostPosted: Tue Apr 14, 2009 4:28 pm
by oaconga
Hi people , I've been trying with 3 different cameras and none functioned. What I do to know if everything is going right with the directShow compatible driver is to test the capture device in AMCap. The cameras that I´ve been using are:

-MV Firefly by Point Grey
-LifeCam NX-6000 by Microsoft
-WebCam Life Ultra By Creative

The first one is not USB, it's firewire, but what's going on with the others?.

Thanks a lot

Re: Cannot find usb webcam

PostPosted: Wed Apr 15, 2009 2:06 am
by oVISIONo
Hi,
I have a Lifecam VX-1000 and It worked for me, I don't know about the other webcams but the NX-6000 has to be the same case.
Do you have the right webcam driver installed?
You can download the Lifecam driver from here:
http://www.microsoft.com/hardware/download/download.aspx?category=ICE
Select the right system operating for downloading.
Maybe you have installed too much webcam drivers, that happened to me in one pc.
Did you meet the system requirements?
http://www.gazegroup.org/downloads/23-gazetracker
I hope it helps.
Regards,
Marcelo.

Re: Cannot find usb webcam

PostPosted: Mon Apr 20, 2009 2:17 pm
by martintall
There has been some issues with cameras being initialized with faulty parameters, for example we tried with a Logitech 9000 Pro and got weird results until the driver got installed.

I am not sure that the Point Grey Firefly MV will work, depends on the drivers, think Javier had some issues with it (comments?) We are working on a more stable camera class. It probably won´t support all cams out there but the GT should not crash and burn if not able to initialize.

Please continue to post a your results as it will help us to compile a list of suitable hardware.
Thanks,

(Note that you´ll need to modify the Logitech cam by removing the IR-blocking filter, see http://www.ryb.be/projekty/logitech_9000_pro_infrared/ and add additional IR-illumination)

Re: Cannot find usb webcam

PostPosted: Tue Apr 21, 2009 12:38 am
by martintall
Changes has been made to the Camera class. It should now provide better information instead of just throwing a crash&burn exception. It is also possible to directly specify the camera properties by modifying the code (Tracker.cs)

Try the latest binary (Monday 21/4) ?
http://www.gazegroup.org/software/GazeTracker1.0.0.1.rar

Re: Cannot find usb webcam

PostPosted: Wed Apr 22, 2009 10:21 am
by DnV
This problem may arise if VideoInputDevice contains multiple devices. Even if the first is ok, the following may cause an exception. I have this problem with my Creative WebCam Live! Motion.

Temporary solution is here (Devices.cs):
Code: Select all
            //foreach (DsDevice d in capDevices)
                //deviceInfo.Add(Caps(d));
            deviceInfo.Add(Caps(capDevices[0]));

Wrong devices must be ignored to not cause cross-exceptions in SetCamera function.