Playstation Eye on matlab
12 views (last 30 days)
Show older comments
Hello everyone I just want to ask if anyone know a way to capture a video from the Playstation eye using the image acquisition toolbox. I want to know how for a project I am working on.
Please if anyone knows respond ASAP.
Thank You.
0 Comments
Answers (6)
Andrew Scallon
on 29 Mar 2019
I have it working on 64 bit windows 10 with driver: https://github.com/jkevin/PS3EyeDirectShow
And the image acquisition toolbox with the Acquisition Using Any Hardware set of functions. That is, use winvideo(); others, like preview() don't work).
Example:
imaqhwinfo
vid = videoinput('winvideo',2)
preview(vid)
[img, ts] = getsnapshot(vid);
save(filename,img);
2 Comments
Erick Cardozo
on 12 Jan 2020
Si, tambien me funciona. el Driver https://github.com/jkevin/PS3EyeDirectShow te direcciona a Universal PS3 Eye Driver 1.0 beta 2.
Se instala, se reinicia, listo!
Thanks!!!
Hugo Santos
on 19 Mar 2013
I have mine working. Installed the 32 bit version of matlab and in the system variables on Environment variable write on PATH the location of .......\CL-Eye Platform SDK\bin and .......\openCV\build\x86\vc10\bin, reboot the system after change the PATH. Go back matlab use the imaqtool command and should be there. And before you ask i have the matlab 7.12.0 R2011a on a windos7. Ps: the cl-eye drive need to be instal.
0 Comments
Andrew Newell
on 15 Feb 2011
First you need to export the video in a suitable format. According to the Wikipedia article on PlayStation Eye, you can use the software on the Eye to create an MPEG-4 file for export. Once you have the file on your computer, you can use the VideoReader class to read the file. Note that MPEG-4 is not supported on all platforms, so you may need to convert the file to some other format like MPEG-1 first.
1 Comment
Matthew
on 4 Aug 2011
Hi there I was just wondering if there has been any progress on this matter. I am trying to access the camera in real time for my thesis so the need for an interface within Matlab is a must.
Please help!
Botswana Serengeti
on 7 Mar 2012
Hello
Did somebody find out how to get the eye camera work with a newer version of Matlab? Somebody had it working with Matlab 2006b: http://codelaboratories.com/forums/viewthread/217/
And other suggested to code an interface in C using Mex http://codelaboratories.com/forums/viewthread/532/#1893
Any recommendation would help
thank you
0 Comments
John
on 23 Nov 2014
I got it! You don't need any of that path stuff. The trick is to install 32 bit matlab, it will not show up in 64bit. You also need to use the OS Generic Video Interface hardware support package, not the webcam package. You should be able to find the camera with imaqhwinfo('winvideo'). FYI you also have to have the code laboratories driver installed as well.
So, these are the steps (in windows):
- Install driver from code laboratories (google it)
- Run the test program that comes with the driver and verify that the camera is working
- Install 32 bit matlab if you have 64 bit installed (you can have both at the same time)
- Install the "OS Generic Video Interface" hardware support package (you'll have to change the install folder if you already installed it in 64bit)
- type "imaqhwinfo" in the terminal, you should see 'windvideo' under installed adapters
- type "imaqhwinfo('winvideo')", there should be at least one DeviceId (probably 1)
- type "imaqhwinfo('winvideo', 1 )" or whatever the device id is. This should display the properties of your ps3 eye camera! If there are 2 or more id's just try them all until you find it.
- Pat yourself on the back
1 Comment
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!