SyntaxFix
Write A Post
Hire A Developer
Questions
The simplest solution would be to use Pillow lib:
from PIL import Image image = Image.fromarray(<your_numpy_array>.astype(np.uint8))
And you can use it as an image.