This example demonstrates the Gen2 Pipeline Builder running face detection network and mask detection network
- Purchase a DepthAI model (see shop.luxonis.com)
- Install requirements
python -m pip install -r requirements.txt
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
Path to video file to be used for inference (conflicts with -cam)
python main.py -cam
python main.py -vid <path>
Press 'q' to exit the program.