Struct gapi_grpc::google::cloud::documentai::v1beta1::OcrParams[][src]

pub struct OcrParams {
    pub language_hints: Vec<String>,
}

Parameters to control Optical Character Recognition (OCR) behavior.

Fields

language_hints: Vec<String>

List of languages to use for OCR. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting language_hints is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Document processing returns an error if one or more of the specified languages is not one of the supported languages.

Trait Implementations

impl Clone for OcrParams[src]

impl Debug for OcrParams[src]

impl Default for OcrParams[src]

impl Message for OcrParams[src]

impl PartialEq<OcrParams> for OcrParams[src]

impl StructuralPartialEq for OcrParams[src]

Auto Trait Implementations

impl RefUnwindSafe for OcrParams

impl Send for OcrParams

impl Sync for OcrParams

impl Unpin for OcrParams

impl UnwindSafe for OcrParams

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<T> From<T> for T[src]

impl<T> Instrument 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>, 
[src]

impl<T> WithSubscriber for T[src]