Flask based api for image uploading and display WITHOUT saving to storage.
Below figure shows the image returned from server's memory (RAM), NOT STORAGE (HDD). This can be used as a template for image processing, AI, edged computing systems.
Pillow and Flask are required for this template. If not installed please install them via your package manager, e.g., pip, apt, etc:
python3 -m pip install Pillow Flask
- Clone this repository and change directory into it:
git clone https://github.com/geeksloth/flaskimio.git && cd flaskimio
- run the
main.py
script by
python3 main.py
- Access the api via typing
ip:port
in browser:
http://192.168.0.101:5000