/peopleCounting

Create human detective programming with tensorflow

Primary LanguageJupyter Notebook

People counting

Create human detective programming with tensorflow

Create env on mac m1

  1. create conda environment and install python
    $conda create --name [env_name] python=3.9
  2. activate the env
    $conda activate [env_name]
  3. install tensorflow for mac m1
    $conda insall -c apple tensorflow-deps -y
    $python -m pip install tensorflow-macos
    $pip install tensorflow-metal
    $conda install -c conda-forge jupyter jupyterlab -y
  4. run jupyter\
    $jupyter lab

Draw a line on webcam

Screenshot 2022-08-05 at 18 17 55

labeling Images

Labeling on images and save the files as COCO dataset. Screenshot 2022-08-08 at 14 14 24

Detect person real time

test.mp4

Final

Count person based on the line on screen.

Screenshot 2022-08-12 at 22 20 23