Ask Your Question
0

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

asked 2017-06-25 17:31:28 -0600

TimWebPhoenix gravatar image

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

berak gravatar image

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

edit retag flag offensive close merge delete

Comments

opencv version ?

berak gravatar imageberak ( 2017-06-26 01:20:23 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-26 08:18:09 -0600

This API was renamed to cv2.SimpleBlobDetector_create()

edit flag offensive delete link more

Comments

This worked :-) Thank you Eshirima

TimWebPhoenix gravatar imageTimWebPhoenix ( 2017-06-27 08:09:35 -0600 )edit

You're welcomed.. Don't forget to upvote and accept as answer since it helped resolve your issue. :)

eshirima gravatar imageeshirima ( 2017-06-27 09:24:25 -0600 )edit

You're welcome.. Don't forget to upvote and accept as answer since it helped resolve your issue. :)

eshirima gravatar imageeshirima ( 2017-06-27 09:24:31 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-06-25 17:31:28 -0600

Seen: 5,004 times

Last updated: Jun 26 '17