'commit'
This commit is contained in:
@@ -215,6 +215,10 @@ def setup_logger(name, log_file=None, clear_old_log=False):
|
||||
return logging.getLogger(f"{supplier_code}.{name}")
|
||||
|
||||
|
||||
# 默认使用供应商级别的日志配置
|
||||
logger = setup_logger("Kit")
|
||||
|
||||
|
||||
def find_template_coords(img_path, template_path, threshold=0.8):
|
||||
"""
|
||||
在图片中查找模板并返回中心坐标
|
||||
|
||||
Reference in New Issue
Block a user