title: Any way to let a user draw an image in google colab and get the resulting image data?
body: <p>I can see that there are ways of uploading files to google colab for processing, but it would be really good if there was a way for a user to draw a simple image to test out visual recognition of some systems, i.e MNIST numbers, giving the users a 28x28 grid to draw a number and see what the model predicts it to be.</p>
  
  <p>So there are plenty of examples of how to do this sort of thing on codepen and some premade js libs for being able to just create simple pixel editors components on a canvas, but has anyone found an approach which lets you get something like this on a colab document, lets the user input the data then fetch the data from the drawn image?</p>