kCIImageRepresentationSemanticSegmentationSkinMatteImage

Static kCIImageRepresentationSemanticSegmentationSkinMatteImage 

Source
pub unsafe static kCIImageRepresentationSemanticSegmentationSkinMatteImage: &'static CIImageRepresentationOption
Available on crate feature CIContext only.
Expand description

An optional key and value to save a skin segmentation channel to a JPEG or HEIF.

The value for this key needs to be a CIImage instance where white pixels represent the areas of person’s skin are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.

See also Apple’s documentation