Skip to main content

DetectMode

Face detection modes for different use cases.

enum DetectMode {
ALWAYS_DETECT = 0,
LIGHT_TRACK = 1,
TRACK_BY_DETECTION = 2,
}

Values

EnumValueDescription
ALWAYS_DETECT0Image detection mode that always detects faces, suitable for static images
LIGHT_TRACK1Video detection mode with face tracking, ideal for video streaming and front camera applications
TRACK_BY_DETECTION2Video detection mode with face tracking, designed for high-resolution monitoring and capturing