Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you can use the mask with a lot of opencv functions, e.g.

dst = cv2.copyTo(src, mask)

or

dst = cv2.bitwise_or(src,src,mask)