preller/test-pose
0
MediaPipe Pose Detection API
This Hugging Face Space provides an API for processing videos with MediaPipe's pose detection model. Upload your video and get back a processed version with pose landmarks drawn on it.
API Usage
Process a Video
POST /process-video/Upload a video file and receive a processed video with pose landmarks.
Example using curl:
curl -X POST -F "file=@your_video.mp4" https://your-space-name.hf.space/process-video/ --output processed_video.mp4How it Works
The application:
- Receives an uploaded video file
- Extracts frames from the video
- Processes each frame with MediaPipe's pose detection
- Draws the pose landmarks on each frame
- Combines the processed frames into a new video
- Returns the processed video
Technical Details
- Uses MediaPipe for efficient pose detection
- Built with FastAPI for high-performance API endpoints
- Optimized for processing large videos with batch processing and memory management
