Files
hyperframes/packages/cli/scripts/prepare-test-opencv.mjs
T
Miguel Ángel e6cee094b1 fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test (#7968)
* fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test

* chore(ci): re-pin the cli test job after its opencv cache step

* chore(cli): one-line note on the opencv cache copy
2026-11-18 02:02:15 +00:00

7 lines
339 B
JavaScript

// Fetches opencv.js and the face models into this machine's cache, verified against opencv.ts's pins, so the
// tests copy them from there and none downloads anything.
import { loadOpenCv, OPENCV_DIR } from "../src/measure/opencv.ts";
await loadOpenCv((message) => console.log(message));
console.log(`opencv.js ready in ${OPENCV_DIR}`);