fmt: format
This commit is contained in:
parent
f4c23b02f6
commit
60039bbaa5
@ -1,2 +1,2 @@
|
|||||||
|
pub mod libtesseract;
|
||||||
pub mod subprocess;
|
pub mod subprocess;
|
||||||
pub mod libtesseract;
|
|
@ -12,10 +12,7 @@ static TESSERACT_ARGS: LazyLock<Args> = LazyLock::new(|| Args {
|
|||||||
|
|
||||||
static TESSERACT_NUMERIC_ARGS: LazyLock<Args> = LazyLock::new(|| Args {
|
static TESSERACT_NUMERIC_ARGS: LazyLock<Args> = LazyLock::new(|| Args {
|
||||||
lang: "eng".to_string(),
|
lang: "eng".to_string(),
|
||||||
config_variables: HashMap::from([(
|
config_variables: HashMap::from([("tessedit_char_whitelist".into(), "0123456789".into())]),
|
||||||
"tessedit_char_whitelist".into(),
|
|
||||||
"0123456789".into(),
|
|
||||||
)]),
|
|
||||||
psm: Some(6),
|
psm: Some(6),
|
||||||
dpi: None,
|
dpi: None,
|
||||||
oem: Some(1),
|
oem: Some(1),
|
||||||
|
Loading…
Reference in New Issue
Block a user