title: Looking for suggestions to replace openCV's blob detector
body: <p>I have some code written in python that is used to clean up an image and then use a blob detector to identify blobs in the cleared up image. While this works efficiently for pictures that are small for example 549x549 pixels. It gets very slow when doing large pictures such as those that are 14790x13856 pixels. I was wondering if anyone had any suggestions on how to make the blob detector (oepncv) faster or a replacement library that is faster?</p>
  
  <p>edit: </p>
  
  <p>add pic:
  Here is an example of a picture:
  <a href="https://i.stack.imgur.com/ED5eR.png" rel="nofollow noreferrer">Pic</a></p>
  
  <p>It's about that size^, but about 667x bigger</p>
  
  <p>I already have the code written and on a small scale there are no errors </p>
  
  <pre><code>params = cv2.SimpleBlobDetector_Params()
  
  # change thresholds
  params.minThreshold = 0
  params.maxThreshold = 255
  
  # Filter by Area.
  params.filterByArea = True
  params.minArea = 0
  params.maxArea = 35
  
  # Filter by Circularity
  params.filterByCircularity = True
  params.minCircularity = 0
  
  # Filter by Convexity
  params.filterByConvexity = True
  params.minConvexity = 0
  
  # Filter by Inertia
  params.filterByInertia = True
  params.minInertiaRatio = 0
  
  # Create a detector with the parameters
  detector = cv2.SimpleBlobDetector_create(params)
  keypoints = detector.detect(third)
  ImgPoints = cv2.drawKeypoints(third, keypoints, np.array([]), (0, 0, `255), cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS)
  </code></pre>
  
  <p>The result is a picture (tiff) that I save and there are no error messages.</p>