Skip to content

About

Internship Deliverable

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Barcode Extractor

A Python script that automatically extracts barcodes from PDF files and saves each unique barcode as an individual Word .docx document.

How It Works

  1. Reads calibration data generated by debugger.py to locate the main barcode column.
  2. Converts PDF pages into high-resolution images.
  3. Detects, crops, and extracts valid barcodes.
  4. Saves each barcode into the output/ directory as a Word document.

Prerequisites

Before running the script, make sure you have the following installed:

  • Python 3.x
  • Required libraries: pdf2image, opencv-python (cv2), pyzbar, python-docx, numpy, matplotlib
  • Poppler: Required for pdf2image. The script expects it at ./poppler-25.12.0/Library/bin/.

The content of this README was structured and polished with the help of Gemini.

About

Internship Deliverable

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages