euler number of image returns a double

I read that euler number is the Number of objects in the region minus the number of holes in those objects , it should then return an integer. why does it return values like 54.25

Topic image-preprocessing image-recognition image-classification

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.