我如何通过iPhone Camera计算勒克斯或照度.我计算了所有exif数据,如下:
key = FocalLength, value = 3.85
key = MeteringMode, value = 5
key = ShutterSpeedValue, value = 4.591759434012097
key = ExposureProgram, value = 2
key = FocalLenIn35mmFilm, value = 32
key = SceneType, value = 1
key = FNumber, value = 2.4
key = PixelXDimension, value = 480
key = ExposureTime, value = 0.04166666666666666
key = BrightnessValue, value = -0.2005493394308445
key = ApertureValue, value = 2.526068811667588
key = Flash, value = 32
key = ExposureMode, value = 0 …Run Code Online (Sandbox Code Playgroud) 我试图通过链接下载示例代码
http://www.magtek.com/support/software/downloads/sw/99510108.zip
这是一个读卡器api,这是一个示例代码.当我运行此代码时,我收到错误:
ld: warning: ignoring file /Users/gaurav.garg/Downloads/99510108/SampleCode/Lib/libMTSCRA.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MTSCRA", referenced from:
objc-class-ref in MagTekDemoAppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
MTSCRA类只是一个头文件,而且我已解决的解决方案我们必须在目标的构建构建阶段的编译源路径中添加.m文件...但不幸的是我没有MTSCRA.m文件.MTscra.h具有AudioToolBox和externalAccesory框架.