Class: Google::Cloud::Vision::V1p3beta1::FaceAnnotation::Landmark

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb

Overview

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

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#position::Google::Cloud::Vision::V1p3beta1::Position

Returns Face landmark position.

Returns:



214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 214

class Landmark
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Face landmark (feature) type.
  # Left and right are defined from the vantage of the viewer of the image
  # without considering mirror projections typical of photos. So, `LEFT_EYE`,
  # typically, is the person's right eye.
  module Type
    # Unknown face landmark detected. Should not be filled.
    UNKNOWN_LANDMARK = 0

    # Left eye.
    LEFT_EYE = 1

    # Right eye.
    RIGHT_EYE = 2

    # Left of left eyebrow.
    LEFT_OF_LEFT_EYEBROW = 3

    # Right of left eyebrow.
    RIGHT_OF_LEFT_EYEBROW = 4

    # Left of right eyebrow.
    LEFT_OF_RIGHT_EYEBROW = 5

    # Right of right eyebrow.
    RIGHT_OF_RIGHT_EYEBROW = 6

    # Midpoint between eyes.
    MIDPOINT_BETWEEN_EYES = 7

    # Nose tip.
    NOSE_TIP = 8

    # Upper lip.
    UPPER_LIP = 9

    # Lower lip.
    LOWER_LIP = 10

    # Mouth left.
    MOUTH_LEFT = 11

    # Mouth right.
    MOUTH_RIGHT = 12

    # Mouth center.
    MOUTH_CENTER = 13

    # Nose, bottom right.
    NOSE_BOTTOM_RIGHT = 14

    # Nose, bottom left.
    NOSE_BOTTOM_LEFT = 15

    # Nose, bottom center.
    NOSE_BOTTOM_CENTER = 16

    # Left eye, top boundary.
    LEFT_EYE_TOP_BOUNDARY = 17

    # Left eye, right corner.
    LEFT_EYE_RIGHT_CORNER = 18

    # Left eye, bottom boundary.
    LEFT_EYE_BOTTOM_BOUNDARY = 19

    # Left eye, left corner.
    LEFT_EYE_LEFT_CORNER = 20

    # Right eye, top boundary.
    RIGHT_EYE_TOP_BOUNDARY = 21

    # Right eye, right corner.
    RIGHT_EYE_RIGHT_CORNER = 22

    # Right eye, bottom boundary.
    RIGHT_EYE_BOTTOM_BOUNDARY = 23

    # Right eye, left corner.
    RIGHT_EYE_LEFT_CORNER = 24

    # Left eyebrow, upper midpoint.
    LEFT_EYEBROW_UPPER_MIDPOINT = 25

    # Right eyebrow, upper midpoint.
    RIGHT_EYEBROW_UPPER_MIDPOINT = 26

    # Left ear tragion.
    LEFT_EAR_TRAGION = 27

    # Right ear tragion.
    RIGHT_EAR_TRAGION = 28

    # Left eye pupil.
    LEFT_EYE_PUPIL = 29

    # Right eye pupil.
    RIGHT_EYE_PUPIL = 30

    # Forehead glabella.
    FOREHEAD_GLABELLA = 31

    # Chin gnathion.
    CHIN_GNATHION = 32

    # Chin left gonion.
    CHIN_LEFT_GONION = 33

    # Chin right gonion.
    CHIN_RIGHT_GONION = 34
  end
end

#type::Google::Cloud::Vision::V1p3beta1::FaceAnnotation::Landmark::Type

Returns Face landmark type.



214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 214

class Landmark
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Face landmark (feature) type.
  # Left and right are defined from the vantage of the viewer of the image
  # without considering mirror projections typical of photos. So, `LEFT_EYE`,
  # typically, is the person's right eye.
  module Type
    # Unknown face landmark detected. Should not be filled.
    UNKNOWN_LANDMARK = 0

    # Left eye.
    LEFT_EYE = 1

    # Right eye.
    RIGHT_EYE = 2

    # Left of left eyebrow.
    LEFT_OF_LEFT_EYEBROW = 3

    # Right of left eyebrow.
    RIGHT_OF_LEFT_EYEBROW = 4

    # Left of right eyebrow.
    LEFT_OF_RIGHT_EYEBROW = 5

    # Right of right eyebrow.
    RIGHT_OF_RIGHT_EYEBROW = 6

    # Midpoint between eyes.
    MIDPOINT_BETWEEN_EYES = 7

    # Nose tip.
    NOSE_TIP = 8

    # Upper lip.
    UPPER_LIP = 9

    # Lower lip.
    LOWER_LIP = 10

    # Mouth left.
    MOUTH_LEFT = 11

    # Mouth right.
    MOUTH_RIGHT = 12

    # Mouth center.
    MOUTH_CENTER = 13

    # Nose, bottom right.
    NOSE_BOTTOM_RIGHT = 14

    # Nose, bottom left.
    NOSE_BOTTOM_LEFT = 15

    # Nose, bottom center.
    NOSE_BOTTOM_CENTER = 16

    # Left eye, top boundary.
    LEFT_EYE_TOP_BOUNDARY = 17

    # Left eye, right corner.
    LEFT_EYE_RIGHT_CORNER = 18

    # Left eye, bottom boundary.
    LEFT_EYE_BOTTOM_BOUNDARY = 19

    # Left eye, left corner.
    LEFT_EYE_LEFT_CORNER = 20

    # Right eye, top boundary.
    RIGHT_EYE_TOP_BOUNDARY = 21

    # Right eye, right corner.
    RIGHT_EYE_RIGHT_CORNER = 22

    # Right eye, bottom boundary.
    RIGHT_EYE_BOTTOM_BOUNDARY = 23

    # Right eye, left corner.
    RIGHT_EYE_LEFT_CORNER = 24

    # Left eyebrow, upper midpoint.
    LEFT_EYEBROW_UPPER_MIDPOINT = 25

    # Right eyebrow, upper midpoint.
    RIGHT_EYEBROW_UPPER_MIDPOINT = 26

    # Left ear tragion.
    LEFT_EAR_TRAGION = 27

    # Right ear tragion.
    RIGHT_EAR_TRAGION = 28

    # Left eye pupil.
    LEFT_EYE_PUPIL = 29

    # Right eye pupil.
    RIGHT_EYE_PUPIL = 30

    # Forehead glabella.
    FOREHEAD_GLABELLA = 31

    # Chin gnathion.
    CHIN_GNATHION = 32

    # Chin left gonion.
    CHIN_LEFT_GONION = 33

    # Chin right gonion.
    CHIN_RIGHT_GONION = 34
  end
end