feat: face clustering pipeline improvements and Rust/Swift face processing
- Add Rust face processor module (detection, embedding, tracking, qdrant) - Add Facenet CoreML/ONNX conversion scripts and tests - Refactor swift_face into Sources/swift_face with ArgumentParser support - Update store_traced_faces to handle face.json correctly - Fix ASRX parsing and TKG bbox reading from Qdrant - Improve admin_config and trace_agent APIs - Add M4 workspace docs for face clustering, dedup, and Facenet validation - Fix worker heartbeat TTL (poll_interval x 3, min 60s) for offline detection
This commit is contained in:
+33
-24
@@ -2,7 +2,10 @@
|
||||
name = "rust_processors"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Rust replacement for Python processor scripts (standalone binaries)"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_vad"
|
||||
path = "src/bin/rust_vad.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_appearance"
|
||||
@@ -13,42 +16,48 @@ name = "rust_pose"
|
||||
path = "src/bin/rust_pose.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_face_cluster"
|
||||
path = "src/bin/rust_face_cluster.rs"
|
||||
name = "rust_cut"
|
||||
path = "src/bin/rust_cut.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_vad"
|
||||
path = "src/bin/rust_vad.rs"
|
||||
name = "rust_face_cluster"
|
||||
path = "src/bin/rust_face_cluster.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_store_traced_faces"
|
||||
path = "src/bin/rust_store_traced_faces.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_cut"
|
||||
path = "src/bin/rust_cut.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_scene_vlm"
|
||||
path = "src/bin/rust_scene_vlm.rs"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
image = "0.25"
|
||||
ureq = { version = "2", features = ["json"] }
|
||||
base64 = "0.22"
|
||||
reqwest = { version = "0.12", features = ["blocking", "json"] }
|
||||
[[bin]]
|
||||
name = "rust_facenet"
|
||||
path = "src/bin/rust_facenet.rs"
|
||||
|
||||
# VAD dependencies
|
||||
[[bin]]
|
||||
name = "rust_facenet_coreml"
|
||||
path = "src/bin/rust_facenet_coreml.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_face_processor"
|
||||
path = "src/bin/rust_face_processor.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { version = "2.0.0-rc.13", features = ["download-binaries"] }
|
||||
hound = "3.5"
|
||||
ndarray = "0.17"
|
||||
anyhow = "1"
|
||||
anyhow = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
clap = { version = "4.0", features = ["derive"] }
|
||||
image = "0.25"
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
async-trait = "0.1"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
base64 = "0.22"
|
||||
regex = "1.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
uuid = { version = "1.0", features = ["v4"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 2
|
||||
[workspace]
|
||||
|
||||
Reference in New Issue
Block a user