deepar 5.5.2 → 5.6.0-alpha-141
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/VERSION.txt +1 -1
- package/js/deepar.esm.js +1 -1
- package/js/deepar.js +1 -1
- package/js/dynamicModules/mediaPipe.js +1 -1
- package/js/dynamicModules/xzimg.js +1 -1
- package/js/types/DeepAR.d.ts +17 -0
- package/js/types/initParams.d.ts +6 -0
- package/js/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/wasm/deepar.wasm +0 -0
- package/wasm/dyArcoreImageLoader.wasm +0 -0
- package/wasm/dyArcorePhysics.wasm +0 -0
- package/wasm/dyArcoreScripting.wasm +0 -0
package/js/types/DeepAR.d.ts
CHANGED
|
@@ -403,4 +403,21 @@ export declare class DeepAR {
|
|
|
403
403
|
*/
|
|
404
404
|
setZoom(zoomLevel: number): void;
|
|
405
405
|
setFov(useDefaultFov: boolean, fov?: number): void;
|
|
406
|
+
/**
|
|
407
|
+
* Gets the closest point on a mesh to a given point.
|
|
408
|
+
*
|
|
409
|
+
* @param meshParentNodeName The name of the parent node of the mesh.
|
|
410
|
+
* @param point The point in the same space as a mesh.
|
|
411
|
+
* @returns closest point on the mesh to the given point.
|
|
412
|
+
*/
|
|
413
|
+
getClosestPointOnMesh(meshParentNodeName: string, point: Float32Array): Float32Array;
|
|
414
|
+
/**
|
|
415
|
+
* Gets the transformation between two nodes.
|
|
416
|
+
*
|
|
417
|
+
* @param srcNodeName source node.
|
|
418
|
+
* @param dstNodeName destination node.
|
|
419
|
+
* @returns Matrix that describes the transformation from srcNode to dstNode.
|
|
420
|
+
*/
|
|
421
|
+
getTransformationBetween(srcNodeName: string, dstNodeName: string): Float32Array;
|
|
422
|
+
setReadPixelsAsync(readAsyncPixels: boolean): void;
|
|
406
423
|
}
|
package/js/types/initParams.d.ts
CHANGED
|
@@ -96,7 +96,9 @@ export interface DeepARParams {
|
|
|
96
96
|
* <li><b>segmentationModelsPredownload</b> - Will download the segmentation models as soon as possible. Note - it will not try to initialize segmentation. Segmentation will be lazy loaded when needed.</li>
|
|
97
97
|
* <li><b>footModelsPredownload</b> - Will download the foot models as soon as possible. Note - it will not try to initialize foot tracking. Foot tracking will be lazy loaded when needed.</li>
|
|
98
98
|
* <li><b>segmentationInit</b> - Will initialize segmentation as soon as possible. Without this hint segmentation is lazy loaded when some segmentation effect is loaded.</li>
|
|
99
|
+
* <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>
|
|
99
100
|
* <li><b>footInit</b> - Will initialize foot tracking as soon as possible. Without this hint foot tracking is lazy loaded when some foot tracking effect is loaded.</li>
|
|
101
|
+
* <li><b>wristInit</b> - Will initialize wrist tracking as soon as possible. Without this hint wrist tracking is lazy loaded when some wrist tracking effect is loaded.</li>
|
|
100
102
|
* </ul>
|
|
101
103
|
*/
|
|
102
104
|
hint?: string | string[];
|
|
@@ -244,6 +246,10 @@ export interface DeepARParams {
|
|
|
244
246
|
* Path to dyArcorePhysics.wasm file. Something like "/path/to/deepar/wasm/dyArcorePhysics.wasm".
|
|
245
247
|
*/
|
|
246
248
|
dyArcorePhysicsWasmPath?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Path to dyArcoreImageLoader.wasm file. Something like "/path/to/deepar/wasm/dyArcoreImageLoader.wasm".
|
|
251
|
+
*/
|
|
252
|
+
dyArcoreImageLoaderWasmPath?: string;
|
|
247
253
|
/**
|
|
248
254
|
* Dynamic JS modules paths.
|
|
249
255
|
*/
|
package/js/types/version.d.ts
CHANGED
package/package.json
CHANGED
package/wasm/deepar.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|