oar-ocr-core 0.6.1

Core types and predictors for oar-ocr
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 = "2024"
name = "oar-ocr-core"
version = "0.6.1"
authors = ["Wang Xin <xinwang614@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and predictors for oar-ocr"
homepage = "https://github.com/greatv/oar-ocr"
readme = "README.md"
keywords = [
    "ocr",
    "onnx",
    "computer-vision",
    "text-recognition",
    "machine-learning",
]
categories = [
    "computer-vision",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/greatv/oar-ocr"
resolver = "2"

[features]
coreml = ["ort/coreml"]
cuda = ["ort/cuda"]
default = ["download-binaries"]
directml = ["ort/directml"]
download-binaries = ["ort/download-binaries"]
openvino = ["ort/openvino"]
tensorrt = ["ort/tensorrt"]
webgpu = ["ort/webgpu"]

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

[dependencies.clipper2]
version = "0.5.3"

[dependencies.html-escape]
version = "0.2"

[dependencies.image]
version = "0.25.6"

[dependencies.imageproc]
version = "0.26.0"

[dependencies.itertools]
version = "0.14"

[dependencies.nalgebra]
version = "0.34"

[dependencies.ndarray]
version = "0.17"

[dependencies.oar-ocr-derive]
version = "0.6.1"

[dependencies.once_cell]
version = "1.19"

[dependencies.ort]
version = "2.0.0-rc.11"
features = [
    "std",
    "ndarray",
    "tracing",
    "tls-native",
    "copy-dylibs",
]
default-features = false

[dependencies.rayon]
version = "1.8"

[dependencies.regex]
version = "1.11.1"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.22"
features = [
    "progressbar",
    "onig",
]
default-features = false

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tempfile]
version = "3.19"