Remove zone pintu kiri buka and pintu kanan buka
This commit is contained in:
+4
-2
@@ -178,9 +178,11 @@ class FrigateCounter:
|
||||
logger.debug(f"Received message: camera={camera_name}, type={event_type}, label={label}")
|
||||
|
||||
# Handle different object types
|
||||
if label == "pintu-kiri-buka" and not self.timer_active and not self.pintu_kiri_buka_detected and self.pintu_kiri_buka_zone_name in zones_after:
|
||||
#if label == "pintu-kiri-buka" and not self.timer_active and not self.pintu_kiri_buka_detected and self.pintu_kiri_buka_zone_name in zones_after:
|
||||
if label == "pintu-kiri-buka" and not self.timer_active and not self.pintu_kiri_buka_detected:
|
||||
self.handle_pintu_kiri_buka(camera_name)
|
||||
elif label == "pintu-kanan-buka" and not self.timer_active and not self.pintu_kanan_buka_detected and self.pintu_kanan_buka_zone_name in zones_after:
|
||||
#elif label == "pintu-kanan-buka" and not self.timer_active and not self.pintu_kanan_buka_detected and self.pintu_kanan_buka_zone_name in zones_after:
|
||||
elif label == "pintu-kanan-buka" and not self.timer_active and not self.pintu_kanan_buka_detected:
|
||||
self.handle_pintu_kanan_buka(camera_name)
|
||||
elif label == "karung" and self.timer_active:
|
||||
self.handle_karung(camera_name, track_id)
|
||||
|
||||
Reference in New Issue
Block a user