Skip to content

Enable face/eye analysis

The closed-eyes / blink and facing/smile cull signals come from the face/eye provider. Like every heavy provider it's off by default — cull still runs blur, exposure and dedup without it. Turn it on to add the eye signals.

Turn it on

Set face.enabled in your config, either in the config file:

face:
  enabled: true

or via an environment variable:

export KRITES_FACE_ENABLED=true

On the next cull, krites fetches and checksum-verifies the pinned ONNX models and the ONNX Runtime library itself (once each), then runs them on-device — nothing leaves your machine. There's no runtime to install or path to set: the library is bundled in the macOS app and auto-downloaded elsewhere (onnxruntime.library_path is an optional override; see the config reference).

Apple Silicon

Run the models on the CoreML execution provider (falls back to CPU if unavailable):

face:
  execution_provider: coreml

Tune the thresholds

The eye/smile/facing cutoffs are starting points. For example, to treat eyes as closed more readily, raise face.ear.closed. All keys and their defaults are in the configuration reference; the design is in spec 0004.

Then re-cull to apply:

krites cull --shoot ~/Pictures/smith-wedding