Sony PS3Eye Camera TouchLib, DirectShow and more…
I’m pleased to announce the new release of the PS3Eye driver. The camera code had been completely rewritten from the ground up. The driver now uses Microsoft’s WinUSB driver. I decided to go this route since the old driver had some performance issues. It is strange that Sony have chosen to stream video over USB bulk transfer pipe. Usually, video and audio USB devices use isohronous transfers since they have higher priority. On a slower systems this results in the video frame data drop resulting in shifted (out of sync) image.
Anyways, the good new is that this time around the driver will work with both x86 and x64 version of Windows (XP and Vista). This will hopefully make many of you who were asking for x64 version very happy.
Please make sure you completely remove any previous versions of PS3Eye drivers and software.
You can easily check if this is done properly by plugging the camera checking if Windows detects and automatically installs the driver.
If it doesn’t, the driver has been removed. To install download and run the latest PS3EyeSetup file and follow the instructions.
If your camera is not automatically detected when you plug it in, point the device manager to the Driver directory under the installation path. The driver will install and your camera is now ready.
VC++ 2005 SP1 redistributable is also included in the PS3EyeSetup for your convenience.
PS3Eye as DirectShow Capture Device
The PS3Eye.ax is the DirectShow video capture component that is automatically registered by the PS3EyeSetup. It exposes the camera frames in the RGB24 color format for better software compatibility. Here is the list of currently supported resolutions and frame rates:
- 320×240 @ 15fps
- 320×240 @ 30fps
- 320×240 @ 60fps
- 320×240 @ 75fps
- 320×240 @ 100fps
- 320×240 @ 125fps
- 320×240 @ 150fps (experimental)
- 640×480 @ 30fps
- 640×480 @ 40fps
- 640×480 @ 50fps
- 640×480 @ 60fps
- 640×480 @ 75fps (experimental)
PS3Eye TouchLib Build
I am very excited to announce the first TouchLib build that now fully supports the PS3Eye camera. All of the above resolutions and frame rates are supported in the current build.
I implemented a new TouchLib filter called ps3eyecapture that loads the PS3Eye driver directly and allows the use of this device in multitouch applications. The direct to PS3Eye camera through the driver guaranties the minimal capture latency.
To select the desired resolution and frame rate, just uncomment the format parameter line as shown here:
NOTE: Please make sure you backup the config.xml file before running TouchLib since it will overwrite it on exit and you will lose all of the commented formats.
If you find the software useful or if you feel like supporting this project, please feel free to click the donation link below.