Reference documentation and code samples for the Cloud Video Intelligence V1 Client class TextAnnotation.
Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.
Generated from protobuf message google.cloud.videointelligence.v1.TextAnnotation
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
string
The detected text.
↳ segments
array< Google\Cloud\VideoIntelligence\V1\TextSegment
>
All video segments where OCR detected text appears.
↳ version
string
Feature version.
getText
The detected text.
string
setText
The detected text.
var
string
$this
getSegments
All video segments where OCR detected text appears.
setSegments
All video segments where OCR detected text appears.
$this
getVersion
Feature version.
string
setVersion
Feature version.
var
string
$this