
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ocrbridge-core
Advanced tools
Core interfaces and utilities for OCR Bridge engine packages.
ocrbridge-core provides the foundational abstract base classes, models, and utilities that all OCR engine packages must implement. This package enables a modular, plugin-based architecture where OCR engines can be dynamically discovered and loaded at runtime.
pip install ocrbridge-core
For local development, we recommend using uv and the provided Makefile.
See CONTRIBUTING.md for detailed setup instructions.
# Quick start (requires uv)
make install
make check
All OCR engines must inherit from OCREngine and implement:
process(file_path, params) - Process a document and return HOCR XMLname property - Engine identifier (e.g., 'tesseract', 'easyocr')supported_formats property - Set of supported file extensionsBase model for engine-specific parameters using Pydantic validation.
OCRBridgeError - Base exceptionOCRProcessingError - Processing failuresUnsupportedFormatError - Unsupported file formatEngineNotAvailableError - Engine not installed/availableInvalidParametersError - Invalid parametersHelper functions for HOCR XML parsing, validation, and conversion:
parse_hocr() - Parse and extract HOCR informationvalidate_hocr() - Validate HOCR structureextract_bbox() - Extract bounding box coordinateseasyocr_to_hocr() - Convert EasyOCR results to HOCR formatSee the engine packages for examples:
ocrbridge-tesseract - Simple reference implementationocrbridge-easyocr - Deep learning with GPU supportocrbridge-ocrmac - Platform-specific (macOS only)FAQs
Core interfaces and utilities for OCR Bridge engine packages
We found that ocrbridge-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.