PHP code example of louissu / ssocr-php

1. Go to this page and download the library: Download louissu/ssocr-php 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/ */

    

louissu / ssocr-php example snippets



Louissu\Main\SSOCR;

$ssocr  = new SSOCR('87.png');
$result = $ssocr
    ->setThreshold(0.1)
    ->setScale(2)
    ->run();

echo $result;

composer