opencv4nodejs
opencv4nodejs copied to clipboard
Nodejs bindings to OpenCV 3 and OpenCV 4
Thank you for your great job. The case of calling some specific API in a Node20 environment, the application seems to crash when garbage collection occurs. The issue has been...
Macos OpenCV installed with brew Node.js v20.11.1 OpenCV 4.9.0_4 package.json ``` "dependencies": { "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.0.0", "@nestjs/swagger": "^7.3.0", "@serialport/parser-readline": "^12.0.0", "@u4/opencv-build": "^1.0.0", "@u4/opencv4nodejs": "^7.0.0", "axios": "^1.6.7", "axios-retry":...
## Environment - opencv4nodejs: 6.5.2 - openvc: 4.9.0 - nodejs: 18.16.1 - macos: sonoma 14.4.1 ## Description of Issue I'm attempting to offload image processing to workers using the native...

Hi! Could you please update installation process in README for average user, without "extra" settings like system variables which are not neccesary ? With all requirments you have tested, I...
Hello... I happily used this library (which is amazing btw) until I upgraded to node 20.12.2 (and python3). I'm back trying to install this now that version 7 is out...
Im getting this: throw Error(`No build found in ${this.rootDir} you should launch opencv-build-npm once`);
Error: dlopen node_modules/@u4/opencv4nodejs/build/Release/opencv4nodejs.node, 0x0001): symbol not found in flat namespace '__ZNK2cv12MatAllocator23getBufferPoolControllerEPKc' mac m1 node :v18.16.1 npm : 9.8.1
The libraries for working with Electron and NodeJs of the listed versions are not compiled. Node.js v20.10.0 electron: 28.0.0 opencv: 4.9.0 node-gyp: 10.0.1 Python 3.12.1 MSVC: Build command: npx build-opencv...
/XXX/node_modules/.pnpm/@[email protected]/node_modules/@u4/opencv4nodejs/lib/cvloader.js:62 throw err; ^ Error: Cannot find module '/XXX/node_modules/.pnpm/@[email protected]/node_modules/@u4/opencv4nodejs/build/Release/opencv4nodejs' Require stack: - /XXX/node_modules/.pnpm/@[email protected]/node_modules/@u4/opencv4nodejs/lib/cvloader.js - /XXX/node_modules/.pnpm/@[email protected]/node_modules/@u4/opencv4nodejs/lib/opencv4nodejs.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15) at Function.Module._resolveFilename (/home/develop/nodejs/tensorflow-node/node_modules/.pnpm/[email protected]/node_modules/module-alias/index.js:49:29) at Function.Module._load (node:internal/modules/cjs/loader:871:27) at Module.require (node:internal/modules/cjs/loader:1098:19) at require (node:internal/modules/cjs/helpers:108:18)...