0

I'm using a code which return me the biggest shape in a pic (with OpenCV Library on an android device). But my issue is that I want to return only the shape, at this moment my code is returning a Mat and when I draw it on a BitMap or another Mat, a black background is taking place instead of a transparent background as I want.

I've seen that we cant apparently use alpha channel with openCv and with Bitmap support, so my question is the following : How can I draw my Mat to get sort of PNG with transparent background to display on my android device ?

Thank you in advance. (and sorry for my poor english).

Slayer
  • 81
  • 7

0 Answers0