[38/100] #100DaysOfCloud Today, I created a simple event-driven image processing pipeline where the source image is pixelated into 5 different variations.
A simple event-driven image processing pipeline is created. The pipeline uses two S3 buckets, a source bucket and a destination bucket. When images are added to the source bucket a lambda function is triggered based on the PUT. When invoked the lambda function receives the event and extracts the bucket and object information. Once those details are known, the lambda function, using the PIL module pixelates the image with 5 different variations (8x8, 16x16, 32x32, 48x48 and 64x64) and uploads them to the processed bucket.
You can try do it by yourself by following the steps from the link below: GitHub
Top comments (0)