Reference documentation and code samples for the Cloud Vision V1 Client class TextProperty.
Additional information detected on the structural component.
Generated from protobuf message google.cloud.vision.v1.TextAnnotation.TextProperty
Namespace
Google \ Cloud \ Vision \ V1 \ TextAnnotationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ detected_languages |
array<DetectedLanguage>
A list of detected languages together with confidence. |
↳ detected_break |
DetectedBreak
Detected start or end of a text segment. |
getDetectedLanguages
A list of detected languages together with confidence.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDetectedLanguages
A list of detected languages together with confidence.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DetectedLanguage>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetectedBreak
Detected start or end of a text segment.
| Returns | |
|---|---|
| Type | Description |
DetectedBreak|null |
|
hasDetectedBreak
clearDetectedBreak
setDetectedBreak
Detected start or end of a text segment.
| Parameter | |
|---|---|
| Name | Description |
var |
DetectedBreak
|
| Returns | |
|---|---|
| Type | Description |
$this |
|