Skip to content

Commit

Permalink
removed gen1 people tracker (added redirection to gen2), added gif in…
Browse files Browse the repository at this point in the history
… README for gen2 people tracker
  • Loading branch information
Erol444 committed Apr 28, 2021
1 parent deea654 commit 877e32f
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 434 deletions.
2 changes: 1 addition & 1 deletion gen2-people-tracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The model used in this example is [person_detection_retail_0013](https://docs.op

## Demo

[![Watch the demo](https://user-images.githubusercontent.com/5244214/90752628-ee2d1780-e2d7-11ea-8e48-ca94b02a7674.gif)](https://www.youtube.com/watch?v=MHmzp--pqUA)
[![Watch the demo](https://user-images.githubusercontent.com/18037362/116413235-56e96e00-a82f-11eb-8007-bfcdb27d015c.gif)](https://www.youtube.com/watch?v=MHmzp--pqUA)

## Pre-requisites

Expand Down
45 changes: 1 addition & 44 deletions people-tracker/README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1 @@
[中文文档](README.zh-CN.md)

# People tracker

This application counts how many people went upwards / downwards / leftwards / rightwards in the video stream, allowing you to
receive an information about how many people went into a room or went through a corridor.

The model used in this example is [person_detection_retail_0013](https://docs.openvinotoolkit.org/latest/omz_models_intel_person_detection_retail_0013_description_person_detection_retail_0013.html) from the OpenVINO Model Zoo.

## Demo

[![Watch the demo](https://user-images.githubusercontent.com/5244214/90752628-ee2d1780-e2d7-11ea-8e48-ca94b02a7674.gif)](https://youtu.be/8RiHkkGKdj0)

## Pre-requisites

Purchase a DepthAI model (see https://shop.luxonis.com/)

## Install project requirements

```
python3 -m pip install -r requirements.txt
```

## Run this example

```
python3 main.py
```

By default, you should see a debug window and console output that shows how many people were
tracked. Also, you should see `results.json` file with timestamped results.

If you want to run it without preview, just to collect the data, you can modify `main.py` and set

```diff
- debug = True
+ debug = False
```

Then the app will run without preview window nor debug messages, will just save the results to `results.json`

## Credits

Adrian Rosebrock, OpenCV People Counter, PyImageSearch, https://www.pyimagesearch.com/2018/08/13/opencv-people-counter/, accessed on 6 August 2020
Moved to https://github.com/luxonis/depthai-experiments/tree/master/gen2-people-tracker
42 changes: 0 additions & 42 deletions people-tracker/README.zh-CN.md

This file was deleted.

Binary file removed people-tracker/demo/example_01.mp4
Binary file not shown.
Binary file removed people-tracker/demo/example_02.mp4
Binary file not shown.
45 changes: 0 additions & 45 deletions people-tracker/depthai_utils.py

This file was deleted.

71 changes: 0 additions & 71 deletions people-tracker/main.py

This file was deleted.

7 changes: 0 additions & 7 deletions people-tracker/model/config.json

This file was deleted.

Binary file removed people-tracker/model/model.blob
Binary file not shown.
Loading

0 comments on commit 877e32f

Please sign in to comment.