Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CrossingLineCount.
Message for Crossing line count.
Generated from protobuf message google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount
Namespace
Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResult \ StatsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation |
Google\Cloud\VisionAI\V1\StreamAnnotation
Line annotation from the user. |
↳ positive_direction_counts |
array<ObjectCount>
The direction that follows the right hand rule. |
↳ negative_direction_counts |
array<ObjectCount>
The direction that is opposite to the right hand rule. |
↳ accumulated_positive_direction_counts |
array<AccumulatedObjectCount>
The accumulated positive count. |
↳ accumulated_negative_direction_counts |
array<AccumulatedObjectCount>
The accumulated negative count. |
getAnnotation
Line annotation from the user.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\VisionAI\V1\StreamAnnotation|null |
|
hasAnnotation
clearAnnotation
setAnnotation
Line annotation from the user.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\VisionAI\V1\StreamAnnotation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPositiveDirectionCounts
The direction that follows the right hand rule.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPositiveDirectionCounts
The direction that follows the right hand rule.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ObjectCount>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNegativeDirectionCounts
The direction that is opposite to the right hand rule.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setNegativeDirectionCounts
The direction that is opposite to the right hand rule.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ObjectCount>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccumulatedPositiveDirectionCounts
The accumulated positive count.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAccumulatedPositiveDirectionCounts
The accumulated positive count.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AccumulatedObjectCount>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccumulatedNegativeDirectionCounts
The accumulated negative count.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAccumulatedNegativeDirectionCounts
The accumulated negative count.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AccumulatedObjectCount>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|