I have the following code which is insensitive to any change on the parameters on the following code:
public static SimpleBlobDetector simpleBlobDetector ;
public static Params params;
// Instantiation ( I don’t know how to link ‘params’ instance here )
simpleBlobDetector = SimpleBlobDetector.create();
The only way I could do that was by reading/writing the parameters as this:
…which is a quite weird approach, since it makes access to filesystem, which adds unwanted overhead to overall processing.
So, how could I do that by using the methods “set_filter_…” available on OpenCV library ?
Thanks in advance,