Enum tesseract::OcrEngineMode[][src]

pub enum OcrEngineMode {
    Default,
    LstmOnly,
    TesseractLstmCombined,
    TesseractOnly,
}

https://tesseract-ocr.github.io/tessapi/5.x/a01818.html#a04550a0ed1279562027bf2fc92c421aead84e1ef94e50df1622b4fcd189c6c00b

Variants

Default

Run Tesseract only - fastest; deprecated

LstmOnly

Run just the LSTM line recognizer.

TesseractLstmCombined

Run the LSTM recognizer, but allow fallback to Tesseract when things get difficult. deprecated

TesseractOnly

Specify this mode, to indicate that any of the above modes should be automatically inferred from the variables in the language-specific config, command-line configs, or if not specified in any of the above should be set to the default OEM_TESSERACT_ONLY.

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.