Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

for reasons i fail to understand, this does the trick:

res = cv2.bitwise_not(~image1,image,mask=mask)

image description

for reasons i fail to understand, no idea why, but this does the trick:

res = cv2.bitwise_not(~image1,image,mask=mask)

image description