wechat-miniprogram / miniprogram-demo

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

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

Open bikerr opened 9 months ago

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

https://github.com/wechat-miniprogram/miniprogram-demo/blob/c5893c709336ff52185162dde3915523f0efb4fc/miniprogram/packageAPI/pages/ar/photo-face-detect/behavior.js#L94C14-L94C14

roamzhen commented 9 months ago

不是,可以去掉