1 of 43
1
Sony PS3Eye running under Windows!!! **UPDATED** Driver v3.0.0.0825 (Selectable Capture Frame Rate and Resolution)
Posted: 03 September 2008 07:32 PM   [ Ignore ]
Avatar
RankRankRank
Joined  2008-05-08
Total Posts:  342
Administrator

Well boys and girls, I’ve been working hard last few weeks to make this great camera work under Windows.

PS3Eye1.JPG width=300

PS3Eye2.jpg  width=300

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, <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
This makes the PS3Eye ideal for multitouch applications. The best part is the price $39.99! I found mine here.
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 (pictures here) 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 PS3Eye camera as a device with direct access, thus eliminating the complexities and the overhead of DirectShow system.
For multitouch applications (where low latency is a key) I will be working on custom PS3EYE capture filter for use in TouchLib. In parallel I will be working on a DirectShow filter that will allow wide use of this camera on Windows.

Installation:

- Unplug the PS3Eye camera from your comupter.
- Download and run the latest CL-Eye Platform file.
- Click ‘Install’ and follow the setup process.
- Plug in the camera.

After successful installation, your Device Manager should look similar to this:

PS3EyeDMWinUSB.jpg width=400

Now run the PS3EyeTest.exe program, and the captured video as well as the FPS counter will be displayed.

PS3EyeApp.jpg width=500

I added the camera image controls:

PS3EyeAppControl.jpg width=500

Go, try it for yourself…

Enjoy!

~Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Download Latest Driver Here

 Signature 

Computing is not about computers any more.  It is about living!

Code Laboratories
CL Studio Live - Video like never before
CL Eye Platform SDK

Profile
 
 
Posted: 03 September 2008 07:48 PM   [ Ignore ]   [ # 1 ]
Avatar
RankRank
Joined  2007-12-12
Total Posts:  116
Member

nice!  Thanks once again alex!  I can’t wait to get one of these now.

Alex- The camera I’m currently using has the same size lens as your old iBot camera.  It’s an AME group CF-2000 firewire cam.
Do you think I will be able to put that lens in a Playstation EYE?  I would like to be able to use the original, unmodified lens when attaching the EYE to my ps3.

 Signature 

http://multitouchproject.blogspot.com/

Profile
 
 
Posted: 03 September 2008 07:55 PM   [ Ignore ]   [ # 2 ]
Rank
Joined  2008-08-26
Total Posts:  62
New Member

Do you think this driver will work under XP?  I was just about to purchase an XBOX 360 camera but if for 20$ more I can get that quality there’s no point except for not having Vista.

Profile
 
 
Posted: 03 September 2008 07:59 PM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRank
Joined  2008-05-08
Total Posts:  342
Administrator
oaa8 - 03 September 2008 07:55 PM

Do you think this driver will work under XP?  I was just about to purchase an XBOX 360 camera but if for 20$ more I can get that quality there’s no point except for not having Vista.

I don’t see why this would not work under XP. The driver framework that I use works under Vista, XP and even Linux.
The only reason I talked about Vista is because this is what I developed and tested it on.

~Alex

 Signature 

Computing is not about computers any more.  It is about living!

Code Laboratories
CL Studio Live - Video like never before
CL Eye Platform SDK

Profile
 
 
Posted: 03 September 2008 08:09 PM   [ Ignore ]   [ # 4 ]
Avatar
RankRank
Joined  2008-05-31
Total Posts:  122
Member

wow Alex Nice work!!
you think you can make it work under vista x64?

 Signature 

MT LCD
MT Wall

Profile
 
 
Posted: 03 September 2008 09:04 PM   [ Ignore ]   [ # 5 ]
Avatar
RankRank
Joined  2008-06-10
Total Posts:  104
Member

AlexP > God.

Profile
 
 
Posted: 04 September 2008 03:54 AM   [ Ignore ]   [ # 6 ]
Avatar
RankRankRankRank
Joined  2007-09-18
Total Posts:  882
Moderator

” Alex P. Gambler “ glad to have you back with new eyes !
if you can’t find it : DIY ! 
Many people have been desperately looking for this driver .

that ‘s a great move to reduce the cost of the setup !

 Signature 

How many touches can you simultaneously perform ? 
Coming soon : EveryWall MT / Multi LaserPointers / MT SMS Wall
le WIKI en Français

Profile
 
 
Posted: 04 September 2008 03:57 AM   [ Ignore ]   [ # 7 ]
Avatar
RankRankRankRank
Joined  2006-11-09
Total Posts:  1495
Administrator

Alex I am going to order one now! smile thanks for the hard work sir.

Look forward to testing it out smile

 Signature 

~

Profile
 
 
Posted: 04 September 2008 04:15 AM   [ Ignore ]   [ # 8 ]
Rank
Joined  2008-05-15
Total Posts:  62
New Member

Wow AlexP! You rock!smile

 Signature 

~ The future is here, and it’s not an Iphone. It’s a big ass table ~

Profile
 
 
Posted: 04 September 2008 05:32 AM   [ Ignore ]   [ # 9 ]
Avatar
RankRank
Joined  2008-05-10
Total Posts:  152
Member

Alex does it again! Nice work!

Profile
 
 
Posted: 04 September 2008 07:13 AM   [ Ignore ]   [ # 10 ]
Avatar
RankRank
Joined  2008-04-27
Total Posts:  150
Member

How does the FireflyMv’s performance compare to the PS3 Eye?

 Signature 

Pissed Right Off Genetically Engineered Nerd
ProgenLabs.com

Profile
 
 
Posted: 04 September 2008 07:45 AM   [ Ignore ]   [ # 11 ]
Rank
Joined  2008-07-10
Total Posts:  16
New Member

Great job! Time to upgrade my table!

Profile
 
 
Posted: 04 September 2008 08:21 AM   [ Ignore ]   [ # 12 ]
Avatar
RankRank
Joined  2008-06-06
Total Posts:  108
Member

Wonderful news for the poor man like me smile hope I can find one in Australia!

 Signature 

My Diffused Illumination Setup

Unfortunately I’m selling my MT table as I have to finish my PhD and have no time to play with/improve it.

this is the thread for people who might be interested in: http://nuigroup.com/forums/viewthread/6809/

Profile
 
 
Posted: 04 September 2008 01:10 PM   [ Ignore ]   [ # 13 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Great news Alex. Hopefully you’re able to get that full fps out of the camera.

Will this driver work in other applications or will we need to write custom code for it? We’ll be pushing out the new tracker soon and we hope this driver will be compatible with it.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 04 September 2008 01:16 PM   [ Ignore ]   [ # 14 ]
Avatar
RankRankRank
Joined  2008-05-08
Total Posts:  342
Administrator
cerupcat - 04 September 2008 01:10 PM

Great news Alex. Hopefully you’re able to get that full fps out of the camera.

Will this driver work in other applications or will we need to write custom code for it? We’ll be pushing out the new tracker soon and we hope this driver will be compatible with it.

I am working on getting the datasheets for the chips used on the camera from OmniVision.
The driver I wrote has direct access to the camera, so all I need to do is wrap it in a dll that can be loaded by TouchLib and the new framework.
Since this is all custom code, we can adopt it to any framework we chose.
But, I can tell you that the image quality of this camera is excellent.

~Alex

 Signature 

Computing is not about computers any more.  It is about living!

Code Laboratories
CL Studio Live - Video like never before
CL Eye Platform SDK

Profile
 
 
Posted: 04 September 2008 01:18 PM   [ Ignore ]   [ # 15 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Sounds great Alex. Based on the screenshot, the image quality looks really excellent. smile

After searching a while back for a windows driver for this camera and seeing the amount of people that wanted one, I can say you’re going to make a lot of people happy (not just nuigroup) with the release of this driver. =)

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
   
1 of 43
1