An automated 3D pose estimation system for sow health monitoring