On-barn pig weight estimation based on body measurements by structure-from-motion (SfM)