This flow will allow you to input a video file and detect fire in that video.
- A model will be selected for fire detection.
- It'll accept a video as the input.
- Fire will be detected in the input video.
- Predictions can be visualized.
Here we will use “yolo-416-fire’’ model to detect fire in the input video.
Check for the sample fire videos in the appropriate storage path (/DATA/source_video/) or upload the video to be detected in that path.
Drag and drop an Inject node and set the payload to timestamp and click done.
Drag and drop a Yolov4 Upload Model node under Object detection and name it appropriately to the relevant subject. Here it is named as “Add Fire Model”.
Change the name, project name and choose “yolo-416-fire” model in Checkpoint Name drop down menu and click done and deploy.
Drag and drop an Input Source Video node under Input-source-video and name it appropriately to the relevant subject. Here it is named as “Input Video”.
Check the Video File Path or upload the video file that needs to be detected in Input Source Node.
Drag and drop Yolov4 Prediction node under Object Detection and name it appropriately to the relevant subject. Here it is named as “Fire Detection”.
Drag and drop Html Visualize node under Auto AI and name it appropriately to the relevant subject. Here it is named as “Visualizer”.
Connect all nodes as shown below and click on deploy.
Click on the left side button of Inject node to start detection.
Predictions can be visualized by triggering Visualizer node (click on the right side button).