Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 hot to troubleshoot a silent crash so I really appreciate your help!

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

click to hide/show revision 2
None

updated 2019-09-27 02:20:22 -0600

berak gravatar image

SimpleBlobDetector crashes silently

Hello,

I am trying to detect blobs in a threshold image.

img = cv2.imread("my_image")

cv2.imread("my_image")

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

cv2.THRESH_BINARY) blob_detector = cv2.SimpleBlobDetector()

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

= 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 hot to troubleshoot a silent crash so I really appreciate your help!

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

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 hot 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. :) )

click to hide/show revision 4
retagged

updated 2019-09-27 05:24:59 -0600

berak gravatar image

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. :) )