Cats Love Bringing Home Treats...
Ok. You've got a cat, and a cat door, so said feline can go inside and outside at will. Yet finicky kitty witty likes to bring home small animals and lets them run around the house, playing with them before her tasty meal. Naturally, this is probably a bit disturbing to watch ("can you smell the feaaar?!"). What do you do? Here's what one geek did:
This is what the camera sees normally. And this is what it sees when Flo sticks her head in from the street. The image is captured as soon as the center of the picture becomes dark. At this point our software analyses the image to determine if Flo is carrying anything in her mouth. This is how it looks if she does. The decision whether to unlatch the door has to be made within about a second - this is how long it typically takes Flo to reach the cat door from this position in front of the light.