Skip to content

Latest commit

 

History

History
 
 

gen2-fire-detection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

中文文档

Fire detection

This example demonstrates the Gen2 Pipeline Builder running fire detection network

Demo:

demo

Pre-requisites

Install requirements:

python3 -m pip install -r requirements.txt

Usage

usage: main.py [-h] [-nd] [-cam] [-vid VIDEO]

optional arguments:
  -h, --help            show this help message and exit
  -nd, --no-debug       prevent debug output
  -cam, --camera        Use DepthAI 4K RGB camera for inference (conflicts with -vid)
  -vid VIDEO, --video VIDEO
                        The path of the video file used for inference (conflicts with -cam)

To use with a video file, run the script with the following arguments

python main.py -vid <path>

To use with DepthAI 4K RGB camera, use instead

python main.py -cam

Press 'q' to exit the program.