Preparing search index...
The search index is not available
@vladmandic/face-api - v1.7.14
@vladmandic/face-api
FaceLandmarkNet
Class FaceLandmarkNet
Hierarchy (
view full
)
FaceLandmark68Net
FaceLandmarkNet
Index
Constructors
constructor
Properties
_name
Accessors
face
Feature
Extractor
is
Loaded
param
Mappings
params
Methods
detect
Landmarks
dispose
extract
Classifier
Params
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
Classifier
Params
load
From
Disk
load
From
Uri
load
From
Weight
Map
post
Process
reassign
Param
From
Path
run
Net
serialize
Params
variable
Constructors
constructor
new
Face
Landmark
Net
(
faceFeatureExtractor
?
)
:
FaceLandmarkNet
Parameters
faceFeatureExtractor
:
FaceFeatureExtractor
= ...
Returns
FaceLandmarkNet
Properties
_name
_name
:
any
Accessors
face
Feature
Extractor
get
faceFeatureExtractor
(
)
:
IFaceFeatureExtractor
<
TExtractorParams
>
Returns
IFaceFeatureExtractor
<
TExtractorParams
>
is
Loaded
get
isLoaded
(
)
:
boolean
Returns
boolean
param
Mappings
get
paramMappings
(
)
:
ParamMapping
[]
Returns
ParamMapping
[]
params
get
params
(
)
:
undefined
|
TNetParams
Returns
undefined
|
TNetParams
Methods
detect
Landmarks
detect
Landmarks
(
input
)
:
Promise
<
FaceLandmarks68
|
FaceLandmarks68
[]
>
Parameters
input
:
TNetInput
Returns
Promise
<
FaceLandmarks68
|
FaceLandmarks68
[]
>
dispose
dispose
(
throwOnRedispose
?
)
:
void
Parameters
throwOnRedispose
:
boolean
= true
Returns
void
extract
Classifier
Params
extract
Classifier
Params
(
weights
)
:
{
paramMappings
:
ParamMapping
[]
;
params
:
NetParams
;
}
Parameters
weights
:
Float32Array
Returns
{
paramMappings
:
ParamMapping
[]
;
params
:
NetParams
;
}
param
Mappings
:
ParamMapping
[]
params
:
NetParams
extract
Weights
extract
Weights
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
forward
forward
(
input
)
:
Promise
<
Tensor2D
>
Parameters
input
:
TNetInput
Returns
Promise
<
Tensor2D
>
forward
Input
forward
Input
(
input
)
:
Tensor2D
Parameters
input
:
NetInput
Returns
Tensor2D
freeze
freeze
(
)
:
void
Returns
void
get
Frozen
Params
get
Frozen
Params
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
get
Param
From
Path
get
Param
From
Path
(
paramPath
)
:
Tensor
<
Rank
>
Parameters
paramPath
:
string
Returns
Tensor
<
Rank
>
get
Param
List
get
Param
List
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
get
Trainable
Params
get
Trainable
Params
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
load
load
(
weightsOrUrl
)
:
Promise
<
void
>
Parameters
weightsOrUrl
:
undefined
|
string
|
Float32Array
Returns
Promise
<
void
>
load
Classifier
Params
load
Classifier
Params
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
load
From
Disk
load
From
Disk
(
filePath
)
:
Promise
<
void
>
Parameters
filePath
:
undefined
|
string
Returns
Promise
<
void
>
load
From
Uri
load
From
Uri
(
uri
)
:
Promise
<
void
>
Parameters
uri
:
undefined
|
string
Returns
Promise
<
void
>
load
From
Weight
Map
load
From
Weight
Map
(
weightMap
)
:
void
Parameters
weightMap
:
NamedTensorMap
Returns
void
post
Process
post
Process
(
output
,
inputSize
,
originalDimensions
)
:
Tensor2D
Parameters
output
:
Tensor2D
inputSize
:
number
originalDimensions
:
IDimensions
[]
Returns
Tensor2D
reassign
Param
From
Path
reassign
Param
From
Path
(
paramPath
,
tensor
)
:
void
Parameters
paramPath
:
string
tensor
:
Tensor
<
Rank
>
Returns
void
run
Net
run
Net
(
input
)
:
Tensor2D
Parameters
input
:
Tensor4D
|
NetInput
Returns
Tensor2D
serialize
Params
serialize
Params
(
)
:
Float32Array
Returns
Float32Array
variable
variable
(
)
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_name
Accessors
face
Feature
Extractor
is
Loaded
param
Mappings
params
Methods
detect
Landmarks
dispose
extract
Classifier
Params
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
Classifier
Params
load
From
Disk
load
From
Uri
load
From
Weight
Map
post
Process
reassign
Param
From
Path
run
Net
serialize
Params
variable
@vladmandic/face-api - v1.7.14
Loading...