Learn more >
Get the code
View the demo
by Belinda Vennam | Published July 10, 2019
CloudData storesNode.jsObject StorageServerless
When a new image is uploaded to your cloud storage, wouldn’t it be great to also run some additional processing functions on that image? For example, convert it to a thumbnail size, automatically enhance the colors, or analyze it to figure out what’s in the image. Serverless is a natural choice for this type of processing and analysis because your functions will be run on demand, at scale, and in the cloud in reaction to cloud object storage events.
In this application, you upload an image to a web application that is stored in IBM Cloud Object Storage, which triggers your serverless functions to run. Those functions perform some image processing and analysis, such as charcoaling the image and running visual recognition on it. After the analysis and processing is done, the results are stored in a different Cloud Object Storage bucket, which can then be read.
When you have completed this code pattern, you will understand how to:
The trigger fires two actions to be run:
Each action writes back to Cloud Object Storage:
Ready to give it a try? See the README file for detailed instructions.
Get the Code »
Artificial intelligenceDeep learning+
Back to top