kCIImageRepresentationSemanticSegmentationHairMatteImage

Static kCIImageRepresentationSemanticSegmentationHairMatteImage 

Source
pub unsafe static kCIImageRepresentationSemanticSegmentationHairMatteImage: &'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 head and facial hair 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