The correct term is actually “Squirrelitude”, but never mind…
… I spend a lot of time thinking about this sort of thing: Militarizing Your Backyard with Python: Computer Vision and the Squirrel Hordes
Not that I have anything against squirrels of course, which is good because we don’t have them in this country. Have possums though, and they steal the avocados, which is a pain because it takes years to grow them.
And of course, if it’s this cheap and easy to identify and soak squirrels, then this sort of tech could well become the new land-mine… which might not be a bad thing, but then again it might. There’s a robotics arms-race headed this way.
So for your next project, get all this working on a smartphone.