[package]
edition = "2024"
name = "object_detector"
version = "0.1.1"
build = false
exclude = [
"assets",
".github",
"TODO.md",
"justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Object detection using ORT and the yoloe-26-seg model. This model can detect multiple objects per image, each having a tag, pixel-level mask, and a boundingbox. It's pretrained, it has a vocabulary of 4000+ objects. "
homepage = "https://github.com/RuurdBijlsma/object_detector-rs"
documentation = "https://docs.rs/object_detector"
readme = "README.md"
license = "AGPL-3.0"
repository = "https://github.com/RuurdBijlsma/object_detector-rs"
[features]
acl = ["ort/acl"]
armnn = ["ort/armnn"]
azure = ["ort/azure"]
cann = ["ort/cann"]
copy-dylibs = ["ort/copy-dylibs"]
coreml = ["ort/coreml"]
cuda = ["ort/cuda"]
default = ["load-dynamic"]
directml = ["ort/directml"]
download-binaries = ["ort/download-binaries"]
load-dynamic = ["ort/load-dynamic"]
migraphx = ["ort/migraphx"]
nnapi = ["ort/nnapi"]
nvrtx = ["ort/nvrtx"]
onednn = ["ort/onednn"]
openvino = ["ort/openvino"]
qnn = ["ort/qnn"]
rknpu = ["ort/rknpu"]
tensorrt = ["ort/tensorrt"]
tvm = ["ort/tvm"]
vitis = ["ort/vitis"]
webgpu = ["ort/webgpu"]
xnnpack = ["ort/xnnpack"]
[lib]
name = "object_detector"
path = "src/lib.rs"
[[bin]]
name = "object_detector"
path = "src/main.rs"
[[example]]
name = "export_outputs"
path = "examples/export_outputs.rs"
[[test]]
name = "regression"
path = "tests/regression.rs"
[[bench]]
name = "predict_benchmark"
path = "benches/predict_benchmark.rs"
harness = false
[dependencies.color-eyre]
version = "0.6.5"
[dependencies.image]
version = "0.25.10"
[dependencies.ndarray]
version = "0.17.2"
[dependencies.num_cpus]
version = "1.17.0"
[dependencies.ort]
version = "2.0.0-rc.12"
features = ["ndarray"]
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]