Merge pull request #18447 from alalek:fix_17953
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 28 Sep 2020 18:45:31 +0000 (18:45 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 28 Sep 2020 18:45:31 +0000 (18:45 +0000)
cmake/OpenCVFindIPP.cmake
modules/ml/misc/python/test/test_goodfeatures.py

index 59cd497..9bc215f 100644 (file)
@@ -252,6 +252,7 @@ if(NOT DEFINED IPPROOT)
   else()
     ocv_install_3rdparty_licenses(ippicv "${ICV_PACKAGE_ROOT}/EULA.txt")
   endif()
+  ocv_install_3rdparty_licenses(ippicv "${ICV_PACKAGE_ROOT}/third-party-programs.txt")
 endif()
 
 file(TO_CMAKE_PATH "${IPPROOT}" __IPPROOT)
index 91fc885..a590ba9 100644 (file)
@@ -11,7 +11,7 @@ from tests_common import NewOpenCVTests
 class TestGoodFeaturesToTrack_test(NewOpenCVTests):
     def test_goodFeaturesToTrack(self):
         arr = self.get_sample('samples/data/lena.jpg', 0)
-        original = arr.copy(True)
+        original = arr.copy()
         threshes = [ x / 100. for x in range(1,10) ]
         numPoints = 20000