Author Message

<  beginners  ~  Sony PS3 Eye

PostPosted: Tue Dec 22, 2009 11:35 pm
Joined: Tue Dec 22, 2009 10:33 pmPosts: 4
I've seen some people on the board have been successful with getting the PS3 Eye to run in Windows Vista. I'm having a problem with ofVideoGrabber recognizing that the camera is connected. My camera works in Amcap but when I run an opencv application I get the following:


***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****

SETUP: Setting up device 0
ERROR - Could not find specified video device

SETUP: Disconnecting device 0
SETUP: freeing Control
SETUP: freeing Capture Graph
SETUP: freeing Main Graph
SETUP: Device 0 disconnected and freed

OF_ERROR: error allocating a video device
OF_ERROR: please check your camera with AMCAP or other software

Process returned 0 (0x0) execution time : 17.261 s
Press any key to continue.


I tried the suggestion of changing that one line in ofVideoGrabber.cpp like suggested in this post viewtopic.php?p=6282#p6282 but the issue is still occurring. Does anyone have any suggestions?


Offline Profile
PostPosted: Wed Dec 23, 2009 2:43 am
User avatarSite AdminJoined: Mon Feb 05, 2007 9:31 pmPosts: 1806Location: brooklyn
joe_l,

what version of the driver are you using?

if you use amcap (a direct show testing / recording app) what does amcap say?

you might see some useful info here:
http://nuigroup.com/forums/viewthread/2921/P375/

and you might try this version of tbeta (now called ccv) which added ps3 support:
http://nuigroup.com/forums/viewthread/4023/
to see if it work?

take care,
zach


Offline Profile
PostPosted: Wed Dec 23, 2009 1:16 pm
Joined: Tue Dec 22, 2009 10:33 pmPosts: 4
Hi Zach,

The driver version is v3.0.0.0901. When I run amcap it picks up the PS3 Eye automatically but doesn't give me any messages. I'll check out the information in both of the links you posted to see if any of the suggested methods work.

joe


Offline Profile
PostPosted: Wed Dec 23, 2009 4:05 pm
User avatarSite AdminJoined: Mon Feb 05, 2007 9:31 pmPosts: 1806Location: brooklyn
if you preview in amcap, does it work?

thanks!
zach


Offline Profile
PostPosted: Wed Dec 23, 2009 5:21 pm
Joined: Tue Dec 22, 2009 10:33 pmPosts: 4
Yep, the PS3 Eye is working in amcap. It's picking up video from the camera, and when I click on Options (in the amcap window) Preview is selected.


Offline Profile
PostPosted: Wed Dec 23, 2009 5:38 pm
Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn
I remember I had to update DirectX at some point. I'm running version 10.

Also, try selecting a mode that OF will like before closing Amcap. Something like 640x480 @ 30 fps. There is some sort of persistence in the settings between Amcap and OF that I don't completely understand.


Offline Profile
PostPosted: Thu Dec 24, 2009 3:22 am
Joined: Tue Dec 22, 2009 10:33 pmPosts: 4
Hey Kyle,

Thanks for the suggestions. I just checked my DirectX version and I have DirectX 10 installed.

I launched amcap and set the resolution and framerate to 640x480 @30fps (previously it was at 320x240 15fps) and then saved that change but OF is still not picking up that the cam is connected :(


Offline Profile
PostPosted: Mon Jan 04, 2010 7:54 pm
Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn
AlexP just announced a new version of the PS3Eye driver, along with a new site dedicated to managing it:

http://codelaboratories.com/

He has also released a new multicam driver that allows more than 2 cameras and doesn't automatically do stitching.

http://codelaboratories.com/downloads/

For example, an 8-camera array:

http://codelaboratories.com/showcase/

People are already using it for stereo:

http://www.youtube.com/watch?v=l5qwSPbSHZA

I suspect multi-cam stereo isn't far away.


Offline Profile
PostPosted: Sun Jan 24, 2010 3:46 am
User avatarJoined: Wed Aug 13, 2008 12:11 amPosts: 134Location: Buffalo, NY
Hey everyone. I' just wanted to share that I am having great success with this camera in linux, as well as having a lot of fun making new enclosures for them. I was using kaswy's driver but as of Ubuntu 9.10, the camera works at 640x480@30 out of the box, and it even has better white balance than kaswy's which suffered from making everything look yellow. There are no v4l adjustments in the current kernel driver, but if you want to you can replace it with kaswy's or alternatively bear24rw's which has both the white balance fix and full 60/125fps.

I am able to get 3 cameras working simultaneously on my laptop and on a dual core atom desktop system, but only at 640x480@15fps; more than that and one of the cameras does not send new frames properly. I'm guessing that the issue is that 3 cameras use more bandwidth than the USB controller can handle. Does anyone have experience with this kind of issue? Would getting additional PCI/PCMCIA/ExpressCard USB controller cards solve the problem? I'm working on a project that I would like to be able to use more cameras with, as many as possible in a single system.

Thanks in advance


Offline Profile
PostPosted: Thu Feb 11, 2010 6:13 am
Joined: Fri Oct 24, 2008 7:08 amPosts: 13Location: Las Vegas
kylemcdonald wrote:
AlexP just announced a new version of the PS3Eye driver, along with a new site dedicated to managing it:

http://codelaboratories.com/

He has also released a new multicam driver that allows more than 2 cameras and doesn't automatically do stitching.

http://codelaboratories.com/downloads/

For example, an 8-camera array:

http://codelaboratories.com/showcase/

People are already using it for stereo:

http://www.youtube.com/watch?v=l5qwSPbSHZA

I suspect multi-cam stereo isn't far away.


Here is the list of upcoming features of the new CL-Eye SDK:

- Added camera red LED access API

- Added three additional camera modes for a total of five supported operation modes:

CLEYE_MONO_PROCESSED - returns monochrome camera image processed with linear/non-linear transforms
CLEYE_COLOR_PROCESSED - returns color camera image processed with linear/non-linear transforms
CLEYE_MONO_RAW - returns unprocessed monochrome camera image
CLEYE_COLOR_RAW - returns unprocessed color camera image
CLEYE_BAYER_RAW - returns unprocessed camera image directly from the sensor (Bayer pattern)

- Added sub 1fps frame rate selection for large exposure times (up to 10 seconds @ VGA). This could be useful for applications that acquire images in almost complete darkness, for example the astronomy use.

- The capture in QVGA mode now goes all the way up to 187fps!!!

- Implemented extensive list of camera capture frame rates:

QVGA resolution - 77 rates defined (0.26 - 187.35fps)
VGA resolution - 133 rates defined (0.1 - 75.03fps)

- Added stereo vision C++ code sample (CLEyeStereoVision)

- Added camera latency test code sample (CLEyeLatency)

To read more visit http://codelaboratories.com/forums/viewthread/143/

AlexP



_________________
Computing is not about computers any more. It is about living...
Offline Profile
PostPosted: Fri Feb 12, 2010 7:31 pm
Joined: Fri Mar 02, 2007 3:07 pmPosts: 141Location: London
http://labs.ideo.com/2009/02/11/hacked- ... ch-display

Has a lovely rear-pro multi touch project going using OF, and the drivers.




_________________
___________________________________
http://joelgethinlewis.com
-------------------------------------------------
***********************************
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Offline Profile
PostPosted: Tue Apr 20, 2010 8:32 am
User avatarJoined: Tue Feb 09, 2010 6:55 pmPosts: 65Location: Essen, Ruhrgebiet, Germany
HI guys,

I just ordered the PS3 Eye from Amazon and I am really excited to get it.
Doesn't anyone of you experts want to write a page in the wiki on how to get the cam working with OF on WIndows?
I guess that would be a great help for anybody


Offline Profile
PostPosted: Fri Apr 23, 2010 3:24 pm
User avatarJoined: Tue Feb 09, 2010 6:55 pmPosts: 65Location: Essen, Ruhrgebiet, Germany
Hi,

I finaly got my PS3 Eye and got it working under windows.

Now I have a few questions:
Do I still have to do any fancy tweaks to get a high FPS in of? I got OF061 here and I am really wondering.

How can I check the FPS that come from the camera in OF?

Thanks
Snoogie


Offline Profile
PostPosted: Fri Apr 23, 2010 3:43 pm
Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn
You should be able to get 640x480 @ 60 fps or 320x240 @ 120 fps just by setting the pin in AmCap, closing AmCap, and then running your OF app. Whatever the last setting was in AmCap will be preserved by OF.

Anything higher than 120 fps will have to be done in Visual Studio with the CL-Eye API directly.


Offline Profile
PostPosted: Fri Apr 23, 2010 3:59 pm
User avatarJoined: Tue Feb 09, 2010 6:55 pmPosts: 65Location: Essen, Ruhrgebiet, Germany
Thanks for the fast reply.

Just to get you right, with Amcap you mean the CL-Eye Test Applikation that has the same look and feel, right?

When I eddited the settings, close it and start my app I only get 30FPS @ 320x240 running the latest driver.


Offline Profile

Display posts from previous:  Sort by:

All times are UTC
Page 14 of 15
216 posts
Go to page Previous  1 ... 11, 12, 13, 14, 15  Next
Users browsing this forum: No registered users and 1 guest
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron