src/Tool/Tesseract.php
public static function create($directories = [])
    {
        $finder = new ExecutableFinder();
        $bin    = $finder->find('tesseract', null, $directories);

        if (null === $bin) {
            return null;
        }

        $tool = new static($bin);

        return $tool;
    }
public static function create($directories = [])
    {
        $finder = new ExecutableFinder();
        $bin    = $finder->find('tesseract', null, $directories);

        if (null === $bin) {
            return null;
        }

        $tool = new static($bin);

        return $tool;
    }
@param array $directories Additional directories to search for the executable

@return mixed