height (int) height of final picture
width (int) width of final picture
save (boolean) Picture save if True (default: False)
show (boolean) Picture show if True (default: True)
picture (image)
- If save is True: myrndpic.png
- If show is True: picture is on the display
- Pillow
- Numpy
- testing screen
- make noise to neural network training process
- create unique wallpaper
- understand image processing and image creation from array
Feel free to rewrite the code and play with it. Change the integer values in the np.random.randint function between 0 and 255 to get other result. Lower value means darker colours, higher value means lighter colours.
- RGB 0, 0, 0 = black
- RGB 255,255,255 = white