1 | initial version |
already this little snippet throws (and you missed it in your notebook):
blob_detector = cv2.SimpleBlobDetector()
keypoints = blob_detector.detect(None)
Traceback (most recent call last):
File "src/ocv.py", line 7, in <module>
keypoints = blob_detector.detect(None)
TypeError: Incorrect type of self (must be 'Feature2D' or its derivative)
you MUST use the create()
function, to construct a valid detector:
blob_detector = cv2.SimpleBlobDetector_create()
please make sure, you use recent docs, anything 2.4 related will be harmful.
2 | No.2 Revision |
already this little snippet throws (and you missed it in your notebook):
blob_detector = cv2.SimpleBlobDetector()
keypoints = blob_detector.detect(None)
Traceback (most recent call last):
File "src/ocv.py", line 7, in <module>
keypoints = blob_detector.detect(None)
TypeError: Incorrect type of self (must be 'Feature2D' or its derivative)
you MUST use the create()
function, to construct a valid detector:
blob_detector = cv2.SimpleBlobDetector_create()
please make sure, you use recent docs, anything 2.4 related will be harmful. harmful.