Google Cloud Vision Ai V1 Client - Class ActiveZoneCount (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ActiveZoneCount.

Message for the active zone count.

Generated from protobuf message google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount

Namespace

Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResult \ Stats

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ annotation Google\Cloud\VisionAI\V1\StreamAnnotation

Active zone annotation from the user.

↳ counts array<ObjectCount>

Counts in the zone.

getAnnotation

Active zone annotation from the user.

Returns
Type Description
Google\Cloud\VisionAI\V1\StreamAnnotation|null

hasAnnotation

clearAnnotation

setAnnotation

Active zone annotation from the user.

Parameter
Name Description
var Google\Cloud\VisionAI\V1\StreamAnnotation
Returns
Type Description
$this

getCounts

Counts in the zone.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCounts

Counts in the zone.

Parameter
Name Description
var array<ObjectCount>
Returns
Type Description
$this