Am trying to see if I can identify possible table headers in a table inside PDF using background and foreground color of the text. With PyMuPDF text extraction, I was able to get the foreground color. Wondering if there is a way to get background color too.
Am using pymupdf 1.16.2 with python 3.7 I have checked the documentation but could find only one color field, which is associated with Text-color not background-color
if anyone knows how to get the background color using pyMuPDF or may be some other package, please let me know