Search
Preparing search index...
The search index is not available
face-api.js
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
FaceFeatureExtractor
Class FaceFeatureExtractor
Hierarchy
NeuralNetwork
<
FaceFeatureExtractorParams
>
FaceFeatureExtractor
Implements
IFaceFeatureExtractor
<
FaceFeatureExtractorParams
>
Index
Constructors
constructor
Properties
_name
_param
Mappings
_params
is
Loaded
param
Mappings
params
Methods
dispose
extract
Params
extract
Params
From
Weigth
Map
extract
Weights
forward
forward
Input
freeze
get
Default
Model
Name
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
From
Disk
load
From
Uri
load
From
Weight
Map
reassign
Param
From
Path
serialize
Params
variable
Constructors
constructor
new
Face
Feature
Extractor
(
)
:
FaceFeatureExtractor
Returns
FaceFeatureExtractor
Properties
Protected
_name
_name
:
string
Protected
_param
Mappings
_param
Mappings
:
ParamMapping
[]
Protected
_params
_params
:
FaceFeatureExtractorParams
|
undefined
is
Loaded
is
Loaded
:
boolean
param
Mappings
param
Mappings
:
ParamMapping
[]
params
params
:
FaceFeatureExtractorParams
|
undefined
Methods
dispose
dispose
(
throwOnRedispose
?:
undefined
|
false
|
true
)
:
void
Parameters
Optional
throwOnRedispose:
undefined
|
false
|
true
Returns
void
Protected
extract
Params
extract
Params
(
weights
:
Float32Array
)
:
object
Parameters
weights:
Float32Array
Returns
object
Protected
extract
Params
From
Weigth
Map
extract
Params
From
Weigth
Map
(
weightMap
:
tf.NamedTensorMap
)
:
object
Parameters
weightMap:
tf.NamedTensorMap
Returns
object
extract
Weights
extract
Weights
(
weights
:
Float32Array
)
:
void
Parameters
weights:
Float32Array
Returns
void
forward
forward
(
input
:
TNetInput
)
:
Promise
<
tf.Tensor4D
>
Parameters
input:
TNetInput
Returns
Promise
<
tf.Tensor4D
>
forward
Input
forward
Input
(
input
:
NetInput
)
:
tf.Tensor4D
Parameters
input:
NetInput
Returns
tf.Tensor4D
freeze
freeze
(
)
:
void
Returns
void
Protected
get
Default
Model
Name
get
Default
Model
Name
(
)
:
string
Returns
string
get
Frozen
Params
get
Frozen
Params
(
)
:
object
[]
Returns
object
[]
get
Param
From
Path
get
Param
From
Path
(
paramPath
:
string
)
:
tf.Tensor
Parameters
paramPath:
string
Returns
tf.Tensor
get
Param
List
get
Param
List
(
)
:
object
[]
Returns
object
[]
get
Trainable
Params
get
Trainable
Params
(
)
:
object
[]
Returns
object
[]
load
load
(
weightsOrUrl
:
Float32Array
|
string
|
undefined
)
:
Promise
<
void
>
Parameters
weightsOrUrl:
Float32Array
|
string
|
undefined
Returns
Promise
<
void
>
load
From
Disk
load
From
Disk
(
filePath
:
string
|
undefined
)
:
Promise
<
void
>
Parameters
filePath:
string
|
undefined
Returns
Promise
<
void
>
load
From
Uri
load
From
Uri
(
uri
:
string
|
undefined
)
:
Promise
<
void
>
Parameters
uri:
string
|
undefined
Returns
Promise
<
void
>
load
From
Weight
Map
load
From
Weight
Map
(
weightMap
:
tf.NamedTensorMap
)
:
void
Parameters
weightMap:
tf.NamedTensorMap
Returns
void
reassign
Param
From
Path
reassign
Param
From
Path
(
paramPath
:
string
, tensor
:
tf.Tensor
)
:
void
Parameters
paramPath:
string
tensor:
tf.Tensor
Returns
void
serialize
Params
serialize
Params
(
)
:
Float32Array
Returns
Float32Array
variable
variable
(
)
:
void
Returns
void
Globals
Face
Feature
Extractor
constructor
_name
_param
Mappings
_params
is
Loaded
param
Mappings
params
dispose
extract
Params
extract
Params
From
Weigth
Map
extract
Weights
forward
forward
Input
freeze
get
Default
Model
Name
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
From
Disk
load
From
Uri
load
From
Weight
Map
reassign
Param
From
Path
serialize
Params
variable
Generated using
TypeDoc