weapon-detection / demos /alert_service_example.py
ishworrsubedii's picture
feat: add complete pipeline and Streamlit code This commit introduces a complete pipeline for both single and real-time inferences using cameras. It includes the implementation of Streamlit code to facilitate the process.
c640bc9 verified
raw
history blame
234 Bytes
"""
Created By: ishwor subedi
Date: 2023-12-30
"""
from services.alert_service.alert_service import AlertService
if __name__ == '__main__':
alert_service = AlertService("resources/alert/alert.mp3")
alert_service.play_alert()