title: FirebaseVisionImage: variable 'image' might not have been initialized
body: <p>I'm trying to use the example for Google Firebase (machine learning kit) in Android Studio. I'm getting an error when passing the image variable into the detector.processImage method (error shown below).</p>
  
  <p>How can I get past this error? I have to use the FirebaseVisionImage.fromFilePath within a try-catch block, but the error message is telling me that the image variable may not be initialized.</p>
  
  <blockquote>
    <p>error: variable image might not have been initialized</p>
  </blockquote>
  
  <pre><code>        FirebaseVisionImage image;
  
          try {
              image = FirebaseVisionImage.fromFilePath(MainMenuActivity.this,
                      Uri.fromFile(new File("/sdcard/Download/test.jpg")));
          } catch (IOException e) {
              e.printStackTrace();
          }
  
          FirebaseVisionTextRecognizer detector = FirebaseVision.getInstance().getOnDeviceTextRecognizer();
  
          Task&lt;FirebaseVisionText&gt; result = detector.processImage(image)
                  .addOnSuccessListener(new OnSuccessListener&lt;FirebaseVisionText&gt;() {
                      @Override
                      public void onSuccess(FirebaseVisionText firebaseVisionText) {
                          // Task completed successfully
                          mainText.setText("Hello!");
                      }
                  })
                  .addOnFailureListener(
                          new OnFailureListener() {
                              @Override
                              public void onFailure(@NonNull Exception e) {
                                  // Task failed with an exception
                              }
                          }
                  );
  </code></pre>