Skip to main content
ResolutionDetectionMode Controls which algorithm is used to detect resolution.
typedef enum {
 RDM_Auto,
 RDM_Fast
} ResolutionDetectionMode;

Elements

NameDescription
RDM\_AutoUses the new neural-network–based method for the best average quality (slower).
RDM\_FastUses the legacy non-NN method for maximum speed (lower average quality on average; may be better on some pages). For end users, prefer the TextExtraction\_Speed or DocumentArchiving\_Speed presets, which set all related options consistently; toggling this flag alone isn’t always sufficient.

Used in

PagePreprocessingParams::ResolutionDetectionMode