Playstation Eye on matlab
12 ビュー (過去 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!