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
  • 22,629
  • 4
  • 31
  • 41

2 Answers2

2

This worked for me:

detector = cv2.SimpleBlobDetector_create(params)

instead of:

detector = cv2.SimpleBlobDetector()
Jeremy Caney
  • 6,191
  • 35
  • 44
  • 70
Shai
  • 21
  • 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,439
  • 19
  • 21