predictTopKObjects

fun predictTopKObjects(imageFile: File, topK: Int = 5): List<Pair<String, Float>>

Predicts topK objects for the given imageFile.

Return

The list of pairs sorted from the most probable to the lowest probable.