face_id 0.2.3

Face detection (bounding boxes, eyes/nose/mouth markers), and facial recognition (embeddings).
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 = "face_id"
version = "0.2.3"
build = false
exclude = [
    "assets",
    ".github",
    "output_previews",
    "justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Face detection (bounding boxes, eyes/nose/mouth markers), and facial recognition (embeddings)."
homepage = "https://github.com/RuurdBijlsma/face_id-rs"
documentation = "https://docs.rs/face_id"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/RuurdBijlsma/face_id-rs"

[features]
acl = ["ort/acl"]
armnn = ["ort/armnn"]
azure = ["ort/azure"]
cann = ["ort/cann"]
clustering = ["dep:hdbscan"]
copy-dylibs = ["ort/copy-dylibs"]
coreml = ["ort/coreml"]
cuda = ["ort/cuda"]
default = [
    "download-binaries",
    "copy-dylibs",
    "hf-hub",
    "serde",
    "clustering",
]
directml = ["ort/directml"]
download-binaries = ["ort/download-binaries"]
hf-hub = ["dep:hf-hub"]
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"]
serde = [
    "dep:serde",
    "dep:serde_json",
]
tensorrt = ["ort/tensorrt"]
tvm = ["ort/tvm"]
vitis = ["ort/vitis"]
webgpu = ["ort/webgpu"]
xnnpack = ["ort/xnnpack"]

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

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

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

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

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

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

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

[dependencies.bon]
version = "3.9.0"

[dependencies.hdbscan]
version = "0.12.0"
optional = true

[dependencies.hf-hub]
version = "0.5.0"
features = ["tokio"]
optional = true

[dependencies.image]
version = "0.25.9"
features = ["rayon"]

[dependencies.nalgebra]
version = "0.34.1"

[dependencies.ndarray]
version = "0.17.2"

[dependencies.ort]
version = "2.0.0-rc.12"
features = ["ndarray"]

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.ab_glyph]
version = "0.2.32"

[dev-dependencies.color-eyre]
version = "0.6.5"

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[dev-dependencies.hdbscan]
version = "0.12.0"

[dev-dependencies.imageproc]
version = "0.26.1"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.tokio]
version = "1.50"
features = [
    "rt",
    "macros",
]

[dev-dependencies.walkdir]
version = "2.5.0"