2 of 2
2
Problems with PS3Eye settings
Posted: 14 July 2009 04:27 AM   [ Ignore ]   [ # 16 ]
RankRank
Joined  2009-04-20
Total Posts:  215
Member

could you please release your masterpiece wink? but be very helpful for me.... THX…

Profile
 
 
Posted: 14 July 2009 08:34 AM   [ Ignore ]   [ # 17 ]
RankRank
Joined  2007-06-06
Total Posts:  139
Member

I’ll try to post a patch of the few files I modified. Try this in the meantime though. The range of values that you set gain are 0-79, and exposure 0-511. Trying setting each to the max in the code, compile, and see if you get results. At least this way will show you if your camera is working like it should. If you can’t see anything with these both set at their highest, you might have another issue… like maybe a sensor problem.

 Signature 

- Miketavius

Profile
 
 
Posted: 30 July 2009 02:58 PM   [ Ignore ]   [ # 18 ]
Avatar
RankRankRank
Joined  2008-05-08
Total Posts:  342
Sr. Member
miketavius - 14 July 2009 08:34 AM

I’ll try to post a patch of the few files I modified. Try this in the meantime though. The range of values that you set gain are 0-79, and exposure 0-511. Trying setting each to the max in the code, compile, and see if you get results. At least this way will show you if your camera is working like it should. If you can’t see anything with these both set at their highest, you might have another issue… like maybe a sensor problem.

The max value for the camera exposure is dependent on capture resolution:

320x240 - exposure max = 255
640x480 - exposure max = 511

~Alex

 Signature 

Computing is not about computers any more.  It is about living!

Code Laboratories
CL Studio Live - Video like never before
CL Eye Platform SDK

Profile
 
 
Posted: 26 August 2009 03:27 AM   [ Ignore ]   [ # 19 ]
Rank
Joined  2009-07-27
Total Posts:  43
New Member
MONO - 02 July 2009 07:39 PM

bdahmet - 05 June 2009 04:42 PM
Ok worked great, I actually even set the exposure and gain settings in VS2008 for the PS3 camera.  It works lika a charm…
BTW. for non programmers like me:  To revert to a previous version you hav to choose that option in tortoise svn (thats what I use)…

Hi bdahmet,

I have the same problem you had, and tried to do the same, but I don’t know how to change the exposure and gain settings in VS2008 for the PS3 camera.

Here is what I’ve done for the people that have the same problem:

1) Get a copy of VS2008
2) Get a copy of Tortoise SVN
3) Create a folder
-right click on that folder
-click on SVN Checkout
-copy the URL of the repository http://nuicode.svnrepository.com/svn/tbeta/trunk/tbeta/Windows/ (http://nuicode.com/projects/tbeta for other OS)
-In the revision section put 176
-This will download the SVN version of the CCV
4) Then install the Service Pack 1 for VS2008 from http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en
5) Then follow these compiling instructions http://nuicode.com/projects/tbeta/wiki/Compiling_instructions (The step 3 is in the folder you just created)

At this point I had a problem, the code Build without problems, but when I click “Release/Debug” to Run it give me an error “No Debugging Information: Debugging information for ‘Comunity Core Vision.exe’ cannot be found or does not match. Binary was not built with debug information. Do you want to continue debugging?” (Picture 1)

To solve that error follow these instructions http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/503d3ded-976e-460e-b5f9-7e03454ed387 (thanks casperghost!)

Then is posible for you to have this error: “Unhandled exception at 0x0041f0d0 in Community Core Vision.exe: 0xC0000005: Access violation reading location 0x00000c60.” (picture 2)

To solve that error just point your debugging “Working Directory” to the “Bin” folder. (thanks again casperghost and cerupcat)

Debugging your CCV should run fine at this point!!!

But I still can’t change the gain and exposure of the PS3
It seem it will modifying this code from ofxPS3.cpp, but it doesn’t work for me:

// Start capturing
pCam->StartCapture();
pCam->AutoAGC(false);
pCam->AutoAEC(false);
//pCam->SetExposure(20);
//pCam->SetGain(4);

I uncomment the 2 last lines but it doesn’t work.

Any help would be appreciated!!

Core2Duo T7250 @ 2.0 GHz
2 GB RAM
Windows Vista Home Basic 32 Bits SP1
CCV 1.2
PS3Eye Camera v2.1.0.0130

I’ve downloaded the source code of ccv, but there’s too many chaotic code in icon.h file. does anyone have this file ?

Profile
 
 
Posted: 26 August 2009 01:26 PM   [ Ignore ]   [ # 20 ]
Avatar
Rank
Joined  2009-05-02
Total Posts:  52
New Member

when you uncomment you make the values fixed… Leave them commented to have PS3Test app control them…

 Signature 

http://www.bdtasarim.com
http://bdtasarim.blogspot.com

Profile
 
 
Posted: 04 October 2009 05:04 PM   [ Ignore ]   [ # 21 ]
Avatar
RankRankRank
Joined  2008-05-08
Total Posts:  342
Sr. Member
bdahmet - 26 August 2009 01:26 PM

when you uncomment you make the values fixed… Leave them commented to have PS3Test app control them…

A new pre-release version is out. It integrates PS3Eye multicam and the camera settings issue is fixed.
You can find more abobut ut here: http://nuigroup.com/ps3eye_multicam_ccv/

~Alex

 Signature 

Computing is not about computers any more.  It is about living!

Code Laboratories
CL Studio Live - Video like never before
CL Eye Platform SDK

Profile
 
 
Posted: 23 July 2010 09:10 PM   [ Ignore ]   [ # 22 ]
Rank
Joined  2008-05-05
Total Posts:  86
New Member

I’m finding the same issue with CCV1.3 my PS3 Eye just turns dark

Profile
 
 
Posted: 25 June 2013 01:27 PM   [ Ignore ]   [ # 23 ]
Avatar
Rank
Joined  2013-02-08
Total Posts:  25
New Member

I try to compile CCV-COT-1.3.2-win-src-r60 on VS2008. When I build the solution, it said success.
But when I tried to play debug, I got an error message like Mr. MONO, : Unhandled exception at 0x00a7ff01 in Community Core Vision_debug.exe: 0xC0000005: Access violation reading location 0x00000c60. I have changed the debugging “Working Directory” to the “Bin” folder, but the error message didn’t disappear. I see some message on output dialog :

1>Compiling manifest to resources...
1>Microsoft (RWindows (RResource Compiler Version 6.1.6723.1
1
>Copyright (CMicrosoft Corporation.  All rights reserved.
1>Linking...
1>LINK bin\Community Core Vision_debug.exe not found or not built by the last incremental linkperforming full link

Is this message that cause the problem...??

Image Attachments
break.pngworking directory.png
Profile
 
 
   
2 of 2
2