A security camera (or multiple security cameras ) are placed in the field. The cameras stream video back to a central computer which can detect and locate birds or other wildlife in the images.
Deterrents are then activated, scaring the unwanted animal away.
This removes the problem of habituation as the animal cannot observe the deterrent from a distance or become overexposed to it.
Deterrents used depend on the application, situation and the budget. Deterrents can be as simple as a flashing light or could be a drone or some other autonomous vehicle.