Skip to main content

How to extract text with colored background

How to extract text with colored background

If you can't extract text with colored background, please add the Grayscale filter to the profiles param.

{
  'OCRImagePreprocessingFilters.AddGrayscale()': []
}

Applies to:

  • pdf/convert/to/csv

  • pdf/convert/to/json2

  • pdf/convert/to/text

  • pdf/convert/to/xls(x)

  • pdf/convert/to/xml

Did this answer your question?