| | |
| | | let runtime = new $Util.RuntimeOptions({ }); |
| | | console.log('-----监测图片--') |
| | | client.searchFaceAdvance(searchFaceAdvanceRequest, runtime).then(re=>{ |
| | | console.log('返回结果') |
| | | console.log(re.statusCode) |
| | | // console.log('返回结果') |
| | | // console.log(re.statusCode) |
| | | if(re.statusCode===200){ |
| | | const matchList=re.body.data?.matchList |
| | | console.log('得到的人脸库') |
| | | // console.log('得到的人脸库') |
| | | console.log(matchList) |
| | | if(matchList?.length>0){ |
| | | const faceItems =matchList[0].faceItems |
| | |
| | | |
| | | } |
| | | }).finally(()=>{ |
| | | console.log('---------------都要执行的') |
| | | // console.log('---------------都要执行的') |
| | | // 删除图片 |
| | | delImg(path) |
| | | }) |