This disclosure provides a method of detecting and deterring a target animal from a target area. A target area is positioned within the field of vision of a video camera connected to a computer processing system. An animal identification computer program using convolution neural networks and deep learning computer programs and camera images rapidly detects a target animal. The animal identification computer program is trained to identify target animals accurately using a learning algorithm and related machine learning technology. The time to deploy a deterrent against a target animal from the instant of detection is 2 seconds or less so that little or no time is available to the target animal to damage the target area.