Playstation Eye on matlab

조회 수: 7 (최근 30일)
Milad Bejjani
Milad Bejjani 2011년 2월 15일
댓글: Jordan Britt 2022년 11월 4일
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.

답변 (6개)

Andrew Scallon
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
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!!!
Jordan Britt
Jordan Britt 2022년 11월 4일
thank you so much!

댓글을 달려면 로그인하십시오.


Hugo Santos
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.

Andrew Newell
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
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
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

Fabio Bobrow
Fabio Bobrow 2012년 6월 5일
MATLAB 2012a? CL-Eye 5.0.1? Does anyone succeeded?

John
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):
  1. Install driver from code laboratories (google it)
  2. Run the test program that comes with the driver and verify that the camera is working
  3. Install 32 bit matlab if you have 64 bit installed (you can have both at the same time)
  4. Install the "OS Generic Video Interface" hardware support package (you'll have to change the install folder if you already installed it in 64bit)
  5. type "imaqhwinfo" in the terminal, you should see 'windvideo' under installed adapters
  6. type "imaqhwinfo('winvideo')", there should be at least one DeviceId (probably 1)
  7. 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.
  8. Pat yourself on the back
  댓글 수: 1
Yunfan Wang
Yunfan Wang 2016년 1월 27일
Hi, what's version of Matlab you are using ?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by