Skip to content

Commit 2d92c08

Browse files
fixed some more typos
1 parent d678ed0 commit 2d92c08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export interface ISsdMobilenetv1Options {
379379
}
380380

381381
// example
382-
const options new SsdMobilenetv1Options({ minConfidence: 0.8 })
382+
const options = new SsdMobilenetv1Options({ minConfidence: 0.8 })
383383
```
384384

385385
### TinyFaceDetectorOptions
@@ -400,7 +400,7 @@ export interface ITinyFaceDetectorOptions {
400400
}
401401

402402
// example
403-
const options new TinyFaceDetectorOptions({ inputSize: 320 })
403+
const options = new TinyFaceDetectorOptions({ inputSize: 320 })
404404
```
405405

406406
### MtcnnOptions
@@ -434,7 +434,7 @@ export interface IMtcnnOptions {
434434
}
435435

436436
// example
437-
const options new MtcnnOptions({ minFaceSize: 100, scaleFactor: 0.8 })
437+
const options = new MtcnnOptions({ minFaceSize: 100, scaleFactor: 0.8 })
438438
```
439439

440440
<a name="usage-utility-classes"></a>
@@ -509,7 +509,7 @@ const detections2 = await faceapi.tinyFaceDetector(input, options)
509509
const detections3 = await faceapi.mtcnn(input, options)
510510
const landmarks1 = await faceapi.detectFaceLandmarks(faceImage)
511511
const landmarks2 = await faceapi.detectFaceLandmarksTiny(faceImage)
512-
const descriptor = await faceapi.computeDescriptor(alignedFaceImage)
512+
const descriptor = await faceapi.computeFaceDescriptor(alignedFaceImage)
513513
```
514514

515515
All global neural network instances are exported via faceapi.nets:

0 commit comments

Comments
 (0)