Ask Your Question

Watol's profile - activity

2020-11-24 08:00:20 -0600 received badge  Notable Question (source)
2020-06-09 13:27:20 -0600 received badge  Popular Question (source)
2019-09-28 16:49:44 -0600 received badge  Student (source)
2019-09-27 05:51:16 -0600 commented question Going beyond the documentation

Thank you, I have been overlooking that.

2019-09-27 04:54:52 -0600 edited question Going beyond the documentation

Going beyond the documentation Hi, this is a common problem I have when using libraries: I want to use a function, howe

2019-09-27 04:52:07 -0600 asked a question Going beyond the documentation

Going beyond the documentation Hi, this is a common problem I have when using libraries: I want to use a function, howe

2019-09-27 03:54:00 -0600 received badge  Supporter (source)
2019-09-27 03:53:55 -0600 marked best answer SimpleBlobDetector crashes silently

Hello,

I am trying to detect blobs in a threshold image.

img = cv2.imread("my_image")

_, img = cv2.threshold(img, 230, 255, cv2.THRESH_BINARY)

blob_detector = cv2.SimpleBlobDetector() 
keypoints = blob_detector.detect(img)

At the last line my jupyter notebook crashes after less than a second saying: "The kernel appears to have died. It will restart automatically"

I also executed the code in a Linux shell receiving the error code -11. I could not find out what the code stand for.

I am using Python version 3.7.3, openCV version is 4.1.1, I am using Ubuntu

I really do not know how to troubleshoot a silent crash so I really appreciate your help!

(This is my first post, so feel free to point out improvement suggestions. :) )

2019-09-27 03:53:55 -0600 received badge  Scholar (source)
2019-09-27 03:53:52 -0600 commented answer SimpleBlobDetector crashes silently

You are right, I needed to take the SimpleBlobDetector_create instantiation methode. I was following an outdated tutoria

2019-09-27 03:43:33 -0600 commented question SimpleBlobDetector crashes silently

Yes, that is true. The error I get out of bash is: 2221 segmentation fault (core dumped) python filename.py

2019-09-27 02:27:21 -0600 received badge  Editor (source)
2019-09-27 02:27:21 -0600 edited question SimpleBlobDetector crashes silently

SimpleBlobDetector crashes silently Hello, I am trying to detect blobs in a threshold image. img = cv2.imread("my_imag

2019-09-27 02:19:00 -0600 commented question SimpleBlobDetector crashes silently

I have this problem with all the images I am using. So I am not sure a specific example with help here. I have tried 5 d

2019-09-27 02:05:37 -0600 asked a question SimpleBlobDetector crashes silently

SimpleBlobDetector crashes silently Hello, I am trying to detect blobs in a threshold image. img = cv2.imread("my_i