@Override
  protected void onDestroy() {
    if (baseApi != null) {
      baseApi.end();
    }
    super.onDestroy();
  }
Initializes the camera and starts the handler to begin previewing.
OCRTest/src/main/java/edu/sfsu/cs/orange/ocr/CaptureActivity.java