Overview
This node creates a binary mask (a black and white image) based on face landmarks detected by MediaPipe. It draws filled polygon shapes for each detected face region, producing one mask per frame in a batch. When multiple faces are detected in the same frame, their masks are combined into a single mask.Inputs
When
regions is set to "custom", the following additional boolean parameters become available:
Note: When using
"all" mode, the mask includes all regions combined. Since the face oval encloses the other regions, selecting "all" effectively produces the same result as selecting only the face oval.
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
92270002a42ed59bc75e676a6881e1899186d3c8a1bb4dd4c0d39b3762b5bb66