edgefirst-decoder 0.38.0

ML model output decoding for YOLO and ModelPack object detection and segmentation
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"
rust-version = "1.94.0"
name = "edgefirst-decoder"
version = "0.38.0"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ML model output decoding for YOLO and ModelPack object detection and segmentation"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/edgefirst-decoder"
readme = "README.md"
keywords = [
    "yolo",
    "object-detection",
    "segmentation",
    "nms",
    "edge-ai",
]
categories = [
    "multimedia::images",
    "science",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/hal"
resolver = "3"

[features]
default = []
model-files = ["dep:zip"]
tracker = [
    "dep:edgefirst-tracker",
    "edgefirst-tracker/tensor-boxes",
]

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

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

[[test]]
name = "decoder_capacity"
path = "tests/decoder_capacity.rs"

[[test]]
name = "decoder_decode_vs_proto_parity"
path = "tests/decoder_decode_vs_proto_parity.rs"

[[test]]
name = "decoder_from_edgefirst_json"
path = "tests/decoder_from_edgefirst_json.rs"

[[test]]
name = "decoder_input_access"
path = "tests/decoder_input_access.rs"

[[test]]
name = "decoder_modelpack_multitask"
path = "tests/decoder_modelpack_multitask.rs"

[[test]]
name = "decoder_normalized_flag"
path = "tests/decoder_normalized_flag.rs"

[[test]]
name = "infer_builder"
path = "tests/infer_builder.rs"

[[test]]
name = "modelpack_coffeecup_parity"
path = "tests/modelpack_coffeecup_parity.rs"

[[test]]
name = "modelpack_decoder_schemas"
path = "tests/modelpack_decoder_schemas.rs"

[[test]]
name = "multi_label_paths"
path = "tests/multi_label_paths.rs"

[[test]]
name = "per_scale_parity"
path = "tests/per_scale_parity.rs"

[[test]]
name = "pre_nms_top_k"
path = "tests/pre_nms_top_k.rs"

[[test]]
name = "semantic_decoder"
path = "tests/semantic_decoder.rs"

[[test]]
name = "semantic_segformer_parity"
path = "tests/semantic_segformer_parity.rs"

[[bench]]
name = "decoder_benchmark"
path = "benches/decoder_benchmark.rs"
harness = false

[dependencies.argminmax]
version = "0.7.1"
default-features = false

[dependencies.edgefirst-decoder-abi]
version = "0.38.0"

[dependencies.edgefirst-tensor]
version = "0.38.0"
features = ["ndarray"]
default-features = false

[dependencies.edgefirst-tracker]
version = "0.38.0"
optional = true
default-features = false

[dependencies.half]
version = "2.7.1"
features = ["num-traits"]

[dependencies.log]
version = "0.4.33"

[dependencies.ndarray]
version = "0.17.2"
features = ["rayon"]

[dependencies.ndarray-stats]
version = "0.7.0"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rayon]
version = "1.12.0"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_yaml]
version = "0.10.0"
package = "serde_yaml_ng"

[dependencies.tracing]
version = "0.1"

[dependencies.zip]
version = "9"
features = ["deflate-flate2-zlib-rs"]
optional = true
default-features = false

[dev-dependencies.env_logger]
version = "0.11.10"
features = [
    "auto-color",
    "humantime",
]
default-features = false

[dev-dependencies.image]
version = "0.25.10"
features = [
    "png",
    "jpeg",
]
default-features = false

[dev-dependencies.libc]
version = "0.2.186"

[dev-dependencies.mutants]
version = "0.0.4"

[dev-dependencies.rand]
version = "0.10.1"

[dev-dependencies.rand_distr]
version = "0.6.0"

[dev-dependencies.safetensors]
version = "0.8.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]

[dev-dependencies.zip]
version = "9"
features = ["deflate"]
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage,coverage_nightly)",
    "cfg(edgefirst_tensor_dynamic)",
]