Skip to content

Commit b3d2589

Browse files
Merge branch 'master' of https://github.com/justadudewhohacks/face-api.js into train-landmark-models
2 parents eba19b7 + 8601af9 commit b3d2589

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
@@ -94,7 +94,7 @@ The face detector has been trained on a custom dataset of ~10K images labeled wi
9494

9595
### Face Detection & 5 Point Face Landmarks - MTCNN
9696

97-
MTCNN (Multi-task Cascaded Convolutional Neural Networks) represents an alternative face detector to SSD Mobilenet v1 and Tiny Yolo v2, which offers much more room for configuration. By tuning the input parameters, MTCNN is able to detect a wide range of face bounding box sizes. MTCNN is a 3 stage cascaded CNN, which simultanously returns 5 face landmark points along with the bounding boxes and scores for each face. By limiting the minimum size of faces expected in an image, MTCNN allows you to process frames from your webcam in realtime. Additionally with the model size is only 2MB.
97+
MTCNN (Multi-task Cascaded Convolutional Neural Networks) represents an alternative face detector to SSD Mobilenet v1 and Tiny Yolo v2, which offers much more room for configuration. By tuning the input parameters, MTCNN is able to detect a wide range of face bounding box sizes. MTCNN is a 3 stage cascaded CNN, which simultaneously returns 5 face landmark points along with the bounding boxes and scores for each face. By limiting the minimum size of faces expected in an image, MTCNN allows you to process frames from your webcam in realtime. Additionally with the model size is only 2MB.
9898

9999
MTCNN has been presented in the paper [Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks](https://kpzhang93.github.io/MTCNN_face_detection_alignment/paper/spl.pdf) by Zhang et al. and the model weights are provided in the official [repo](https://github.com/kpzhang93/MTCNN_face_detection_alignment) of the MTCNN implementation.
100100

@@ -222,7 +222,7 @@ Detect faces and get the bounding boxes and scores:
222222
// defaults parameters shown:
223223
const forwardParams = {
224224
scoreThreshold: 0.5,
225-
// any number or one of the predifened sizes:
225+
// any number or one of the predefined sizes:
226226
// 'xs' (224 x 224) | 'sm' (320 x 320) | 'md' (416 x 416) | 'lg' (608 x 608)
227227
inputSize: 'md'
228228
}
@@ -249,7 +249,7 @@ const forwardParams = {
249249
// the score threshold values used to filter the bounding
250250
// boxes of stage 1, 2 and 3
251251
scoreThresholds: [0.6, 0.7, 0.7],
252-
// mininum face size to expect, the higher the faster processing will be,
252+
// minimum face size to expect, the higher the faster processing will be,
253253
// but smaller faces won't be detected
254254
minFaceSize: 20
255255
}
@@ -392,4 +392,4 @@ const fullFaceDescription0 = fullFaceDescriptions[0]
392392
console.log(fullFaceDescription0.detection) // bounding box & score
393393
console.log(fullFaceDescription0.landmarks) // face landmarks
394394
console.log(fullFaceDescription0.descriptor) // face descriptor
395-
```
395+
```

0 commit comments

Comments
 (0)