kCIImageRepresentationSemanticSegmentationGlassesMatteImage

Static kCIImageRepresentationSemanticSegmentationGlassesMatteImage 

Source
pub unsafe static kCIImageRepresentationSemanticSegmentationGlassesMatteImage: &'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 where a person’s glasses 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