Commit 1b5e9d26 by vincent

prevent ts-node import error of untyped canvas module

parent e3571360
......@@ -3,7 +3,7 @@
import '@tensorflow/tfjs-node';
// implements nodejs wrappers for HTMLCanvasElement, HTMLImageElement, ImageData
import * as canvas from 'canvas';
const canvas = require('canvas')
import * as faceapi from '../../../src';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment