Paddle PPHuman ONNX refers to the conversion of the PaddlePaddle's PPHuman human pose estimation model into the ONNX (Open Neural Network Exchange) format. ONNX is an open standard for representing machine learning models, allowing seamless interoperability between different deep learning frameworks. By converting Paddle PPHuman to ONNX, the model becomes accessible and deployable across a wider range of platforms and tools. This enables developers to utilize Paddle PPHuman's advanced human pose estimation capabilities in their projects regardless of the framework they are using, fostering innovation and efficiency in various computer vision applications.
Convert PaddlePaddle's PPHuman pose estimation model into ONNX format for seamless integration across deep learning frameworks. Elevate applications with enhanced human pose analysis, fostering innovation and accessibility.
List any prerequisites that users need to have installed before they can use your project. For example:
- Python 3.6 <=
- CUDA (if using GPU)
- CUDNN (if using GPU)
-
Clone the repository using Git:
git clone https://github.com/qwertyz15/Paddle-PPHuman-Onnx.git
OR
Download the repository as a ZIP file from here. Extract the ZIP archive.
-
Change into the project directory:
cd Paddle-PPHuman-Onnx
-
Install the required packages:
pip install -r requirements.txt
Download the Paddle PPHuman ONNX model from this drive link.
Before running the test_video.py
script, you can configure the following parameters in the config.ini
file:
model
: Specify the ONNX model file to use. Default ispphuman.onnx
.video_url
: Specify the URL of the video to process. Default is0
(use webcam).cuda
: Set toTrue
to use GPU acceleration (requires CUDA and CUDNN), orFalse
to use CPU.
To modify these parameters:
-
Open the
config.ini
file in a text editor. -
Update the values according to your requirements.
-
Save the file.
To run the test_video.py
script, follow these steps:
-
Make sure you have installed the required packages as mentioned in the Installation section.
-
Run the script:
python test_video.py
If you would like to contribute to this project, feel free to open an issue or submit a pull request. We welcome contributions from the community!
This project is licensed under the MIT License.