How to crop the image along the contour?

How to crop an image I have formed the outline, if that's even possible. Use opencv.js
5def9f25c83ac034137130.png
April 3rd 20 at 17:19
1 answer
April 3rd 20 at 17:21

Find more questions by tags JavaScriptOpenCV