from functools import cached_property from stabilize.algorithm.adaptiveSmoothingWindow import AdaptiveSmoothingWindow class Win: @staticmethod def create_window(method,size, threshold,img_threshold): print(f"开启稳定窗口method={method},size={size}, threshold={threshold},img_threshold={img_threshold}") return AdaptiveSmoothingWindow(method,size, threshold,img_threshold)