Skip to content

vkhramtsov/tesseract-bridge-bundle

Repository files navigation

Symfony bundle for integration with bicycle/tesseract-bridge package

Minimum PHP Version Build Status Codacy Badge codecov Scrutinizer Code Quality Latest stable version on packagist Total downloads Monthly downloads License

Installation

First af all you need to create configuration, something like:

bicycle_tesseract_bridge:
  integrations:
    cli:
      path: tesseract
    ffi: # Please note that FFI integration depends on php settings and not available in fpm by default
      path: libtesseract.so.4

And install bundle via Composer:

$ composer require bicycle/tesseract-bridge-bundle

Usage

Depend on the configuration you will get services which implement Bicycle\Tesseract\BridgeInterface:

  • bicycle.tesseract_bridge.integrations.cli for CLI integration (in case enabled)
  • bicycle.tesseract_bridge.integrations.ffi for FFI integration (in case enabled)

How to contribute

You can contribute to this project by:

  • Opening an Issue if you found a bug or wish to propose a new feature;
  • Opening PR if you want to improve/create/fix something

License

tesseract-bridge is released under the MIT License.

About

Symfony bundle for integration with tesseract OCR

Resources

License

Stars

Watchers

Forks

Packages

No packages published