CoolFace
Apppublic

TeoFil795/CrossfitAI

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

CrossFit Movement Analyzer AI ๐Ÿ‹๏ธโ€โ™‚๏ธ

An AI-powered application that analyzes CrossFit movements using computer vision and machine learning techniques. Currently focused on Squat Clean analysis.

Features

  • โ€”Real-time pose detection using MediaPipe
  • โ€”Barbell tracking with YOLOv8
  • โ€”Movement phase analysis
  • โ€”Form feedback and corrections
  • โ€”Performance metrics
  • โ€”Video optimization for better analysis

Technical Stack

  • โ€”Computer Vision: MediaPipe Pose Detection, YOLOv8
  • โ€”Backend: Python, OpenCV
  • โ€”Frontend: Gradio UI
  • โ€”ML Framework: PyTorch

Usage

  1. 1.Upload a video of a CrossFit athlete performing a Squat Clean
  2. 2.Wait for the AI to analyze the movement
  3. 3.Review the annotated video with pose and barbell tracking
  4. 4.Check the detailed movement analysis report

Performance Notes

  • โ€”Videos are automatically optimized for analysis
  • โ€”Processes every other frame for better performance
  • โ€”Supports various video formats (MP4, MOV)
  • โ€”Maximum frame dimension: 640px (maintains aspect ratio)

Future Development

  • โ€”Support for additional CrossFit movements
  • โ€”Enhanced form feedback
  • โ€”Custom YOLOv8 training for better barbell detection
  • โ€”Real-time analysis capabilities

License

MIT License

Authors