predictObject
fun ImageRecognitionModelBase<Bitmap>.predictObject(imageProxy: ImageProxy): String
Content copied to clipboard
Predicts object for the given imageProxy. Internal preprocessing is updated to rotate image to match target orientation. After prediction, internal preprocessing is restored to the original state.
Return
The label of the recognized object with the highest probability.
Parameters
imageProxy
Input image.