Metadata-Version: 2.1
Name: aipose
Version: 0.7.0
Summary: Library to use pose estimation in your projects easily
Home-page: https://github.com/Tlaloc-Es/aipose
License: MIT
Keywords: pose-estimator,yolo,yolov7
Author: Tlaloc-Es
Author-email: dev@tlaloc-es.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: matplotlib (>=3.2.2)
Requires-Dist: numpy (>=1.18.5,<1.24.0)
Requires-Dist: opencv-python (>=4.1.1)
Requires-Dist: pandas (>=1.1.4)
Requires-Dist: protobuf (<4.21.3)
Requires-Dist: pydantic
Requires-Dist: pyyaml (>=6.0,<7.0)
Requires-Dist: requests (>=2.28.2,<3.0.0)
Requires-Dist: scipy (>=1.4.1)
Requires-Dist: seaborn (>=0.11.0)
Requires-Dist: tensorboard (>=2.4.1)
Requires-Dist: torch (>=1.7.0,!=1.12.0)
Requires-Dist: torchvision (>=0.8.1,!=0.13.0)
Requires-Dist: tqdm (>=4.41.0)
Requires-Dist: types-requests (>=2.28.11.8,<3.0.0.0)
Project-URL: Repository, https://github.com/Tlaloc-Es/aipose
Description-Content-Type: text/markdown

# AIPOSE

<center>
    <b> Library to use pose estimation in your projects easily.</b>
    <br>
    <a href="https://badge.fury.io/py/aipose"><img src="https://badge.fury.io/py/aipose.svg" alt="PyPI version" height="18"></a>
</center>

## Instalation

You can install `aipose` from [Pypi](https://pypi.org/project/aipose/). It's going to install the library itself and its prerequisites as well.

```bash
pip install aipose
```

You can install `aipose` from its source code.

```bash
git clone https://github.com/Tlaloc-Es/aipose.git
cd aipose
pip install -e .
```

## Run demo

Use the following command to run a demo with your cam and YOLOv7 pose estimator,

```bash
posewebcam
```

## How to use

You can check the section notebooks in the repository to check the usage of the library or you can ask in the [Issues section](https://github.com/Tlaloc-Es/aipose/issues).

The examples are:

* [How to draw key points in a video](https://github.com/Tlaloc-Es/aipose/blob/master/notebooks/video.ipynb)
* [How to draw key points in a webcam](https://github.com/Tlaloc-Es/aipose/blob/master/notebooks/webcam.ipynb)
* [How to draw key points in a picture](https://github.com/Tlaloc-Es/aipose/blob/master/notebooks/plot_keypoints.ipynb)
* [How to capture a frame to apply your business logic](https://github.com/Tlaloc-Es/aipose/blob/master/notebooks/custom%20manager.ipynb)
* [How to stop the video stream when anybody raises hands with YOLOv7](https://github.com/Tlaloc-Es/aipose/blob/master/notebooks/process_keypoints.ipynb)

## References

* https://github.com/RizwanMunawar/yolov7-pose-estimation

## Support

You can do a donation with the following link.

<a href="https://www.buymeacoffee.com/tlaloc" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>

Or you can try to make a pull request with your improvements to the repo.

## Source of videos and images

* Video by Mikhail Nilov: https://www.pexels.com/video/a-woman-exercising-using-an-exercise-ball-6739975/
