Process finished with exit code -1073741819 (0xC0000005) how can i resolve this issue

0

i am doing blob detection in python getting this error at the end how can i do this?

import cv2
import numpy as np

image=cv2.imread("SunFlowers.jpg",cv2.IMREAD_GRAYSCALE)
Detector=cv2.SimpleBlobDetector()
key=Detector.detect(image)
cv2.drawKeypoints(image,key,[0],(0,255,255),cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS)

cv2.imshow("sunflower",image)
cv2.waitKey(0)

The error appears at this line:

key=Detector.detect(image)
python
opencv
asked on Stack Overflow Apr 7, 2020 by talha tariq • edited Apr 7, 2020 by Matt

1 Answer

0

I've got the same error but I've fixed it using that function

Detector=cv2.SimpleBlobDetector_create()
answered on Stack Overflow Apr 10, 2020 by Charlio

User contributions licensed under CC BY-SA 3.0