[][src]Enum gcp_client::google::cloud::vision::v1p1beta1::face_annotation::landmark::Type

#[repr(i32)]pub enum Type {
    UnknownLandmark,
    LeftEye,
    RightEye,
    LeftOfLeftEyebrow,
    RightOfLeftEyebrow,
    LeftOfRightEyebrow,
    RightOfRightEyebrow,
    MidpointBetweenEyes,
    NoseTip,
    UpperLip,
    LowerLip,
    MouthLeft,
    MouthRight,
    MouthCenter,
    NoseBottomRight,
    NoseBottomLeft,
    NoseBottomCenter,
    LeftEyeTopBoundary,
    LeftEyeRightCorner,
    LeftEyeBottomBoundary,
    LeftEyeLeftCorner,
    RightEyeTopBoundary,
    RightEyeRightCorner,
    RightEyeBottomBoundary,
    RightEyeLeftCorner,
    LeftEyebrowUpperMidpoint,
    RightEyebrowUpperMidpoint,
    LeftEarTragion,
    RightEarTragion,
    LeftEyePupil,
    RightEyePupil,
    ForeheadGlabella,
    ChinGnathion,
    ChinLeftGonion,
    ChinRightGonion,
}

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.

Variants

UnknownLandmark

Unknown face landmark detected. Should not be filled.

LeftEye

Left eye.

RightEye

Right eye.

LeftOfLeftEyebrow

Left of left eyebrow.

RightOfLeftEyebrow

Right of left eyebrow.

LeftOfRightEyebrow

Left of right eyebrow.

RightOfRightEyebrow

Right of right eyebrow.

MidpointBetweenEyes

Midpoint between eyes.

NoseTip

Nose tip.

UpperLip

Upper lip.

LowerLip

Lower lip.

MouthLeft

Mouth left.

MouthRight

Mouth right.

MouthCenter

Mouth center.

NoseBottomRight

Nose, bottom right.

NoseBottomLeft

Nose, bottom left.

NoseBottomCenter

Nose, bottom center.

LeftEyeTopBoundary

Left eye, top boundary.

LeftEyeRightCorner

Left eye, right corner.

LeftEyeBottomBoundary

Left eye, bottom boundary.

LeftEyeLeftCorner

Left eye, left corner.

RightEyeTopBoundary

Right eye, top boundary.

RightEyeRightCorner

Right eye, right corner.

RightEyeBottomBoundary

Right eye, bottom boundary.

RightEyeLeftCorner

Right eye, left corner.

LeftEyebrowUpperMidpoint

Left eyebrow, upper midpoint.

RightEyebrowUpperMidpoint

Right eyebrow, upper midpoint.

LeftEarTragion

Left ear tragion.

RightEarTragion

Right ear tragion.

LeftEyePupil

Left eye pupil.

RightEyePupil

Right eye pupil.

ForeheadGlabella

Forehead glabella.

ChinGnathion

Chin gnathion.

ChinLeftGonion

Chin left gonion.

ChinRightGonion

Chin right gonion.

Implementations

impl Type[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Type.

pub fn from_i32(value: i32) -> Option<Type>[src]

Converts an i32 to a Type, or None if value is not a valid variant.

Trait Implementations

impl Clone for Type[src]

impl Copy for Type[src]

impl Debug for Type[src]

impl Default for Type[src]

impl Eq for Type[src]

impl From<Type> for i32[src]

impl Hash for Type[src]

impl Ord for Type[src]

impl PartialEq<Type> for Type[src]

impl PartialOrd<Type> for Type[src]

impl StructuralEq for Type[src]

impl StructuralPartialEq for Type[src]

Auto Trait Implementations

impl RefUnwindSafe for Type

impl Send for Type

impl Sync for Type

impl Unpin for Type

impl UnwindSafe for Type

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]