<?php
require __DIR__ . "/vendor/autoload.php";
require __DIR__ . "/ocr_utils.php";

echo "autoload exists: ";
var_dump(file_exists(__DIR__ . "/vendor/autoload.php"));

echo "vision dir exists: ";
var_dump(is_dir(__DIR__ . "/vendor/google/cloud-vision"));

echo "New namespaced client exists: ";
var_dump(class_exists("Google\\Cloud\\Vision\\V1\\Client\\ImageAnnotatorClient"));
