Code Monkey home page Code Monkey logo

comfyui-openpose's Introduction

OpenPose Node

This repository contains a Python implementation for extracting and visualizing human pose keypoints using OpenPose models. The OpenPoseNode class allows users to input images and obtain the keypoints and limbs drawn on the images with adjustable transparency. Additionally, it can provide an image with only the keypoints drawn on a black background, and the keypoints value in a JSON format.

Example

Example Workflow BODY_25 Example Workflow COCO You can find the example workflow here

Features

  • Download OpenPose models from Hugging Face Hub and saves them on ComfyUI/models/openpose
  • Process imput image (only one allowed, no batch processing) to extract human pose keypoints.
  • Draw keypoints and limbs on the original image with adjustable transparency.
  • Generate an image with only the keypoints drawn on a black background.
  • Generate JSON with list of keypoints
  • Choose between two OpenPose representations: COCO and BODY_25.

Prerequisites

Ensure you have the following packages installed:

  • torch
  • cv2 (OpenCV)
  • numpy
  • huggingface_hub
  • torchvision

you can install them with

  • pip install -r requirement.txt

or

  • python install.py

Acknowledgements

Special thanks to beingjoey/pytorch_openpose_body_25 for the inspiration. Their work provided a foundation and motivation for developing this custom node.

Contributing

We welcome contributions! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for details.



Thank you for using the OpenPose node for ComfyUI. We hope it enhances your image processing workflows!

comfyui-openpose's People

Contributors

alessandrozonta avatar comfy-pr-bot avatar

Stargazers

 avatar M1nd 3xpand3r avatar 房森 avatar  avatar Fotis and Stuff avatar S4MUEL avatar ZRGX avatar VALADI K JAGANATHAN avatar

Watchers

 avatar

Forkers

comfynodeprs

comfyui-openpose's Issues

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.