gazegroup.org

Open source eye tracking and gaze interaction

Skip to content

Cannot find usb webcam

Discussion and information on the ITU Gaze Tracker version 1.0, 1.5 or 1.6

Cannot find usb webcam

Postby snowboard » Fri Apr 10, 2009 12:06 am

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
snowboard
 
Posts: 7
Joined: Thu Apr 09, 2009 11:56 pm

Re: Cannot find usb webcam

Postby oVISIONo » Fri Apr 10, 2009 1:24 am

Hi,
I'd like to know what webcam are you using.
Regards,
Marcelo.
oVISIONo
 
Posts: 18
Joined: Sat Apr 04, 2009 3:57 am
Location: Argentina

Re: Cannot find usb webcam

Postby snowboard » Fri Apr 10, 2009 10:19 am

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
snowboard
 
Posts: 7
Joined: Thu Apr 09, 2009 11:56 pm

Re: Cannot find usb webcam

Postby oVISIONo » Fri Apr 10, 2009 11:45 am

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.
oVISIONo
 
Posts: 18
Joined: Sat Apr 04, 2009 3:57 am
Location: Argentina

Re: Cannot find usb webcam

Postby martintall » Sat Apr 11, 2009 4:18 am

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.
User avatar
martintall
 
Posts: 139
Joined: Fri Apr 03, 2009 10:49 am
Location: Menlo Park, CA, USA

Re: Cannot find usb webcam

Postby oaconga » Tue Apr 14, 2009 4:28 pm

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
oaconga
 
Posts: 1
Joined: Tue Apr 14, 2009 4:15 pm

Re: Cannot find usb webcam

Postby oVISIONo » Wed Apr 15, 2009 2:06 am

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.
oVISIONo
 
Posts: 18
Joined: Sat Apr 04, 2009 3:57 am
Location: Argentina

Re: Cannot find usb webcam

Postby martintall » Mon Apr 20, 2009 2:17 pm

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)
User avatar
martintall
 
Posts: 139
Joined: Fri Apr 03, 2009 10:49 am
Location: Menlo Park, CA, USA

Re: Cannot find usb webcam

Postby martintall » Tue Apr 21, 2009 12:38 am

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
User avatar
martintall
 
Posts: 139
Joined: Fri Apr 03, 2009 10:49 am
Location: Menlo Park, CA, USA

Re: Cannot find usb webcam

Postby DnV » Wed Apr 22, 2009 10:21 am

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.
DnV
 
Posts: 1
Joined: Wed Apr 22, 2009 9:52 am

Next

Return to ITU Gaze Tracker Version 1.0-1.6

Who is online

Users browsing this forum: MSN [Bot] and 1 guest