public class

FritzVisionObjectPredictorOptions

extends Object
java.lang.Object
   ↳ ai.fritz.fritzvisionobjectmodel.FritzVisionObjectPredictorOptions

Class Overview

A tuning class to specify which predictions should be returned by {predict(FritzVisionImage)}

Summary

Nested Classes
class FritzVisionObjectPredictorOptions.Builder Builder for FritzVisionObjectPredictorOptions  
Public Methods
float getConfidenceThreshold()
Get the confidence threshold.
Integer getMaxObjects()
Gets the topN objects (sorted by confidence score).
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public float getConfidenceThreshold ()

Get the confidence threshold. Filters out objects less than the confidence threshold.

Returns
  • threshold between 0-1

public Integer getMaxObjects ()

Gets the topN objects (sorted by confidence score).

Returns
  • an integer specifying the N.