From 54c9a11b9ac2cf821343571adfefa4f27bef9827 Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Sun, 21 Jul 2024 22:57:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E6=8B=BE?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/task/AutoPickTask.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/task/AutoPickTask.py b/src/task/AutoPickTask.py index ee95469..408ed1d 100644 --- a/src/task/AutoPickTask.py +++ b/src/task/AutoPickTask.py @@ -28,9 +28,9 @@ class AutoPickTask(TriggerTask, FindFeature): y_offset=-f_search_box.height / 2, name='search_dialog') if f := self.find_one('pick_up_f', box=f_search_box, - threshold=0.8, use_gray_scale=True): + threshold=0.8): dialog_search = f.copy(x_offset=f.width * 2, width_offset=f.width * 2, height_offset=f.height * 2, y_offset=-f.height, name='search_dialog') return self.find_one('dialog_3_dots', box=dialog_search, - threshold=0.8, use_gray_scale=True) is None + threshold=0.8) is None