public class

FritzVisionLabelPredictor

ai.fritz.visionlabel.FritzVisionLabelPredictor

Class Overview

Label the contents of an image.

Learn more

Summary

Fields
protected FloatBuffer imgByteBuffer A ByteBuffer to hold image data, to be feed into Tensorflow Lite as inputs.
Public Constructors
FritzVisionLabelPredictor()
FritzVisionLabelPredictor(FritzVisionLabelPredictorOptions options)
Public Methods
FritzVisionLabelResult predict(FritzVisionImage image)
Given an image, predicts a classification based on the image.

Fields

protected FloatBuffer imgByteBuffer

A ByteBuffer to hold image data, to be feed into Tensorflow Lite as inputs.

Public Constructors

public FritzVisionLabelPredictor ()

public FritzVisionLabelPredictor (FritzVisionLabelPredictorOptions options)

Public Methods

public FritzVisionLabelResult predict (FritzVisionImage image)

Given an image, predicts a classification based on the image.

Returns
  • a FritzVisionLabelResult object