Enum opencv::text::page_seg_mode
source · #[repr(C)]pub enum page_seg_mode {
PSM_OSD_ONLY = 0,
PSM_AUTO_OSD = 1,
PSM_AUTO_ONLY = 2,
PSM_AUTO = 3,
PSM_SINGLE_COLUMN = 4,
PSM_SINGLE_BLOCK_VERT_TEXT = 5,
PSM_SINGLE_BLOCK = 6,
PSM_SINGLE_LINE = 7,
PSM_SINGLE_WORD = 8,
PSM_CIRCLE_WORD = 9,
PSM_SINGLE_CHAR = 10,
}Expand description
Tesseract.PageSegMode Enumeration
Variants§
PSM_OSD_ONLY = 0
PSM_AUTO_OSD = 1
PSM_AUTO_ONLY = 2
PSM_AUTO = 3
PSM_SINGLE_COLUMN = 4
PSM_SINGLE_BLOCK_VERT_TEXT = 5
PSM_SINGLE_BLOCK = 6
PSM_SINGLE_LINE = 7
PSM_SINGLE_WORD = 8
PSM_CIRCLE_WORD = 9
PSM_SINGLE_CHAR = 10
Trait Implementations§
source§impl Clone for page_seg_mode
impl Clone for page_seg_mode
source§fn clone(&self) -> page_seg_mode
fn clone(&self) -> page_seg_mode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for page_seg_mode
impl Debug for page_seg_mode
source§impl From<page_seg_mode> for i32
impl From<page_seg_mode> for i32
source§fn from(v: page_seg_mode) -> Self
fn from(v: page_seg_mode) -> Self
Converts to this type from the input type.
source§impl PartialEq for page_seg_mode
impl PartialEq for page_seg_mode
source§fn eq(&self, other: &page_seg_mode) -> bool
fn eq(&self, other: &page_seg_mode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for page_seg_mode
impl Eq for page_seg_mode
impl StructuralPartialEq for page_seg_mode
Auto Trait Implementations§
impl Freeze for page_seg_mode
impl RefUnwindSafe for page_seg_mode
impl Send for page_seg_mode
impl Sync for page_seg_mode
impl Unpin for page_seg_mode
impl UnwindSafe for page_seg_mode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more