How umair-khan001/safety-compliance-detection works
Project Overview & Main Purpose
• The project (named “safety-compliance-detection”) is structured as a modular detection/tracking system. Even though it contains multiple detector variants (YOLOv5 through YOLOv8, YOLOR, YOLOX, etc.), the current operation focuses solely on YOLOv8.
• The system is intended to process video (or image) streams for detection in a safety-compliance context. It also includes web interfaces (using Flask, as indicated by flaskApp.py and template files) for real-time display of detection results.
Architecturally Key Components
A. Input & Web Interface:
• Data Source/Input Modules: Could include live camera feeds or video files. The web server (flaskApp.py) accepts incoming video streams or user-uploaded content.
• Frontend/UI: Templates under the “templates” directory (e.g., root.html, video.html) represent the user interface that displays real-time or processed detection results.
B. Core Detection Module – YOLOv8:
• Detector: The active YOLOv8 detector is located at asone/detectors/yolov8/yolov8_detector.py.
• Utilities: Support functions specific to YOLOv8 are in asone/detectors/yolov8/utils/yolov8_utils.py. Although other YOLO variants are present, your design should only include YOLOv8.
C. (Optional) Tracker & Post-Processing:
D. Utility Services & Configuration:
• Utility modules under utils (like image processing, non-max suppression, etc.) support the detection pipeline.
• AWS and Google App Engine related utilities (from utils/aws and utils/google_app_engine) indicate potential deployment or cloud integration points that might be background services for scalability though not the focus in the current YOLOv8-centered design.