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.
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.
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
1.) The App request for user to indicate the image file for enhancement. At this point, the user shall input the image file path.
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.
3.) With the selected enhancement type, the app performs the enhancement and displays both the original and enhanced image for visual comparison