apopt.com

Data / tutorials / q23-video-frames

Tutorial Q-23: Read a video frame by frame and save every tenth frame

Tutorial

Read a running clip's header, loop over its frames, save every tenth picture on your own computer, and publish a table with one row per frame.

Files for the tutorial Read a video frame by frame and save every tenth frame (https://apopt.com/course/tutorials/q23-video-frames/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.

Some inputs are linked rather than copied: runner.mp4

Files

FileSizeRowsWhat it is
clean/frames.csv591 B22 rowsCleaned copy written by the tutorial
expected/printed-output.txt1.2 KBEverything the tutorial prints, cell by cell

Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.

Preview of clean/frames.csv

framet_sbrightnesschangesaved
00.0125.0True
10.033126.334.62False
20.067127.935.2False
30.1129.634.68False
40.133130.932.94False
50.167132.432.44False
60.2133.831.91False
70.233134.830.96False

First 8 of 22 rows.

Where it came from

  • Source: Data-Driven Athletics tutorials (IRSRI, 2027)
  • Removed: nothing; inputs are synthetic, published course data, or the instructor's own
  • Permission: Published with the course under CC BY 4.0
  • Prepared with: dda/tutorials/build.py

Load it

import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q23-video-frames/clean/frames.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/q23-video-frames/clean/frames.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial Q-23: Read a video frame by frame and save every tenth frame. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q23-video-frames/