百度人脸识别模块配套License模块
Android:(需要先确认自己的电脑安装了jdk,配置javahome环境变量)
1.请将Android_baiduFaceLiveLicense命令处理包/assets目录下idl-license.face-android文件下替换为Android的License文件。
2.在cmd中切换到"Android_baiduFaceLiveLicense命令处理包"目录下。
3.执行命令 jar -cvf baiduFaceLiveLicense.jar *。
4.在"Android_baiduFaceLiveLicense命令处理包"目录下会生成baiduFaceLiveLicense.jar文件。
5.将生成的baiduFaceLiveLicense.jar文件替换/zip/android/baiduFaceLiveLicense/source下的baiduFaceLiveLicense.jar文件。
6.将/zip/android/baiduFaceLiveLicense文件夹压缩为baiduFaceLiveLicense.zip。
7.以上就制作好了安卓的baiduFaceLive授权模块包。
iOS:
1.将/zip/ios/baiduFaceLiveLicense/target下的idl-license.face-android替换为你自己的idl-license.face-ios文件。
2.将/zip/ios/baiduFaceLiveLicense文件夹压缩为baiduFaceLiveLicense.zip。
3.以上就制作好了iOS的baiduFaceLive授权模块包。