Location of multiple masked area

I have the following mask where I can get the objects I am looking for. I would like to list all the coordinates of them but couldn’t find a way to do it. Any help will be appreciated.
Thanks,
Ayşin
image

I tried the code in this thread and it works and finds the first blobs center point. How can I run this for multiple blobs to find all centers on the mask above? How to get boundry and center information of a mask - OpenCV Q&A Forum

use connectedComponent and read these tutorials