Playstation Eye on matlab

15 Ansichten (letzte 30 Tage)
Milad Bejjani
Milad Bejjani am 15 Feb. 2011
Kommentiert: Jordan Britt am 4 Nov. 2022
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.

Antworten (6)

Andrew Scallon
Andrew Scallon am 29 Mär. 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 Kommentare
Erick Cardozo
Erick Cardozo am 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!!!
Jordan Britt
Jordan Britt am 4 Nov. 2022
thank you so much!

Melden Sie sich an, um zu kommentieren.


Hugo Santos
Hugo Santos am 19 Mär. 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.

Andrew Newell
Andrew Newell am 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 Kommentar
Matthew
Matthew am 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!

Melden Sie sich an, um zu kommentieren.


Botswana Serengeti
Botswana Serengeti am 7 Mär. 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

Fabio Bobrow
Fabio Bobrow am 5 Jun. 2012
MATLAB 2012a? CL-Eye 5.0.1? Does anyone succeeded?

John
John am 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):
  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 Kommentar
Yunfan Wang
Yunfan Wang am 27 Jan. 2016
Hi, what's version of Matlab you are using ?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by