toggle menu
JcvFaceSdk
android
common
switch theme
search in API
jcv-face-core
/
mobile.japancv.jcvfacesdk.util
Package-level
declarations
Types
Functions
Types
Array
Index
Comparator
Link copied to clipboard
class
ArrayIndexComparator
(
array
:
Array
<
Float
>
)
:
Comparator
<
Int
?
>
Functions
argmax
Link copied to clipboard
fun
argmax
(
array
:
FloatArray
)
:
Int
letterbox
Link copied to clipboard
android
fun
letterbox
(
bitmap
:
Bitmap
,
targetHeight
:
Int
,
targetWidth
:
Int
)
:
Pair
<
Bitmap
,
FloatArray
>
loose
Crop
Link copied to clipboard
android
fun
looseCrop
(
bitmap
:
Bitmap
,
faceInfo
:
FaceInfo
,
factor
:
Float
)
:
Bitmap
loosely crop faces with the given into from the original image Cropping based on pixels, xy, and wh
nms
Link copied to clipboard
fun
nms
(
boxes
:
Array
<
FloatArray
>
,
scores
:
Array
<
Float
>
,
nmsThreshold
:
Float
,
nmsTopK
:
Int
,
confThreshold
:
Float
=
0.6f
)
:
Pair
<
IntArray
,
Int
>
softmax
Link copied to clipboard
fun
softmax
(
x
:
FloatArray
)
:
FloatArray