Search
Preparing search index...
The search index is not available
face-api.js
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
DetectSingleFaceTask
Class DetectSingleFaceTask
Hierarchy
DetectFacesTaskBase
<
FaceDetection
|
undefined
>
DetectSingleFaceTask
Index
Constructors
constructor
Properties
input
options
Methods
run
then
with
Face
Expressions
with
Face
Landmarks
Constructors
constructor
new
Detect
Single
Face
Task
(
input
:
TNetInput
, options
?:
FaceDetectionOptions
)
:
DetectSingleFaceTask
Parameters
input:
TNetInput
Default value
options:
FaceDetectionOptions
= new SsdMobilenetv1Options()
Returns
DetectSingleFaceTask
Properties
Protected
input
input
:
TNetInput
Protected
options
options
:
FaceDetectionOptions
Methods
run
run
(
)
:
Promise
<
FaceDetection
|
undefined
>
Returns
Promise
<
FaceDetection
|
undefined
>
then
then
(
onfulfilled
:
function
)
:
Promise
<
FaceDetection
|
undefined
>
Parameters
onfulfilled:
function
(
value
:
FaceDetection
|
undefined
)
:
FaceDetection
|
undefined
|
PromiseLike
<
FaceDetection
|
undefined
>
Parameters
value:
FaceDetection
|
undefined
Returns
FaceDetection
|
undefined
|
PromiseLike
<
FaceDetection
|
undefined
>
Returns
Promise
<
FaceDetection
|
undefined
>
with
Face
Expressions
with
Face
Expressions
(
)
:
PredictSingleFaceExpressionTask
<
WithFaceDetection
<
__type
>
>
Returns
PredictSingleFaceExpressionTask
<
WithFaceDetection
<
__type
>
>
with
Face
Landmarks
with
Face
Landmarks
(
useTinyLandmarkNet
?:
boolean
)
:
DetectSingleFaceLandmarksTask
<
WithFaceDetection
<
__type
>
>
Parameters
Default value
useTinyLandmarkNet:
boolean
= false
Returns
DetectSingleFaceLandmarksTask
<
WithFaceDetection
<
__type
>
>
Globals
Detect
Single
Face
Task
constructor
input
options
run
then
with
Face
Expressions
with
Face
Landmarks
Generated using
TypeDoc