title: Google vision API not printing a return
body: <p>I'm playing around with some scripts in python and trying to find if these image returns results. However when running python doesn't print anything. I don't get an error but can't seem to figure it out. </p>
  
  <pre><code>import io
  import os
  
  # Imports the Google Cloud client library
  from google.cloud import vision
  from google.cloud.vision import types
  
  def run(annotations):
  # Instantiates a client
      client = vision.ImageAnnotatorClient()
  
  # The name of the image file to annotate
      file_name = os.path.join(
          os.path.dirname(__file__),
          'static/123456.jpg')
  
  # Loads the image into memory
      with io.open(file_name, 'rb') as image_file:
          content = image_file.read()
  
          image = types.Image(content=content)
  
      if annotations.pages_with_matching_images:
          print('\n{} Pages with matching images retrieved'.format(
              len(annotations.pages_with_matching_images)))
  
  
      matching = annotations.pages_with_matching_images
  
  
          print matching
  </code></pre>
  
  <p>I'm basing the work on these examples</p>
  
  <p><a href="https://cloud.google.com/vision/docs/quickstart-client-libraries#client-libraries-install-python" rel="nofollow noreferrer">https://cloud.google.com/vision/docs/quickstart-client-libraries#client-libraries-install-python</a></p>
  
  <p><a href="https://cloud.google.com/vision/docs/internet-detection" rel="nofollow noreferrer">https://cloud.google.com/vision/docs/internet-detection</a></p>