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

shopar-plugin

Package Overview
Dependencies
Maintainers
0
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shopar-plugin - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

dist/deepar/models/face-cnn/face-pdm.zip

1

dist/deepar/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>

@@ -147,2 +148,36 @@ */

};
faceTrackingCnnConfig?: {
/**
* Path to the pose libPoseEstimation.wasm file, e.g. "/path/to/deepar/wasm/libPoseEstimation.wasm".
*/
poseEstimationWasmPath?: string;
/**
* Path to the detector model, e.g. "/path/to/deepar/models/face-cnn/face-det.bin".
*/
detectorPath?: string;
/**
* Path to the tracker model, e.g. "/path/to/deepar/models/face-cnn/face-track.bin".
*/
trackerPath?: string;
/**
* Path to the face model object file, e.g. "/path/to/deepar/models/face-cnn/face.obj".
*/
objPath?: string;
/**
* Path to pdm zip, e.g. "/path/to/deepar/models/face-cnn/face-pdm.zip".
*/
pdmZipPath?: string;
/**
* Path to tfjs-backend-wasm.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm.wasm"
*/
tfjsBackendWasmPath?: string;
/**
* Path to tfjs-backend-wasm-simd.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm-simd.wasm"
*/
tfjsBackendWasmSimdPath?: string;
/**
* Path to tfjs-backend-wasm-threaded-simd.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm-threaded-simd.wasm"
*/
tfjsBackendWasmThreadedSimdPath?: string;
};
/**

@@ -149,0 +184,0 @@ * Segmentation module path and options.

2

dist/deepar/js/types/version.d.ts
/**
* DeepAR Web SDK version.
*/
declare const version = "5.6.10-shopar";
declare const version = "5.6.11-shopar";
export { version };
{
"name": "deepar",
"version": "5.6.10-shopar",
"version": "5.6.11-shopar",
"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.10-shopar
DeepAR SDK version: v5.6.11-shopar
{
"name": "shopar-plugin",
"version": "0.8.0",
"version": "0.8.1",
"description": "Plugin for the Web that seamlessly integrates into your webpage to create embedded virtual try-on and 3D preview capabilities.",

@@ -5,0 +5,0 @@ "main": "dist/shopar-plugin.esm.js",

@@ -35,3 +35,3 @@ # ShopAR Plugin

```html
<script src="https://cdn.jsdelivr.net/npm/shopar-plugin@0.8.0/dist/shopar-plugin.js"></script>
<script src="https://cdn.jsdelivr.net/npm/shopar-plugin@0.8.1/dist/shopar-plugin.js"></script>
```

@@ -157,3 +157,3 @@

- If provided, defines where the additional ShopAR plugin files are fetched from.
- Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@0.8.0/dist`
- Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@0.8.1/dist`
- `defaultUI` (optional)

@@ -160,0 +160,0 @@ - Type: `boolean`

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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 too big to display

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