measure size inside an image

Hi folks, new player here.
I would like to obtain size, in terms of pixels, of objects contained inside an image.
For being more clear, images contains a single person on a white background, i would like to measure its height and its width (in terms of pixel) so ill be able to compare different people displayed inside different images.
Any way to work around this?
Thanks and stay safe.