[package]
name = "ocrs-cli"
version = "0.12.2"
edition = "2021"
authors = ["Robert Knight"]
description = "OCR CLI tool for extracting text from images"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/robertknight/ocrs"
repository = "https://github.com/robertknight/ocrs"
[dependencies]
image = { version = "0.25.9", default-features = false, features = ["png", "jpeg", "webp"] }
png = "0.18.1"
serde_json = "1.0.149"
rten = { workspace = true }
rten-imageproc = { workspace = true }
rten-tensor = { workspace = true }
ocrs = { path = "../ocrs", version = "0.12.2" }
lexopt = "0.3.2"
url = "2.5.4"
anyhow = "1.0.102"
[features]
onnx = ["ocrs/onnx"]
clipboard = ["arboard"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ureq = "3.2.0"
home = "0.5.12"
arboard = { version = "3", optional = true }
[[bin]]
name = "ocrs"
path = "src/main.rs"
doc = false