-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Displaying numpy images directly on the page. As far as I know, and I am newbie, so bear with me on this one but I am having the struggle of my life trying to upload a numpy image array object on the web with Dash.
As you can see below, I have my app layout where I am uploading an image from.
I then apply some off the shelf filters through apply-filter function and its an numpy array but I can't seem to pass it back on to the webpage.
This function below parses the content and its adapted from the Dash Docs
There seems to be no easy way for me to do this using the docs. I would like to suggest an easy utility function that does this rendering for us. It seems a bit of a hassle for a newbie to bump in to these problems. Nonetheless, not taking anything away from the developers. Great Job Guys!
While I am at it, I would love to ask for one more favor, how would it possible to extract regions of images (need to annotate histology images for a project and I would love to be able to get the extracted region in a variable or something in the classical numpy array format so I can explore the world of classical operations and not have to worry about web stuff