wechat-miniprogram / miniprogram-demo

微信小程序组件 / API / 云开发示例
https://developers.weixin.qq.com/miniprogram/dev/index.html
MIT License
6.71k stars 2.14k forks source link

静态图片人脸检测 为什么需要plane 这个参数 是必传的吗? #130

Closed bikerr closed 11 months ago

bikerr commented 11 months ago
 const session = this.session = wx.createVKSession({
                    track: {
                        plane: {
                            mode: 3
                        },
                        face: {
                            mode: 2
                        }
                    },
                    version: 'v1',
                    gl: this.gl
                })