8 repository-uri
Capabilities for extracting text while maintaining the original visual spatial arrangement.
Distinct from Text Extraction: Distinct from general Text Extraction by specifically focusing on preserving the visual coordinates and spacing of the layout.
Explore 8 awesome GitHub repositories matching data & databases · Layout Preservation. Refine with filters or upvote what's useful.
A fast, helpful, and open-source document parser
Extracts text, tables, and images from PDFs and office documents while preserving spatial layout and structure.
pypdf is a Python library for parsing, manipulating, and generating PDF documents. It provides high-level operations for document processing, such as merging multiple files into one or splitting a single document into smaller files. The project includes specialized tools for managing interactive elements, including the creation and modification of annotations, hyperlinks, and form fields. It also supports advanced metadata management, allowing for the extraction and modification of standard document properties and XML-based XMP metadata. Beyond basic structural changes, the library covers pa
Retrieves text while preserving the visual layout, orientation, and spacing of the original document.
Bob is an extensible macOS utility designed for screen text extraction, translation aggregation, and speech synthesis. It functions as a wrapper that integrates multiple optical character recognition and translation services into a single interface, allowing users to capture screen areas, decode QR codes, and convert visual text into editable strings. The tool distinguishes itself through a plugin-based architecture that supports the integration of custom translation, speech synthesis, and image recognition APIs. It enables multi-engine parallel execution, allowing a single request to be proc
Uses coordinate-based algorithms to maintain paragraph structures and formatting when extracting text from images.
pdfplumber is a PDF data extraction library and layout analysis tool used to retrieve text, tables, and geometric objects from PDF files using precise coordinate-based analysis. It functions as a layout analyzer and table parser that identifies the bounding boxes and visual coordinates for every character and image on a page. The library distinguishes itself through visual debugging capabilities, allowing users to render PDF pages as images and draw annotations to verify the position of extracted data. It employs line and intersection analysis to identify cell structures and convert unstructu
Converts characters into strings or word lists while preserving visual arrangement and reading direction.
PyMuPDF is a comprehensive PDF manipulation library and document analysis tool. It serves as a text extraction tool, OCR engine, and image converter, providing a programmatic interface to edit, merge, split, and optimize PDF and Office documents. The project distinguishes itself through high-performance capabilities, including the use of C-bindings for low-level manipulation and parallelized page processing to accelerate workloads. It provides specialized conversion paths, such as transforming PDF content into Markdown for retrieval-augmented generation and large language model pipelines. It
Extracts text while precisely preserving the original visual spatial arrangement and coordinates of the content.
BabelDOC is a technical document translation system designed to translate PDF files while preserving their original layout and styling. It functions as a layout-preserving translator that utilizes large language models to convert content into target languages, specifically tailored for scientific and technical documents. The system distinguishes itself through specialized handling of academic content, including the identification and preservation of mathematical formulas and complex layout structures. It ensures technical accuracy by employing glossary-driven terminology enforcement, using so
Extracts text from PDFs and reflows translated content back into original spatial bounding boxes.
Mimic is a unicode homoglyph generator and text obfuscation tool. It functions as a character substitutor that replaces standard ASCII characters with visually similar Unicode symbols to create text that appears correct to humans but is functionally different. The project is used for source code obfuscation by inserting subtle syntax errors into code to hide intent or break automated analysis. It also serves as a tool for textual adversarial testing to evaluate the resilience of software filters against maliciously crafted input. The utility achieves these results through a mapping system th
Maintains the original visual spatial arrangement and length of the source text during character replacement.
Acest proiect este un motor de recunoaștere optică a caracterelor (OCR) bazat pe terminal, care utilizează modele de rețele neuronale pentru a extrage text și date de layout spațial din imagini. Funcționează atât ca utilitar de linie de comandă pentru procesarea automată a textului, cât și ca bibliotecă pentru integrarea recunoașterii bazate pe machine learning în fluxuri de lucru mai largi. Motorul se distinge printr-un pipeline de procesare modular care suportă încărcarea de modele personalizate și inițializarea ponderilor mapate în memorie pentru o execuție eficientă. Păstrează structura documentului prin urmărirea coordonatelor geometrice precise pentru fiecare element de text detectat și permite rafinarea rezultatelor prin reguli de validare la nivel de caracter. Sistemul include instrumente cuprinzătoare pentru ingestia imaginilor, inclusiv capturarea directă din clipboard-ul sistemului și conținutul browserului. Oferă capabilități de diagnosticare prin generarea de suprapuneri vizuale și artefacte de procesare intermediare pentru a verifica acuratețea recunoașterii și a depana performanța pipeline-ului. Software-ul este distribuit ca binar static pentru a asigura portabilitatea între medii fără a necesita dependențe externe.
Exports extracted text and spatial coordinates to preserve the original document structure.