Create masks?

This commit is contained in:
Matt McWilliams 2023-02-09 22:55:42 -05:00
parent 28d959ff1b
commit 672f4212b5
1 changed files with 2 additions and 0 deletions

View File

@ -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)