How to make Rect transparent in opencv -
i looked @ opencv java doc loading in images onto frame. did using frame picture transparent, image has black background inside rectangular container. rect function :
mat submat = src.submat(new(rect((int) facesarray[i].tl().x, (int) facesarray[i].tl().y, (int)(facesarray[i].br().x- facesarray[i].tl().x), (int)(facesarray[i].br().y- facesarray[i].tl().y));
is there way set background of image transparent (i want remove black background , make transparent). please see link more info.
Comments
Post a Comment