Comparison of size of an entity in different images with different resolutions?
You must have some reference between the images,
either some other similar elements or the camera parameters,

If you know the different resolutions that it is easy to calculate:

relative size = resolution ratio * object_size_ratio

otherwise you must have some other spatial reference between the images.