PUBUDU S. (Intel) wrote:
It depends on the resolution of your stream and the distance of the object from the camera
Not really, as the pixel size is a physical measurement of the actual sensor element.
If you change the resolution of the stream, this usually just means that you are changing the number of pixels used from the sensor. Unless you interpolate data to create a larger image, which I don't think is the case here.
The distance of the objects is totally irrelevant to the size of the pixels.
Basically, if you know the sensor size you can just divide it by the maximum native resolution, and that should give you an estimated pixel size.