File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export interface ISsdMobilenetv1Options {
379
379
}
380
380
381
381
// example
382
- const options new SsdMobilenetv1Options ({ minConfidence: 0.8 })
382
+ const options = new SsdMobilenetv1Options ({ minConfidence: 0.8 })
383
383
```
384
384
385
385
### TinyFaceDetectorOptions
@@ -400,7 +400,7 @@ export interface ITinyFaceDetectorOptions {
400
400
}
401
401
402
402
// example
403
- const options new TinyFaceDetectorOptions ({ inputSize: 320 })
403
+ const options = new TinyFaceDetectorOptions ({ inputSize: 320 })
404
404
```
405
405
406
406
### MtcnnOptions
@@ -434,7 +434,7 @@ export interface IMtcnnOptions {
434
434
}
435
435
436
436
// example
437
- const options new MtcnnOptions ({ minFaceSize: 100, scaleFactor: 0.8 })
437
+ const options = new MtcnnOptions ({ minFaceSize: 100 , scaleFactor: 0.8 })
438
438
```
439
439
440
440
<a name =" usage-utility-classes " ></a >
@@ -509,7 +509,7 @@ const detections2 = await faceapi.tinyFaceDetector(input, options)
509
509
const detections3 = await faceapi .mtcnn (input, options)
510
510
const landmarks1 = await faceapi .detectFaceLandmarks (faceImage)
511
511
const landmarks2 = await faceapi .detectFaceLandmarksTiny (faceImage)
512
- const descriptor = await faceapi .computeDescriptor (alignedFaceImage)
512
+ const descriptor = await faceapi .computeFaceDescriptor (alignedFaceImage)
513
513
```
514
514
515
515
All global neural network instances are exported via faceapi.nets:
You can’t perform that action at this time.
0 commit comments