在图像中检测点-opencv python

时间:2020-07-28 09:55:31

标签: python opencv image-processing

我有一个来自培养皿的图像,我想检测黑色的圆点(数字和位置),最好在python + opencv中。 我在python opencv中尝试了不同的方法,但是没有成功,例如霍夫圈,findContours等。

我使用了How to count number of dots in an image using python and Opencv?count colored dots in image。两种方法的问题在于,它们还会将正确的部分也检测为点(在培养皿之外)。因此检测到的点数很高〜2K enter image description here input

所需的输出: desired output

0 个答案:

没有答案