diff --git a/scripts/stitch-probe.mjs b/scripts/stitch-probe.mjs index 198a83b..da59176 100644 --- a/scripts/stitch-probe.mjs +++ b/scripts/stitch-probe.mjs @@ -87,10 +87,13 @@ const union = (tracks) => { for (const p of proposals) { console.log( ` +${p.startTs.toFixed(1)}-${p.endTs.toFixed(1)}s (${p.seconds.toFixed(1)}s) ` + - `gap ${p.gapSeconds.toFixed(2)}s dist ${p.distancePx}px colour ${p.score.toFixed(3)}`, + `gap ${p.gapSeconds.toFixed(2)}s dist ${p.distancePx}px colour ${p.score.toFixed(3)} ${p.trackId}`, ); } +// The ids, which are what a caller acts on. +console.log(`\nALL: ${[...reference.map((t) => t.id), ...proposals.map((p) => p.trackId)].join(',')}`); + const after = [...reference, ...proposals.map((p) => series.find((t) => t.id === p.trackId))].filter( Boolean, );