ocr 0.1.0

A minimalist OCR library for Rust — from scratch, no external engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
    #[error("Image error: {0}")]
    Image(#[from] image::ImageError),
    #[error("No text detected in image")]
    NoText,
}

pub type Result<T> = std::result::Result<T, Error>;