toggle menu
lunaCore
androidJvm
switch theme
search in API
lunaCore
/
ru.visionlabs.sdk.lunacore.utils
/
LunaUtils
Luna
Utils
object
LunaUtils
Members
Types
Descriptor
Version
Link copied to clipboard
annotation class
DescriptorVersion
Properties
V52
Link copied to clipboard
const
val
V52
:
Int
=
52
V59
Link copied to clipboard
const
val
V59
:
Int
=
59
VERSION
Link copied to clipboard
const
val
VERSION
:
String
Functions
get
Descriptor
Link copied to clipboard
@
JvmStatic
fun
getDescriptor
(
image
:
Bitmap
,
descriptorVersion
:
Int
=
V59
)
:
ByteArray
get
Descriptor
From
Wrapped
Link copied to clipboard
@
JvmStatic
fun
getDescriptorFromWrapped
(
warp
:
Bitmap
,
descriptorVersion
:
Int
=
V59
)
:
ByteArray
match
Descriptors
Link copied to clipboard
@
JvmStatic
fun
matchDescriptors
(
first
:
ByteArray
,
second
:
ByteArray
,
descriptorVersion
:
Int
=
V59
)
:
Float
scale
Preview
Distance
Link copied to clipboard
fun
scalePreviewDistance
(
d
:
Float
)
:
Float
fun
scalePreviewDistance
(
d
:
Int
)
:
Float
scale
Preview
Rect
Link copied to clipboard
fun
scalePreviewRect
(
rect
:
RectF
)
:
RectF
scale size, do not change position