How to read image file from S3 bucket directly into memory? : <p>I have the following code</p>

<pre><code>import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
import boto3
s3 = boto3.resource('s3', region_name='us-east-2')
bucket = s3.Bucket('sentinel-s2-l1c')
object = bucket.Object('tiles/10/S/DG/2015/12/7/0/B01.jp2')
object.download_file('B01.jp2')
img=mpimg.imread('B01.jp2')
imgplot = plt.imshow(img)
plt.show(imgplot)
</code></pre>

<p>and it works. But the problem it downloads file into current directory first. Is it possible to read file and decode it as image directly in RAM?</p>
