|
| 1 | +# Detector parameter sweep report |
| 2 | + |
| 3 | +Generated by `benchmark/report_sweep.py` from `benchmark/sweep.py` grid results (hash/hist were swept with `min_scene_len` fixed at its default). F1/precision/recall are percentages on hard cuts; tol = frame tolerance. |
| 4 | + |
| 5 | +## detect-content |
| 6 | + |
| 7 | +**Best cell per dataset (by F1@1):** |
| 8 | + |
| 9 | +| Dataset | F1@1 | Prec@1 | Rec@1 | F1@0 | Params | |
| 10 | +| --------- | ----- | ------ | ----- | ----- | ------------------------------- | |
| 11 | +| BBC | 88.34 | 90.00 | 86.75 | 87.35 | min_scene_len=0.8, threshold=25 | |
| 12 | +| AutoShot | 73.44 | 79.54 | 68.21 | 70.54 | min_scene_len=0.4, threshold=29 | |
| 13 | +| ClipShots | 66.74 | 58.93 | 76.95 | 66.44 | min_scene_len=0.8, threshold=35 | |
| 14 | + |
| 15 | +**Best params averaged across all datasets (mean F1@1):** |
| 16 | + |
| 17 | +| Mean F1@1 | BBC | AutoShot | ClipShots | Params | |
| 18 | +| --------- | ----- | -------- | --------- | ------------------------------- | |
| 19 | +| 73.39 | 85.95 | 71.51 | 62.73 | min_scene_len=0.6, threshold=31 | |
| 20 | +| 73.37 | 84.27 | 70.95 | 64.89 | min_scene_len=0.6, threshold=33 | |
| 21 | +| 73.32 | 83.99 | 72.43 | 63.54 | min_scene_len=0.4, threshold=33 | |
| 22 | +| 73.15 | 87.28 | 72.05 | 60.13 | min_scene_len=0.6, threshold=29 | |
| 23 | +| 73.09 | 85.18 | 72.97 | 61.10 | min_scene_len=0.4, threshold=31 | |
| 24 | + |
| 25 | +## detect-adaptive |
| 26 | + |
| 27 | +**Best cell per dataset (by F1@1):** |
| 28 | + |
| 29 | +| Dataset | F1@1 | Prec@1 | Rec@1 | F1@0 | Params | |
| 30 | +| --------- | ----- | ------ | ----- | ----- | --------------------------------------------------------- | |
| 31 | +| BBC | 94.57 | 94.89 | 94.26 | 93.50 | adaptive_threshold=2, min_scene_len=0.6, window_width=2 | |
| 32 | +| AutoShot | 77.19 | 80.48 | 74.16 | 75.45 | adaptive_threshold=3.5, min_scene_len=0.4, window_width=3 | |
| 33 | +| ClipShots | 65.53 | 60.19 | 71.89 | 65.47 | adaptive_threshold=5.5, min_scene_len=0.6, window_width=3 | |
| 34 | + |
| 35 | +**Best params averaged across all datasets (mean F1@1):** |
| 36 | + |
| 37 | +| Mean F1@1 | BBC | AutoShot | ClipShots | Params | |
| 38 | +| --------- | ----- | -------- | --------- | --------------------------------------------------------- | |
| 39 | +| 76.34 | 90.41 | 76.27 | 62.32 | adaptive_threshold=3.5, min_scene_len=0.6, window_width=3 | |
| 40 | +| 76.21 | 87.87 | 76.17 | 64.58 | adaptive_threshold=4, min_scene_len=0.6, window_width=3 | |
| 41 | +| 76.18 | 90.43 | 77.19 | 60.93 | adaptive_threshold=3.5, min_scene_len=0.4, window_width=3 | |
| 42 | +| 76.16 | 87.91 | 77.07 | 63.51 | adaptive_threshold=4, min_scene_len=0.4, window_width=3 | |
| 43 | +| 75.45 | 85.28 | 75.71 | 65.37 | adaptive_threshold=4.5, min_scene_len=0.6, window_width=3 | |
| 44 | + |
| 45 | +## detect-hash |
| 46 | + |
| 47 | +**Best cell per dataset (by F1@1):** |
| 48 | + |
| 49 | +| Dataset | F1@1 | Prec@1 | Rec@1 | F1@0 | Params | |
| 50 | +| --------- | ----- | ------ | ----- | ----- | ------------------------ | |
| 51 | +| BBC | 86.91 | 81.59 | 92.96 | 85.81 | size=16, threshold=0.425 | |
| 52 | +| AutoShot | 70.17 | 76.06 | 65.12 | 66.89 | size=8, threshold=0.325 | |
| 53 | +| ClipShots | 56.38 | 44.46 | 77.03 | 55.66 | size=8, threshold=0.4 | |
| 54 | + |
| 55 | +**Best params averaged across all datasets (mean F1@1):** |
| 56 | + |
| 57 | +| Mean F1@1 | BBC | AutoShot | ClipShots | Params | |
| 58 | +| --------- | ----- | -------- | --------- | ----------------------- | |
| 59 | +| 69.83 | 86.38 | 68.98 | 54.12 | size=8, threshold=0.35 | |
| 60 | +| 69.63 | 86.65 | 65.86 | 56.38 | size=8, threshold=0.4 | |
| 61 | +| 69.63 | 86.65 | 65.86 | 56.37 | size=8, threshold=0.375 | |
| 62 | +| 68.18 | 84.28 | 70.17 | 50.10 | size=8, threshold=0.325 | |
| 63 | +| 67.00 | 83.71 | 61.66 | 55.65 | size=8, threshold=0.425 | |
| 64 | + |
| 65 | +## detect-hist |
| 66 | + |
| 67 | +> Note: thresholds >= 0.21 come from a grid-extension run (`detect-hist-ext-<dataset>.json`) after the initial grid's best cell landed on its 0.20 upper edge. |
| 68 | +
|
| 69 | +**Best cell per dataset (by F1@1):** |
| 70 | + |
| 71 | +| Dataset | F1@1 | Prec@1 | Rec@1 | F1@0 | Params | |
| 72 | +| --------- | ----- | ------ | ----- | ----- | ------------------------ | |
| 73 | +| BBC | 86.58 | 87.32 | 85.86 | 85.42 | bins=128, threshold=0.11 | |
| 74 | +| AutoShot | 68.99 | 75.29 | 63.67 | 65.70 | bins=128, threshold=0.2 | |
| 75 | +| ClipShots | 53.25 | 46.26 | 62.74 | 52.90 | bins=128, threshold=0.35 | |
| 76 | + |
| 77 | +**Best params averaged across all datasets (mean F1@1):** |
| 78 | + |
| 79 | +| Mean F1@1 | BBC | AutoShot | ClipShots | Params | |
| 80 | +| --------- | ----- | -------- | --------- | ------------------------ | |
| 81 | +| 66.27 | 82.10 | 68.99 | 47.72 | bins=128, threshold=0.2 | |
| 82 | +| 66.23 | 81.47 | 68.87 | 48.36 | bins=128, threshold=0.21 | |
| 83 | +| 66.20 | 82.74 | 68.81 | 47.06 | bins=128, threshold=0.19 | |
| 84 | +| 66.19 | 80.69 | 68.92 | 48.97 | bins=128, threshold=0.22 | |
| 85 | +| 66.17 | 79.53 | 68.88 | 50.10 | bins=128, threshold=0.24 | |
| 86 | + |
| 87 | +## detect-threshold |
| 88 | + |
| 89 | +> Note: `detect-threshold` detects **fades** (fade to/from black), not hard cuts. These datasets' ground truth is hard cuts, so the hard-cut F1 below is expectedly near zero. It is included to validate the sweep pipeline end-to-end, not as a meaningful hard-cut accuracy result. |
| 90 | +
|
| 91 | +**Best cell per dataset (by F1@1):** |
| 92 | + |
| 93 | +| Dataset | F1@1 | Prec@1 | Rec@1 | F1@0 | Params | |
| 94 | +| --------- | ---- | ------ | ----- | ---- | ------------------------------- | |
| 95 | +| BBC | 0.79 | 2.89 | 0.45 | 0.32 | min_scene_len=0.2, threshold=19 | |
| 96 | +| AutoShot | 3.98 | 51.09 | 2.07 | 3.14 | min_scene_len=0.4, threshold=20 | |
| 97 | +| ClipShots | 1.75 | 6.21 | 1.02 | 0.18 | min_scene_len=0, threshold=10 | |
| 98 | + |
| 99 | +**Best params averaged across all datasets (mean F1@1):** |
| 100 | + |
| 101 | +| Mean F1@1 | BBC | AutoShot | ClipShots | Params | |
| 102 | +| --------- | ---- | -------- | --------- | ------------------------------- | |
| 103 | +| 2.07 | 0.77 | 3.90 | 1.55 | min_scene_len=0, threshold=19 | |
| 104 | +| 2.06 | 0.73 | 3.98 | 1.48 | min_scene_len=0, threshold=20 | |
| 105 | +| 2.02 | 0.79 | 3.90 | 1.37 | min_scene_len=0.2, threshold=19 | |
| 106 | +| 2.00 | 0.71 | 3.98 | 1.30 | min_scene_len=0.2, threshold=20 | |
| 107 | +| 1.96 | 0.69 | 3.90 | 1.28 | min_scene_len=0.4, threshold=19 | |
0 commit comments