publiclab / image-sequencer

A pure JavaScript sequential image processing system, inspired by storyboards
https://sequencer.publiclab.org
GNU General Public License v3.0
110 stars 210 forks source link

Building a RESTful API for enabling use of image sequencer on a remote server #198

Open tech4GT opened 6 years ago

tech4GT commented 6 years ago

Some Image processing steps can be resource intensive and it might be difficult for users with low powered devices to run them locally one the device, for this purpose we can setup an Express server with an api that can take an image in request and return the step applied image in response. For this purpose we can use https://www.npmjs.com/package/express for building the server and imgur for hosting the images. The image at all steps will be uploaded to imgur. https://imgur.com We can start very basic with support for a single step and later add functionalities add multiple steps and replace steps The demo will have a choice if user want to run on local machine or remote server for each step, we can also limit this in the basis of user's computer specification to prevent overloading the server

jywarren commented 5 years ago

Ah here, maybe? https://cloud.google.com/functions/use-cases/real-time-data-processing