deepar 4.0.3-alpha-696 → 4.0.3-alpha-test
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/js/deepar.d.ts +9 -0
- package/js/deepar.esm.d.ts +9 -0
- package/js/deepar.esm.js +1 -1
- package/js/deepar.js +1 -1
- package/package.json +1 -1
- package/wasm/deepar.wasm +0 -0
- package/wasm/libxzimgPoseEstimation.wasm +0 -0
package/js/deepar.d.ts
CHANGED
|
@@ -86,6 +86,10 @@ export interface DeepARCallbacks {
|
|
|
86
86
|
* @param faceDataArray Information about all the tracked faces.
|
|
87
87
|
*/
|
|
88
88
|
onFaceTracked?: (faceDataArray: FaceData[]) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Called when one or both feet are tracked.
|
|
91
|
+
*/
|
|
92
|
+
onFeetTracked?: () => void;
|
|
89
93
|
/**
|
|
90
94
|
* Called when any DeepAR related event happens
|
|
91
95
|
* @param errorType Type of message.
|
|
@@ -284,6 +288,11 @@ export declare class DeepAR {
|
|
|
284
288
|
* @param callback Callback to be called when the download is complete.
|
|
285
289
|
*/
|
|
286
290
|
downloadFaceTrackingModel(path: string, callback?: () => void): void;
|
|
291
|
+
/**
|
|
292
|
+
* Downloads the foot tracking models defined when creating DeepAR and sets them up. When it's done, the callback is invoked.
|
|
293
|
+
* @param callback Callback to be called when the download is complete.
|
|
294
|
+
*/
|
|
295
|
+
initializeFootTracking(callback?: () => void): void;
|
|
287
296
|
/**
|
|
288
297
|
* Sets the face tracking model data.
|
|
289
298
|
* @param byteArray Face tracking model data.
|
package/js/deepar.esm.d.ts
CHANGED
|
@@ -86,6 +86,10 @@ export interface DeepARCallbacks {
|
|
|
86
86
|
* @param faceDataArray Information about all the tracked faces.
|
|
87
87
|
*/
|
|
88
88
|
onFaceTracked?: (faceDataArray: FaceData[]) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Called when one or both feet are tracked.
|
|
91
|
+
*/
|
|
92
|
+
onFeetTracked?: () => void;
|
|
89
93
|
/**
|
|
90
94
|
* Called when any DeepAR related event happens
|
|
91
95
|
* @param errorType Type of message.
|
|
@@ -284,6 +288,11 @@ export declare class DeepAR {
|
|
|
284
288
|
* @param callback Callback to be called when the download is complete.
|
|
285
289
|
*/
|
|
286
290
|
downloadFaceTrackingModel(path: string, callback?: () => void): void;
|
|
291
|
+
/**
|
|
292
|
+
* Downloads the foot tracking models defined when creating DeepAR and sets them up. When it's done, the callback is invoked.
|
|
293
|
+
* @param callback Callback to be called when the download is complete.
|
|
294
|
+
*/
|
|
295
|
+
initializeFootTracking(callback?: () => void): void;
|
|
287
296
|
/**
|
|
288
297
|
* Sets the face tracking model data.
|
|
289
298
|
* @param byteArray Face tracking model data.
|