I need you to separate this script into classes as follows:

  1. Human pose estimation using YOLO
  2. Role Classification and tracking using image processing
  3. Rate and Depth Calculation
  4. Posture Correction like bending and missing arms
  5. Enum of the 17 COCO keypoints for better readability in all other classes

Each class should have the appropriate drawing and plotting functions to be called in a notebook for testing different parts.

There should also be a main script to test the end to end solution.

All functions should have proper functional documentation, error handling, and print messages for tracing.

The separation of concerns should be for data members as well functions.