     // [END config_face]
 
     // [START init_face]
-    let faceDetector = vision?.faceDetector(options: options)
+    let faceDetector = vision?.faceDetector(options: options)  // Check console for errors.
     // Or, to use the default settings:
     // let faceDetector = vision?.faceDetector()
     // [END init_face]

    // [START detect_text]
    textDetector?.detect(in: visionImage) { (features, error) in
      guard error == nil, let features = features, !features.isEmpty else {
        // [START_EXCLUDE]
        let errorString = error?.localizedDescription ?? Constants.detectionNoResultsMessage
        print("Text detection failed with error: \(errorString)")
        self.resultsTextView.text = "Text detection: \(errorString)"
        // [END_EXCLUDE]

        return
      }



    // Create a text detector.
    // [START init_text]
    let textDetector = vision?.textDetector()  // Check console for errors.
    // [END init_text]

    // Initialize a VisionImage with a UIImage.
