Create masks?
This commit is contained in:
parent
28d959ff1b
commit
672f4212b5
|
@ -116,6 +116,8 @@ dst = cv2.warpAffine(target, M, (cols, rows),
|
|||
borderMode = cv2.BORDER_CONSTANT,
|
||||
borderValue = [0, 0, 0, 0])
|
||||
|
||||
#mask = cv2.inRange(dst, [0, 0, 0, 0], [0, 0, 0, 0])
|
||||
|
||||
output[0:rows, 0:cols] = dst
|
||||
|
||||
display(output)
|
||||
|
|
Loading…
Reference in New Issue