From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Monitor your workouts

Monitor your workouts

- [Instructor] If you recall in video five of chapter three, we have explored how we can use the post estimation model with analytics-python package. In this video, we will use the same post estimation model for different workouts, like we will monitor different workouts including pushups. We will use the three key points from human body to monitor the workouts. For example, we'll find the total number of pushups that person already performed, what's the current position of the pushup, whether it's up or down, and it will also calculate the angle between these key points and display it. The resources used in this video are available in the course code subdirectory 04-05. From line number one to line number 14, and then from line number 20 to 29. It's the same code that we already used for other solutions, so I will not focus on this. Let's go to line number 18. Here we need to initialize the workout module. Let's quickly review the workout documentation. Here we can see the code that…

Contents