mardi 19 juin 2018

How to convert grayscale image array to an image in javaScript?

I've been trying to send an array of grayscale images from my node.js server to the frontend but the image is just being displayed as black is there a way to solve this problem.The array has values in the range of 0 to 4,I can display the image using plt.imshow.




Aucun commentaire:

Enregistrer un commentaire