deepar 5.6.10 → 5.6.11
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/README.md +17 -0
- package/VERSION.txt +1 -1
- package/js/deepar.esm.js +1 -1
- package/js/deepar.js +1 -1
- package/js/dynamicModules/xzimg.js +1 -1
- package/js/types/DeepAR.d.ts +1 -0
- package/js/types/initParams.d.ts +35 -0
- package/js/types/version.d.ts +1 -1
- package/models/face-cnn/face-pdm.zip +0 -0
- package/models/face-cnn/face-track.bin +0 -0
- package/models/face-cnn/face.obj +4571 -0
- package/package.json +1 -1
- package/wasm/deepar.wasm +0 -0
- package/wasm/dyArcorePhysics.wasm +0 -0
- package/wasm/dyArcoreScripting.wasm +0 -0
package/js/types/DeepAR.d.ts
CHANGED
package/js/types/initParams.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export interface DeepARParams {
|
|
|
101
101
|
* <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>
|
|
102
102
|
* <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>
|
|
103
103
|
* <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>
|
|
104
|
+
* <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>
|
|
104
105
|
* </ul>
|
|
105
106
|
*/
|
|
106
107
|
hint?: string | string[];
|
|
@@ -143,6 +144,40 @@ export interface DeepARParams {
|
|
|
143
144
|
*/
|
|
144
145
|
tfjsBackendWasmThreadedSimdPath?: string;
|
|
145
146
|
};
|
|
147
|
+
faceTrackingCnnConfig?: {
|
|
148
|
+
/**
|
|
149
|
+
* Path to the pose libPoseEstimation.wasm file, e.g. "/path/to/deepar/wasm/libPoseEstimation.wasm".
|
|
150
|
+
*/
|
|
151
|
+
poseEstimationWasmPath?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Path to the detector model, e.g. "/path/to/deepar/models/face-cnn/face-det.bin".
|
|
154
|
+
*/
|
|
155
|
+
detectorPath?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Path to the tracker model, e.g. "/path/to/deepar/models/face-cnn/face-track.bin".
|
|
158
|
+
*/
|
|
159
|
+
trackerPath?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Path to the face model object file, e.g. "/path/to/deepar/models/face-cnn/face.obj".
|
|
162
|
+
*/
|
|
163
|
+
objPath?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Path to pdm zip, e.g. "/path/to/deepar/models/face-cnn/face-pdm.zip".
|
|
166
|
+
*/
|
|
167
|
+
pdmZipPath?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Path to tfjs-backend-wasm.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm.wasm"
|
|
170
|
+
*/
|
|
171
|
+
tfjsBackendWasmPath?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Path to tfjs-backend-wasm-simd.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm-simd.wasm"
|
|
174
|
+
*/
|
|
175
|
+
tfjsBackendWasmSimdPath?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Path to tfjs-backend-wasm-threaded-simd.wasm file, e.g. "path/to/deepar/wasm/tfjs-backend-wasm-threaded-simd.wasm"
|
|
178
|
+
*/
|
|
179
|
+
tfjsBackendWasmThreadedSimdPath?: string;
|
|
180
|
+
};
|
|
146
181
|
/**
|
|
147
182
|
* Segmentation module path and options.
|
|
148
183
|
*/
|
package/js/types/version.d.ts
CHANGED
|
Binary file
|
|
Binary file
|