人脸识别api
使用微信的人脸识别读数字,在android机上测试,有时候会卡在读数字页面,没有识别结果,也没有报错 wx.checkIsSupportFacialRecognition({ success(res) { wx.startFacialRecognitionVerifyAndUploadVideo({ name: that.globalData.inputInfo.userName, idCardNumber: that.globalData.inputInfo.userId, checkAliveType:'0' success(res) { console.warn('人脸成功', res) }, fail(res) { console.log(res) wx.showModal({ content: '人脸识别失败' showCancel: false }) } }) }, fail(res) { wx.showModal({ content: '当前微信版本过低,请更新至最新版' showCancel: false }) } })