Skip to content

qwertyz15/Paddle-PPHuman-Onnx

Repository files navigation

Paddle PP-Human ONNX

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.

Table of Contents

Introduction

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.

Getting Started

Prerequisites

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)

Installation

  1. 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.

  2. Change into the project directory:

    cd Paddle-PPHuman-Onnx
  3. Install the required packages:

    pip install -r requirements.txt

Downloading the Model

Download the Paddle PPHuman ONNX model from this drive link.

Usage

Configuring Parameters

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 is pphuman.onnx.
  • video_url: Specify the URL of the video to process. Default is 0 (use webcam).
  • cuda: Set to True to use GPU acceleration (requires CUDA and CUDNN), or False to use CPU.

To modify these parameters:

  1. Open the config.ini file in a text editor.

  2. Update the values according to your requirements.

  3. Save the file.

Running test_video.py

To run the test_video.py script, follow these steps:

  1. Make sure you have installed the required packages as mentioned in the Installation section.

  2. Run the script:

    python test_video.py

Contributing

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!

License

This project is licensed under the MIT License.


Paddle-PPHuman-Onnx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages