class Google::Apis::VisionV1::BoundingPoly

A bounding polygon for the detected image annotation.

Attributes

vertices[RW]

The bounding polygon vertices. Corresponds to the JSON property ‘vertices` @return [Array<Google::Apis::VisionV1::Vertex>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 621
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1/classes.rb, line 626
def update!(**args)
  @vertices = args[:vertices] if args.key?(:vertices)
end