title: Can an uploaded image be loaded directly by cv2?
body: <p>I have an uploaded file in memory.  I want to manipulate the file with cv2.  Currently, I write the file to disk then read it with cv2.  How can I skip writing the file and load it directly with cv2?</p>
  
  <pre><code>file = request.files['file']
  # if file and allowed_file(file.filename):
  
  # save file            
  filename = secure_filename(file.filename)
  file_path = os.path.join(dressrank.config['SHOW_IMG_FOLDER'], filename);
  file.save(file_path)
  img_path = file_path
  
  # COLOR FATURE EXTRACTION
  img = read_img(img_path)
  img =img_resize(img, 500)
  </code></pre>