Skip to content

Latest commit

 

History

History
 
 

gen2-gaze-estimation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

中文文档

[Gen2] Gaze estimation

This example demonstrates how to run 3 stage inference (3-series, 2-parallel) on DepthAI using Gen2 Pipeline Builder.

Peek.2021-01-28.14-45.mp4

Original OpenVINO demo, on which this example was made, is official here from Intel and implemented with the NCS2 with nice diagrams and explanation, here, from @LCTyrell.

graph

Figure: @LCTyrell

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
                        Path to video file to be used for inference (conflicts with -cam)

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

python3 main.py -vid ./demo.mp4

To use with DepthAI 4K RGB camera, use instead

python3 main.py -cam