Skip to content

Person Detection, Tracking and Action Classification Example presented in OpenVINO

Notifications You must be signed in to change notification settings

SamSamhuns/openvino_person_det_track_and_classify

Repository files navigation

OpenVINO

Set up a conda/venv virtual env and install dependencies from requirements.txt

OpenVINO install and inference

OpenVINO PyPi Package

Install with pip using: pip install openvino from https://pypi.org/project/openvino/

OpenVINO Python Inference Samples

https://github.com/odundar/openvino_python_samples

Running sample python scripts

1. Person/Object Detection

# image mode
$ python openvino_person_detection.py -m image -i PATH_TO_IMG -o OUTPUT_DIR
# video mode
$ python openvino_person_detection.py -m video -i PATH_TO_VID -o OUTPUT_DIR
# webcam mode
$ python openvino_person_detection.py -m webcam -o OUTPUT_DIR

2. Person Re-identification

# video mode
$ python openvino_person_reidentification.py -m video -i PATH_TO_VID -o OUTPUT_DIR

3. Person Action Counting (Punch/Kick/Normal)

# video mode
$ python openvino_person_action_counting.py -m video -i PATH_TO_VID -o OUTPUT_DIR

Pretrained OpenVINO models

  1. OpenVINO Model Documentation and Download

https://docs.openvinotoolkit.org/2021.3/omz_models_group_intel.html

  1. OpenVINO GitHub Public Model Repo

https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/public

  1. Download Intel OpenVINO IR (Intermediate Representation) models

Creating OpenVINO models from other NN frameworks

  1. Convert to OpenVINO format with Docker

Local repository available in ./google_teachable_machine_to_openvino

https://github.com/ojjsaw/teachable-machine-openvino.git

  1. OpenVINO training extensions

https://github.com/openvinotoolkit/training_extensions

  1. Deep Learning Workbench from DockerHub

Download & Convert to IR models for OpenVINO Inference

https://docs.openvinotoolkit.org/latest/workbench_docs_Workbench_DG_Install_from_Docker_Hub.html

About

Person Detection, Tracking and Action Classification Example presented in OpenVINO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published