| Algorithm 1 Overall algorithm with the proposed method |
| Input: An image sequence from a depth information video Output: An image sequence where touching-pigs are individually separated // Load a depth information video // Remove noises in depth images // Perform background subtraction // Detect moving pigs only // Separate touching-pigs using the proposed method If size of each connected component size of a single pig Go to YOLO Processing Module with Save the separated results of the touching-pigs Return; |