Identifying green circles from this image

后端 未结 2 859
名媛妹妹
名媛妹妹 2021-01-20 10:24

I have currently made an image that consists of black and green dots..... I made a print of it and then clicked it with my camera..... After that i made a program to scan th

2条回答
  •  执念已碎
    2021-01-20 10:43

    Okay, I just tried with the HSV approach and with little trial and error I was able to find the range for which only the green region will appear. Once you obtain the image with white pixels showing the green circle's position you can call HoughCircles.

    The range for HSV is (32,22,0) to (103,142,160)

    I hope this solves the issues. :)

提交回复
热议问题