We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Pages: 1 2 
PS3 Eye processing library (Read 7195 times)
PS3 Eye processing library
Nov 22nd, 2009, 1:59pm
 
Just wrote PS3 Eye library for Processing -

cleoag.ru/2009/11/23/ps3-eye-processing-library/

This is my first c++ expierence, so maybe have some bugs. Need testing.
Re: PS3 Eye processing library
Reply #1 - Nov 22nd, 2009, 8:53pm
 
if someone test this library, please post results in this thread ))
Re: PS3 Eye processing library
Reply #2 - Nov 23rd, 2009, 7:22am
 
I will give it a try within the next days and give you my feedback
greetings knutl
Re: PS3 Eye processing library
Reply #3 - Nov 23rd, 2009, 8:09pm
 
den,

Thank you for doing this! I'm looking for a library for this cam for a while. I used JMyron too but I don't know what problem you had with it (yes it has not been updated for several years). I tried your library but I got blank screen and the red light on the cam doesn't light on. I used a vista 64-bit. I then tried 32-bit vista and it worked beautifully! This experience is consistent with my experience on the AlexP's driver with other capturing programs like AmCap and virtual dub. Somehow Alex didn't manage to write a good 64-bit driver but on 32 bit systems it's superb. So, will you be adding functions like filter and capture pins functions so that video modes and exposures and such can be adjusted manually and by calling subroutines? You're doing great service to the processing community. I can imagine many multitouch screens being setup using this cam and your library! Great job.

BTW I've kept your example program on for about 15 minutes and it didn't crash! Oh, I won't be setting up multitouch screens but I will teach college physics with it. Students can learn about motions with this cheap but potentially very good setup.
Re: PS3 Eye processing library
Reply #4 - Nov 23rd, 2009, 11:23pm
 
Thanx for feedback, liudr

i didn test it on 64bit OS, it work on my Window7 32bit and Vista-32 without any problem, probably AlexP drivers dont handle 64-bit right. I hope he will fix this in next version of Drivers.

I will add more stuff into library soon, all settings etc... )
Re: PS3 Eye processing library
Reply #5 - Nov 24th, 2009, 3:26am
 
Hi den
really a good job. Thnx a lot for this nice library.
Basically I can only give some remarks on what liudr already sayed.
I installed it on my vista desktop and on my xp Laptop.
Worked on both witout any problems !
I had my destop on during the whole night and had the camera
running with your testsketch: No problem.
Some little comments on some exceptions:
1. If I unplug the camera and re-start the sketch (keeping the camera unplugged), Java crashes
2. Invalid settings e.g.
int cameraWidth = 600;
int cameraHeight = 440;
are accepted, but the camera delivers ´destroyed images (surprize:)
3. Invalid setting
int cameraRate = 33;
is also accepted. camera delivers strange images Smiley

I will use your lib now within JMYron and OpenCV and will post the results.

Thny again for sharing this work with us, looking forward to see your next version
greetings knutl
Re: PS3 Eye processing library
Reply #6 - Nov 24th, 2009, 10:33am
 
Den,

I also ran your program under xp 32-bit for at least an hour and it's stable and fast. Please give us some updates once you have more functions integrated, like settings and such. If everything works fine, I may buy a bunch of these cameras and run your capture lib in my college physics labs. I have a $400 camera but it's too expensive to equip a few lab rooms with. The $30-$40 cameras are all too slow and produce less frames than this PS3 eye. I'm very excited! Keep up your excellent work! Thank you very much!
Re: PS3 Eye processing library
Reply #7 - Dec 28th, 2009, 9:48am
 
hi, i m using the latest drivers from AlexP, but had no luck working with this lib, since it claims i dont have the dependent libraries.

i have checked and these are the missing dll files (i believe i would need the SDK, which i can't find anywhere)

PS3EYELIB.DLL
IESHIMS.DLL

where can i get the sdk, anyone ?

oh, im using windows7 x64 + latest drivers from alexp (december revision i think)
Re: PS3 Eye processing library
Reply #8 - Dec 28th, 2009, 12:44pm
 
Have you tried the amcap program and the ps3eye test program to make sure AlexP's library and driver is working?
Next, you may find the PS3EYELIB.DLL under the AlexP's folder:
C:\Program Files\AlexP or where you installed it. Copy the .dll to your processing.exe folder.

I don't know what IESHIMS.DLL does. Where did you get that name? I don't even have it on my xp system?!

Would you post a reply about success/failure just to give us an update?
Re: PS3 Eye processing library
Reply #9 - Dec 28th, 2009, 1:39pm
 
i have installed latest drivers from http://codelaboratories.com/downloads/

there is no ps3eyelib.dll in the folder where it was installed, and that folder is no longer c:\program filer\alexp.

the dll files i've shown are the dependencies found from the PS3Eye.dll file, which were missing from my system.

have you tried the new drivers

what system are you running

PS: oh and im sure the drivers are installed. ps3 works on the CL-Eye Test application
Re: PS3 Eye processing library
Reply #10 - Dec 28th, 2009, 2:27pm
 
ok, these are the dependencies of ps3eye.dll found by dumpbin

MSVCR90.dll
KERNEL32.dll
PS3EyeLib.dll
msvcm90.dll
mscoree.dll

Re: PS3 Eye processing library
Reply #11 - Dec 28th, 2009, 2:54pm
 
The PS3Eye processing library was written specifically for AlexP's SDK and will not work with another SDK like CL-PS3eye. I've never used CL-ps3eye but it seems AlexP has renamed his programs to CL-ps3eye and possibly made enough changes to render the processing library, which uses pre-CL SDK version, unusable. I'm unable to find the original link to the pre-CL lib that works with processing lib. If you want it I can email to you. Send me a message if you will. The program is ~9MB.
Re: PS3 Eye processing library
Reply #12 - Dec 28th, 2009, 3:03pm
 
ok, please email the old pack to me, i will give it a try and report back if it worked.

anyway i'll post my moves, just for the record. hopefully there will be a new library version later on.

(running windows7 64bit )

---
1. installed latest drivers from alex.
2. crashes with UnsatisfiedLinkError on PS3Eye.dll file.
3. searched the web for PS3EyeLib.dll and i've found it in CCV's package, so most logical thing to do, copy it to processing's folder
4. ...crashes with UnsatisfiedLinkError on PS3Eye.dll file.
5. go to 2. until it gets on your nerve and you quit or liudr saves the day

Re: PS3 Eye processing library
Reply #13 - Dec 28th, 2009, 6:38pm
 
and liudr saved the day. its working nicely.
thanks
Re: PS3 Eye processing library
Reply #14 - Dec 28th, 2009, 8:19pm
 
No problem. I'm actively using this library for my physics lab programs.

Just want to let you know that you need to copy ps3eye.dll from the processing lib to your exported .exe program folder if you need to export processing to windows programs.
Pages: 1 2