title: what's the difference between tf.gfile.GFile().read() and cv2.imread() when it is about reading images
body: <p>When working with TensorFlow (image classification for example), sometimes images are loaded using <code>cv2.imread(image)</code> and other times they are loaded using <code>tf.gfile.GFile(image, 'rb').read()</code>.  </p>
  
  <p>Are there any differences between <code>cv2.imread(image)</code> and <code>tf.gfile.GFile(image, 'rb').read()</code> when using them with TensorFlow?  </p>
  
  <p><strong>Edit:</strong><br>
  My question here is about performances and maintaining image accuracy (since both of them do the job).</p>