Back to Tensorflow

Detection

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/vision/detector/Detection.html

2.21.02.3 KB
Original Source

public abstract class Detection

Represents one detected object in the results of a ObjectDetector.

Public Constructors

| | Detection() |

Public Methods

| static Detection | create(RectF boundingBox, List<Category> categories) | | abstract RectF | getBoundingBox() | | abstract List<Category> | getCategories() |

Inherited Methods

From class java.lang.Object

| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

Public Constructors

public Detection ()

Public Methods

public static Detection create (RectF boundingBox, List<Category> categories)

Parameters

| boundingBox | | | categories | |

public abstract RectF getBoundingBox ()

public abstract List<Category> getCategories ()