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

deepar

Package Overview
Dependencies
Maintainers
1
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.4-alpha-193 to 5.6.4

2

js/types/version.d.ts
/**
* DeepAR Web SDK version.
*/
declare const version = "5.6.4-alpha-193";
declare const version = "5.6.4";
export { version };
{
"name": "deepar",
"version": "5.6.4-alpha-193",
"version": "5.6.4",
"description": "The official DeepAR Web SDK",

@@ -17,3 +17,2 @@ "main": "js/deepar.esm.js",

"background blur",
"shoe try-on",
"AR mini-games"

@@ -20,0 +19,0 @@ ],

@@ -12,3 +12,2 @@ # deepar

- Background blur.
- Shoe try-on.
- AR mini-games.

@@ -163,14 +162,8 @@

DeepAR has some callbacks you can implement for additional informations. For example,
to check if feet are visible in the camera preview.
to check if face is detected in the scene.
```javascript
await deepAR.switchEffect('https://cdn.jsdelivr.net/npm/deepar/effects/Shoe');
deepAR.callbacks.onFeetTracked = (leftFoot, rightFoot) => {
if(leftFoot.detected && rightFoot.detected) {
console.log('Both foot detected!');
} else if (leftFoot.detected) {
console.log('Left foot detected!');
} else if (rightFoot.detected) {
console.log('Right foot detected!');
} else {
console.log('No feet detected!');
await deepAR.switchEffect('https://cdn.jsdelivr.net/npm/deepar/effects/aviators');
deepAR.callbacks.onFaceTracked = function(faceDataArr) {
if (faceDataArr[0].detected) {
console.log("Face is detected!");
}

@@ -182,3 +175,3 @@ };

```javascript
deepAR.callbacks.onFeetTracked = undefined;
deepAR.callbacks.onFaceTracked = undefined;
```

@@ -332,11 +325,2 @@

},
footTrackingConfig: {
poseEstimationWasmPath: 'path/to/deepar/wasm/libxzimgPoseEstimation.wasm',
detectorPath: 'path/to/deepar/models/foot/foot-detection-96x96x6.bin',
trackerPath: 'path/to/deepar/models/foot/foot-tracker-96x96x18-test.bin',
objPath: 'path/to/deepar/models/foot/foot-model.obj',
tfjsBackendWasmPath: 'path/to/deepar/wasm/tfjs-backend-wasm.wasm',
tfjsBackendWasmSimdPath: 'path/to/deepar/wasm/tfjs-backend-wasm-simd.wasm',
tfjsBackendWasmThreadedSimdPath: 'path/to/deepar/wasm/tfjs-backend-wasm-threaded-simd.wasm',
},
deeparWasmPath: 'path/to/deepar/wasm/deepar.wasm'

@@ -343,0 +327,0 @@ }

@@ -1,1 +0,1 @@

DeepAR SDK version: v5.6.4-alpha-193
DeepAR SDK version: v5.6.4

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