toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.input.video.facedetector
Package-level
declarations
Types
Functions
Types
Face
Link copied to clipboard
data
class
Face
(
val
id
:
Int
?
,
val
leftEye
:
Point
?
,
val
rightEye
:
Point
?
,
val
mouth
:
Point
?
,
val
rect
:
Rect
,
val
score
:
Int
)
Created by pedro on 10/10/23.
Face
Detector
Callback
Link copied to clipboard
interface
FaceDetectorCallback
Created by pedro on 10/10/23.
Functions
map
Camera1Faces
Link copied to clipboard
fun
mapCamera1Faces
(
faces
:
Array
<
Camera.Face
>
)
:
Array
<
Face
>
map
Camera2Faces
Link copied to clipboard
@
RequiresApi
(
value
=
21
)
fun
mapCamera2Faces
(
faces
:
Array
<
Face
>
)
:
Array
<
Face
>
to
Face
Link copied to clipboard
fun
Camera.Face
.
toFace
(
)
:
Face
Created by pedro on 10/10/23.
@
RequiresApi
(
value
=
21
)
fun
Face
.
toFace
(
)
:
Face