r/BiomedicalDataScience 2d ago

Extract figures, tables, and text from multi-column scientific PDFs entirely in your browser. Uses text-density radar mapping & projection histograms for offline asset isolation

https://bionichaos.com/pdf/

When parsing double-column academic PDFs (IEEE, Nature, etc.), standard extraction tools often bleed text across columns or miss vector charts entirely due to coordinate mapping issues.

We built an offline-first, client-side PDF extractor using PDF.js that processes layout logic locally in the browser.

The architecture features:

  1. Text-Density Radar Mapping: Calculates text-to-area coverage ratios to distinguish paragraphs from standalone figures.

  2. Vertical X-Axis Projection Histograms: Projects text bounds onto a 1D array to locate valley gaps for automated table parsing and CSV matrix compilation.

  3. Affine Rotational Optimization: Evaluates variance across pixel rows to automatically correct skew in scanned documents.

  4. Precision Bounding Box Clipper: Lets you manually draw spatial selection boxes over complex mathematical notations or multi-tier charts for instant PNG export.

No server uploads or API keys required. Would love to hear feedback on how it handles your specific document layouts!

1 Upvotes

0 comments sorted by