Blobdetector Testing Help (4.5.4)

since this depends on findContours, which expects white objects on black bg,
try to invert the image, like:

detector->detect(~im, keypoints);