hello everyone,
we have two frames of a video which has been take from a target shoot paper. Our goal is to detect new bullet holes from these frames.
i have uploaded my samples and you can download it from here -> "http://s9.picofile.com/file/8321113492/ ... e.rar.html" or from https://ufile.io/yc4ri.
Any suggestion is very helpful and i'm waiting for your contribution.
best regards

dear "fmw42",
thank you very much for your valuable solution. Is there any way to calculate threshold value dynamically at run time? how can we distinguish real bullet holes from noises in very short processing time which exists between two frames?
best regards

Your images have such low resolution that the bullet holes are tiny. I would not know how to distinguish those from significant noise. If the bullet holes are large enough, you can use -connected-components to filter out all regions that are too small.

As to the threshold, I am not sure there is a good way to do that automatically. But perhaps you can find some value that reasonable in combination with -connected-components.