wechat-miniprogram / wechat-miniprogram/miniprogram-demo

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

Open
#131 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.2k
Forks
2.2k
Avg merge
10h 34m
Merged PRs (30d)
2

Description

 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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with miniprogram/packageAPI/pages/ar/photo-face-detect/behavior.js at the linked session configuration. Check the face-detection and plane-tracking API documentation to determine whether track.plane is required for static-image detection. Done means documenting the requirement and updating the example or its explanation if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, mobile
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.