File size: 1,382 Bytes
5d58255 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ---
license: mit
pretty_name: Photo to OpenPose Stickfigure Generator
tags:
- stable-diffusion
- controlnet
- openpose
- image-to-image
- tool
---
# ๐ Photo to OpenPose Stick-Figure Generator
A lightweight, local Python GUI utility designed for the Stable Diffusion community. This tool converts photos of people into OpenPose-style skeleton maps (stick figures) for use with ControlNet.
## ๐ How to Use
Follow these steps to get the program running on your computer:
1. Install Dependencies
Open your terminal or command prompt and run:
pip install mediapipe opencv-python pillow
2. Run the Program
Navigate to the folder where you saved pose_maker.py and run:
Windows: python pose_maker.py
macOS/Linux: python3 pose_maker.py
3. Generate Your Pose
Click Step 1: Load Photo to select an image from your computer.
Preview the generated skeleton in the window to ensure it looks correct.
Click Step 2: Save This Pose. The program will automatically save a .png file in the same folder as your original photo (e.g., my_photo_pose.png).
๐ Features
- CPU Optimized: Uses MediaPipe, so it runs fast on standard laptops without a dedicated GPU.
- Two-Step GUI: Separate load and save buttons to prevent unwanted files.
- Privacy First: No images are uploaded; all processing happens locally on your machine.
โ๏ธ License
This project is licensed under the MIT License. |