Playstation Eye on matlab
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(6 个)
Andrew Scallon
2019-3-29
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 个评论
Erick Cardozo
2020-1-12
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
2013-3-19
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 个评论
Andrew Newell
2011-2-15
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 个评论
Matthew
2011-8-4
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
2012-3-7
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 个评论
John
2014-11-23
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!