ios - Access device camera exposure value before taking a picture -


i'm using wonderful gpuimage framework brad larson , have @ point instance of avcapturedevice (property inputcamera gpuimagevideocamera class) want read actual exposure value before taking picture, in metadata information created after picture taken. there way value live?

set avcapturesession, can exposure data in real time from:

- (void)captureoutput:(avcaptureoutput *)captureoutput didoutputsamplebuffer:(cmsamplebufferref)samplebuffer  fromconnection:(avcaptureconnection *)connection{     lightsamp++;    if(lightsamp>30){       cfdictionaryref metadatadictionary = cmgetattachment(samplebuffer, kcgimagepropertyexifdictionary, null);       nsdictionary *metadict= (__bridge nsdictionary*)metadatadictionary;        nslog(@"exposure %@",metadict );       lightsamp=0;     } } 

}


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -