Israeli startup MySizeID has developed an algorithm SizeUp that measures your body with the sensors of your smartphone. MySizeID then works with the retailer to ensure that the clothing sizes match the measurements. MySizeID has just raised $4 million of funding.
http://www.globes.co.il/en/article-fashion-app-co-mysizeid-raises-4m-1001078919