Bangkit Capstone Project
(B21-CAP0484)
This project implemented machine learning to detect fire from HLS video stream and then will send notifications to the android app. We used dataset from kaggle
To run this project, ensure you have:
- Video stream (you can put the video stream to
hls-server/streams
) - Installed requirements.txt
- run HLS server
node hls-server/index.js
- run main server
python server/main.py
- install the android app
- to get notifications, please click
turn on
first in the app. You will be notified if fire was detected. (or you can request tolocalhost/turn_on
) - if you get a notification there is a fire detected, go to
Menu
→Notification
, then you can clickget Image
to get the frame of the video. (or you can request tolocalhost/get_status
)
+ hls-server
+ streams # video streams folder
+ cctv.mp4
+ index.js # code to run hls server
+ file stream.py # code to generate video stream
+ requirements.txt
+ Model
+ fire_detection_v2.h5
+ Fire_Detection_v2.ipynb
+ server
+ main.py # code to run main server
+ requirements.txt
+ detector.py
+ Firewatch
+ app # App Resources
+ asset # Logo Firewatch
+ gradle/wrapper
+ Firewatch.apk # Application Firewatch
- Mobile Programming
- A3322963 - Ahmad Try Bayu Al Haq
- A3322967 - M Alfin Nurdiansyah
- Cloud Computing
- C0111137 - Barin Khalifamadani Anantapasha
- C3252917 - Nathanael Victorious
- Machine Learning
- M0111144 - Muhamad Syifa Nurhidayat