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 Summary
Modifier and TypeFieldDescriptionstatic final FaceRedactorMode
Static value Analyze for FaceRedactorMode.static final FaceRedactorMode
Static value Combined for FaceRedactorMode.static final FaceRedactorMode
Static value Redact for FaceRedactorMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FaceRedactorMode
fromString
(String name) Creates or finds a FaceRedactorMode from its string representation.static Collection<FaceRedactorMode>
values()
Gets known FaceRedactorMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ANALYZE
Static value Analyze for FaceRedactorMode. -
REDACT
Static value Redact for FaceRedactorMode. -
COMBINED
Static value Combined for FaceRedactorMode.
-
-
Constructor Details
-
FaceRedactorMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of FaceRedactorMode value.
-
-
Method Details
-
fromString
Creates or finds a FaceRedactorMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding FaceRedactorMode.
-
values
Gets known FaceRedactorMode values.- Returns:
- known FaceRedactorMode values.
-
fromString(String)
factory method.