i need to create a python script that will read a PDF file input and OCR it for text. However, the PDF contains tables and images so the OCR must be able to differentiate between tables and text. The images do not need to be included. The text has a very specific layout, and as such must be converted to text retaining the layout, lines, columns etc. The text must then be parsed and chunked, ready for an LLM. Please assist in developing the code base for the Python application, I will review the code you provide, implement and run it or append it to existing code, and then return to give feedback on errors if they exist. You may start now. 