From 672f4212b55bdfec3bb93880b146210c16096e28 Mon Sep 17 00:00:00 2001 From: mmattmcw Date: Thu, 9 Feb 2023 22:55:42 -0500 Subject: [PATCH] Create masks? --- fourcell/apply_image.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fourcell/apply_image.py b/fourcell/apply_image.py index 3c389bc..0935635 100644 --- a/fourcell/apply_image.py +++ b/fourcell/apply_image.py @@ -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)