Example:
use Google\Cloud\ServiceBuilder;
$cloud = new ServiceBuilder();
$vision = $cloud->vision();
$imageResource = fopen(__DIR__ .'/assets/family-photo.jpg', 'r');
$image = $vision->image($imageResource, [
'FACE_DETECTION'
]);
$annotation = $vision->annotate($image);