Upload 3 files
Browse files- file_mapping.txt +40 -0
- metadata.json +371 -0
- readme.md +256 -0
file_mapping.txt
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MPSC-RR Dataset File Mapping
|
2 |
+
========================================
|
3 |
+
|
4 |
+
Total files: 31
|
5 |
+
Subjects: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
|
6 |
+
Positions: {'front': 6, 'back': 4, 'lying': 5, 'side': 16}
|
7 |
+
|
8 |
+
File Details:
|
9 |
+
--------------------
|
10 |
+
s1_back.mov - Subject 1 (back)
|
11 |
+
s1_front.mov - Subject 1 (front)
|
12 |
+
s1_lying.mov - Subject 1 (lying)
|
13 |
+
s2_back.mov - Subject 2 (back)
|
14 |
+
s2_front.mov - Subject 2 (front)
|
15 |
+
s2_lying.mov - Subject 2 (lying)
|
16 |
+
s3_back.mov - Subject 3 (back)
|
17 |
+
s3_lying.mov - Subject 3 (lying)
|
18 |
+
s4_front.mov - Subject 4 (front)
|
19 |
+
s5_front.mov - Subject 5 (front)
|
20 |
+
s5_lying.mov - Subject 5 (lying)
|
21 |
+
s6_front.mov - Subject 6 (front)
|
22 |
+
s7_side.mov - Subject 7 (side)
|
23 |
+
s8_side.mov - Subject 8 (side)
|
24 |
+
s9_side.mov - Subject 9 (side)
|
25 |
+
s10_side.mov - Subject 10 (side)
|
26 |
+
s11_side.mov - Subject 11 (side)
|
27 |
+
s12_side.mov - Subject 12 (side)
|
28 |
+
s13_side.mov - Subject 13 (side)
|
29 |
+
s14_side.mov - Subject 14 (side)
|
30 |
+
s15_side.mov - Subject 15 (side)
|
31 |
+
s16_side.mov - Subject 16 (side)
|
32 |
+
s17_side.mov - Subject 17 (side)
|
33 |
+
s18_side.mov - Subject 18 (side)
|
34 |
+
s19_side.mov - Subject 19 (side)
|
35 |
+
s20_side.mp4 - Subject 20 (side)
|
36 |
+
s21_side.mov - Subject 21 (side)
|
37 |
+
s22_side.mov - Subject 22 (side)
|
38 |
+
s23_front.mov - Subject 23 (front)
|
39 |
+
s24_back.mov - Subject 24 (back)
|
40 |
+
s24_lying.mov - Subject 24 (lying)
|
metadata.json
ADDED
@@ -0,0 +1,371 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dataset_info": {
|
3 |
+
"name": "MPSC-RR",
|
4 |
+
"version": "1.0",
|
5 |
+
"description": "Multi-Position Respiratory Monitoring Dataset",
|
6 |
+
"total_videos": 31,
|
7 |
+
"analyzed_date": "2025-01-01"
|
8 |
+
},
|
9 |
+
"videos": {
|
10 |
+
"s1_front": {
|
11 |
+
"video_id": "s1_front",
|
12 |
+
"filename": "s1_front.mov",
|
13 |
+
"subject_id": 1,
|
14 |
+
"view_position": "front",
|
15 |
+
"duration_seconds": 186.9,
|
16 |
+
"resolution": "640x376",
|
17 |
+
"frame_rate": 30.0,
|
18 |
+
"file_size_mb": 71.9
|
19 |
+
},
|
20 |
+
"s1_back": {
|
21 |
+
"video_id": "s1_back",
|
22 |
+
"filename": "s1_back.mov",
|
23 |
+
"subject_id": 1,
|
24 |
+
"view_position": "back",
|
25 |
+
"duration_seconds": 168.2,
|
26 |
+
"resolution": "564x320",
|
27 |
+
"frame_rate": 30.0,
|
28 |
+
"file_size_mb": 64.6
|
29 |
+
},
|
30 |
+
"s1_lying": {
|
31 |
+
"video_id": "s1_lying",
|
32 |
+
"filename": "s1_lying.mov",
|
33 |
+
"subject_id": 1,
|
34 |
+
"view_position": "lying",
|
35 |
+
"duration_seconds": 148.8,
|
36 |
+
"resolution": "442x210",
|
37 |
+
"frame_rate": 30.0,
|
38 |
+
"file_size_mb": 57.1
|
39 |
+
},
|
40 |
+
"s2_front": {
|
41 |
+
"video_id": "s2_front",
|
42 |
+
"filename": "s2_front.mov",
|
43 |
+
"subject_id": 2,
|
44 |
+
"view_position": "front",
|
45 |
+
"duration_seconds": 179.4,
|
46 |
+
"resolution": "640x356",
|
47 |
+
"frame_rate": 30.0,
|
48 |
+
"file_size_mb": 69.1
|
49 |
+
},
|
50 |
+
"s2_back": {
|
51 |
+
"video_id": "s2_back",
|
52 |
+
"filename": "s2_back.mov",
|
53 |
+
"subject_id": 2,
|
54 |
+
"view_position": "back",
|
55 |
+
"duration_seconds": 186.1,
|
56 |
+
"resolution": "640x372",
|
57 |
+
"frame_rate": 30.0,
|
58 |
+
"file_size_mb": 71.7
|
59 |
+
},
|
60 |
+
"s2_lying": {
|
61 |
+
"video_id": "s2_lying",
|
62 |
+
"filename": "s2_lying.mov",
|
63 |
+
"subject_id": 2,
|
64 |
+
"view_position": "lying",
|
65 |
+
"duration_seconds": 176.5,
|
66 |
+
"resolution": "436x226",
|
67 |
+
"frame_rate": 30.0,
|
68 |
+
"file_size_mb": 67.8
|
69 |
+
},
|
70 |
+
"s3_back": {
|
71 |
+
"video_id": "s3_back",
|
72 |
+
"filename": "s3_back.mov",
|
73 |
+
"subject_id": 3,
|
74 |
+
"view_position": "back",
|
75 |
+
"duration_seconds": 177.2,
|
76 |
+
"resolution": "640x370",
|
77 |
+
"frame_rate": 30.0,
|
78 |
+
"file_size_mb": 68.1
|
79 |
+
},
|
80 |
+
"s3_lying": {
|
81 |
+
"video_id": "s3_lying",
|
82 |
+
"filename": "s3_lying.mov",
|
83 |
+
"subject_id": 3,
|
84 |
+
"view_position": "lying",
|
85 |
+
"duration_seconds": 184.7,
|
86 |
+
"resolution": "452x156",
|
87 |
+
"frame_rate": 30.0,
|
88 |
+
"file_size_mb": 70.8
|
89 |
+
},
|
90 |
+
"s4_front": {
|
91 |
+
"video_id": "s4_front",
|
92 |
+
"filename": "s4_front.mov",
|
93 |
+
"subject_id": 4,
|
94 |
+
"view_position": "front",
|
95 |
+
"duration_seconds": 163.4,
|
96 |
+
"resolution": "1346x1080",
|
97 |
+
"frame_rate": 30.1,
|
98 |
+
"file_size_mb": 170.7
|
99 |
+
},
|
100 |
+
"s5_front": {
|
101 |
+
"video_id": "s5_front",
|
102 |
+
"filename": "s5_front.mov",
|
103 |
+
"subject_id": 5,
|
104 |
+
"view_position": "front",
|
105 |
+
"duration_seconds": 169.5,
|
106 |
+
"resolution": "1496x1080",
|
107 |
+
"frame_rate": 30.1,
|
108 |
+
"file_size_mb": 177.0
|
109 |
+
},
|
110 |
+
"s5_lying": {
|
111 |
+
"video_id": "s5_lying",
|
112 |
+
"filename": "s5_lying.mov",
|
113 |
+
"subject_id": 5,
|
114 |
+
"view_position": "lying",
|
115 |
+
"duration_seconds": 243.7,
|
116 |
+
"resolution": "966x1080",
|
117 |
+
"frame_rate": 30.1,
|
118 |
+
"file_size_mb": 254.6
|
119 |
+
},
|
120 |
+
"s6_front": {
|
121 |
+
"video_id": "s6_front",
|
122 |
+
"filename": "s6_front.mov",
|
123 |
+
"subject_id": 6,
|
124 |
+
"view_position": "front",
|
125 |
+
"duration_seconds": 282.0,
|
126 |
+
"resolution": "1602x1080",
|
127 |
+
"frame_rate": 30.1,
|
128 |
+
"file_size_mb": 294.4
|
129 |
+
},
|
130 |
+
"s7_side": {
|
131 |
+
"video_id": "s7_side",
|
132 |
+
"filename": "s7_side.mov",
|
133 |
+
"subject_id": 7,
|
134 |
+
"view_position": "side",
|
135 |
+
"duration_seconds": 240.5,
|
136 |
+
"resolution": "996x850",
|
137 |
+
"frame_rate": 30.1,
|
138 |
+
"file_size_mb": 251.5
|
139 |
+
},
|
140 |
+
"s8_side": {
|
141 |
+
"video_id": "s8_side",
|
142 |
+
"filename": "s8_side.mov",
|
143 |
+
"subject_id": 8,
|
144 |
+
"view_position": "side",
|
145 |
+
"duration_seconds": 280.8,
|
146 |
+
"resolution": "848x480",
|
147 |
+
"frame_rate": 30.0,
|
148 |
+
"file_size_mb": 83.0
|
149 |
+
},
|
150 |
+
"s9_side": {
|
151 |
+
"video_id": "s9_side",
|
152 |
+
"filename": "s9_side.mov",
|
153 |
+
"subject_id": 9,
|
154 |
+
"view_position": "side",
|
155 |
+
"duration_seconds": 290.5,
|
156 |
+
"resolution": "320x434",
|
157 |
+
"frame_rate": 30.0,
|
158 |
+
"file_size_mb": 133.4
|
159 |
+
},
|
160 |
+
"s10_side": {
|
161 |
+
"video_id": "s10_side",
|
162 |
+
"filename": "s10_side.mov",
|
163 |
+
"subject_id": 10,
|
164 |
+
"view_position": "side",
|
165 |
+
"duration_seconds": 295.3,
|
166 |
+
"resolution": "1188x1080",
|
167 |
+
"frame_rate": 30.0,
|
168 |
+
"file_size_mb": 308.5
|
169 |
+
},
|
170 |
+
"s11_side": {
|
171 |
+
"video_id": "s11_side",
|
172 |
+
"filename": "s11_side.mov",
|
173 |
+
"subject_id": 11,
|
174 |
+
"view_position": "side",
|
175 |
+
"duration_seconds": 284.5,
|
176 |
+
"resolution": "1038x918",
|
177 |
+
"frame_rate": 30.0,
|
178 |
+
"file_size_mb": 297.2
|
179 |
+
},
|
180 |
+
"s12_side": {
|
181 |
+
"video_id": "s12_side",
|
182 |
+
"filename": "s12_side.mov",
|
183 |
+
"subject_id": 12,
|
184 |
+
"view_position": "side",
|
185 |
+
"duration_seconds": 287.7,
|
186 |
+
"resolution": "510x480",
|
187 |
+
"frame_rate": 30.0,
|
188 |
+
"file_size_mb": 132.5
|
189 |
+
},
|
190 |
+
"s13_side": {
|
191 |
+
"video_id": "s13_side",
|
192 |
+
"filename": "s13_side.mov",
|
193 |
+
"subject_id": 13,
|
194 |
+
"view_position": "side",
|
195 |
+
"duration_seconds": 288.2,
|
196 |
+
"resolution": "1314x1080",
|
197 |
+
"frame_rate": 30.0,
|
198 |
+
"file_size_mb": 300.9
|
199 |
+
},
|
200 |
+
"s14_side": {
|
201 |
+
"video_id": "s14_side",
|
202 |
+
"filename": "s14_side.mov",
|
203 |
+
"subject_id": 14,
|
204 |
+
"view_position": "side",
|
205 |
+
"duration_seconds": 286.7,
|
206 |
+
"resolution": "1080x848",
|
207 |
+
"frame_rate": 24.0,
|
208 |
+
"file_size_mb": 263.8
|
209 |
+
},
|
210 |
+
"s15_side": {
|
211 |
+
"video_id": "s15_side",
|
212 |
+
"filename": "s15_side.mov",
|
213 |
+
"subject_id": 15,
|
214 |
+
"view_position": "side",
|
215 |
+
"duration_seconds": 292.7,
|
216 |
+
"resolution": "304x304",
|
217 |
+
"frame_rate": 30.1,
|
218 |
+
"file_size_mb": 72.1
|
219 |
+
},
|
220 |
+
"s16_side": {
|
221 |
+
"video_id": "s16_side",
|
222 |
+
"filename": "s16_side.mov",
|
223 |
+
"subject_id": 16,
|
224 |
+
"view_position": "side",
|
225 |
+
"duration_seconds": 299.3,
|
226 |
+
"resolution": "1044x1080",
|
227 |
+
"frame_rate": 30.0,
|
228 |
+
"file_size_mb": 312.6
|
229 |
+
},
|
230 |
+
"s17_side": {
|
231 |
+
"video_id": "s17_side",
|
232 |
+
"filename": "s17_side.mov",
|
233 |
+
"subject_id": 17,
|
234 |
+
"view_position": "side",
|
235 |
+
"duration_seconds": 283.2,
|
236 |
+
"resolution": "346x586",
|
237 |
+
"frame_rate": 30.0,
|
238 |
+
"file_size_mb": 130.2
|
239 |
+
},
|
240 |
+
"s18_side": {
|
241 |
+
"video_id": "s18_side",
|
242 |
+
"filename": "s18_side.mov",
|
243 |
+
"subject_id": 18,
|
244 |
+
"view_position": "side",
|
245 |
+
"duration_seconds": 291.7,
|
246 |
+
"resolution": "400x352",
|
247 |
+
"frame_rate": 30.0,
|
248 |
+
"file_size_mb": 81.3
|
249 |
+
},
|
250 |
+
"s19_side": {
|
251 |
+
"video_id": "s19_side",
|
252 |
+
"filename": "s19_side.mov",
|
253 |
+
"subject_id": 19,
|
254 |
+
"view_position": "side",
|
255 |
+
"duration_seconds": 295.3,
|
256 |
+
"resolution": "374x480",
|
257 |
+
"frame_rate": 30.0,
|
258 |
+
"file_size_mb": 135.7
|
259 |
+
},
|
260 |
+
"s20_side": {
|
261 |
+
"video_id": "s20_side",
|
262 |
+
"filename": "s20_side.mp4",
|
263 |
+
"subject_id": 20,
|
264 |
+
"view_position": "side",
|
265 |
+
"duration_seconds": 282.7,
|
266 |
+
"resolution": "1080x974",
|
267 |
+
"frame_rate": 30.0,
|
268 |
+
"file_size_mb": 190.3
|
269 |
+
},
|
270 |
+
"s21_side": {
|
271 |
+
"video_id": "s21_side",
|
272 |
+
"filename": "s21_side.mov",
|
273 |
+
"subject_id": 21,
|
274 |
+
"view_position": "side",
|
275 |
+
"duration_seconds": 277.4,
|
276 |
+
"resolution": "1080x974",
|
277 |
+
"frame_rate": 30.0,
|
278 |
+
"file_size_mb": 287.1
|
279 |
+
},
|
280 |
+
"s22_side": {
|
281 |
+
"video_id": "s22_side",
|
282 |
+
"filename": "s22_side.mov",
|
283 |
+
"subject_id": 22,
|
284 |
+
"view_position": "side",
|
285 |
+
"duration_seconds": 294.7,
|
286 |
+
"resolution": "1080x1190",
|
287 |
+
"frame_rate": 30.0,
|
288 |
+
"file_size_mb": 304.3
|
289 |
+
},
|
290 |
+
"s23_front": {
|
291 |
+
"video_id": "s23_front",
|
292 |
+
"filename": "s23_front.mov",
|
293 |
+
"subject_id": 23,
|
294 |
+
"view_position": "front",
|
295 |
+
"duration_seconds": 202.9,
|
296 |
+
"resolution": "1122x636",
|
297 |
+
"frame_rate": 29.0,
|
298 |
+
"file_size_mb": 205.3
|
299 |
+
},
|
300 |
+
"s24_back": {
|
301 |
+
"video_id": "s24_back",
|
302 |
+
"filename": "s24_back.mov",
|
303 |
+
"subject_id": 24,
|
304 |
+
"view_position": "back",
|
305 |
+
"duration_seconds": 186.0,
|
306 |
+
"resolution": "1532x1024",
|
307 |
+
"frame_rate": 30.0,
|
308 |
+
"file_size_mb": 221.4
|
309 |
+
},
|
310 |
+
"s24_lying": {
|
311 |
+
"video_id": "s24_lying",
|
312 |
+
"filename": "s24_lying.mov",
|
313 |
+
"subject_id": 24,
|
314 |
+
"view_position": "lying",
|
315 |
+
"duration_seconds": 192.3,
|
316 |
+
"resolution": "1592x514",
|
317 |
+
"frame_rate": 30.0,
|
318 |
+
"file_size_mb": 160.3
|
319 |
+
}
|
320 |
+
},
|
321 |
+
"statistics": {
|
322 |
+
"total_duration_minutes": 123.6,
|
323 |
+
"average_duration_seconds": 239.3,
|
324 |
+
"total_subjects": 24,
|
325 |
+
"subject_range": "1-24",
|
326 |
+
"position_distribution": {
|
327 |
+
"front": 6,
|
328 |
+
"back": 4,
|
329 |
+
"lying": 5,
|
330 |
+
"side": 16
|
331 |
+
},
|
332 |
+
"resolution_distribution": {
|
333 |
+
"640x376": 1,
|
334 |
+
"564x320": 1,
|
335 |
+
"442x210": 1,
|
336 |
+
"640x356": 1,
|
337 |
+
"640x372": 1,
|
338 |
+
"436x226": 1,
|
339 |
+
"640x370": 1,
|
340 |
+
"452x156": 1,
|
341 |
+
"1346x1080": 1,
|
342 |
+
"1496x1080": 1,
|
343 |
+
"966x1080": 1,
|
344 |
+
"1602x1080": 1,
|
345 |
+
"996x850": 1,
|
346 |
+
"848x480": 1,
|
347 |
+
"320x434": 1,
|
348 |
+
"1188x1080": 1,
|
349 |
+
"1038x918": 1,
|
350 |
+
"510x480": 1,
|
351 |
+
"1314x1080": 1,
|
352 |
+
"1080x848": 1,
|
353 |
+
"304x304": 1,
|
354 |
+
"1044x1080": 1,
|
355 |
+
"346x586": 1,
|
356 |
+
"400x352": 1,
|
357 |
+
"374x480": 1,
|
358 |
+
"1080x974": 2,
|
359 |
+
"1080x1190": 1,
|
360 |
+
"1122x636": 1,
|
361 |
+
"1532x1024": 1,
|
362 |
+
"1592x514": 1
|
363 |
+
},
|
364 |
+
"frame_rate_distribution": {
|
365 |
+
"30.0": 23,
|
366 |
+
"30.1": 6,
|
367 |
+
"24.0": 1,
|
368 |
+
"29.0": 1
|
369 |
+
}
|
370 |
+
}
|
371 |
+
}
|
readme.md
ADDED
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# MPSC-RR: Multi-Position Respiratory Monitoring Dataset
|
2 |
+
|
3 |
+
[](https://huggingface.co/datasets/justchugh/MPSC-RR)
|
4 |
+
[](https://doi.org/10.1145/3721201.3721366)
|
5 |
+
[](https://github.com/mxahan/RRPIPS)
|
6 |
+
[](https://justchugh.github.io/RRPIPs.github.io/)
|
7 |
+
[](LICENSE)
|
8 |
+
|
9 |
+
### Video Overview
|
10 |
+
|
11 |
+
[](dataset.mp4)
|
12 |
+
|
13 |
+
### Dataset Description
|
14 |
+
|
15 |
+
The MPSC-RR dataset is a comprehensive collection of RGB videos designed for contactless respiratory rate estimation and respiratory waveform reconstruction research. The dataset captures respiratory-induced movements across multiple body positions and camera angles, providing diverse scenarios for developing robust respiratory monitoring algorithms.
|
16 |
+
|
17 |
+
### Key Features
|
18 |
+
|
19 |
+
- **Multi-Position Coverage**: Front, back, side, and lying positions
|
20 |
+
- **Natural Breathing Patterns**: Regular, slow, and fast breathing captured
|
21 |
+
- **Diverse Demographics**: Adult volunteers across different age groups and backgrounds
|
22 |
+
- **Ground Truth Annotations**: Vernier Go Direct Respiration Belt measurements
|
23 |
+
- **High-Quality Videos**: RGB videos with clear respiratory motion visibility
|
24 |
+
- **Real-World Conditions**: Varied lighting, clothing, and environmental settings
|
25 |
+
|
26 |
+
## Dataset Statistics
|
27 |
+
|
28 |
+
- **Total Videos**: 31 video sessions
|
29 |
+
- **Subjects**: 24 adult volunteers (Subject IDs: 1-24)
|
30 |
+
- **Duration**: 2.5-5 minutes per video (Average: ~4 minutes)
|
31 |
+
- **Resolution**: Varied resolutions from 304×304 to 1602×1080
|
32 |
+
- **Frame Rate**: Primarily 30 FPS (with some at 30.1, 29, and 24 FPS)
|
33 |
+
- **Total Duration**: ~2.1 hours of respiratory monitoring data
|
34 |
+
- **Total Size**: 5.18 GB
|
35 |
+
|
36 |
+
## Data Structure
|
37 |
+
|
38 |
+
### Video Files
|
39 |
+
|
40 |
+
```
|
41 |
+
s{subject_id}_{view_position}.{ext}
|
42 |
+
```
|
43 |
+
|
44 |
+
**Naming Convention:**
|
45 |
+
|
46 |
+
- `s1_front.mov` - Subject 1, front view
|
47 |
+
- `s20_side.mp4` - Subject 20, side view (Note: one video in MP4 format)
|
48 |
+
- `s24_lying.mov` - Subject 24, lying position
|
49 |
+
|
50 |
+
**View Positions:**
|
51 |
+
|
52 |
+
- `front` - Frontal chest/abdomen view (6 videos)
|
53 |
+
- `back` - Back/shoulder movement view (4 videos)
|
54 |
+
- `side` - Side profile view (16 videos)
|
55 |
+
- `lying` - Lying down position (5 videos)
|
56 |
+
|
57 |
+
### Metadata Structure
|
58 |
+
|
59 |
+
```python
|
60 |
+
{
|
61 |
+
"video_id": str, # e.g., "s1_front"
|
62 |
+
"subject_id": int, # Subject identifier (1-24)
|
63 |
+
"view_position": str, # front, back, side, lying
|
64 |
+
"duration_seconds": float, # Video duration
|
65 |
+
"resolution": str, # e.g., "1920x1080"
|
66 |
+
"frame_rate": float, # 30.0, 30.1, 29.0, or 24.0 FPS
|
67 |
+
"file_size_mb": float, # File size in megabytes
|
68 |
+
"filename": str # Actual filename with extension
|
69 |
+
}
|
70 |
+
```
|
71 |
+
|
72 |
+
## Usage
|
73 |
+
|
74 |
+
### Loading the Dataset
|
75 |
+
|
76 |
+
```python
|
77 |
+
from datasets import load_dataset
|
78 |
+
|
79 |
+
# Load all videos
|
80 |
+
dataset = load_dataset("justchugh/MPSC-RR")
|
81 |
+
|
82 |
+
# Access video information
|
83 |
+
sample = dataset[0]
|
84 |
+
video_id = sample["video_id"]
|
85 |
+
subject_id = sample["subject_id"]
|
86 |
+
view_position = sample["view_position"]
|
87 |
+
```
|
88 |
+
|
89 |
+
### Filtering Videos
|
90 |
+
|
91 |
+
```python
|
92 |
+
# Get front view videos
|
93 |
+
front_videos = dataset.filter(lambda x: x["view_position"] == "front")
|
94 |
+
|
95 |
+
# Get specific subject's videos
|
96 |
+
subject_1 = dataset.filter(lambda x: x["subject_id"] == 1)
|
97 |
+
|
98 |
+
# Get lying position videos
|
99 |
+
lying_videos = dataset.filter(lambda x: x["view_position"] == "lying")
|
100 |
+
```
|
101 |
+
|
102 |
+
### Basic Analysis
|
103 |
+
|
104 |
+
```python
|
105 |
+
# Count videos per position
|
106 |
+
positions = [sample["view_position"] for sample in dataset]
|
107 |
+
position_counts = {pos: positions.count(pos) for pos in set(positions)}
|
108 |
+
print("Videos per position:", position_counts)
|
109 |
+
|
110 |
+
# List all subjects
|
111 |
+
subjects = set(sample["subject_id"] for sample in dataset)
|
112 |
+
print(f"Subjects: {sorted(subjects)}")
|
113 |
+
```
|
114 |
+
|
115 |
+
### Data Collection
|
116 |
+
|
117 |
+
### Equipment
|
118 |
+
|
119 |
+
- **Camera**: Standard RGB cameras (mobile phones, mounted cameras)
|
120 |
+
- **Ground Truth**: Vernier Go Direct Respiration Belt for pressure measurements
|
121 |
+
- **Distance**: 1-1.5 meters from subjects
|
122 |
+
- **Environment**: Clinical laboratory setting with controlled conditions
|
123 |
+
|
124 |
+
### Protocol
|
125 |
+
|
126 |
+
1. **Subject Preparation**: Comfortable positioning with clear view of respiratory regions
|
127 |
+
2. **Baseline Recording**: 30-second calibration period
|
128 |
+
3. **Data Collection**: 3-5 minutes of natural breathing
|
129 |
+
4. **Ground Truth Sync**: Synchronized pressure belt data collection
|
130 |
+
5. **Quality Check**: Manual verification of respiratory cycles
|
131 |
+
|
132 |
+
### View Positions Explained
|
133 |
+
|
134 |
+
| Position | Description | Captured Regions | Use Case | Count |
|
135 |
+
| --------- | --------------- | ------------------------ | ------------------------------- | ----- |
|
136 |
+
| `front` | Frontal view | Chest, abdomen expansion | Standard respiratory monitoring | 6 |
|
137 |
+
| `back` | Back view | Shoulder, back movement | Posterior respiratory motion | 4 |
|
138 |
+
| `side` | Side profile | Chest wall movement | Lateral respiratory dynamics | 16 |
|
139 |
+
| `lying` | Supine position | Abdomen, chest (lying) | Sleep/rest respiratory patterns | 5 |
|
140 |
+
|
141 |
+
## Dataset Distribution
|
142 |
+
|
143 |
+
| Subject Range | Video Count | Positions Available |
|
144 |
+
| ------------- | ----------- | ------------------- |
|
145 |
+
| 1-2 | 6 videos | front, back, lying |
|
146 |
+
| 3 | 2 videos | back, lying |
|
147 |
+
| 4 | 1 video | front |
|
148 |
+
| 5 | 2 videos | front, lying |
|
149 |
+
| 6 | 1 video | front |
|
150 |
+
| 7-22 | 16 videos | side (primarily) |
|
151 |
+
| 23 | 1 video | front |
|
152 |
+
| 24 | 2 videos | back, lying |
|
153 |
+
|
154 |
+
## Benchmark Results
|
155 |
+
|
156 |
+
Performance of state-of-the-art methods on MPSC-RR:
|
157 |
+
|
158 |
+
| Method | MAE (bpm) | RMSE (bpm) | Modality |
|
159 |
+
| ---------------- | -------------- | -------------- | -------- |
|
160 |
+
| Intensity-based | 3.25 | 5.12 | RGB |
|
161 |
+
| Optical Flow | 2.42 | 3.89 | RGB |
|
162 |
+
| PIPs++ | 1.62 | 2.92 | RGB |
|
163 |
+
| **RRPIPS** | **1.01** | **1.80** | RGB |
|
164 |
+
|
165 |
+
## Applications
|
166 |
+
|
167 |
+
This dataset supports research in:
|
168 |
+
|
169 |
+
- **Contactless Vital Sign Monitoring**
|
170 |
+
- **Multi-Position Respiratory Analysis**
|
171 |
+
- **Computer Vision for Healthcare**
|
172 |
+
- **Sleep and Rest Monitoring**
|
173 |
+
- **Wearable-Free Health Tracking**
|
174 |
+
- **Clinical Decision Support Systems**
|
175 |
+
|
176 |
+
## Data Quality
|
177 |
+
|
178 |
+
### Inclusion Criteria
|
179 |
+
|
180 |
+
- Clear visibility of respiratory-induced motion
|
181 |
+
- Stable video recording (minimal camera movement)
|
182 |
+
- Synchronized ground truth data available
|
183 |
+
- Adequate lighting conditions
|
184 |
+
|
185 |
+
### Quality Metrics
|
186 |
+
|
187 |
+
- **Motion Clarity**: All videos show visible respiratory movement
|
188 |
+
- **Synchronization**: <50ms offset between video and pressure data
|
189 |
+
- **Duration**: Minimum 148 seconds per recording
|
190 |
+
- **Resolution**: Varied resolutions optimized for respiratory motion capture
|
191 |
+
|
192 |
+
## Related Datasets
|
193 |
+
|
194 |
+
- **AIR-125**: Infant respiratory monitoring (125 videos, infants)
|
195 |
+
- **BIDMC**: PPG and respiration signals (53 recordings, clinical)
|
196 |
+
- **Sleep Database**: NIR/IR respiratory data (28 videos, adults)
|
197 |
+
|
198 |
+
## Ethical Considerations
|
199 |
+
|
200 |
+
- **IRB Approval**: All data collection approved by institutional review board
|
201 |
+
- **Informed Consent**: Written consent obtained from all participants
|
202 |
+
- **Privacy Protection**: Faces blurred or cropped when necessary
|
203 |
+
- **Data Anonymization**: No personally identifiable information included
|
204 |
+
- **Voluntary Participation**: Participants could withdraw at any time
|
205 |
+
|
206 |
+
## Citation
|
207 |
+
|
208 |
+
If you use this dataset in your research, please cite:
|
209 |
+
|
210 |
+
```bibtex
|
211 |
+
@inproceedings{hasan2025rrpips,
|
212 |
+
title={RRPIPS: Respiratory Waveform Reconstruction using Persistent Independent Particles Tracking from Video},
|
213 |
+
author={Hasan, Zahid and Ahmed, Masud and Sakib, Shadman and Chugh, Snehalraj and Khan, Md Azim and Faridee, Abu Zaher MD and Roy, Nirmalya},
|
214 |
+
booktitle={ACM/IEEE International Conference on Connected Health: Applications, Systems and Engineering Technologies (CHASE)},
|
215 |
+
year={2025},
|
216 |
+
pages={1--12},
|
217 |
+
doi={10.1145/3721201.3721366}
|
218 |
+
}
|
219 |
+
```
|
220 |
+
|
221 |
+
## Quick Start
|
222 |
+
|
223 |
+
```python
|
224 |
+
# Install required packages
|
225 |
+
pip install datasets
|
226 |
+
|
227 |
+
# Load and explore dataset
|
228 |
+
from datasets import load_dataset
|
229 |
+
dataset = load_dataset("justchugh/MPSC-RR")
|
230 |
+
|
231 |
+
print(f"Total videos: {len(dataset)}")
|
232 |
+
print(f"First video: {dataset[0]['video_id']}")
|
233 |
+
print(f"Positions available: {set(s['view_position'] for s in dataset)}")
|
234 |
+
|
235 |
+
# Example: Get all side view videos
|
236 |
+
side_videos = dataset.filter(lambda x: x["view_position"] == "side")
|
237 |
+
print(f"Side view videos: {len(side_videos)}")
|
238 |
+
```
|
239 |
+
|
240 |
+
## License
|
241 |
+
|
242 |
+
This dataset is released under [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
|
243 |
+
|
244 |
+
## Links
|
245 |
+
|
246 |
+
- **Code Repository**: https://github.com/mxahan/RRPIPS
|
247 |
+
- **Website Repository**: https://github.com/justchugh/RRPIPs.github.io
|
248 |
+
|
249 |
+
## Contact
|
250 |
+
|
251 |
+
- **Dataset Questions**: [email protected]
|
252 |
+
- **Technical Issues**: [email protected]
|
253 |
+
|
254 |
+
---
|
255 |
+
|
256 |
+
*Dataset Version: 1.0*
|