Package com.oracle.bmc.aivision.model
Class VideoObjectDetectionFeature
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.aivision.model.VideoFeature
-
- com.oracle.bmc.aivision.model.VideoObjectDetectionFeature
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class VideoObjectDetectionFeature extends VideoFeature
Video object detection feature
Note: Objects should always be created or deserialized using theVideoObjectDetectionFeature.Builder
.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the
VideoObjectDetectionFeature.Builder
, which maintain a set of all explicitly set fields calledVideoObjectDetectionFeature.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VideoObjectDetectionFeature.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.aivision.model.VideoFeature
VideoFeature.FeatureType
-
-
Constructor Summary
Constructors Constructor Description VideoObjectDetectionFeature(Float minConfidence, Integer maxResults, String modelId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoObjectDetectionFeature.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getMaxResults()
The maximum number of results per frame to return.Float
getMinConfidence()
The minimum confidence score, between 0 and 1, when the value is set, results with lower confidence will not be returned.String
getModelId()
The custom model ID.int
hashCode()
VideoObjectDetectionFeature.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
VideoObjectDetectionFeature
@Deprecated public VideoObjectDetectionFeature(Float minConfidence, Integer maxResults, String modelId)
Deprecated.
-
-
Method Detail
-
builder
public static VideoObjectDetectionFeature.Builder builder()
Create a new builder.
-
toBuilder
public VideoObjectDetectionFeature.Builder toBuilder()
-
getMinConfidence
public Float getMinConfidence()
The minimum confidence score, between 0 and 1, when the value is set, results with lower confidence will not be returned.- Returns:
- the value
-
getMaxResults
public Integer getMaxResults()
The maximum number of results per frame to return.- Returns:
- the value
-
getModelId
public String getModelId()
The custom model ID.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classVideoFeature
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classVideoFeature
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classVideoFeature
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVideoFeature
-
-