Ejemplo n.º 1
0
    } elseif ($action == 'Run Batch OCR') {
        $ocrManager = new SpecProcessorOcr();
        $ocrManager->setVerbose(2);
        $batchLimit = 100;
        if (array_key_exists('batchlimit', $_POST)) {
            $batchLimit = $_POST['batchlimit'];
        }
        echo '<ul>';
        $ocrManager->batchOcrUnprocessed($collid, $procStatus, $batchLimit, 0);
        echo '</ul>';
    } elseif ($action == 'Load OCR Files') {
        $specManager->addProject($_POST);
        $ocrManager = new SpecProcessorOcr();
        $ocrManager->setVerbose(2);
        echo '<ul>';
        $ocrManager->harvestOcrText($_POST);
        echo '</ul>';
    } elseif ($action == 'dlnoimg') {
        $specManager->downloadReportData($action);
        exit;
    } elseif ($action == 'unprocnoimg') {
        $specManager->downloadReportData($action);
        exit;
    } elseif ($action == 'noskel') {
        $specManager->downloadReportData($action);
        exit;
    }
    if ($statusStr) {
        ?>
					<div style='margin:20px 0px 20px 0px;'>
						<hr/>