gregruthenbeck / CAVAPA2020

CAVAPA: A tool for measuring physical activity of groups from video. Also, a tool in C# for easier manual/observational scoring of video

Home Page:https://cavapa.ruthenbeck.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAVAPA

A C++ application that processes video to measure movement of persons within the field-of-view.

CAVAPA motion measurement from video

This is part of a research project with Heidi Pasi, Taru Lintunen, Martin Hagger. Jyväskylä University (Finland).

Quickstart

More detailed information is in the CAVAPA Technical Documentation.

  1. Convert video to image frames using ffmpeg. ffmpeg -i ./video.mpg -q:v 1 -qmin 1 -qmax 1 ./frames/video%06d.jpg
  2. Run CAVAPA. It will process the images and create movement images and a CSV data file (containing the movement-measure for each frame of the video). cavapa -i ./frames -o ./cavapa_output
  3. [optional] Convert CAVAPA output image frames into a video using ffmpeg: ffmpeg -i ./cavapa_output/movement%06d.jpg movement.mp4

Technical Summary

Cavapa is a command-line executable that is written in C++ for Microsoft Windows. Cavapa uses the following software libraries:

The source code is a single file that is compiled using Microsoft Visual Studio 2019. System libraries from the Windows 10 SDK (10.0.17763.0) use the v142 platform toolset. Source code is available online at https://github.com/gregruthenbeck/CAVAPA2020 (NB: The git repo contains additional projects for charting in C# (incomplete) and processing accelerometer data (DataConverterCpp.vcxproj). The Cavapa executable is built using Cavapa.vcxproj.

About

CAVAPA: A tool for measuring physical activity of groups from video. Also, a tool in C# for easier manual/observational scoring of video

https://cavapa.ruthenbeck.io


Languages

Language:C# 65.0%Language:C++ 35.0%