From 86c4b4f931eb843355389090916646fa82bb746e Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Thu, 22 Jul 2021 11:10:51 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 157e015..0d21e3b 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -1049,10 +1049,12 @@ def kernel_15( t19[0], t19[1], ]) t21 = numpy.round(t20).astype(numpy.int32) - t14 = cv2rectangle( + t14 = cv2.rectangle( t13, tuple(t21[:2]), tuple(t21[2:]), + (0, 255, 0), + 1, ) pprint.pprint( locals()