(self, frame)
return keypoints, descrs
detect_features(self, frame) -> keypoints, descrs
detect_features(self, frame) -> keypoints, descrs
detect_features ( self frame ) - > keypoints descrs
def detect_features(self, frame):
        '''detect_features(self, frame) -> keypoints, descrs'''
        keypoints, descrs = self.detector.detectAndCompute(frame, None)
        if descrs is None:  # detectAndCompute returns descs=None if not keypoints found
            descrs = []
        return keypoints, descrs
def detect_features ( self , frame ) : keypoints , descrs = self . detector . detectAndCompute ( frame , None ) if descrs is None : # detectAndCompute returns descs=None if not keypoints found descrs = [ ] return keypoints , descrs