predictTopKObjects

fun predictTopKObjects(image: I, topK: Int = 5): List<<ERROR CLASS><String, Float>>

Predicts topK objects for the given image. Default preprocessing Operation is applied to an image.

Return

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

See also

Parameters

image

Input image.

topK

Number of top ranked predictions to return