Get started with velocity-based training with nothing but a laptop, a webcam, and a high contrast marker on your barbell.
Download this repository as a .zip file, then unzip it where you like.
Go to that directory using CMD (Windows) or the terminal (Mac/Linux.
Make sure the correct dependencies are installed using pip:
python -m pip install -r requirements.txt
Run the program:
python main.pyw
Preview your webcam using the "Preview" button, and rotate it if needed using the adjacent dropdown. Press Enter to escape the preview.
Select the color of your barbell marker interactively.
Select the exercise you want to do.
Input the weight for the set in lbs or kgs.
Press "Log Set" and wait for the webcam preview to show before lifting.
After lifting, press the Enter key to complete the set.
The results for the set are shown.
Optionally reclassify phases of lifts for each rep.
More in-depth instructions coming soon after testing or available on request.
For the video analysis to work correctly on Windows 10 you may need to install the basic K-Lite Codec Pack.
As I test this setup more I will learn more about its accuracy and what the limitations are, then update this section. Suffice it to say that all results should be taken with a grain of salt until verified.
If you install this program and use it for your training, I'd love to hear your feedback. For any bugs or suggestions please open an issue here.