Preparing search index...
The search index is not available
@vladmandic/face-api - v1.7.14
@vladmandic/face-api
FaceDetectionNet
Class FaceDetectionNet
Hierarchy (
view full
)
SsdMobilenetv1
FaceDetectionNet
Index
Constructors
constructor
Properties
_name
Accessors
is
Loaded
param
Mappings
params
Methods
dispose
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
From
Disk
load
From
Uri
load
From
Weight
Map
locate
Faces
reassign
Param
From
Path
serialize
Params
variable
Constructors
constructor
new
Face
Detection
Net
(
)
:
FaceDetectionNet
Returns
FaceDetectionNet
Properties
_name
_name
:
any
Accessors
is
Loaded
get
isLoaded
(
)
:
boolean
Returns
boolean
param
Mappings
get
paramMappings
(
)
:
ParamMapping
[]
Returns
ParamMapping
[]
params
get
params
(
)
:
undefined
|
TNetParams
Returns
undefined
|
TNetParams
Methods
dispose
dispose
(
throwOnRedispose
?
)
:
void
Parameters
throwOnRedispose
:
boolean
= true
Returns
void
extract
Weights
extract
Weights
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
forward
forward
(
input
)
:
Promise
<
{
boxes
:
Tensor2D
[]
;
scores
:
Tensor1D
[]
;
}
>
Parameters
input
:
TNetInput
Returns
Promise
<
{
boxes
:
Tensor2D
[]
;
scores
:
Tensor1D
[]
;
}
>
forward
Input
forward
Input
(
input
)
:
{
boxes
:
Tensor2D
[]
;
scores
:
Tensor1D
[]
;
}
Parameters
input
:
NetInput
Returns
{
boxes
:
Tensor2D
[]
;
scores
:
Tensor1D
[]
;
}
boxes
:
Tensor2D
[]
scores
:
Tensor1D
[]
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
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
locate
Faces
locate
Faces
(
input
,
options
?
)
:
Promise
<
FaceDetection
[]
>
Parameters
input
:
TNetInput
options
:
ISsdMobilenetv1Options
= {}
Returns
Promise
<
FaceDetection
[]
>
reassign
Param
From
Path
reassign
Param
From
Path
(
paramPath
,
tensor
)
:
void
Parameters
paramPath
:
string
tensor
:
Tensor
<
Rank
>
Returns
void
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
is
Loaded
param
Mappings
params
Methods
dispose
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
From
Disk
load
From
Uri
load
From
Weight
Map
locate
Faces
reassign
Param
From
Path
serialize
Params
variable
@vladmandic/face-api - v1.7.14
Loading...