Class: Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox
- 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
-
#box_id ⇒ ::Integer
An unique id for this box.
-
#entity ⇒ ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity
Entity of this box.
-
#normalized_bounding_box ⇒ ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox
Bounding Box in the normalized coordinates.
-
#score ⇒ ::Float
Confidence score associated with this box.
-
#track_id ⇒ ::Integer
An unique id to identify a track.
Instance Attribute Details
#box_id ⇒ ::Integer
Returns 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.
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.
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 |