For many clothing products, Amazon displays a histogram of how previous purchasers have found the fit (too small,..,fits perfectly,..,too large) and a summary (51% of customers say this runs large).
A 2D scan, though probably not what the parent comment intended, implies a size via a fixed DPI. A 3D scan, similarly, can measure actual dimensions without requiring a reference object.
for shoes: http://shoefitr.com/
For clothes : fits.me or "clothes horse" or others.
I wonder what prevents amazon from introducing such technologies at scale ?