Camera Motion Detection & Face Recognition

Dear folks,

I would like to share with you my thoughts about camera motion detection and face recognitaion.
I have 2 Foscam cameras and one old android phone which acts as a web camera.

I think that I saw it before but I cannot find it, anyway… do you know if there is any “black box” (application, pythons script, etc…) that I could send the streams from the cameras and it will return if there is any motion detect ?
in second phase, may be this “black box” might recognize faces that I set in ahead ?


The all solution about the Foscam motion detection by scripts\mqtt listener\etc… not works well… not stable…

There is ffmpeg component for HA that detect motion from cameras