create the params before the detector, and pass them as arg to
SimpleBlobDetector.create(params);
https://docs.opencv.org/4.x/javadoc/org/opencv/features2d/SimpleBlobDetector.html#create(org.opencv.features2d.SimpleBlobDetector_Params)