Interface VideoActionRecognitionPredictionParamsOrBuilder (2.5.3)

public interface VideoActionRecognitionPredictionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceThreshold()

public abstract float getConfidenceThreshold()

The Model only returns predictions with at least this confidence score. Default value is 0.0

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.

getMaxPredictions()

public abstract int getMaxPredictions()

The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.

int32 max_predictions = 2;

Returns
TypeDescription
int

The maxPredictions.