Comparing version 5.6.11-faceTrackingCnn-alpha-284 to 5.6.11
@@ -104,2 +104,3 @@ /// <reference types="dom-mediacapture-transform" /> | ||
envmap?: string | ArrayBufferLike; | ||
diamondEnvMap?: string | ArrayBufferLike; | ||
}): Promise<void>; | ||
@@ -106,0 +107,0 @@ /** |
@@ -104,2 +104,3 @@ import { ToneMapping } from "./DeepAR"; | ||
* <li><b>faceInit</b> - Will initialize face tracking as soon as possible. Without this hint face tracking is lazy loaded when some face tracking effect is loaded.</li> | ||
* <li><b>enableFaceTrackingCnn</b> - Use CNN face tracking instead of standard face tracking. Enables long distance face tracking and better face tracking accuracy, but performance will be slower.</li> | ||
* </ul> | ||
@@ -106,0 +107,0 @@ */ |
/** | ||
* DeepAR Web SDK version. | ||
*/ | ||
declare const version = "5.6.11-faceTrackingCnn-alpha-284"; | ||
declare const version = "5.6.11"; | ||
export { version }; |
{ | ||
"name": "deepar", | ||
"version": "5.6.11-faceTrackingCnn-alpha-284", | ||
"version": "5.6.11", | ||
"description": "The official DeepAR Web SDK", | ||
@@ -5,0 +5,0 @@ "main": "js/deepar.esm.js", |
@@ -247,2 +247,19 @@ # deepar | ||
## Long distance face tracking (better accuracy) | ||
In some cases, it is needed to have face tracking at longer distances, not just at hand-held distances. | ||
For that use-case, DeepAR comes with upgraded face tracking model which works better at distances and is more accurate in general. | ||
It can also be used if more accurate beauty effects are needed. | ||
> ⚠️ This face tracking model works only for single person face tracking, ie. it cannot track multiple faces. | ||
To enable this face tracking mode, pass `enableFaceTrackingCnn` hint at initialization. | ||
```javascript | ||
const deepAR = await deepar.initialize({ | ||
// ... | ||
additionalOptions: { | ||
hint: "enableFaceTrackingCnn" | ||
} | ||
}); | ||
``` | ||
## Providing your own canvas for rendering | ||
@@ -249,0 +266,0 @@ |
@@ -1,1 +0,1 @@ | ||
DeepAR SDK version: v5.6.11-faceTrackingCnn-alpha-284 | ||
DeepAR SDK version: v5.6.11 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
50986410
2866
3
368
72