I can't load pdf to python, but It let's me copy paste directly from pdf, it seems like…
- User
I can't load pdf to python, but It let's me copy paste directly from pdf, it seems like it's somehow between image and text, possibly python processes it as a image but pdf browser as text
Assistant
If you are unable to extract text from the PDF using Python libraries such as PyPDF2 or PDFMiner, but you can copy and paste the text from the PDF in a browser or a text editor, then it's possible that the text in the PDF is embedded as an image.
In this case, you can try using Optical Character Recognition (OCR) libraries in Python, such as pytesseract or tesseract-ocr, to extract text from the image. Here's an example code snippet using pytesseract to extract text from an image:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.