Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

pdf-parsing

Ruby: Reading PDF files

September 23, 2023 by Tarik

You might find Docsplit useful: Docsplit is a command-line utility and Ruby library for splitting apart documents into their component parts: searchable UTF-8 plain text, page images or thumbnails in any format, PDFs, single pages, and document metadata (title, author, number of pages…)

Categories ruby-on-rails Tags pdf, pdf-parsing, ruby, ruby-on-rails Leave a comment

How to extract a table as text from the PDF

July 14, 2023 by Tarik

This answer is for anyone encountering pdfs with images and needing to use OCR. I could not find a workable off-the-shelf solution; nothing that gave me the accuracy I needed. Here are the steps I found to work. Use pdfimages from https://poppler.freedesktop.org/ to turn the pages of the pdf into images. Use Tesseract to detect … Read more

Categories python Tags pdf, pdf-parsing, python Leave a comment

How to extract table as text from the PDF using Python?

May 8, 2023 by Tarik

This answer is for anyone encountering pdfs with images and needing to use OCR. I could not find a workable off-the-shelf solution; nothing that gave me the accuracy I needed. Here are the steps I found to work. Use pdfimages from https://poppler.freedesktop.org/ to turn the pages of the pdf into images. Use Tesseract to detect … Read more

Categories python Tags pdf, pdf-parsing, python Leave a comment

Extract / Identify Tables from PDF python [closed]

May 1, 2023 by Tarik

After many fruitful hours of exploring OCR libraries, bounding boxes and clustering algorithms – I found a solution so simple it makes you want to cry! I hope you are using Linux; pdftotext -layout NAME_OF_PDF.pdf AMAZING!! Now you have a nice text file with all the information lined up in nice columns, now it is … Read more

Categories python Tags pdf, pdf-parsing, pdf-scraping, python, scrape Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa