Open gregkotsaftis opened 9 years ago
Hi @gregkotsaftis,
I suppose that PS3 Eye camera is not UVC-compliant. I googled a little bit and haven't found any confirmation for it to be UVC-compliant but several posts allows me to conclude that it really isn't. For example it does not work on Ubuntu and you need to have dedicated driver for it. That means it does not work on the UVC drivers which are build-in. Same for Apple's Mac - you need special driver to run it. Seems like Windows need dedicated driver as well (maybe not in recent days - on modern systems it may be build in).
I have bought Sony CL-Eye driver, and the cam works in Windows. I do not know if the driver is a UVC-compliant or not. Still, I tried the same example in an Acer laptop and I got this exception:
HD WebCam 0
com.github.sarxos.webcam.WebcamException: Cannot start native grabber!
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice.open(WebcamDefaultDevice.java:330)
at ...blah...
My project has had no problems using the PS3eye on Linux (Ubuntu and Arch), but it doesn't work on Windows unless the application is launched from Java Web Start. We have no idea why the latter case works because it seems like it shouldn't work under any circumstance.
On another note, we don't really like the PS3eye for computer vision applications because it's very sensitive to light conditions and gets more "noise" than your average webcam.
PS. It doesn't work on Mac under any circumstance.
Hi @gregkotsaftis, @phrack,
Computer vision on Linux machines is pretty straightforward - there is a libv4l2 middleware that resolves compatibility and connectivity issues for us, and all you need to do is to take the v4l api and use it. On Windows there are much more tricks & caveats (e.g. no locking, sharing capture graph between processes), but the fact that PS3eye is working in Java Web Start and not in normal Java application is completely surprising for me!
Is this the one you are talking about?
http://allegro.pl/kamera-sony-eye-tv-ps3-move-nowa-sklep-tanio-i5749465007.html
Can you please confirm, so I can buy this camera and test it by myself (unfortunately I cannot check on Mac, I do not own one)? Or did you switch to other webcam that is working well?
Yea, for reference here it is on Amazon:
Everything works better on Linux. We tend to have to fight Windows a little and Mac a lot.
I primarily just use the MS Lifecam HD-3000 because it works well on Linux, Mac, and Windows. The PS3eye is a pain even when it does work because it's so sensitive to lighting conditions.
Ok, will purchase it and perform some tests in regards to API working in Web Start and not in classic app. This may be interesting. Any other PS3Eye issues are most likely caused by lack of the UVC support or just partial support.
Ok, I have PS3 Eye. It works really nice on my Ubuntu. Now I need to test it on Windows. Will keep you informed.
Hi sarxos. Any news regarding ps eye on windows? It is not recognized by your lib, but I really need to use the PS Eye 3 for my project and I would love to use your webcam lib too :-)
I only have a PS3 Eye in my Windows 7 PC. Althought the cam is working in Windows, a simple java test reports:
The code used is:
My classpath includes
webcam-capture-0.3.10.jar
andbridj-0.6.2.jar
, is there something wrong with the code or PS3 Eye is not supported?