8 مستودعات
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.
هذا المشروع عبارة عن محرك للتعرف الضوئي على الحروف (OCR) يعتمد على الطرفية، ويستخدم نماذج الشبكات العصبية لاستخراج النصوص وبيانات التخطيط المكاني من الصور. يعمل كأداة سطر أوامر لمعالجة النصوص المؤتمتة وكمكتبة لدمج التعرف المدعوم بالتعلم الآلي في سير العمل الأوسع. يتميز المحرك بخط معالجة معياري يدعم تحميل النماذج المخصصة وتهيئة الأوزان المعينة في الذاكرة (memory-mapped) للتنفيذ الفعال. وهو يحافظ على بنية المستند من خلال تتبع إحداثيات هندسية دقيقة لكل عنصر نصي مكتشف، ويسمح بتحسين المخرجات من خلال قواعد التحقق على مستوى الحرف. يتضمن النظام أدوات شاملة لاستيعاب الصور، بما في ذلك الالتقاط المباشر من حافظة النظام ومحتوى المتصفح. كما يوفر قدرات تشخيصية من خلال إنشاء تراكبات بصرية وقطع أثرية للمعالجة الوسيطة للتحقق من دقة التعرف واستكشاف أخطاء أداء خط المعالجة وإصلاحها. يتم توزيع البرنامج كملف ثنائي ثابت (static binary) لضمان إمكانية النقل عبر البيئات دون الحاجة إلى تبعيات خارجية.
Exports extracted text and spatial coordinates to preserve the original document structure.