const session = wx.createVKSession({
track: {
face: { mode: 1 }
},
})
session.on('updateAnchors', anchors => {
anchors.forEach(anchor => {
console.log('anchor.points', anchor.points)
console.log('anchor.origin', anchor.origin)
console.log('anchor.size', anchor.size)
console.log('anchor.angle', anchor.angle)
})
})
session.on('removeAnchors', () => {
console.log('removeAnchors')
})
session.start(errno => {
if (errno) {
} else {
}
})
进入页面能弹出授权摄像头,但是授权之后没反应,页面一片白,也检测不到人脸,没有输出
手机oppo reno7 SE,android13