Using multiple PS3Eye cameras with haXe/C++
Posted: 25 June 2012 12:32 AM   [ Ignore ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17

You can read the full post here.

Summary (copied from the above Andy Li’s Blog):

Sony PS3Eye is probably the best web cam for CV stuff: not expensive, cross platform, high frame rate(up to 120fps), no image compression etc. I’ve been using it in the past year and my experience is great.

In my final year project, I have been exploring stereo camera, ie. using multiple cameras at the same time. It is not too difficult, just place the cameras side-by-side in the same plane, with OpenCV you can calibrate them and compute a disparity map to get the depth info of the capture subject. What it means is you can do 3D tracking and probably 3D gesturing like Project Natal. And yes, I use PS3Eyes.

I was using Ubuntu and OpenFrameworks for the project and everything is fine. You do not need to install a driver for using PS3Eye, however, to get extra controls, I used a patched driver. But the driver is less stable and sometimes it outputs corrupted frames.

I have a bit more time these few days, so I try move back to Windows and port the code to use haXe/C++ with Code Laboratories‘s CLEye SDK. I created a simple binding to the SDK and the result is pretty good. I have again put the code to github (hxCLEye), and there is a sample program(Main.hx), which use the not-yet-released nme2. It still needs to be optimized for the Bytes=>BitmapData conversion, but it is quite stable I think.

Profile
 
 
 
 


RSS 2.0     Atom Feed