title: Python PDF Parser - Engineering Drawing
body: <p>I am trying to write a Python Script to parse through a PDF file using PyPDF2. Only thing is, my PDF file isnt your traditional document, it's an engineering drawing.</p>
  <p>Anyway, I need the code to parse through the text that is written on the bottom right corner, as well as a red stamp that has text written on it. The drawing will look something like this: <a href="https://i.stack.imgur.com/KT2A2.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I tried to write some basic code to just parse it and extract the data, but its not working.</p>
  <pre><code>import PyPDF2
  
  # creating a pdf file object 
  pdfFileObj = open('example.pdf', 'rb') 
    
  # creating a pdf reader object 
  pdfReader = PyPDF2.PdfFileReader(pdfFileObj) 
    
  # printing number of pages in pdf file 
  print(pdfReader.numPages) 
    
  # creating a page object 
  pageObj = pdfReader.getPage(0) 
    
  # extracting text from page 
  print(pageObj.extractText()) 
    
  # closing the pdf file object 
  pdfFileObj.close()
  </code></pre>
  <p>Anyone have any recomendations?</p>