{"_id":"opencv-bindings","_rev":"3803974","name":"opencv-bindings","description":"opencv.js node bindings, source directly retrieved from https://docs.opencv.org/ and tested","dist-tags":{"latest":"4.5.5"},"maintainers":[{"name":"wesuuu","email":""}],"time":{"modified":"2025-06-05T10:55:16.000Z","created":"2021-11-06T00:23:47.526Z","4.5.5":"2021-11-06T00:45:37.498Z","4.5.4":"2021-11-06T00:23:47.526Z"},"users":{},"author":"","repository":{"type":"git","url":"git+https://github.com/wesuuu/opencvjs.git"},"versions":{"4.5.5":{"name":"opencv-bindings","version":"4.5.5","description":"opencv.js node bindings, source directly retrieved from https://docs.opencv.org/ and tested","main":"index.js","scripts":{"test":"npx mocha"},"author":"","license":"ISC","devDependencies":{"assert":"^2.0.0","mocha":"^9.1.3","canvas":"^2.8.0","jimp":"^0.16.1","jsdom":"^18.0.1"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/wesuuu/opencvjs.git"},"gitHead":"d84f051928fc043cd0755ee15da8a967ecabd11f","bugs":{"url":"https://github.com/wesuuu/opencvjs/issues"},"homepage":"https://github.com/wesuuu/opencvjs#readme","_id":"opencv-bindings@4.5.5","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"0c1457238ff97ac9afd59ab04c5009d79b48a3af","size":2783073,"noattachment":false,"key":"/opencv-bindings/-/opencv-bindings-4.5.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencv-bindings/download/opencv-bindings-4.5.5.tgz"},"_npmUser":{"name":"wesuuu","email":"wu.public.subs@gmail.com"},"directories":{},"maintainers":[{"name":"wesuuu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencv-bindings_4.5.5_1636159537202_0.7884453665810234"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:26:15.550Z","publish_time":1636159537498,"_cnpm_publish_time":1636159537498},"4.5.4":{"name":"opencv-bindings","version":"4.5.4","description":"opencv.js node bindings, source directly retrieved from https://docs.opencv.org/ and tested","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","devDependencies":{"assert":"^2.0.0","mocha":"^9.1.3","canvas":"^2.8.0","jimp":"^0.16.1","jsdom":"^18.0.1"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/wesuuu/opencvjs.git"},"gitHead":"453568a02acdcb50ac88c38f140b231078be3f76","bugs":{"url":"https://github.com/wesuuu/opencvjs/issues"},"homepage":"https://github.com/wesuuu/opencvjs#readme","_id":"opencv-bindings@4.5.4","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"ea1e42928ac5daa57ba3387b8f2d1b20264a9964","size":2782778,"noattachment":false,"key":"/opencv-bindings/-/opencv-bindings-4.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencv-bindings/download/opencv-bindings-4.5.4.tgz"},"_npmUser":{"name":"wesuuu","email":"wu.public.subs@gmail.com"},"directories":{},"maintainers":[{"name":"wesuuu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencv-bindings_4.5.4_1636158227217_0.3471072042454648"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:26:13.185Z","publish_time":1636158227526,"_cnpm_publish_time":1636158227526}},"readme":"# opencvjs\n\nNode bindings for opencv.js (https://docs.opencv.org/4.5.3/d5/d10/tutorial_js_root.html)\n\nCurrent version = 4.5.4\n\n## Development\n\nRuns as a simple node.js container (built from vscode). Specify the environment variable `OPENCV_VERSION` and run the command `fetch-opencv-js.sh`. This will download the opencv version available at https://github.com/opencv/opencv/releases/tag/4.5.4\n\nOnce downloaded, run the commands:\n\n```bash\nnpm install # make sure you're in the project directory\nnpm run test\n```\n\nTests are based off the opencv.js node.js tutorial https://docs.opencv.org/4.5.4/dc/de6/tutorial_js_nodejs.html\n\n## Example usage\n\n```javascript\nconst cv = require('opencv-bindings');\n\n// set a timeout, it takes some time for opencv.js to load since it's just one massive file\nsetTimeout(() => {\n    console.log(cv.getBuildInformation());\n}, 1000);\n\n```\n","_attachments":{},"homepage":"https://github.com/wesuuu/opencvjs#readme","bugs":{"url":"https://github.com/wesuuu/opencvjs/issues"},"license":"ISC"}