PHP code example of jansenfelipe / sdaps-php
1. Go to this page and download the library: Download jansenfelipe/sdaps-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/ */
jansenfelipe / sdaps-php example snippets
use JansenFelipe\SdapsPHP\SdapsPHP;
$pathProject = '/path/you/want/to/create/the/project/sdaps';
$pathLaTeX = '/path/format.tex';
if(SdapsPHP::createProject($pathProject, $pathLaTeX))
{
SdapsPHP::add($pathProject, '/images/image01.tiff');
SdapsPHP::recognize($pathProject);
$pathCSV = SdapsPHP::recognize($pathProject);
//handle .csv
}