pub fn text_of(
file: &Path,
work: &Path,
wanted: &[String],
) -> Result<String, Unread>Expand description
A scan’s text: a PDF’s own, else read from its pages; an image’s, read.
work is a folder for the pages while they are read (emptied after);
wanted, Tesseract’s models to read them with (“fra”, “eng”).