# ─────────────────────────────────────────────────────────
# Beyond Senses auto-generated config for:
#   keremberke/yolov8s-protective-equipment-detection  (keremberke_ppe)
# Frigate instance: keremberke_ppe
# ─────────────────────────────────────────────────────────
detectors:
  keremberke_ppe_keremberke_ppe:
    type: onnx
    device: cpu
    num_threads: 3

model:
  custom_recognizer: keremberke_ppe
  # النماذج المُحمَّلة من الكتالوج تُسجَّل في DB
  # frigate يفحص /config/model_cache/keremberke_ppe_keremberke_ppe.onnx تلقائياً

# zones & labels جاهزة (يمكن تخصيصها)
labels:
  Hardhat:
  Mask:
  NO-Hardhat:
  NO-Mask:
  NO-Safety Vest:
  Person:
  Safety Cone:
  Safety Vest:
  machinery:
  vehicle:
  glasses:
  gloves:
  PPE-suit:
  ear-protector:
  safety-harness:

# مثال: كيف يُطبَّق النموذج على كاميرا معيّنة
# cameras:
#   cam_01:
#     detect:
#       enabled: true
#     model:
#       type: keremberke_ppe
#     zones:
#       - name: work_zone
#         coordinates: "0,0,1000,0,1000,1000,0,1000"
#         filters:
#           Hardhat_threshold: 0.6
# ─────────────────────────────────────────────────────────
