test_features2d.py 509 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. from __future__ import print_function
  3. import numpy as np
  4. import cv2 as cv
  5. from tests_common import NewOpenCVTests
  6. class Features2D_Tests(NewOpenCVTests):
  7. def test_issue_13406(self):
  8. self.assertEqual(True, hasattr(cv, 'drawKeypoints'))
  9. self.assertEqual(True, hasattr(cv, 'DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS'))
  10. self.assertEqual(True, hasattr(cv, 'DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS'))
  11. if __name__ == '__main__':
  12. NewOpenCVTests.bootstrap()