Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Merging the contour contents with transparent. background is the only way, see https://answers.opencv.org/question/37441/how-to-set-transparent-background-to-grabcut-output-image-in-opencv-c/ ... but if saving the result takes too much time, you are out of luck...