celia // marketplace platform 2.7.0 · hub@bbef4a83

rules / par03

PAR03 v1.0.0

PAR03 — adult sustained phone usage

description

Sustained phone-usage rule for staff monitoring: flag an ADULT who is using a phone for at least phone_usage_ratio_threshold of a sliding time window (window must be >= min_duration long). Per-frame binary phone gate (using_phone_scores > threshold_phone from the attribute SGIE), ratio-over-window smoothing so brief glances don't fire, immediate emit on confirmation, fire-once per track. Unlike PAR02 there is NO motion requirement — this targets prolonged distraction (e.g. a caregiver on the phone instead of supervising), stationary or not, and it only evaluates adults (children with phones are ignored).

use cases

  • caregiver/teacher attention monitoring in childcare rooms (phone instead of supervising)
  • staff phone-usage policy during work hours at counters, gates, guard posts
  • sustained-distraction detection where duration matters more than movement

limitations

  • needs adult/child separation (detector classes or SGIE age scores) to target adults only
  • {'score-based': 'phones held low / out of crop reduce recall; tune threshold_phone + window'}
  • per-track fire-once — a person who stops and resumes later re-fires only after track loss

config parameters

general

ParameterTypeDefaultNotes
target_class array of string ["adult"]
confidence_threshold number 0.5 (min 0.0, max 0.99)
violent_duration_threshold number 20.0 (min 1)
phone_usage_ratio_threshold number 0.4 (min 0.0, max 1.0)
min_duration number 10.0 (min 0)
threshold_phone number 0.4 (min 0.0, max 1.0)

advanced

ParameterTypeDefaultNotes
camera_fps integer 10
cam_resolution array of integer (min items 2, max items 2)

golden replay cases

CaseFramesExpected events
sustained-phone71