baseline_curve.py |
Defines baseline motion curves (e.g., joint angles) for comparison during corrective feedback. |
baseline_good_curve.json |
Stores baseline feature curves of ideal bowling actions. Used for comparison. |
bowling_lstm_classifier.keras |
Trained LSTM model for classifying good/bad bowling actions. |
check_keypoints.py |
Validates extracted keypoints from pose estimation; checks for completeness or anomalies. |
convert_json.py |
Converts raw JSON pose data to the internal standardized format used by the analysis pipeline. |
custom_layer.py |
Contains custom Keras layers or attention modules used in the LSTM model. |
detect_runups.py |
Identifies bowling run-up segments in slowed/stabilized videos using pose or movement heuristics. |
extract_features.py |
Converts keypoints to feature vectors such as joint angles, velocities, or body alignment metrics. |
extract_keypoints.py |
Runs MediaPipe Pose (optionally after YOLO bowler detection) and outputs structured keypoints in JSON. |
launch.py |
Unified script to run the complete pipeline: from video input → pose → features → classification → feedback. |
lstm_train.py |
Trains the LSTM model using the extracted pose features and labeled sequences. |
m3u8_downloader.py |
Downloads cricket videos (e.g., match highlights) from .m3u8 links. Useful for dataset creation. |
slowmo_standardise.py |
Slows down and stabilizes cricket videos to standard frame rate for consistent pose detection. |
workable.py |
Full pipeline script to analyse input videos and give predictions with corrective feedback. |
firebase_pose_features2.csv |
Feature data collected from Firebase or live upload for training or analysis. |
bowling_pose_dataset.csv |
Master dataset containing pose features and labels for LSTM training. |
captured_video.json |
Raw keypoints data from a recorded video. |
captured_video_processed.json |
Cleaned and standardized version of the above, ready for model input. |
bowling_sequences.json |
Bowling video segments with annotations (start/end frames). |
good_bowling_sequences.json |
Subset of sequences labeled as good bowling actions. |
training_history.json |
Stores model training metrics such as accuracy and loss per epoch. |
roboflow.ipynb |
Jupyter notebook used for preparing object detection datasets via Roboflow (for YOLO). |