2017 © Pedro Peláez
 

library textdetector

PHP Text Detection from Image

image

devcafeimers/textdetector

PHP Text Detection from Image

  • Saturday, June 30, 2018
  • by devcafeimers
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PHP Text Detection

Requirements

  • PHP 5.6 or ^7.1
  • Tesseract

Installation

$ composer require cafeimers/textdetector

:bangbang: This library depends on Tesseract OCR, version 3.03 or later., (*1)

br/, (*2)

Note for Windows users

There are [many ways][tesseract_installation_on_windows] to install Tesseract OCR on your system, but if you just want something quick to get up and running, I recommend installing the Capture2Text package with Chocolatey., (*3)

    choco install capture2text --version 3.9

:warning: Recent versions of Capture2Text stopped shipping the tesseract binary., (*4)

br/, (*5)

Note for macOS users

With MacPorts you can install support for individual languages, like so:, (*6)

    $ sudo port install tesseract-<langcode>

But that is not possible with Homebrew. It comes only with English support by default, so if you intend to use it for other language, the quickest solution is to install them all:, (*7)

    $ brew install tesseract --with-all-languages

br/, (*8)

Note for Linux/Ubuntu users

$ sudo apt-get install tesseract

br/, (*9)

Usage

Example 1, (*10)

<?php

use Cafeimers\Detector\DetectTextFromImage;

require_once 'path/to/vendor/autoload.php';

dump( DetectTextFromImage::Detection('buktitransferbri.jpg', [
    '34530102751333',
    '030301015869506',
    '1370010500300'
]) );

// return true or false

Example 2, (*11)

<?php

use Cafeimers\Detector\DetectTextFromImage;

require_once 'path/to/vendor/autoload.php';

$collections = ['34530102751333','030301015869506','1370010500300'];
dump( DetectTextFromImage::Detection('buktitransferbri.jpg', $collections) );

// return true or false

The Versions

30/06 2018

dev-master

9999999-dev

PHP Text Detection from Image

  Sources   Download

MIT

The Requires

 

ocr text recognition tesseract php text detection

30/06 2018

dev-devcafeimers-patch-1

dev-devcafeimers-patch-1

PHP Text Detection from Image

  Sources   Download

MIT

The Requires

 

ocr text recognition tesseract php text detection

30/06 2018

dev-darkterminal-patch-1

dev-darkterminal-patch-1

PHP Text Detection from Image

  Sources   Download

MIT

The Requires

 

ocr text recognition tesseract php text detection

30/06 2018

v1.0.0

1.0.0.0

PHP Text Detection from Image

  Sources   Download

MIT

The Requires

 

ocr text recognition tesseract php text detection