Detectings small circles on game minimap
问题 i am stuck on this problem for like 20h. The quality is not every good because on 1080p video, the minimap is less than 300px / 300px I want to detect the 10 heros circles on this images: Like this: For background removal, i can use this: The heroes portrait circle radius are between 8 to 12 because a hero portrait is like 21x21px. With this code Mat minimapMat = mgcodecs.imread("minimap.png"); Mat minimapCleanMat = Imgcodecs.imread("minimapClean.png"); Mat minimapDiffMat = new Mat(); Core