added scaleFactor simpleBlobDetection. Downscales the image before converting
to grayscale and looking for blobs.
Speed up amount depends on your webcam resolution and chosen parameters.
I have things pretty good with a 4x scale, and changing threshold step to 20.
It could be made more user friendly by always scaling to a particular size (e.g. width of 300) regardless of resolution, but this also takes away the control that the parameter offers.
added scaleFactor simpleBlobDetection. Downscales the image before converting to grayscale and looking for blobs.
Speed up amount depends on your webcam resolution and chosen parameters.
I have things pretty good with a 4x scale, and changing threshold step to 20.
It could be made more user friendly by always scaling to a particular size (e.g. width of 300) regardless of resolution, but this also takes away the control that the parameter offers.