A rust wrapper for TR OCR
use kalosm_ocr::*; let mut model = Ocr::builder().build().await.unwrap(); let image = image::open("examples/ocr.png").unwrap(); let text = model .recognize_text( OcrInferenceSettings::new(image) .unwrap(), ) .unwrap(); println!("{}", text);
Ocr