GithubHelp home page GithubHelp logo

yolov7-pose-with-classifier's Introduction

yolov7-pose-estimation-with-classifier

Features

  • YOLOv7 Pose with Decision Tree Classifier

Running

  • Clone the repository.
git clone https://github.com/fengshuibuddy/yolov7-pose-with-classifier
  • Goto the cloned folder.
cd yolov7-pose-with-classifier
  • Create a virtual envirnoment (Recommended, If you dont want to disturb python packages)
### For Linux Users, I am using Anaconda
conda create --name yolov7-pose python=3.8
conda activate yolov7-pose
  • Upgrade pip with mentioned command below.
pip install --upgrade pip
  • Install requirements with mentioned command below.
pip install -r requirements.txt
pip install xtcocotools
  • If you're utilizing GPU, you need to install pytorch cuda version. I am using the version CUDA >= 11.3
  • Check the CUDA version.
pip uninstall torch torchvision torchaudio
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
  • Download yolov7 pose estimation weights from link and move them to the working directory {yolov7-pose-estimation}

  • Run the code with mentioned command below.

python pose_estimate_with_classifier.py

#if you want to change source file
python pose_estimate_with_classifier.py --source "your custom video.mp4"

#For CPU
python pose_estimate_with_classifier.py --source "your custom video.mp4" --device cpu

#For GPU
python pose_estimate_with_classifier.py --source "your custom video.mp4" --device 0

#For LiveStream (Ip Stream URL Format i.e "rtsp://username:pass@ipaddress:portno/video/video.amp")
python pose_estimate_with_classifier.py --source "your IP Camera Stream URL" --device 0

#For WebCam
python pose_estimate_with_classifier.py --source 0

#For External Camera
python pose_estimate_with_classifier.py --source 1
  • Output file will be created in the working directory with name ["./output_videos/your-file-name-without-extension"+"_keypoint.mp4"]

RESULTS

Football Match Pose-Estimation Cricket Match Pose-Estimation FPS and Time Comparision Live Stream Pose-Estimation

References

RizwanMunawar's Medium Articles

yolov7-pose-with-classifier's People

Contributors

nomaad42 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.