Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
face
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Кубота
face
Commits
c66dbbde
Commit
c66dbbde
authored
Oct 30, 2018
by
vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
parent
c9cb7a07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
README.md
README.md
+6
-6
No files found.
README.md
View file @
c66dbbde
...
...
@@ -204,9 +204,9 @@ const detection = await faceapi.detectSingleFace(input)
By default
**detectAllFaces**
and
**detectSingleFace**
utilize the SSD Mobilenet V1 Face Detector. You can specify the face detector by passing the corresponding options object:
```
javascript
const
detections1
=
await
faceapi
.
detectAllFaces
(
input
,
new
SsdMobilenetv1Options
())
const
detections2
=
await
faceapi
.
detectAllFaces
(
input
,
new
T
inyFaceDetectorOptions
())
const
detections3
=
await
faceapi
.
detectAllFaces
(
input
,
new
MtcnnOptions
())
const
detections1
=
await
faceapi
.
detectAllFaces
(
input
,
new
faceapi
.
SsdMobilenetv1Options
())
const
detections2
=
await
faceapi
.
detectAllFaces
(
input
,
new
faceapi
.
inyFaceDetectorOptions
())
const
detections3
=
await
faceapi
.
detectAllFaces
(
input
,
new
faceapi
.
MtcnnOptions
())
```
You can tune the options of each face detector as shown
[
here
](
#usage-face-detection-options
)
.
...
...
@@ -380,7 +380,7 @@ export interface ISsdMobilenetv1Options {
}
// example
const
options
=
new
SsdMobilenetv1Options
({
minConfidence
:
0.8
})
const
options
=
new
faceapi
.
SsdMobilenetv1Options
({
minConfidence
:
0.8
})
```
### TinyFaceDetectorOptions
...
...
@@ -401,7 +401,7 @@ export interface ITinyFaceDetectorOptions {
}
// example
const
options
=
new
TinyFaceDetectorOptions
({
inputSize
:
320
})
const
options
=
new
faceapi
.
TinyFaceDetectorOptions
({
inputSize
:
320
})
```
### MtcnnOptions
...
...
@@ -435,7 +435,7 @@ export interface IMtcnnOptions {
}
// example
const
options
=
new
MtcnnOptions
({
minFaceSize
:
100
,
scaleFactor
:
0.8
})
const
options
=
new
faceapi
.
MtcnnOptions
({
minFaceSize
:
100
,
scaleFactor
:
0.8
})
```
<a
name=
"usage-utility-classes"
></a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment