Automatic detection of fish and tracking of movement for ecology