Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deepar

Package Overview
Dependencies
Maintainers
0
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepar - npm Package Compare versions

Comparing version 5.6.11-faceTrackingCnn-alpha-284 to 5.6.11

1

js/types/DeepAR.d.ts

@@ -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 @@ */

2

js/types/version.d.ts
/**
* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc