...
The following example shows the recording of a frame with a captured face image transmitted using the imageBase64 parameter to a file on the disk:
...
- Go to the settings panel of the corresponding Face characteristics recognition channel object.

- Set the Generate event by server checkbox (1) for the events to be received from the Face recognition server object, otherwise the events will be received from the Face characteristics recognition channel object.
- From the Generate mask detection event drop-down list (2), select the event generation condition:
- Server settings — this —this event generation setting set on the the Face recognition server object settings panel is taken into account (used by default).
- Yes — the —the face mask detection event generation is enabled.
- No — the —the face mask detection event generation is disabled.
- From the Generate mask absence event drop-down list (3), select the event generation condition:
- Server settings — this —this event generation setting set on the Face recognition server object settings panel is taken into account (used by default).
- Yes — the —the face mask absence mask absence event generation is enabled.
- No — the —the face mask absence mask absence event generation is disabled.
- Click the Apply button (4) to save the settings.
...