class Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1FaceAnnotationLandmark

A face-specific landmark (for example, a face feature).

Attributes

position[RW]

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image. Corresponds to the JSON property `position` @return [Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1Position]

type[RW]

Face landmark type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 1860
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 1865
def update!(**args)
  @position = args[:position] if args.key?(:position)
  @type = args[:type] if args.key?(:type)
end