opencv-js icon indicating copy to clipboard operation
opencv-js copied to clipboard

OpenCV JavaScript version for node.js or browser

Results 37 opencv-js issues
Sort by recently updated
recently updated
newest added

I would like to reshape a Mat. I can see the method in typescript, but when the code runs, it throws this error: img.reshape is not a function ``` const...

I noticed a memory leak in my application when applying an opencv function to a Mat and storing the result back in the same Mat. Specifically this is within a...

1. error log ![image](https://github.com/TechStark/opencv-js/assets/56799176/3c73f7bc-ea3b-44c9-83f9-a8e07bb495e5) ![image](https://github.com/TechStark/opencv-js/assets/56799176/6ced2b8a-9a3a-4dcc-8940-10fde55991e6) 2. nextjs config ``` /** @type {import('next').NextConfig} */ const nextConfig = { webpack5: true, webpack: ( config, { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }...

Any chance https://docs.opencv.org/3.4/d2/d8d/classcv_1_1Stitcher.html will be included in this library?

is there gonna be any wasm support in the future?

got an error when using cv.Lut here is my code ``` static async changeAndSaveExposure( inputImagePath: string, outputImagePath: string, value: number ) { if (value < -100 || value > 100)...

Working on implementing the camshift example listed in the [4.8.0-dev turtorial](https://docs.opencv.org/4.x/df/def/tutorial_js_meanshift.html). Can someone explain to me what I am doing wrong? Or what gap there is between this library and...

### CODE I simply tried a few codes: // let tracker = cv.TrackerMIL(); // let tracker = cv.TrackerMIL.create(); both of these won't work. I also tried using: // let tracker...

I need this patch script in my package.json to have opencv-js work with import in the browser (testing on Edge). ```json "scripts": { ... "fix-opencv-import": "replace \"if[(]typeof window==='object'[)][{]root.cv=factory[(][)];[}]\" \"if(typeof window==='object'){window.cv=factory();}\"...