Re: Framework for ambient light level?
Re: Framework for ambient light level?
- Subject: Re: Framework for ambient light level?
- From: Noah Desch <email@hidden>
- Date: Thu, 24 Apr 2014 22:44:59 -0400
> On Apr 24, 2014, at 5:34 PM, Rick Mann <email@hidden> wrote:
>
>
>> On Apr 24, 2014, at 14:10 , William Squires <email@hidden> wrote:
>>
>> iii) Averages all the pixels to come up with a (rough) gauge of ambient light level (as an unsigned byte) - preferably by using the graphics coprocessor to unload the task from the main CPU!
>
> Might be hard; I suspect the camera's auto aperture will affect your measurements. I don't know if it can be disabled or controlled
Better would be to just read the current aperture setting if there's a way to get it. Since it's already auto-calibrated that should approximate the light level.
-Noah
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden