detects when birds arrive and depart from video footage