approach parameter under pdf_options.
Standard PDF processing
Standard PDF processing involves rendering each PDF page as an image, and processing them as images. Then a new PDF is created using the redacted/de-identified images. Standard PDF processing can include an invisible, de-identified text layer. Standard PDF processing will replace PII with a blurred/black box.More information about Standard PDF processing can be found under Processing PDF Files (Standard).
Enhanced PDF Processing
Enhanced PDF processing allows PDFs to be processed natively. Instead of processing pages as images, the existing text layer in a given PDF page is used for de-identification. Content that does not have an invisible text layer is processed as an image. Enhanced PDF processing will do in-place replacements for the PII found in the document.More information about Enhanced PDF processing can be found under Processing PDF Files (Enhanced).
approach parameter under pdf_options can be set as:
standard(Standard)enhanced(Enhanced)auto(Automatic, Default)
Automatic (auto) approach parameter
Setting the approach parameter as auto will automatically choose which approach mode to select. If the PDF to be deidentifies contains an invisible text layer, enhanced will automatically be selected for PDF processing. Otherwise, standard will be selected.