0

cv2.SimpleBlobDetector()causes kernel to crash and python to stop when running a jupyter notebook using a anaconda3 python 3 and open cv 4.1.1

enter image description here

lenik
  • 23,228
  • 4
  • 34
  • 43

2 Answers2

3

This worked for me:

detector = cv2.SimpleBlobDetector_create(params)

instead of:

detector = cv2.SimpleBlobDetector()
Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
Shai
  • 31
  • 3
0

Searching for the error message in that image, it looks like an opencv path problem. You might need to add opencv to your path then restart. See here: https://stackoverflow.com/a/41775060/4703367

erncyp
  • 1,649
  • 21
  • 23