09-29-2008 #1wicked insanity Guest
Sony PlayStation 3 EYE Camera running under Windows
As posted by AlexP on the forums of the Web site linked above:
As you may seen it before, here are the specs:
- 4 channel audio input:16 bits/channel, 48kHz, SNR 90db
- 56º or 75º Field of View zoom lens
- 2.1 F-stop, less than 1% distortion, fixed focus (25cm to 8 at 75º FOV)
- 640 x 480 at 60 frames/second
- 320 x 240 at 120 frames/second
- USB.0 high-speed data transfer
- Uncompressed video or optional JPEG compression
Downloads: PS3 Eye Driver / PS3 Eye Test [Fixed 320x240 frame (full sensor), Now capturing at 60fps.]
This makes the PS3Eye ideal for multitouch applications. The best part is the price $39.99!
Now, the main problem with this camera is that there are no drivers for Windows. The camera’s chipset info is virtually non-existent on the Web.
After examining the camera internals I found that it features the OV534-LB50 camera USB 2.0 bridge and the OV7720 CMOS VGA sensor. Both of these are made by OmniVision.
I started thinking to my self: "This camera is awesome and it will be such a great and inexpensive replacement for Firefly MV and the like. If we could just get it to work under Windows..."
Initially, I started poking around with the USB trying to send some commands to the PS3Eye and see what happens...
After many long nights I’m bringing you the result:
- Full VGA (640x480) 60fps video capture test app that features uncompressed high quality raw video
- Low CPU overhead (since there is no decompression involved on the PC)
- Very low latency (1 frame time period)
The camera currently streams video in YUYV format, therefore each frame is 640*480*2 bytes. At 30fps this amounts to about 17.5MB/s which is pretty low in comparison to the total USB 2.0 bandwidth. At 60fps the amount of data gets higher and it could be affected by other peripherals connected to the USB host controller. This is why it is recommended that the camera be the only device connected to the USB host controller.
Most of the CPU overhead that I currently have is the color conversion code that is implemented in straight C/C++ without any SIMD optimizations.
For real (MT) applications this code will go away, since we will be extracting raw grayscale image (every second byte of YUYV).
My driver exposes a camera as a device with direct access, thus eliminating the complexities and the overhead of DirectShow system. I will be working on custom PS3EYE capture filter for use in TouchLib.
I am currently running Vista and all the code is developed and tested under this particular OS.
- First run the Install.bat in Driver directory. You might need to reboot your machine after this step.
- Plug in the PS3Eye camera. Let the Windows detect the hub and two USB Camera-B3.04.06.1 devices.
- One of these is the audio and the other one is the camera itself. After a few seconds Windows will automatically detect and install one of the USB Camera-B3.04.06.1 devices. This will be the audio device. The one that is left is the camera.
- Windows will prompt you for a driver. Cancel out of that and go to the Device Manager, right click on USB Camera-B3.04.06.1 device and chose Update Driver Software.
- From there select Browse my computer for driver software and select the Driver directory. The PS3Eye Camera driver will be installed.
Now run the PS3EyeTest.exe program, and the captured video as well as the FPS counter will be displayed.
Go, try it for yourself...
Enjoy! More PlayStation 3 News...
09-29-2008 #2bigblockchev Guest
Driver under Windows XP not working
Installed the driver successfully.
Device Manager has 2 drivers: WinDriver and PS3 Eye Camera under a Jungo category.
Running eyetest displays camera found and initializing camera but nothing is displayed. Tried replugging eye cam afterwards with same result.
09-29-2008 #3N3M3515 Guest
09-29-2008 #4bigblockchev Guest
Yes I tried the Start Capture button and the error said "unable to find device" or something similar. Using the eye in LBP right now so I don't have the "exact" error.
Also tried resolution and fps choices but same result.
09-30-2008 #5asandhu Guest
what can you use the eye for in LBP?
09-30-2008 #6cdragomir Guest
First of all, great work. We have tried also to do a driver and failed. Now is OK. For the moment is not recognized as a webcam as I see, at least Yahoo and Skype does not recognize it yet. Maybe I will need to restart my comp.
The capture software provided by you is perfect, work fine for the moment.
09-30-2008 #7wicked insanity Guest
Yes at the moment, the camera only works with the supplied program but the guy who made the driver is working on making it fully compatible.
This is old news and was posted at the beginning of September but I hadn't seen it around on the site. Hopefully soon he should be making an update for the drivers.
PS. you can take snapshots in LBP planet and use them as ingame stickers.
10-05-2008 #8zck113 Guest
I've got the PS3 cam to work, it took a while to get how. Also, is it possible to just wire it to a program, I.E. MSN? or does the guy have to make his program first, and if so, when will that be done?
10-12-2008 #9LordLoki666 Guest
I also tried this program and after a few tries it finally worked. It worked in the testprogram and also in LIVE messenger but not in skype BUT after I rebooted the cam doesn't work anymore. Anyone with the same problem or a tip to solve it?
10-21-2008 #10wicked insanity Guest