Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[Pylint] E1101:Module 'cv2' has no 'SimpleBlobDetector' member

Hi, I received the following errors in a pip install of OpenCV in Ubuntu 16.04 using Microsoft Visual Studio

[Pylint] C0103:Invalid constant name "detector" [Pylint] E1101:Module 'cv2' has no 'SimpleBlobDetector' member

For the following line of code

detector = cv2.SimpleBlobDetector( )

this line is underlined in red aswell

cv2.imshow("Keypoints", im_with_keypoints)

I have tried cv instead of cv2 aswell, and I still get an error. What would you suggest ?

Kind regards

TWP

click to hide/show revision 2
retagged

updated 2017-06-26 02:09:10 -0600

berak gravatar image

[Pylint] E1101:Module 'cv2' has no 'SimpleBlobDetector' member

Hi, I received the following errors in a pip install of OpenCV in Ubuntu 16.04 using Microsoft Visual Studio

[Pylint] C0103:Invalid constant name "detector" [Pylint] E1101:Module 'cv2' has no 'SimpleBlobDetector' member

For the following line of code

detector = cv2.SimpleBlobDetector( )

this line is underlined in red aswell

cv2.imshow("Keypoints", im_with_keypoints)

I have tried cv instead of cv2 aswell, and I still get an error. What would you suggest ?

Kind regards

TWP