Skip to content

Commit

Permalink
fix: correct type of ocr oem
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Sep 2, 2024
1 parent 036d34c commit b8c24a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/lib_ccxr/src/common/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ pub struct Options {
/// The name of the .traineddata file to be loaded with tesseract
pub ocrlang: PathBuf,
/// The Tesseract OEM mode, could be 0 (default), 1 or 2
pub ocr_oem: u8,
pub ocr_oem: i8,
/// The Tesseract PSM mode, could be between 0 and 13. 3 is tesseract default
pub psm: i32,
/// How to quantize the bitmap before passing to to tesseract
Expand Down

0 comments on commit b8c24a9

Please sign in to comment.