Notify on people detection during specified hours (e.g. at night)

Looking at people detection there are tons of videos everyday. Delivery people, us coming and going, friends arriving and leaving and so on. I’d be really interested in filtering out people detected at odd hours, e.g. at night. Either with a filter of preferably also a notification.