Reference for ultralytics/solutions/ai_gym.py
Note
This file is available at https://github.com/ultralytics/ultralytics/blob/main/ultralytics/solutions/ai_gym.py. If you spot a problem please help fix it by contributing a Pull Request 🛠️. Thank you 🙏!
ultralytics.solutions.ai_gym.AIGym
Bases: BaseSolution
A class to manage the gym steps of people in a real-time video stream based on their poses.
Source code in ultralytics/solutions/ai_gym.py
monitor
Monitor the workouts using Ultralytics YOLOv8 Pose Model: https://docs.ultralytics.com/tasks/pose/.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
im0
|
ndarray
|
The input image that will be used for processing |
required |
Returns im0 (ndarray): The processed image for more usage
Source code in ultralytics/solutions/ai_gym.py
📅 Created 10 months ago
✏️ Updated 1 month ago