Detect is the contour is in the mask area with JS

asked 2019-02-11 05:07:20 -0600

Lucy8 gravatar image

updated 2019-02-11 05:07:58 -0600

I'm using findContours(), after finding contours I want to check is 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

edit retag flag offensive close merge delete