Expand description
Facade crate for SightLoom host integration.
Workspace layout:
sightloom-core— geometry, detections, NMS, zones, envelopessightloom-tracking— ByteTrack-style tracking, smoothers, trajectoriessightloom-index— observations, masks,VisionIndexstoragesightloom-analysis— zone analytics, patterns, anomaliessightloom-reid— subject references and identity contractssightloom— this facade
detections → tracks → (optional re-id) → zone events → VisionIndex snapshotRe-exports§
pub use sightloom_analysis as analysis;pub use sightloom_core as core;pub use sightloom_index as index;pub use sightloom_reid as reid;pub use sightloom_tracking as tracking;
Structs§
- Demo
Span Dto - Demo-oriented identity + span export row (JSON-friendly).
- Index
Session - Host-facing session: multi-source tracker + identity gallery +
VisionIndex. - Ingest
Metrics - Lightweight counters hosts can scrape or export to Prometheus.
- Ingest
Policy - Host ingest policy for a session or source.
- Photo
Search Result - Photo search hit plus optional evidence reel for host UI.
- Seed
Result - Helper used by session seed responses.
- Source
Watermark - Per-source checkpoint watermark.
- Track
Span Export - Host-facing export of one effective track/mask sample (no pixels).
- Uncertain
Interval Dto - Uncertain identity interval DTO for host UI.
Enums§
- Drop
Policy - What to do when the ingest queue is full.
- Ingest
Decision - Decision for a candidate frame under policy + watermark.
- Late
Frame Policy - How to treat frames older than the source watermark.
- OutOf
Order Policy - Out-of-order timestamp policy within a source.
- Session
Error - Errors raised while materializing a
VisionIndexsession. - Source
Lifecycle - Host-facing source lifecycle event (for adapters / reconnect).
Functions§
- analysis_
series_ from_ index - Builds an
AnalysisSeriesfrom index tables (effective track samples preferred). - anomaly_
reason_ label - Summarizes anomaly reasons for host UIs (English labels).
- baseline_
from_ index - Builds a statistical baseline from the index.
- detect_
anomalies_ from_ index - Detects statistical anomalies against a baseline using the live index series.
- evaluate_
stamp - Evaluates late / out-of-order policy for one stamp.
- mine_
patterns_ from_ index - Mines patterns from the index and returns new records (does not mutate index).