Open
Description
Using opencv4nodejs
inside a worker thread causes the error message Module did not self-register
.
To make it work the module must be context aware as described here.
To reproduce the little snippet below (which is based on this bug report) can be used:
$ cat > a.js << EOF
const cv = require('opencv4nodejs');
const {Worker} = require('worker_threads');
new Worker(__filename);
EOF
$ node --experimental-worker a.js
Metadata
Metadata
Assignees
Labels
No labels