Skip to content

Commit

Permalink
fix wrong minFaceSize in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luicfrr committed Apr 22, 2024
1 parent ffcd398 commit 78ffc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ OBS: If you want to use `Skia Frame Processor` you should **DISABLE** auto scali
| `landmarkMode` | Whether to attempt to identify facial `landmarks`: eyes, ears, nose, cheeks, mouth, and so on. | `none` |
| `contourMode` | Whether to detect the contours of facial features. Contours are detected for only the most prominent face in an image. | `none` |
| `classificationMode` | Whether or not to classify faces into categories such as 'smiling', and 'eyes open'. | `none` |
| `minFaceSize` | Sets the smallest desired face size, expressed as the ratio of the width of the head to width of the image. | `0.1` |
| `minFaceSize` | Sets the smallest desired face size, expressed as the ratio of the width of the head to width of the image. | `0.15` |
| `trackingEnabled` | Whether or not to assign faces an ID, which can be used to track faces across images. Note that when contour detection is enabled, only one face is detected, so face tracking doesn't produce useful results. For this reason, and to improve detection speed, don't enable both contour detection and face tracking. | `false` |
| `autoScale` | Should auto scale face bounds, contour and landmarks on native side? If this option is disabled all detection results will be relative to frame coordinates, not to screen/preview. This option should be **DISABLED** if you want to draw on frame using `Skia Frame Processor`. | `false` |

Expand Down
2 changes: 1 addition & 1 deletion src/FaceDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface FaceDetectionOptions {
/**
* Sets the smallest desired face size, expressed as the ratio of the width of the head to width of the image.
*
* @default 0.1
* @default 0.15
*/
minFaceSize?: number

Expand Down

0 comments on commit 78ffc14

Please sign in to comment.