       }
       // [END_EXCLUDE]
     }
-    // [START detect_text_cloud]
+    // [END detect_text_cloud]
   }
 
   private func logExtrasForTesting(cloudText: VisionCloudText) {


    // [START init_face]
    let faceDetector = vision?.faceDetector(options: options)
    // [END init_face]

    // Define the metadata for the image.


    // Create a text detector.
    // [START init_text_cloud]
    let textDetector = vision?.cloudTextDetector(options: options)
    // Or, to use the default settings:
    // let textDetector = vision?.cloudTextDetector()
    // [END init_text_cloud]

    // Initialize a VisionImage with a UIImage.
