predictObject

fun predictObject(imageFile: File): String

Predicts object for the given imageFile. Default preprocessing Operation is applied to an image.

Return

The label of the recognized object with the highest probability.

See also

Parameters

imageFile

Input image File.