Files
opencv/samples/python
Lukas-Alexander Weber 7c4b873ba3 Merge pull request #19762 from lukasalexanderweber:master
* Error Message for SURF if not implemented

In OpenCV 4.5.1 

import cv2 as cv
cv.xfeatures2d_SURF.create

will not create an AttributeError, even if the function is excluded (no nonfree option)

In Line 305 (now 306) however ´finder = FEATURES_FIND_CHOICES[args.features]()´ will raise an 

error: OpenCV(4.5.1) ..\opencv_contrib\modules\xfeatures2d\src\surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SURF::create'

So we should check with cv.xfeatures2d_SURF.create() correctly if SURF is available
2021-03-24 15:02:20 +00:00
..
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-08-19 22:52:00 +05:30
2019-10-16 18:49:33 +03:00
2019-12-27 12:46:53 +00:00
2020-03-31 22:18:21 +00:00
2020-01-13 12:26:28 +01:00
2019-11-01 18:59:35 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2020-02-20 16:19:24 +03:00
2021-02-21 23:02:16 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-12-30 13:00:29 +00:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-09-20 18:03:26 +03:00
2019-10-16 18:49:33 +03:00
2019-11-01 18:59:35 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-10-16 18:49:33 +03:00
2019-12-30 13:00:29 +00:00