PS3 Eye Processing library
Common talks November 23rd, 2009After lots of unsuccesful test with PS3 Eye camera and JMyron, i decided to wrote my own library for processing for PS3 Eye. And now after 2 days of learning and hard coding my first DLL in C++, exploring JNI i finally releasing version 0.0.1 of PS3Eye Processing Library
How to install:
1. First install Win32 drivers for PS3 Eye camera. You can get latest version from AlexP blog - http://www.alexpopovich.com/blog/2008/10/02/sony-ps3eye-camera-directshow-capture-source-filter/
2. Copy PS3EyeLib.dll from you /Program Files/AlexP/ folder to /windows/system32/ or any other folder listed in you %PATH%.
3. Extract zip to libraries folder.
Sample code:
import ru.cleoag.;
PS3Eye p;
PImage img;
int cameraWidth = 640;
int cameraHeight = 480;
int cameraRate = 60;
void setup(){
size(640,480);
p = new PS3Eye(this);
p.start(cameraWidth,cameraHeight,cameraRate);
img = createImage(cameraWidth,cameraHeight,RGB);
}
void draw(){
background(0);
p.update();
p.imageCopy(img.pixels);
img.updatePixels();
image(img,0,0,width,height);
}
void stop(){
p.stop();
}
Ready to receive fresh news from my site? Subscribe to my RSS.
![ps3eye [lang en]PS3 Eye Processing library[/lang en][lang ru]Processing библиотека для PS3 Eye[/lang ru]](http://www.cleoag.ru/wp-content/files/2009/11/ps3eye.jpg)
I am Multitouch and Augmented Reality developer from Moscow, RUSSIA. 13 years expierence in Flash, 7 years in Lingo, 5 years in Processing and lots more!









2009-11-23 at 1.45 pm
Excellent. Such a nice start.
2009-11-23 at 7.07 pm
Thank you for your library.
But I just get a black image from camera.
I use PS3Eye Camera Setup v3.0.0.0827.
Do you know why?
2009-11-24 at 2.26 pm
2Rocky : Are you on 32bit OS? i heard what 64-bit drives work with errorrs sometimes (
Did it show any error messages?
2009-11-24 at 3.28 pm
2 Den: no error. I’m on 32bit os.
2009-11-24 at 5.38 pm
I use XP SP2. I have test it with java 1.4.2 ,java 1.5 and java 1.6,It doesn’t work.
2009-11-25 at 12.23 am
I will release new update soon. Hope it will work for you. Did you tried lates version of PS3Eye driver from AlexP blog?
2009-11-25 at 7.33 am
2 Den,
You are so nice.
Yes,I use the latest version of PS3EYE driver from AlexP blog.
2009-11-27 at 11.13 am
2Den,
I use your new library named PS3Eye.v.0.0.2.zip,and it still doesn’t work in 32bit XP OS.
2009-11-27 at 11.29 am
2 Den,
Thank you very much.It works.Today I make a stupid mistake.
2009-11-27 at 11.40 am
2 Rocky: Cool! )))
2009-11-29 at 11.32 am
Hey Rocky, could you elaborate on your ‘stupid mistake’ I cant seem to get it working in 32bit xp either? I am confused at there being multiple .dll files and zip files. Thank you
2009-11-29 at 9.33 pm
Dear Den,
I cannot run this library with windows 7. I got the error “Exception in thread “Animation Thread” java.lang.UnsatisfiedLinkError:”. Even if I put the dll in library folder, or processing folder (with the path into system PATH param), or system32 folder.
I’m also interested by updated library “ARToolkit library” the multi-recognition…
2009-11-29 at 11.02 pm
Dear all,
Sorry for my previous comment. after having copyed PS3EyeLib.ddl (and not PS3Eye.dll) it works.
I remain interested by your upgraded library “ARToolkit library”
2009-11-29 at 11.37 pm
i will release it soon. i need to refactor code before.
2009-11-30 at 4.46 pm
2 gcolefla,
You should use the *latest* PS3EYE driver.And Copy PS3EyeLib.dll from you /Program Files/AlexP/ folder to /windows/system32/
2009-12-01 at 9.24 pm
Den
did already today some testing with PS3EyeMyron.
Until now found 2 basic problems:
1. minDensity and maxDensity dont work as expected
2. If cameraSize!= displayWindowSize the glob Information is not correctly returned to my sketch.
I could send you some videos and SourceCode if you give me your email adress.
take care knutl
2009-12-06 at 4.20 am
i get an error – cannot find a class or type named “PS3EYE”.
PS3EyeLib.dll is in both the processing folder an in system32. Are you familiar with this error?
2009-12-07 at 2.23 pm
Looks like a nice work. I m not tha good at programing , could u plz instract me how i could use this dll in visual basic .net 2008?
2009-12-26 at 3.01 am
i got the same error as gcolefla. can u help pls?
2010-01-08 at 6.12 pm
[...] to use ps3eye with processing i recommend using the newest of the old (pre 4.0) version of alex p’s windows driver. together with Den Ivanov’s ps3 eye processing library. [...]
2010-01-29 at 1.20 pm
Операционка на ПС Windows 7×64, есть камера PS3 Eye. прошу дать подробные инструкции по подключению камеры к ПС и использовании её в Skype. Очень надо. Большое спасибо.
2010-02-22 at 10.18 pm
Also check out the new CL-Eye Platform SDK (as it contains a processing.org/JNI Wrapper