DefectType

Inheritance: java.lang.Object, java.lang.Enum

public enum DefectType extends Enum<DefectType>

The types of image defects.

Fields

FieldDescription
ALLAll supported image defects.
BLURThe image is out of focus.
GLAREAreas in an image caused by uneven lighting, such as spot lights or flash.
LOW_CONTRASTHighlights and shadows typically appearing on curved pages.
SALT_PEPPER_NOISERandom white and black pixels scattered across the area.

ALL

public static final DefectType ALL

All supported image defects.

BLUR

public static final DefectType BLUR

The image is out of focus. This detection algorithm can only identify the entire image as blurry. Specific areas cannot be detected.

GLARE

public static final DefectType GLARE

Areas in an image caused by uneven lighting, such as spot lights or flash.

LOW_CONTRAST

public static final DefectType LOW_CONTRAST

Highlights and shadows typically appearing on curved pages.

SALT_PEPPER_NOISE

public static final DefectType SALT_PEPPER_NOISE

Random white and black pixels scattered across the area. Often occurs in digital photographs.

Returns: DefectType