A system for estimating the size and shape of live pigs