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

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

The statistics info for annotations from occupancy counting operator.

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

Namespace

Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ full_frame_count array<Stats\ObjectCount>

Counts of the full frame.

↳ crossing_line_counts array<Stats\CrossingLineCount>

Crossing line counts.

↳ active_zone_counts array<Stats\ActiveZoneCount>

Active zone counts.

getFullFrameCount

Counts of the full frame.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFullFrameCount

Counts of the full frame.

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

getCrossingLineCounts

Crossing line counts.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCrossingLineCounts

Crossing line counts.

Parameter
Name Description
var array<Stats\CrossingLineCount>
Returns
Type Description
$this

getActiveZoneCounts

Active zone counts.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActiveZoneCounts

Active zone counts.

Parameter
Name Description
var array<Stats\ActiveZoneCount>
Returns
Type Description
$this