detectObjects

fun detectObjects(inputData: FloatArray): List<DetectedObject>

Returns the detected object for the given image file sorted by the score.

Return

List of DetectedObject sorted by score.

Parameters

inputData

Preprocessed data from the image file.

fun detectObjects(imageFile: File): List<DetectedObject>

Returns the detected object for the given image file sorted by the score.

NOTE: this method includes the EfficientDet - related preprocessing.

Return

List of DetectedObject sorted by score.

Parameters

imageFile

File, should be an image.