Datasets:
Update dataset card / previews / scripts
Browse files- README.md +14 -0
- previews/metadata.jsonl +18 -18
- scripts/build_metadata.py +4 -2
README.md
CHANGED
|
@@ -114,6 +114,20 @@ scripts/
|
|
| 114 |
upload_capture.sh packaging + upload pipeline (for maintainers)
|
| 115 |
```
|
| 116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
### `videos/camNN.mp4`
|
| 118 |
|
| 119 |
Each file is **4096 x 1500**: the **left half is the matted RGB image**, the **right half
|
|
|
|
| 114 |
upload_capture.sh packaging + upload pipeline (for maintainers)
|
| 115 |
```
|
| 116 |
|
| 117 |
+
### The Data tab
|
| 118 |
+
|
| 119 |
+
`previews/metadata.jsonl` is loaded by the `imagefolder` builder, so the **Data** tab is a
|
| 120 |
+
browsable index of every fitted frame that has QC output: one row per
|
| 121 |
+
(capture x every 100th frame), with the 32-view contact sheet as the `image` column plus
|
| 122 |
+
|
| 123 |
+
`capture`, `subject`, `session`, `role`, `frame`, `video_frame`, `n_cams`, `n_frames`,
|
| 124 |
+
`n_views_fit` (views the fit actually used), `n_face_views` (views with an accepted face
|
| 125 |
+
crop), `stages` (`A+B+C+F` cold start / `W` warm), `joint_span_y_m` (vertical extent of the
|
| 126 |
+
SMPL-X joints, a cheap "did the fit explode" number rather than a body height), and the
|
| 127 |
+
repo-relative paths to the full-resolution `videos` / `smplx` / `cameras`.
|
| 128 |
+
|
| 129 |
+
Sort or filter on `n_face_views` or `joint_span_y_m` to find the frames worth inspecting.
|
| 130 |
+
|
| 131 |
### `videos/camNN.mp4`
|
| 132 |
|
| 133 |
Each file is **4096 x 1500**: the **left half is the matted RGB image**, the **right half
|
previews/metadata.jsonl
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
{"file_name": "P1C1_f00000100.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 100, "video_frame": 99, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 12, "stages": "W", "
|
| 2 |
-
{"file_name": "P1C1_f00000200.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 200, "video_frame": 199, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 3 |
-
{"file_name": "P1C1_f00000300.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 300, "video_frame": 299, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 4 |
-
{"file_name": "P1C1_f00000400.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 400, "video_frame": 399, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 5 |
-
{"file_name": "P1C1_f00000500.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 500, "video_frame": 499, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 6 |
-
{"file_name": "P1C1_f00000600.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 600, "video_frame": 599, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 7 |
-
{"file_name": "P1C1_f00000700.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 700, "video_frame": 699, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 8 |
-
{"file_name": "P1C1_f00000800.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 800, "video_frame": 799, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 9 |
-
{"file_name": "P1C1_f00000900.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 900, "video_frame": 899, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 10 |
-
{"file_name": "P1C1_f00001000.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1000, "video_frame": 999, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "
|
| 11 |
-
{"file_name": "P1C1_f00001100.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1100, "video_frame": 1099, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 12 |
-
{"file_name": "P1C1_f00001200.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1200, "video_frame": 1199, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 13 |
-
{"file_name": "P1C1_f00001300.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1300, "video_frame": 1299, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "
|
| 14 |
-
{"file_name": "P1C1_f00001400.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1400, "video_frame": 1399, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "
|
| 15 |
-
{"file_name": "P1C1_f00001500.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1500, "video_frame": 1499, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "
|
| 16 |
-
{"file_name": "P1C1_f00001600.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1600, "video_frame": 1599, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "
|
| 17 |
-
{"file_name": "P1C1_f00001700.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1700, "video_frame": 1699, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "
|
| 18 |
-
{"file_name": "P1C1_f00001800.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1800, "video_frame": 1799, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "
|
|
|
|
| 1 |
+
{"file_name": "P1C1_f00000100.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 100, "video_frame": 99, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 12, "stages": "W", "joint_span_y_m": 1.6515, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 2 |
+
{"file_name": "P1C1_f00000200.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 200, "video_frame": 199, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.7022, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 3 |
+
{"file_name": "P1C1_f00000300.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 300, "video_frame": 299, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.9227, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 4 |
+
{"file_name": "P1C1_f00000400.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 400, "video_frame": 399, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.6455, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 5 |
+
{"file_name": "P1C1_f00000500.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 500, "video_frame": 499, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.6573, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 6 |
+
{"file_name": "P1C1_f00000600.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 600, "video_frame": 599, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.6455, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 7 |
+
{"file_name": "P1C1_f00000700.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 700, "video_frame": 699, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.6465, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 8 |
+
{"file_name": "P1C1_f00000800.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 800, "video_frame": 799, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.643, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 9 |
+
{"file_name": "P1C1_f00000900.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 900, "video_frame": 899, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.6407, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 10 |
+
{"file_name": "P1C1_f00001000.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1000, "video_frame": 999, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "joint_span_y_m": 1.6732, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 11 |
+
{"file_name": "P1C1_f00001100.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1100, "video_frame": 1099, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.6627, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 12 |
+
{"file_name": "P1C1_f00001200.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1200, "video_frame": 1199, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.6596, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 13 |
+
{"file_name": "P1C1_f00001300.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1300, "video_frame": 1299, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "joint_span_y_m": 1.4965, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 14 |
+
{"file_name": "P1C1_f00001400.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1400, "video_frame": 1399, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 11, "stages": "W", "joint_span_y_m": 1.6594, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 15 |
+
{"file_name": "P1C1_f00001500.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1500, "video_frame": 1499, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "joint_span_y_m": 1.6556, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 16 |
+
{"file_name": "P1C1_f00001600.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1600, "video_frame": 1599, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "joint_span_y_m": 1.6423, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 17 |
+
{"file_name": "P1C1_f00001700.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1700, "video_frame": 1699, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 10, "stages": "W", "joint_span_y_m": 1.6608, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
| 18 |
+
{"file_name": "P1C1_f00001800.jpg", "capture": "P1C1", "subject": "P1", "session": "C1", "role": "train", "frame": 1800, "video_frame": 1799, "n_cams": 32, "n_frames": 1836, "n_views_fit": 32, "n_face_views": 9, "stages": "W", "joint_span_y_m": 1.6651, "videos": "data/P1C1/videos", "smplx": "data/P1C1/smplx.npz", "cameras": "data/P1C1/cameras.json"}
|
scripts/build_metadata.py
CHANGED
|
@@ -17,7 +17,7 @@ Columns
|
|
| 17 |
n_views_fit views actually used by the fit at this frame
|
| 18 |
n_face_views views with an accepted MediaPipe face at this frame
|
| 19 |
stages fit schedule at this frame (A+B+C+F cold / W warm)
|
| 20 |
-
|
| 21 |
videos / smplx / cameras repo-relative paths to the full-res assets
|
| 22 |
|
| 23 |
Run after every capture is staged; it rescans the whole staging tree.
|
|
@@ -75,7 +75,9 @@ def build(staging: Path) -> dict:
|
|
| 75 |
"n_views_fit": int(n_views[i]),
|
| 76 |
"n_face_views": int(n_face[i]),
|
| 77 |
"stages": str(stages[i]),
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
"videos": f"data/{cap}/videos",
|
| 80 |
"smplx": f"data/{cap}/smplx.npz",
|
| 81 |
"cameras": f"data/{cap}/cameras.json",
|
|
|
|
| 17 |
n_views_fit views actually used by the fit at this frame
|
| 18 |
n_face_views views with an accepted MediaPipe face at this frame
|
| 19 |
stages fit schedule at this frame (A+B+C+F cold / W warm)
|
| 20 |
+
joint_span_y_m vertical extent of the SMPL-X joints (sanity number, not height)
|
| 21 |
videos / smplx / cameras repo-relative paths to the full-res assets
|
| 22 |
|
| 23 |
Run after every capture is staged; it rescans the whole staging tree.
|
|
|
|
| 75 |
"n_views_fit": int(n_views[i]),
|
| 76 |
"n_face_views": int(n_face[i]),
|
| 77 |
"stages": str(stages[i]),
|
| 78 |
+
# vertical extent of the SMPL-X joints. A cheap "did the fit explode"
|
| 79 |
+
# number, NOT body height: it grows when the arms go above the head.
|
| 80 |
+
"joint_span_y_m": round(float(j[:, 1].max() - j[:, 1].min()), 4),
|
| 81 |
"videos": f"data/{cap}/videos",
|
| 82 |
"smplx": f"data/{cap}/smplx.npz",
|
| 83 |
"cameras": f"data/{cap}/cameras.json",
|