Reference documentation and code samples for the Cloud Video Intelligence V1 Client class TextSegment.
Video segment level annotation results for text detection.
Generated from protobuf message google.cloud.videointelligence.v1.TextSegment
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ segment
↳ confidence
float
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
↳ frames
array< Google\Cloud\VideoIntelligence\V1\TextFrame
>
Information related to the frames where OCR detected text appears.
getSegment
Video segment where a text snippet was detected.
hasSegment
clearSegment
setSegment
Video segment where a text snippet was detected.
$this
getConfidence
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
float
setConfidence
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
var
float
$this
getFrames
Information related to the frames where OCR detected text appears.
setFrames
Information related to the frames where OCR detected text appears.
$this