Class: Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/annotations.rb
Overview
The prediction result proto for occupancy counting.
Defined Under Namespace
Classes: DwellTimeInfo, Entity, IdentifiedBox, Stats, TrackInfo
Instance Attribute Summary collapse
-
#current_time ⇒ ::Google::Protobuf::Timestamp
Current timestamp.
-
#dwell_time_info ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>
Dwell time related information.
-
#identified_boxes ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>
A list of identified boxes.
-
#pts ⇒ ::Integer
The presentation timestamp of the frame.
-
#stats ⇒ ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats
Detection statistics.
-
#track_info ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>
Track related information.
Instance Attribute Details
#current_time ⇒ ::Google::Protobuf::Timestamp
Returns Current timestamp.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#dwell_time_info ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>
Returns Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#identified_boxes ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>
Returns A list of identified boxes.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#pts ⇒ ::Integer
Returns The presentation timestamp of the frame.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#stats ⇒ ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats
Returns Detection statistics.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#track_info ⇒ ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>
Returns Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 438 class OccupancyCountingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The entity info for annotations from occupancy counting operator. # @!attribute [rw] label_id # @return [::Integer] # Label id. # @!attribute [rw] label_string # @return [::String] # Human readable string of the label. class Entity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Identified box contains location and the entity of the object. # @!attribute [rw] box_id # @return [::Integer] # An unique id for this box. # @!attribute [rw] normalized_bounding_box # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox] # Bounding Box in the normalized coordinates. # @!attribute [rw] score # @return [::Float] # Confidence score associated with this box. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this box. # @!attribute [rw] track_id # @return [::Integer] # An unique id to identify a track. It should be consistent across frames. # It only exists if tracking is enabled. class IdentifiedBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Bounding Box in the normalized coordinates. # @!attribute [rw] xmin # @return [::Float] # Min in x coordinate. # @!attribute [rw] ymin # @return [::Float] # Min in y coordinate. # @!attribute [rw] width # @return [::Float] # Width of the bounding box. # @!attribute [rw] height # @return [::Float] # Height of the bounding box. class NormalizedBoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The statistics info for annotations from occupancy counting operator. # @!attribute [rw] full_frame_count # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts of the full frame. # @!attribute [rw] crossing_line_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::CrossingLineCount>] # Crossing line counts. # @!attribute [rw] active_zone_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ActiveZoneCount>] # Active zone counts. class Stats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The object info and instant count for annotations from occupancy counting # operator. # @!attribute [rw] entity # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity] # Entity of this object. # @!attribute [rw] count # @return [::Integer] # Count of the object. class ObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The object info and accumulated count for annotations from occupancy # counting operator. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of the accumulated count. # @!attribute [rw] object_count # @return [::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount] # The object count for the accumulated count. class AccumulatedObjectCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for Crossing line count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Line annotation from the user. # @!attribute [rw] positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that follows the right hand rule. # @!attribute [rw] negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # The direction that is opposite to the right hand rule. # @!attribute [rw] accumulated_positive_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated positive count. # @!attribute [rw] accumulated_negative_direction_counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount>] # The accumulated negative count. class CrossingLineCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for the active zone count. # @!attribute [rw] annotation # @return [::Google::Cloud::VisionAI::V1::StreamAnnotation] # Active zone annotation from the user. # @!attribute [rw] counts # @return [::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats::ObjectCount>] # Counts in the zone. class ActiveZoneCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The track info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Start timestamp of this track. class TrackInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The dwell time info for annotations from occupancy counting operator. # @!attribute [rw] track_id # @return [::String] # An unique id to identify a track. It should be consistent across frames. # @!attribute [rw] zone_id # @return [::String] # The unique id for the zone in which the object is dwelling/waiting. # @!attribute [rw] dwell_start_time # @return [::Google::Protobuf::Timestamp] # The beginning time when a dwelling object has been identified in a zone. # @!attribute [rw] dwell_end_time # @return [::Google::Protobuf::Timestamp] # The end time when a dwelling object has exited in a zone. class DwellTimeInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |