diff --git a/vision/cloud-client/detect/detect.py b/vision/cloud-client/detect/detect.py index 7e7d8b76ec72..878e8a10d4bb 100644 --- a/vision/cloud-client/detect/detect.py +++ b/vision/cloud-client/detect/detect.py @@ -34,7 +34,6 @@ """ import argparse -import re # [START vision_face_detection] @@ -674,6 +673,7 @@ def detect_document_uri(uri): # [START vision_text_detection_pdf_gcs] def async_detect_document(gcs_source_uri, gcs_destination_uri): """OCR with PDF/TIFF as source files on GCS""" + import re from google.cloud import vision from google.cloud import storage from google.protobuf import json_format