Screenshot from the YouTube channel Logan Lacaze
No need to get a camera or to build a smart system to detect wether you got a package on your front porch or not. Just get a mail detector dog.
Hard to tell if this video is scripted, but it's funny anyway. It all starts with a guy filming his dog barking while peeking outside from the door's window. He then opens the door to see what's going on, and finds out it was just a small package sitting there!
As a reward, the dog got to play with the package for a while...