So I have some of these cameras:
https://www.dahuasecurity.com/products/All-Products/Network-Cameras/Pro-Series/8-MP/IPC-HDW4831EM-ASE
But can not get the face detection working like it should (or maybe, like I think it should). It will only detect a face if the person is not wearing a hat...