pat2echo commited on
Commit
3fba36f
·
verified ·
1 Parent(s): 3349192

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +98 -0
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Fall Detection and Posture Classification Dataset
4
+ task_categories:
5
+ - image-classification
6
+ - video-classification
7
+ language:
8
+ - en
9
+ tags:
10
+ - fall-detection
11
+ - pose-estimation
12
+ - posture-classification
13
+ - elderly-care
14
+ - mediapipe
15
+ - human-activity-recognition
16
+ - computer-vision
17
+ size_categories:
18
+ - 1K<n<10K
19
+ ---
20
+
21
+ # AI-Driven Posture Analysis & Fall Detection Dataset (Elderly Care)
22
+
23
+ ## Overview
24
+ This dataset supports the dissertation project **"AI-Driven Posture Analysis Fall Detection System for the Elderly"**, completed by Patrick O. Ogbuitepu at the <DEGREE PROGRAMME, e.g. "School of Computer Science and Electronic Engineering"> , University of Essex (<YEAR OF SUBMISSION>).
25
+
26
+ The project uses MediaPipe pose estimation, fuzzy logic, and a finite state machine to classify static postures (standing, sitting, lying, bending, squatting, etc.) and detect transitions — particularly falls — from monocular RGB video, achieving a zero false-alarm rate in testing.
27
+
28
+ This dataset contains the raw video recordings, static pose images, and frame/time-level annotations used to develop and evaluate that system.
29
+
30
+ ## Dataset subject and consent
31
+ - **Sole subject**: All images and videos feature one consenting adult — the researcher, Patrick O. Ogbuitepu — performing self-recorded daily activities and posture/fall scenarios for research purposes. No other individuals appear in the data.
32
+ - **Consent**: Covered by a self-consent form on file (`Self-Consent Form for Dataset Usage.docx`), signed 31-Aug-2024, under University of Essex ethical guidelines for use of personal data in research.
33
+ - **Public release**: Approved by <APPROVER / SUPERVISOR / ETHICS COMMITTEE — name and date>, per the consent form's requirement that public sharing have explicit approval beyond the original research-use consent.
34
+
35
+ ## Contents
36
+ | Split | Videos | Description |
37
+ |---|---|---|
38
+ | `train/` | `hr_fall_detection_1.mp4`–`hr_fall_detection_3.mp4` | Training recordings of daily activity and fall scenarios |
39
+ | `valid/` | `fall_detection_4.mp4`–`fall_detection_10.mp4` | Validation recordings of daily activity and fall scenarios |
40
+ | `test/` | — | Reserved for held-out test recordings |
41
+
42
+ Each video has a matching label file under `<split>/labels/`:
43
+ - `<video_name>.csv` — <DESCRIBE COLUMNS HERE, e.g. frame_index, timestamp_seconds, posture_label, is_fall>
44
+ - `<video_name>_in_minutes.md` — human-readable summary of labelled events with timestamps in minutes:seconds
45
+
46
+ Static pose images (113 total) are in `train/pose/`, one image per labelled posture (e.g. `stand.jpg`, `sit.jpg`, `lie.jpg`, `bend.jpg`, `squat.jpg`, `fall.jpg`, plus variants capturing angle, occlusion, and edge cases). `train/pose-1st-iteration/` contains an earlier capture/processing pass of the same 113 poses, kept for provenance.
47
+
48
+ Derived outputs (MediaPipe landmark features and classifier predictions) are included for transparency and reproducibility:
49
+ - `train/pose/features_output.csv`, `features_output_predicted.csv` — extracted pose-landmark features and model predictions for the static images
50
+ - `train/pose-1st-iteration/results/` — equivalent outputs for the first-iteration pass
51
+ - `train/results of static pose classifier on training videos/` — per-frame static-pose classifier output for each training video
52
+
53
+ ## File naming
54
+ - `hr_fall_detection_N` — training recordings (N = 1–3)
55
+ - `fall_detection_N` — validation recordings (N = 4–10)
56
+
57
+ ## Provenance and collection methodology
58
+ All data was self-recorded by the researcher (sole subject) specifically for this dissertation. Timing and location were deliberately varied across recording sessions to avoid bias from prior knowledge of the detection logic being developed:
59
+ - **113 static pose images** — captured in a STEM lab and a bedroom, recorded four weeks after the training videos. Poses (standing, sitting, lying, and their variations) were inspired by reference poses from openposes.com, adapted to reflect the more limited range of motion typical of elderly individuals.
60
+ - **3 training videos** (~11 min total) — recorded in a CSEE lab; used to validate the static-posture classifier and to develop the fall-detection logic.
61
+ - **7 validation videos** (~20 min total, recorded across 3 time-separated batches) — recorded about a month after the static images, in a bedroom, a living room, and an event-centre atrium, to test generalization across distinct, previously unseen settings. (Note: the dissertation reports 6 validation videos across these batches; the published set contains 7 — double-check coverage if citing the dissertation's exact figures.)
62
+
63
+ Derived files in this dataset were produced by the following processing pipeline, applied after raw capture:
64
+ 1. **Motion localization** — frame-differencing between consecutive video frames, denoised via contour-area thresholding, with overlapping bounding boxes merged, snapped to a fixed grid, and temporally smoothed over the last 3 frames to produce a stable region of interest.
65
+ 2. **Pose estimation** — the region of interest is passed to Google's MediaPipe pose model to extract joint landmarks per frame/image (saved as `features_output.csv` / `features_output_predicted.csv`).
66
+ 3. **Static posture classification** — joint angles and bounding-box aspect ratio are used to rule-classify each frame/image as standing, sitting, or lying.
67
+ 4. **Activity and fall labelling** — fall and posture-transition events were manually labelled per video (frame index + timestamp), with temporal smoothing applied to stabilize frame-to-frame predictions before fall events were flagged.
68
+
69
+ No synthetic, scraped, or third-party data is included — every video and image is an original recording of the consenting subject.
70
+
71
+ ## Intended use
72
+ Research and development of vision-based human activity recognition and fall-detection systems for elderly care: pose estimation benchmarking, activity classification, fall-event detection, and related computer vision / HCI research.
73
+
74
+ ## License
75
+ Released under [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). See `LICENSE`.
76
+
77
+ ## Citation
78
+ If you use this dataset, please cite:
79
+
80
+ ```
81
+ Ogbuitepu, P. O. (<YEAR>). AI-Driven Posture Analysis Fall Detection System for the
82
+ Elderly: Dataset [Data set]. University of Essex. https://doi.org/10.5281/zenodo.21359209
83
+ ```
84
+
85
+ See `CITATION.cff` for machine-readable citation metadata.
86
+
87
+ ## Contact
88
+ Patrick O. Ogbuitepu — <CONTACT EMAIL, e.g. po23102@essex.ac.uk or a personal address you're comfortable publishing>
89
+
90
+ ## Mirrors and related resources
91
+
92
+ - **Zenodo (citable DOI):** https://doi.org/10.5281/zenodo.21359209
93
+ - **Kaggle dataset:** https://www.kaggle.com/datasets/patrickogbuitepu/posture-monitor-and-fall-detection
94
+ - **Source code (GitHub):** https://github.com/pat2echo/AI-Posture-Monitor
95
+ - **Python package (PyPI):** https://pypi.org/project/ai-posture-monitor/
96
+ - **Runnable demo notebook (Kaggle):** https://www.kaggle.com/code/patrickogbuitepu/fall-detection-posture-classification-starter
97
+
98
+ See `column_descriptions.md` for the schema of every CSV and `file_descriptions.md` for per-file descriptions.