rusty-tesseract icon indicating copy to clipboard operation
rusty-tesseract copied to clipboard

Not getting text from image

Open keplerHaloxx opened this issue 9 months ago • 3 comments

This is my code

let img = Image::from_path("C:/Users/{my user}/Downloads/asd.png").unwrap();
let mut my_args = Args::default();
let output = rusty_tesseract::image_to_string(&img, &my_args).unwrap();
println!("The String output is: {:?}", output);

and this is the output

Tesseract Command: tesseract.exe C:/Users/{my user}/Downloads/asd.png stdout -l eng --dpi 150 --psm 3 --oem 3
The String output is: ""

This is the image im using it with asd

Is it something to do with my image/tesseract args or is it with the crate?

keplerHaloxx avatar May 16 '24 10:05 keplerHaloxx