detectObjects
fun detectObjects(inputData: FloatArray, topK: Int = 5): List<DetectedObject>
Content copied to clipboard
Returns the top N detected object for the given image file sorted by the score.
NOTE: this method doesn't include the SSD - related preprocessing.
Return
List of DetectedObject sorted by score.
Parameters
inputData
Preprocessed data from the image file.
topK
The number of the detected objects with the highest score to be returned.
Returns the top N detected object for the given image file sorted by the score.
NOTE: this method includes the SSD - related preprocessing.
Return
List of DetectedObject sorted by score.
Parameters
imageFile
File, should be an image.
topK
The number of the detected objects with the highest score to be returned.