Skip to content

benjamincham/Design-patterns-Demo-Image-Enhancement-App

Repository files navigation

Image Enhancement App

A Demonstration of Design patterns and Concepts

This demo application is created to demonstrate and prove the Design patterns and concepts published on my Medium article.


What does the Image Enhancement App do ?

The app allows user to perform image enhancement (e.g. brightness/contrast/noise) on an image file. The enhanced image will be saved as "enhanced_image.png".
The app is implemented as a Proof-of-concept and would not meet the real-world challenges for image enhancement.

Running the project

You can setup the project by creating a conda environment and using pip to install the depedencies:

#Create Conda environment and activate
conda create -n demo_app python=3.8
#Activate Conda environment
conda activate demo_app
#install dependencies
pip install -r requirements.txt

When above setup is complete, run app.py

python app.py

Overview of Software Logic

1.) The App request for user to indicate the image file for enhancement. At this point, the user shall input the image file path.
image

2.) After the App validate that the image file exist, the app would display a list of Image enhancement Options. The user shall indicate the number (i.e. 1, 2, or 3) on the type of enhancement to perform.
image

3.) With the selected enhancement type, the app performs the enhancement and displays both the original and enhanced image for visual comparison
image

About

a sample app to demonstrate software design patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages