# baiduFaceLiveLicense **Repository Path**: tyousan_admin/baiduFaceLiveLicense ## Basic Information - **Project Name**: baiduFaceLiveLicense - **Description**: baiduFaceLiveLicense - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-06 - **Last Updated**: 2023-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 百度人脸识别模块配套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授权模块包。 关于idl-key的说明: 插件参数里面的secType:设置图片加密类型,type=0 基于base64 加密;type=1 基于百度安全算法加密(当为1时,需要把加密文件打包到授权插件包里面idl-key.face-ios、idl-key.face-android)