I had the same idea, but for human detection with the free Yolo. As most of security is about detecting humans where they shouldn't be. Simple motion detection is nearly useless - any cat or a bird will trigger it, or even branches moving in the wind.