Skip to main content

Module face_processor

Module face_processor 

Source
Expand description

Face processing pipeline

Orchestrates the face detection -> embedding -> clustering workflow. Uses rayon for parallel photo processing with thread-local ONNX sessions.

Structs§

FaceProcessingProgress
Progress information for face processing
FaceProcessingResult
Result of a face processing run
FaceProcessor
Face processing pipeline
ManualFace
A face found where the user pointed, ready to store.
SoftCrop
A face whose saved crop predates full-size crops.

Enums§

EmbedderRoute
Where face embeddings are being computed for this run.
FaceProcessingStage
Coarse progress phase. The UI uses this to keep the bar moving past the per-photo loop into clustering, so we never sit at “x/x” while the post-processing tail runs.
ManualFaceError
Why a drawn face could not be added.

Functions§

iou
Intersection over union of two (x, y, width, height) boxes.