活体检测代码如下
Ta的回复 :function truePeople(imgData) { console.log(imgData.slice(22)) $.ajax({ url: 'https://aip.baidubce.com/rest/2.0/face/v3/faceverify?access_token=6666', type: 'POST', data: JSON.stringify({ image_type: 'BASE64', image: imgData.slice(22), }), ContentType: 'application/json', // dataType: "json", success: function (res) { console.log(res.face_liveness) } }) } 错了嘛??