Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun argmax(array: FloatArray): Int
Link copied to clipboard
fun letterbox(bitmap: Bitmap, targetHeight: Int, targetWidth: Int): Pair<Bitmap, FloatArray>
Link copied to clipboard
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

Link copied to clipboard
fun nms(boxes: Array<FloatArray>, scores: Array<Float>, nmsThreshold: Float, nmsTopK: Int, confThreshold: Float = 0.6f): Pair<IntArray, Int>
Link copied to clipboard