Data / tutorials / q22-detect-person
Tutorial Q-22: Detect a person in one image
Tutorial
Run an object detector on one street photo, keep its boxes as a table, and draw them without the photo to see who it found and who it missed.
Files for the tutorial Detect a person in one image (https://apopt.com/course/tutorials/q22-detect-person/). 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: street.png
Files
| File | Size | Rows | What it is |
|---|---|---|---|
| clean/detections.csv | 374 B | 9 rows | Cleaned copy written by the tutorial |
| expected/printed-output.txt | 990 B | Everything 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/detections.csv
| label | confidence | x1 | y1 | x2 | y2 |
|---|---|---|---|---|---|
| person | 0.9 | 922.12 | 128.68 | 1085.04 | 616.81 |
| person | 0.87 | 797.97 | 170.25 | 913.73 | 618.89 |
| car | 0.85 | 19.96 | 513.3 | 194.82 | 572.55 |
| person | 0.8 | 464.34 | 283.63 | 575.44 | 620.4 |
| person | 0.72 | 231.52 | 0.0 | 440.33 | 651.01 |
| person | 0.69 | 595.24 | 42.6 | 746.3 | 632.57 |
| car | 0.45 | 714.26 | 516.8 | 832.61 | 561.33 |
| handbag | 0.38 | 442.12 | 398.71 | 513.59 | 488.81 |
First 8 of 9 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/q22-detect-person/clean/detections.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q22-detect-person/clean/detections.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-22: Detect a person in one image. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q22-detect-person/