1 | initial version |
If you can detect circles position (or only one circle position ) you can create a predefined mask where Blobs are perfect (separate) white circle then detect holes using findContours and CV_RETR_CCOMP parameters .
2 | No.2 Revision |
If you can detect circles position (or only one circle position ) you can create a predefined mask where Blobs are perfect (separate) white circle then detect holes using findContours and CV_RETR_CCOMP parameters parameter .