Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

(android) Make background transparent in opencv.

$
0
0
Hi, I am using OpenCV android library to extract an image from background, for this i have used grabcut() method. Here is the code : Imgproc.grabCut(imgC3, mask, rect, bgdModel, fgdModel, 1 ,Imgproc.GC_INIT_WITH_RECT); but main problem is sometime it's extract some portion of the forground image also. so how can i perform only background transparent.

Viewing all articles
Browse latest Browse all 1117

Trending Articles