# Determining frequency of repetitive mouvements in live video feed

**URL:** <https://forum.opencv.org/t/determining-frequency-of-repetitive-mouvements-in-live-video-feed/22812>\
**Category:** Uncategorized\
**Tags:** videoio, imgproc\
**Created:** [June 29, 2025, 4:07pm UTC](https://forum.opencv.org/t/determining-frequency-of-repetitive-mouvements-in-live-video-feed/22812 "2025-06-29T16:07:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/freddy/32/13136_2.png) [@Freddy](https://forum.opencv.org/u/Freddy)\
**Post date:** [June 29, 2025, 4:07pm UTC](https://forum.opencv.org/t/determining-frequency-of-repetitive-mouvements-in-live-video-feed/22812/1 "2025-06-29T16:07:08Z")

</div>

I want to analyse live video feed of people doing repetitive motion.  
Specifically the will be a phone in a tripod looking at people doing indoor paddling. I want to determine the stroke rate.

The frame below is an example of what the camera will be looking at:

 ![1000018963](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/1/18d88a82d934587c36c9a5e219c886f7c6a3f485.jpeg)

Sometimes the background can be a bit more messy and the view may not be as straight on such as this:

 ![1000018965](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/0/0ba8c46d52dceda215071d2669dcace4c09d29a9.jpeg).

The typical frequency of the stroke would be anywhere between 40 and 80 stokes per minute. That is the rate i am trying to detect live.

Does anybody have a suggestion of what king of processing of the video stream i can perform to try to detect this frequency?

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [June 29, 2025, 10:20pm UTC](https://forum.opencv.org/t/determining-frequency-of-repetitive-mouvements-in-live-video-feed/22812/2 "2025-06-29T22:20:27Z")

</div>

fairly easy if the camera is static relative to the people.

one idea: apply pose estimation, track their poses over time. you get a skeleton per human. then you’d pick a suitable joint, extract its coordinates over time and continue from there.

there are surely other approaches. this one is probably easy to get done.

---

<div class="post-metadata">

**Author:** ![Freddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/freddy/32/13136_2.png) [@Freddy](https://forum.opencv.org/u/Freddy)\
**Post date:** [June 30, 2025, 6:40pm UTC](https://forum.opencv.org/t/determining-frequency-of-repetitive-mouvements-in-live-video-feed/22812/3 "2025-06-30T18:40:05Z")

</div>

Thanks. Got the pose estimation going and i am extracting the wrist positions over time. Applying some Kalman filtering to smooth things out, detecting peeks and coming up with a frequency. Not perfect yet but getting there.
