1 of 22
1
Sony PS3Eye running under Windows!!! **UPDATED** (Selectable Capture Frame Rate and Resolution)
Posted: 03 September 2008 07:32 PM   [ Ignore ]
Administrator
Avatar
RankRank
Total Posts:  197
Joined  2008-05-08

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

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.
NOTE: I am currently running Vista and all the code is developed and tested under this particular OS, but it should work on XP with no problems.

Installation:

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

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

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

I added the camera image controls:

Go, try it for yourself…

Enjoy!

~Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*UPDATE* 10-29-2008
New updated PS3EyeSetup version is here!!!

 Signature 

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

~ Send me a PM about high quality laser modules for LLP ~

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

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 ]
New Member
Rank
Total Posts:  40
Joined  2008-08-26

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 ]
Administrator
Avatar
RankRank
Total Posts:  197
Joined  2008-05-08
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!

~ Send me a PM about high quality laser modules for LLP ~

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

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

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

AlexP > God.

Profile
 
 
Posted: 04 September 2008 03:54 AM   [ Ignore ]   [ # 6 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  355
Joined  2007-09-18

” 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 

http://sassexperience.org

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

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 ]
New Member
Rank
Total Posts:  63
Joined  2008-05-15

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 ]
Jr. Member
Avatar
RankRank
Total Posts:  135
Joined  2008-05-10

Alex does it again! Nice work!

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

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

 Signature 

Pissed Right Off Genetically Engineered Nerd

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

Great job! Time to upgrade my table!

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

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

 Signature 

My Diffused Illumination Setup

Profile
 
 
Posted: 04 September 2008 01:10 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1348
Joined  2007-04-08

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 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 04 September 2008 01:16 PM   [ Ignore ]   [ # 14 ]
Administrator
Avatar
RankRank
Total Posts:  197
Joined  2008-05-08
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!

~ Send me a PM about high quality laser modules for LLP ~

Profile
 
 
Posted: 04 September 2008 01:18 PM   [ Ignore ]   [ # 15 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1348
Joined  2007-04-08

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 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
   
1 of 22
1