Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gen2 Gaze example #8

Merged
merged 6 commits into from Oct 22, 2020
Merged

Add Gen2 Gaze example #8

merged 6 commits into from Oct 22, 2020

Conversation

VanDavv
Copy link
Contributor

@VanDavv VanDavv commented Oct 21, 2020

Gaze estimation

This example demonstrates how to run 3 stage inference on DepthAI using Gen2 Pipeline Builder

Origina OpenVINO demo, on which this example was made, is here

Demo

Gaze Example Demo

Pre-requisites

  1. Purchase a DepthAI model (see shop.luxonis.com)
  2. 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.py

To use with DepthAI 4K RGB camera, use instead

python3 main.py -cam

@Luxonis-Brandon Luxonis-Brandon added Gen2 Feature for or issue with Gen2 enhancement New feature or request labels Oct 21, 2020
@Luxonis-Brandon Luxonis-Brandon added this to In progress in Gen2 Phase I Delivery via automation Oct 21, 2020
@VanDavv VanDavv marked this pull request as ready for review October 22, 2020 10:26
@VanDavv VanDavv merged commit c5e72ee into master Oct 22, 2020
@Luxonis-Brandon Luxonis-Brandon moved this from In progress to Done in Gen2 Phase I Delivery Oct 26, 2020
@VanDavv VanDavv deleted the gen2-gaze branch October 29, 2020 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Gen2 Feature for or issue with Gen2
Development

Successfully merging this pull request may close these issues.

None yet

3 participants