def __init__(self, **kwargs): self.detector = cv2.FastFeatureDetector_create( threshold=kwargs.get("threshold", 25), nonmaxSuppression=kwargs.get("nonmax_suppression", True) )