Skip navigation
i trained a computer vision model to count chinups
0:00 / 0:30

i trained a computer vision model to count chinups

AA

@measure_plan32K followers

Visit on X
5,458 likesDownloadOriginal post

1,182,243 views

i trained a computer vision model to count chinups roboflow rapid + SAM3 detected the chinup bar - hands - head through natural language prompts then I wrote a python script to count completed reps (head above bar) and annotate the video idea for a gamified fitness app? automated tracking of your workout, with rep counts per exercise added to your database. this gives progress stats over time, and a leaderboard with your friends these new vision models are neat because they can detect exercise equipment, allowing tracking of dumbbell workouts, bench press, squat, etc.

75 Comments

Comments from the original post on X (Twitter)

  • AA's profile picture

    @measure_plan

    i'll post the code for this demo here in the next couple days: there's 20 computer vision projects there already

    107 likes

  • AA's profile picture

    @measure_plan

    today’s experiment is basketball vision:

    16 likes

  • Max K's profile picture

    @max_does_tech

    okay you can stop flexing now 😆 though if i could do 14 chinups i'd probably post about it too!

    23 likes

  • AA's profile picture

    @measure_plan

    to train models we must first train ourselves (or some bs like that) lol thank you Max

    56 likes

  • Max K's profile picture

    @max_does_tech

    if i had to do one push up for every 10K tokens consumed i'd be shredded, or maybe dead

    2 likes

  • Yacine Mahdid's profile picture

    @yacinelearning

    he stopped the video at 14 chinups but I heard the man kept on going for another hour

    16 likes

  • AA's profile picture

    @measure_plan

    here’s the extended footage

    17 likes

  • Nathan Wilbanks's profile picture

    @NathanWilbanks_

    🔥 this is awesome!!! i made a similar computer vision system for overhead presses!! feel free to add it to your fitness app!!

    12 likes

  • AA's profile picture

    @measure_plan

    nice !! computer vision is fun :)

    2 likes

  • Mr Brondor's profile picture

    @MrBrondorDeFi

    this is actually fire for the fitness tech space bro

    9 likes

  • AA's profile picture

    @measure_plan

    more exercises and experiments coming soon

    2 likes

  • Mr Brondor's profile picture

    @MrBrondorDeFi

    LFG

    1 like

  • Maky's profile picture

    @iwanttobeinmars

    I just finished creating a bouldering app, I’d love to test roboflow rapid + sam3

    9 likes

  • AA's profile picture

    @measure_plan

    awesome, landing page looks cool, would be nice to put a short demo video up top are you using mediapipe for body tracking?

    2 likes

  • Maky's profile picture

    @iwanttobeinmars

    thank you!, right now it just very basic and simple, just extracting the frames with ffmpeg and feeding into gpt 5 but ideally i'd love to use media pipe for body tracking for better feedback. looking into using SAM3

    1 like

  • AA's profile picture

    @measure_plan

    awesome yea if you can figure it out with mediapipe it would be much cheaper to run (free)

    1 like

  • Z.ai's profile picture

    @Zai_org

    Great job!! We also have a groundbreaking open-source project based on vision model, if you ever wished your “AI phone” agent actually used the phone for you, check this.

    6 likes

  • AI at Meta's profile picture

    @AIatMeta

    💪

    5 likes

  • AA's profile picture

    @measure_plan

    thank you, long live SAM3

    3 likes

  • SkalskiP's profile picture

    @skalskip92

    the fact it detects the chin-up bar is kind of impressive

    5 likes