From 671abee1be4b0f4152aa7ae4512a3a3159a6f20d Mon Sep 17 00:00:00 2001 From: Lincoln-LM Date: Sat, 8 Jan 2022 11:37:26 -0700 Subject: [PATCH] show bounds of pokemon eye scan --- src/rngtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rngtool.py b/src/rngtool.py index 08297e5..f8e70ec 100644 --- a/src/rngtool.py +++ b/src/rngtool.py @@ -238,6 +238,7 @@ def tracking_poke_blink(img, roi_x, roi_y, roi_w, roi_h, size = 64, th = 0.85, M res = cv2.matchTemplate(roi,eye,cv2.TM_CCOEFF_NORMED) _, match, _, max_loc = cv2.minMaxLoc(res) + cv2.rectangle(frame,(roi_x,roi_y), (roi_x+roi_w,roi_y+roi_h), (0,0,255), 2) if 0.4