Exam Eye Crops
exam_eye_cropsCuts matching spectrogram crops from real and generated clips into anonymized side-by-side images for blind real-vs-made checks before scoring the keyed answer.
Instructions
The blind crop check, step 1 (a gate before a real-vs-made exam): the same time window cut from the real and the made clip of each pair, as spectrogram images side by side ("1" and "2" in a random order), with the key hidden. pairs: [[real_path, made_path], ...]; windows: per pair, [[t0, t1], ...] in seconds (a word +-60 ms), else n_windows through each clip. Look at every out/q*.png and pick the side that looks real, WITHOUT opening out/key.json, then exam_eye_score(out, {1: '2', 2: '1', ...}). If you can tell from the picture, so can they. Not only before an exam: it is a measurement you can run alone whenever spectrogram's zoom triggers fire (a texture word, numbers close but the ear says no, a voice or played instrument, two rounds without progress).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | ||
| seed | No | ||
| pairs | Yes | ||
| windows | No | ||
| n_windows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |