Preparing search index...
The search index is not available
@vladmandic/face-api - v1.7.14
@vladmandic/face-api
TinyFaceDetector
Class TinyFaceDetector
Hierarchy
TinyYolov2Base
TinyFaceDetector
Index
Constructors
constructor
Properties
_name
DEFAULT_
FILTER_
SIZES
Accessors
anchors
box
Encoding
Size
config
is
Loaded
param
Mappings
params
with
Class
Scores
Methods
detect
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
run
Mobilenet
run
Tiny
Yolov2
serialize
Params
variable
Constructors
constructor
new
Tiny
Face
Detector
(
)
:
TinyFaceDetector
Returns
TinyFaceDetector
Properties
_name
_name
:
any
Static
DEFAULT_
FILTER_
SIZES
DEFAULT_
FILTER_
SIZES
:
number
[]
= ...
Accessors
anchors
get
anchors
(
)
:
Point
[]
Returns
Point
[]
box
Encoding
Size
get
boxEncodingSize
(
)
:
number
Returns
number
config
get
config
(
)
:
TinyYolov2Config
Returns
TinyYolov2Config
is
Loaded
get
isLoaded
(
)
:
boolean
Returns
boolean
param
Mappings
get
paramMappings
(
)
:
ParamMapping
[]
Returns
ParamMapping
[]
params
get
params
(
)
:
undefined
|
TNetParams
Returns
undefined
|
TNetParams
with
Class
Scores
get
withClassScores
(
)
:
boolean
Returns
boolean
Methods
detect
detect
(
input
,
forwardParams
?
)
:
Promise
<
ObjectDetection
[]
>
Parameters
input
:
TNetInput
forwardParams
:
ITinyYolov2Options
= {}
Returns
Promise
<
ObjectDetection
[]
>
dispose
dispose
(
throwOnRedispose
?
)
:
void
Parameters
throwOnRedispose
:
boolean
= true
Returns
void
extract
Weights
extract
Weights
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
forward
forward
(
input
,
inputSize
)
:
Promise
<
Tensor4D
>
Parameters
input
:
TNetInput
inputSize
:
number
Returns
Promise
<
Tensor4D
>
forward
Input
forward
Input
(
input
,
inputSize
)
:
Tensor4D
Parameters
input
:
NetInput
inputSize
:
number
Returns
Tensor4D
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
,
forwardParams
)
:
Promise
<
FaceDetection
[]
>
Parameters
input
:
TNetInput
forwardParams
:
ITinyYolov2Options
Returns
Promise
<
FaceDetection
[]
>
reassign
Param
From
Path
reassign
Param
From
Path
(
paramPath
,
tensor
)
:
void
Parameters
paramPath
:
string
tensor
:
Tensor
<
Rank
>
Returns
void
run
Mobilenet
run
Mobilenet
(
x
,
params
)
:
Tensor4D
Parameters
x
:
Tensor4D
params
:
MobilenetParams
Returns
Tensor4D
run
Tiny
Yolov2
run
Tiny
Yolov2
(
x
,
params
)
:
Tensor4D
Parameters
x
:
Tensor4D
params
:
DefaultTinyYolov2NetParams
Returns
Tensor4D
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
DEFAULT_
FILTER_
SIZES
Accessors
anchors
box
Encoding
Size
config
is
Loaded
param
Mappings
params
with
Class
Scores
Methods
detect
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
run
Mobilenet
run
Tiny
Yolov2
serialize
Params
variable
@vladmandic/face-api - v1.7.14
Loading...