Class: Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/annotations.rb

Overview

Identified box contains location and the entity of the object.

Defined Under Namespace

Classes: NormalizedBoundingBox

Instance Attribute Summary collapse

Instance Attribute Details

#box_id::Integer

Returns An unique id for this box.

Returns:

  • (::Integer)

    An unique id for this box.



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 471

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

#entity::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity

Returns Entity of this box.



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 471

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

#normalized_bounding_box::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox

Returns Bounding Box in the normalized coordinates.



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 471

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

#score::Float

Returns Confidence score associated with this box.

Returns:

  • (::Float)

    Confidence score associated with this box.



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 471

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

#track_id::Integer

Returns An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.

Returns:

  • (::Integer)

    An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 471

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