ContainerUtils

object ContainerUtils

Types

Link copied to clipboard
data class ProcessBitmapContainerResult(val processBitmap: Bitmap, val orginalShape: Size)

Functions

Link copied to clipboard
fun horizontalSort(bbox_with_value: List<Pair<List<Int>, String>>): String
Link copied to clipboard
fun processBitmapContainer(    source: Bitmap,     new_shape: Pair<Int, Int> = Pair(MODEL_DET_CONTAINER_INPUT_SIZE, MODEL_DET_CONTAINER_INPUT_SIZE),     color: Scalar = Scalar(114.0, 114.0, 114.0),     auto: Boolean = false,     scaleFill: Boolean = false,     scaleup: Boolean = true,     stride: Int = 32): ContainerUtils.ProcessBitmapContainerResult
Link copied to clipboard
fun verticalSort(bbox_with_value: List<Pair<List<Int>, String>>): String