fmt: format

This commit is contained in:
tretrauit 2024-01-06 00:03:11 +07:00
parent f4c23b02f6
commit 60039bbaa5
2 changed files with 2 additions and 5 deletions

View File

@ -1,2 +1,2 @@
pub mod subprocess;
pub mod libtesseract;
pub mod subprocess;

View File

@ -12,10 +12,7 @@ static TESSERACT_ARGS: LazyLock<Args> = LazyLock::new(|| Args {
static TESSERACT_NUMERIC_ARGS: LazyLock<Args> = LazyLock::new(|| Args {
lang: "eng".to_string(),
config_variables: HashMap::from([(
"tessedit_char_whitelist".into(),
"0123456789".into(),
)]),
config_variables: HashMap::from([("tessedit_char_whitelist".into(), "0123456789".into())]),
psm: Some(6),
dpi: None,
oem: Some(1),