Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class IdentifiedAction.
Each IdentifiedAction is one particular identification of an action specified with the AnnotationSpec id, display_name and the associated confidence score.
Generated from protobuf message google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction
Namespace
Google \ Cloud \ VisionAI \ V1 \ VideoActionRecognitionPredictionResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
The resource ID of the AnnotationSpec that had been identified. |
↳ display_name |
string
The display name of the AnnotationSpec that had been identified. |
↳ confidence |
float
The Model's confidence in correction of this identification, higher value means higher confidence. |
getId
The resource ID of the AnnotationSpec that had been identified.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
The resource ID of the AnnotationSpec that had been identified.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
The display name of the AnnotationSpec that had been identified.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
The display name of the AnnotationSpec that had been identified.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfidence
The Model's confidence in correction of this identification, higher value means higher confidence.
| Returns | |
|---|---|
| Type | Description |
float |
|
setConfidence
The Model's confidence in correction of this identification, higher value means higher confidence.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|