Skip to content

Instantly share code, notes, and snippets.

@sb2702
Last active March 4, 2021 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sb2702/417ecef0793515da4a2c23468ee7f712 to your computer and use it in GitHub Desktop.
Save sb2702/417ecef0793515da4a2c23468ee7f712 to your computer and use it in GitHub Desktop.
const upscaler = new vectorlyUpscaler(video, config);
upscaler.on('load', function () {
console.log("Upscaler initialized");
});
upscaler.on('start', function () {
console.log("Starting upscaling");
});
upscaler.on('stop', function () {
console.log("Stopping upscaling");
});
upscaler.on('error', function () {
console.log("Failed to initialize");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment