ppocr-rs 0.7.3

PP-OCRv6 + PP-DocLayoutV3 + SLANet_plus + RT-DETR-L + PP-LCNet in puro Rust su ort 2.0.0-rc.9. Fork di meibel-ai/paddle-ocr-rs (Apache-2.0) con layout, table structure, cell detection e orientamento documento.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ppocr-rs"
version = "0.7.3"
authors = ["Dario Finardi <df@dariofinardi.it>"]
build = false
exclude = [
    "docs/",
    "tools/",
    "tests/",
    "ocr_test/",
    ".env",
    ".env.*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PP-OCRv6 + PP-DocLayoutV3 + SLANet_plus + RT-DETR-L + PP-LCNet in puro Rust su ort 2.0.0-rc.9. Fork di meibel-ai/paddle-ocr-rs (Apache-2.0) con layout, table structure, cell detection e orientamento documento."
readme = "README.md"
keywords = [
    "ocr",
    "paddleocr",
    "onnx",
    "document",
    "layout",
]
categories = [
    "computer-vision",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/dariofinardi/PaddleOCR-OCR-rs"

[features]
default = []
example-dynamic = ["ort/load-dynamic"]
fetch-models = ["dep:ureq"]
test-binaries = ["ort/download-binaries"]

[lib]
name = "ppocr_rs"
path = "src/lib.rs"

[[bin]]
name = "ppocr-cli"
path = "src/bin/ppocr_cli.rs"
required-features = []

[[example]]
name = "cell_aware_reorder"
path = "examples/cell_aware_reorder.rs"

[[example]]
name = "ocr_pipeline"
path = "examples/ocr_pipeline.rs"

[dependencies.clipper-sys]
version = "0.8"

[dependencies.geo-clipper]
version = "0.9"

[dependencies.geo-types]
version = "0.7"

[dependencies.image]
version = "0.25"

[dependencies.imageproc]
version = "0.25"

[dependencies.ndarray]
version = "0.16"

[dependencies.ort]
version = "=2.0.0-rc.9"
features = [
    "ndarray",
    "directml",
    "coreml",
    "cuda",
    "xnnpack",
]
default-features = false

[dependencies.ort-sys]
version = "=2.0.0-rc.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
version = "2"
features = ["tls"]
optional = true

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.tiff]
version = "0.10"

[build-dependencies.cc]
version = "1"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1