Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jeeliz/jeelizFaceFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierjs committed Aug 6, 2020
2 parents 259567e + cf9f50e commit 116aafa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,13 @@ JEEFACEFILTERAPI.init({
```javascript
{
'videoElement' //not set by default. <video> element used
//If you specify this parameter,
//all other settings will be useless
//it means that you fully handle the video aspect
// WARN: If you specify this parameter,
// 1. all other settings will be useless
// 2. it means that you fully handle the video aspect
// 3. in case of using web-camera device make sure that
// initialization goes after `loadeddata` event of the `videoElement`,
// otherwise face detector will yield very low `detectState.detected` values
// (to be more sure also await first `timeupdate` event)

'deviceId' //not set by default
'facingMode': 'user', //to use the rear camera, set to 'environment'
Expand Down

0 comments on commit 116aafa

Please sign in to comment.