Snapshots for Facial Recognition 
<!--
Please DO NOT DELETE THIS TEMPLATE or your issue may be closed immediately.
Before opening an issue, search for open and closed GitHub issues that match your request.
-->

# Feature Request / Seeking advices

### Description
<!-- ✍️--> One use case is create a facial recognition system to learn/recognize every family/relative members. From that the system can do many useful things:
1. Automatically disarm whenever a recognized person at home.
2. Send warning messages (through camera audio, doorbell) to strangers who approaching the home.
3. Send "says hi" voice audio to specific recognized people, for example: Welcome John arrives home.
### Solution
<!-- ✍️--> 
1. Capture snapshots from video streaming whenever a motion detected. 
2. Pipe snapshots through facial recognition models and list out all recognized faces to users/admins through a web portal.
3. Let users/admins label those faces. 
4. Once recognized faces labeled, the system can decide what to do as above use-case.

### Comment
I'm about to implement such system and stuck at step 1 in solution section. Please give me some advices how to extract snapshots from video streaming.

### Code to extract images from stream
`  const ringRtpOptions = await sipSession.start({
      output: [
        '-f',
        'image2',
        '-r',
        '1/3',
        path.join(outputDirectory, `${now}-%02d.jpeg`)
      ],
    }),`

Thank you
