Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult.
The prediction result proto for occupancy counting.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_time
def current_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Current timestamp.
#current_time=
def current_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Current timestamp.
Returns
- (::Google::Protobuf::Timestamp) — Current timestamp.
#dwell_time_info
def dwell_time_info() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>) — Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp
#dwell_time_info=
def dwell_time_info=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>) — Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>) — Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp
#identified_boxes
def identified_boxes() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>) — A list of identified boxes.
#identified_boxes=
def identified_boxes=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>) — A list of identified boxes.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>) — A list of identified boxes.
#pts
def pts() -> ::Integer
Returns
- (::Integer) — The presentation timestamp of the frame.
#pts=
def pts=(value) -> ::Integer
Parameter
- value (::Integer) — The presentation timestamp of the frame.
Returns
- (::Integer) — The presentation timestamp of the frame.
#stats
def stats() -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats) — Detection statistics.
#stats=
def stats=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats
Parameter
- value (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats) — Detection statistics.
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats) — Detection statistics.
#track_info
def track_info() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>) — Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.
#track_info=
def track_info=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>) — Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>) — Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.