How to identify color space of image?

To identify color space I used ImageMagick:

identify my_image.png

The problem is that it’s not reliable. Seems that ImageMagick can display sRGB color space for RGB image when metadata is missing. It just assumes sRGB by default. Does anyone know most reliable way to identify color space (I’m particularly interested in 16-bit png images)?

https://www.researchgate.net/publication/281602132_Color_Space_Identification_for_Image_Display