Skip to content

Tag: opencv

Displaying Opencv.js Matrix without cv.imshow()

Hello Stack Overflow community. I am attempting to extract the pixel values from a cropped section of an opencv matrix to a javascript array in order to feed that data into a tensor for OCR. I cannot use cv.imshow() because it interacts with the DOM and my process is on a web worker. This is what I have so fa…

opencv.js perspective transform

I’m trying to use opencv.js to find a document in a provided image (detect edges, apply perspective transform, etc. I’ve got a reasonable set of code that (occasionally) detects edges of a document and grabs the bounding box for that. However, I’m struggling to do the perspective transform s…

“emcc” command does not recognized

I’m having issue with building this demo. https://github.com/kakukogou/opencvjs_demo_segmentation When i cd into this folder and run make command i get this error message: This is how make file looks like. Is there any issue with my environment variables. What is the proper way to compile this ? Answer …