Best Method for Measuring Object Sizes with ZED 2i

Hello,

I’m working on a project where I need to measure the real-life size of objects that are moving. The objects are approximately 0.7 meters tall and are about 7 meters away from the camera. I’m considering two different approaches to achieve accurate measurements and would appreciate any insights or recommendations.

  1. Pixel-Based Method:

• I’m thinking of calculating the size of a pixel at the given distance (7 meters) based on the camera’s field of view and resolution.

• Then, I would count the number of pixels that an object covers to estimate its length.

• Are there specific formulas or best practices for calculating pixel size at a distance using the ZED 2i?

  1. Point Cloud-Based Method:

• Another approach I’m considering is capturing or calculating the Euclidean distance between two points on the object in the point cloud to determine the actual size.

Has anyone tried this method for similar measurements, and if so, how reliable is it for moving objects?
I’d appreciate any advice on which of these methods might yield more accurate results, or if there’s another technique I should consider.
Thanks!

Hello Zed team! Any thoughts are appreciated!!