Green-Software-Foundation / Green-Software-Foundation/hack

Black is Green

Open
#53 9 comments 1 reaction 1 assignee Claimed by @mads6879 View on GitHub
draft plug-in-project
Dominant language
No language data
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Type of project

Building a plug-in for Impact Framework

### Overview

### Context
It is known for sometime now that darker colours require less energy to illuminate LED/OLED displays, black being the lowest energy colour and white being the most energy intensive colour. Red, green and blue lie in the middle with blue being more energy inefficient than red and green.
Having said that, almost all websites load images. It would be fascinating to see how each image contributes towards energy consumption eventually leading to carbon emissions.

### Idea/Problem statement
I am thinking of building a pipeline which has following steps
1) Image importer plugin - Pulls an image from AWS s3 bucket
2) Image analyser plugin - Analyses the image to figure out the R, G, B percentages, height and width of the image
3) Image efficiency plugin - Take the values from output of previous plugin along with size of the display area and calculates total power consumption at a standard/typical brightness
4) Brightness adjuster plugin - Takes the total power consumption and adjust it according to given brightness input
5) Finally to calculate SCI, the total power consumption needs to be converted to Carbon and used as input to standard model **SCI** from IF.
Other standard models like SCI-E, SCI-M can be used OR new one might be needed to apply the monitor/display's embodied carbon (not sure at this point).

### Scope
For hackathon, it would be limited to
1) LED/OLED displays. (LCD use backlight and work on different technique than LEDs).
2) AWS s3 but later can be extended to other providers.
3) Direct linear correlation between brightness and consumption (As brightness increases, power consumption increases linearly).

### Impact
There are hundreds of websites that host stock photos and images for download and use e.g. Shutterstock, Unsplash, Getty images etc.
If these images were to display **SCI** as part of their metadata then the user can become 'Carbon Aware' and will know the impact of including an image in their webpage.

### Language
Leaning toward Python but not given up on TypeScript yet.

### Questions to be answered

1) Are there plugin already available which do these image/colour manipulations?
2) Is pipeline better OR all steps mentioned above can be part of a single plugin/model?
2) Would passing in **total-embodied-emissions** in the model config for **SCI-M**, help me calculate embodied carbon for displays/monitors?
3) I am not sure if I can use the SCI-E and SCI-O directly given that the input is mostly CPU, GPU, memory related.
4) SCI should be ok to use as it takes carbon as input so long as I have carbon as output from my plugins, I can use SCI.

### Have you got a project team yet?

I am working on this project alone

### Project team

@mads6879

### Terms of Participation

- [X] I agree to the hackathon [Rules & Terms](https://github.com/Green-Software-Foundation/hack/wiki/Rules-and-Terms) and [Code of Conduct](https://github.com/Green-Software-Foundation/hack/wiki/Code-of-Conduct)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.