deepar 5.6.10 → 5.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -244,6 +244,23 @@ If you are using non-default DeepAR camera apply the rotation with:
244
244
  deepAR.setVideoRotation(90) // or 270
245
245
  ```
246
246
 
247
+ ## Long distance face tracking (better accuracy)
248
+ In some cases, it is needed to have face tracking at longer distances, not just at hand-held distances.
249
+ For that use-case, DeepAR comes with upgraded face tracking model which works better at distances and is more accurate in general.
250
+ It can also be used if more accurate beauty effects are needed.
251
+
252
+ > ⚠️ This face tracking model works only for single person face tracking, ie. it cannot track multiple faces.
253
+
254
+ To enable this face tracking mode, pass `enableFaceTrackingCnn` hint at initialization.
255
+ ```javascript
256
+ const deepAR = await deepar.initialize({
257
+ // ...
258
+ additionalOptions: {
259
+ hint: "enableFaceTrackingCnn"
260
+ }
261
+ });
262
+ ```
263
+
247
264
  ## Providing your own canvas for rendering
248
265
 
249
266
  Create canvas directly in the HTML:
package/VERSION.txt CHANGED
@@ -1 +1 @@
1
- DeepAR SDK version: v5.6.10
1
+ DeepAR SDK version: v5.6.11