PHP code example of devcafeimers / textdetector

1. Go to this page and download the library: Download devcafeimers/textdetector library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

devcafeimers / textdetector example snippets




use Cafeimers\Detector\DetectTextFromImage;

rbri.jpg', [
	'34530102751333',
	'030301015869506',
	'1370010500300'
]) );

// return true or false



use Cafeimers\Detector\DetectTextFromImage;

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

// return true or false