Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Detect is the contour is in the mask area with JS

I'm using findContours(), after finding contours I want to check is it in the mask area or it's out of it, or some part is out from it. Mask area is just a rectangular shape. I want to detect the contours even if it's out of the mask but need to know where is it.

Currently using opencv.js 3.4.3

Detect is the contour is in the mask area with JS

I'm using findContours(), after finding contours I want to check is it the contour in the mask area or it's out of it, or some part is out from it. Mask area is just a rectangular shape. I want to detect the contours even if it's out of the mask but need to know where is it.

Currently using opencv.js 3.4.3