ocrmypdf-rs 0.0.2

A sdk for the ocrmypdf command line tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*mod lib;
use lib::{Ocr, OcrMyPdf};

fn main() {
    let args: Vec<String> = vec!["--force-ocr".to_string()];
    let input_path = String::from("pdf.test.pdf");
    let output_path = String::from("output.pdf");
    let mut ocr_my_pdf = OcrMyPdf::new(Some(args), None, Some(output_path));

    ocr_my_pdf.set_input_path(input_path).execute();
}
*/

fn main() {}