I read sample in google cloud: https://cloud.google.com/vision/docs/samples/vision-text-detection-pdf-gcs And follow it, everything okie but it only extract only first page of d