Open ocoleman-cordel opened 2 years ago
Did some more digging, looks like this is a limitation with the framework I'm using (Meteor). To use the opencv bindings requires WASM? And it seems Meteor does not: https://github.com/meteor/meteor/issues/11143
Not sure what I'm missing here, but I can't seem to use cv.imread to read a file. This is on the server side, not in the browser.
Initially I tried passing a path to a file. Then looking more closely it looks like I need to pass a HTMLImageElement or HTMLCanvasElement.
Being on the server not sure how to provide either of these. I tried using node-canvas:
But got the below error