I use PHP and Google Cloud Vision API to extract some fields from a receipt.
$imageAnnotator = new ImageAnnotatorClient([\'credentials\' => \'cloud-vision-