Tracking of multiple pigs under control and stress conditions