Search
Preparing search index...
The search index is not available
@vladmandic/face-api - v1.6.4
Options
All
Public
Public/Protected
All
Inherited
Menu
@vladmandic/face-api - v1.6.4
DetectSingleFaceTask
Class DetectSingleFaceTask
Hierarchy
DetectFacesTaskBase
<
FaceDetection
|
undefined
>
DetectSingleFaceTask
Index
Constructors
constructor
Methods
run
then
with
Age
And
Gender
with
Face
Expressions
with
Face
Landmarks
Constructors
constructor
new
Detect
Single
Face
Task
(
input
:
any
, options
?:
FaceDetectionOptions
)
:
DetectSingleFaceTask
Parameters
input:
any
options:
FaceDetectionOptions
= ...
Returns
DetectSingleFaceTask
Methods
run
run
(
)
:
Promise
<
undefined
|
FaceDetection
>
Returns
Promise
<
undefined
|
FaceDetection
>
then
then
(
onfulfilled
:
(
value
:
undefined
|
FaceDetection
)
=>
undefined
|
FaceDetection
|
PromiseLike
<
undefined
|
FaceDetection
>
)
:
Promise
<
undefined
|
FaceDetection
>
Parameters
onfulfilled:
(
value
:
undefined
|
FaceDetection
)
=>
undefined
|
FaceDetection
|
PromiseLike
<
undefined
|
FaceDetection
>
(
value
:
undefined
|
FaceDetection
)
:
undefined
|
FaceDetection
|
PromiseLike
<
undefined
|
FaceDetection
>
Parameters
value:
undefined
|
FaceDetection
Returns
undefined
|
FaceDetection
|
PromiseLike
<
undefined
|
FaceDetection
>
Returns
Promise
<
undefined
|
FaceDetection
>
with
Age
And
Gender
with
Age
And
Gender
(
)
:
PredictSingleAgeAndGenderTask
<
{
detection
:
FaceDetection
}
>
Returns
PredictSingleAgeAndGenderTask
<
{
detection
:
FaceDetection
}
>
with
Face
Expressions
with
Face
Expressions
(
)
:
PredictSingleFaceExpressionsTask
<
{
detection
:
FaceDetection
}
>
Returns
PredictSingleFaceExpressionsTask
<
{
detection
:
FaceDetection
}
>
with
Face
Landmarks
with
Face
Landmarks
(
useTinyLandmarkNet
?:
boolean
)
:
DetectSingleFaceLandmarksTask
<
{
detection
:
FaceDetection
}
>
Parameters
useTinyLandmarkNet:
boolean
= false
Returns
DetectSingleFaceLandmarksTask
<
{
detection
:
FaceDetection
}
>
Exports
draw
utils
Detect
Single
Face
Task
constructor
run
then
with
Age
And
Gender
with
Face
Expressions
with
Face
Landmarks