[][src]Enum gcp_client::google::cloud::vision::v1::feature::Type

#[repr(i32)]pub enum Type {
    Unspecified,
    FaceDetection,
    LandmarkDetection,
    LogoDetection,
    LabelDetection,
    TextDetection,
    DocumentTextDetection,
    SafeSearchDetection,
    ImageProperties,
    CropHints,
    WebDetection,
    ProductSearch,
    ObjectLocalization,
}

Type of Google Cloud Vision API feature to be extracted.

Variants

Unspecified

Unspecified feature type.

FaceDetection

Run face detection.

LandmarkDetection

Run landmark detection.

LogoDetection

Run logo detection.

LabelDetection

Run label detection.

TextDetection

Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use DOCUMENT_TEXT_DETECTION instead.

DocumentTextDetection

Run dense text document OCR. Takes precedence when both DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.

SafeSearchDetection

Run Safe Search to detect potentially unsafe or undesirable content.

ImageProperties

Compute a set of image properties, such as the image's dominant colors.

CropHints

Run crop hints.

WebDetection

Run web detection.

ProductSearch

Run Product Search.

ObjectLocalization

Run localizer for object detection.

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]