'how to extract x,y coordinates from dots on an image

I have been searching on youtube and google but still haven't found anything that fits my question or that I don't understand. Does anyone know how to extract coordinates from dots on an image (what program is best and/or how to do it). When looking at the image, you can see some black dots that can differ per image. I would like to extract the x,y coordinates from all the black dots as a coordinate system with the 0 point in the middle (surrounded by the red circle).

Thank you in advance!

The image with the black dots



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source