High speed video camera & Kinovea to create a DIY treadmill speed sensor?

Last Updated on November 10, 2023 by pg@petergamma.org

fellnr used a high speed video camera and Kinovea to calibrate a treadmill:

https://fellrnr.com/wiki/Treadmill_Calibration

Kinovea can be controlled from other applications

  • While Kinovea is running it is possible to send it commands from a third party application or script.
  • For example this can be used to trigger recording based on a software event.
  • The commands use the Windows messaging system and the WM_COPYDATA message.
  • The exact way to create these Windows messages depends on the programming language or platform used to write the third party application.
  • Each command has to be sent separately. There is no return value.
  • The general format of the messages is the following:

The general format of the messages is the following:

Kinovea:.

  • The list of categories and commands is available under Options ‣ Preferences ‣ Keyboard.

For example

Simon Benmaamar from the Universität Regensburg: Kinovea tracking guide and distance calculation R script V.1

This protocol can be used to determine the travelled distances of larvae on a black-stained agar plate. For this purpose, videos of the moving animals are recorded, the movement is then tracked using the Kinovea program and the resulting files are evaluated using an R script.

https://www.protocols.io/view/kinovea-tracking-guide-and-distance-calculation-r-e6nvw5x4zvmk/v1