Systems and methods of tracking an object within the field of view of an image sensing device. The system can include an animal control system having an image sensing system to determine a location of a pet within a field of view of the image sensing device, a controller to define a pet containment border within the field of view and to compare the location of the pet relative to the defined border, and a transmitter to transmit a stimulation signal to the pet to encourage or discourage the pet from crossing the border based on the comparison.