π 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:
Install Dependencies Open your terminal or command prompt and run: pip install mediapipe opencv-python pillow
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
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.