mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
python(test): tests filtering
This commit is contained in:
@@ -157,4 +157,8 @@ class PlaneTracker:
|
||||
keypoints, descrs = self.detector.detectAndCompute(frame, None)
|
||||
if descrs is None: # detectAndCompute returns descs=None if no keypoints found
|
||||
descrs = []
|
||||
return keypoints, descrs
|
||||
return keypoints, descrs
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
NewOpenCVTests.bootstrap()
|
||||
|
||||
Reference in New Issue
Block a user