Class FaceRedactorMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<FaceRedactorMode>
com.azure.resourcemanager.mediaservices.models.FaceRedactorMode

public final class FaceRedactorMode extends com.azure.core.util.ExpandableStringEnum<FaceRedactorMode>
This mode provides the ability to choose between the following settings: 1) Analyze - For detection only.This mode generates a metadata JSON file marking appearances of faces throughout the video.Where possible, appearances of the same person are assigned the same ID. 2) Combined - Additionally redacts(blurs) detected faces. 3) Redact - This enables a 2-pass process, allowing for selective redaction of a subset of detected faces.It takes in the metadata file from a prior analyze pass, along with the source video, and a user-selected subset of IDs that require redaction.
  • Field Details

    • ANALYZE

      public static final FaceRedactorMode ANALYZE
      Static value Analyze for FaceRedactorMode.
    • REDACT

      public static final FaceRedactorMode REDACT
      Static value Redact for FaceRedactorMode.
    • COMBINED

      public static final FaceRedactorMode COMBINED
      Static value Combined for FaceRedactorMode.
  • Constructor Details

    • FaceRedactorMode

      @Deprecated public FaceRedactorMode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of FaceRedactorMode value.
  • Method Details

    • fromString

      public static FaceRedactorMode fromString(String name)
      Creates or finds a FaceRedactorMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding FaceRedactorMode.
    • values

      public static Collection<FaceRedactorMode> values()
      Gets known FaceRedactorMode values.
      Returns:
      known FaceRedactorMode values.