A real-time pose estimation application using YOLOv8 and OpenCV, with OSC (Open Sound Control) output capabilities.
- Real-time pose detection from webcam feed
- OSC message output for integration with other applications
- Modern, sleek user interface
- Multiple camera support
- FPS counter and status indicators
- Python 3.7 or higher
- Windows, macOS, or Linux
- Download the repository
- Run
setup.bat
(Windows) orsetup.sh
(macOS/Linux) - Follow the on-screen instructions
- Install Python 3.7+ from python.org
- Download the repository
- Open a terminal in the project directory
- Run the following commands:
pip install -r requirements.txt python setup.py install
- Run
run.bat
(Windows) orrun.sh
(macOS/Linux) - Or from command line:
python webcam_pose_estimation.py
-
Camera Selection:
- Choose your camera from the dropdown
- Click "Start" to begin capture
-
OSC Configuration:
- Enter the target IP address and port
- Click "Enable" to start sending OSC messages
-
Exit:
- Click the red "×" button to close the application
The application sends OSC messages in the following format:
/pose/person/{index}/keypoints
- Batch message with all keypoints/pose/person/{index}/{keypoint_name}
- Individual keypoint messages with x, y, confidence values
Keypoint values are normalized to the range 0.0-1.0, relative to the image dimensions.
- Place your
icon.ico
file in the project directory - The application will automatically use it as the window icon
- Run
create_shortcut.bat
- A shortcut named "Pose Estimation.lnk" will be created
- You can move this shortcut to your desktop or start menu
This project is licensed under the MIT License - see the LICENSE file for details.