mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
* 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
7 lines
339 B
JavaScript
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}`);
|