Closed mantzaris closed 1 year ago
just the fact that you're using require
means its within node context already as browser does not have require
statements.
i suggest to take a look at https://github.com/vladmandic/human-electron for an example, its using my different library human
instead of faceapi
, but its the same tfjs backend and same concepts when it comes to electronjs
loading/bundling
I am using this library within an ElectronJS preload script.
I am attempting to use the library from the preload script via:
Is this behavior expected since I should not need tfjs-node since I am not using this within the nodejs context.