Source code for pdftools_sdk.ocr.warning_category
from ctypes import *
from enum import IntEnum
[docs]
class WarningCategory(IntEnum):
"""
The category of OCR warnings
Attributes:
OCR (int):
An OCR-related warning, e.g. if the page resolution is outside the optimal range.
TAGGING (int):
A tagging-related warning.
TEXT (int):
A text processing warning.
SIGNED_DOCUMENT (int):
A warning related to signed documents, e.g. that signatures will be invalidated.
"""
OCR = 1
TAGGING = 2
TEXT = 3
SIGNED_DOCUMENT = 4