public class ObjectDetectionResult extends BitmovinResponse
Constructor and Description |
---|
ObjectDetectionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ObjectDetectionBoundingBox |
getBoundingBox()
A box indicating the position and size of the detected object within the frame
|
String |
getDetectedObject()
Name of the object that has been detected (in English)
|
Double |
getScore()
A number between 0 and 1 indicating the confidence of the detection
|
Double |
getTimestamp()
Time in seconds where the object was detected in the video
|
int |
hashCode() |
void |
setBoundingBox(ObjectDetectionBoundingBox boundingBox)
A box indicating the position and size of the detected object within the frame
|
void |
setDetectedObject(String detectedObject)
Name of the object that has been detected (in English)
|
void |
setScore(Double score)
A number between 0 and 1 indicating the confidence of the detection
|
void |
setTimestamp(Double timestamp)
Time in seconds where the object was detected in the video
|
String |
toString() |
getId
public String getDetectedObject()
public void setDetectedObject(String detectedObject)
detectedObject
- Name of the object that has been detected (in English)public Double getTimestamp()
public void setTimestamp(Double timestamp)
timestamp
- Time in seconds where the object was detected in the videopublic Double getScore()
public void setScore(Double score)
score
- A number between 0 and 1 indicating the confidence of the detectionpublic ObjectDetectionBoundingBox getBoundingBox()
public void setBoundingBox(ObjectDetectionBoundingBox boundingBox)
boundingBox
- A box indicating the position and size of the detected object within the framepublic boolean equals(Object o)
equals
in class BitmovinResponse
public int hashCode()
hashCode
in class BitmovinResponse
public String toString()
toString
in class BitmovinResponse
Copyright © 2022. All rights reserved.