I am extracting the text from pdf using pdfminer3 library. But it is not working well in colored pages. I tried the following code to extract text from pdf:
f