Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4df6bb1

Browse files
authored
Update README.md
1 parent bb72bc3 commit 4df6bb1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

compare_img/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* [Results](#results)
88

99
## About
10-
In this project, pixel-wise comparison between two input images is performed and differences are displayed as numerical parameters. This project is basically divided into two parts (these process happen in the backend using ```image_processing.py``` file):
10+
In this project, pixel-wise comparison between two input images is performed and differences are displayed as numerical parameters. This project is basically divided into two parts:
1111
1. Pre-processing - In which steps like greyscale conversion, maintaining uniform dimensions, removal of noise are perfomed.
1212
2. Compare function - Here the actual comparison between two images takes place which uses skimage's Structual Similarity Index, Mean square Error and Histogramical difference.
1313

@@ -40,9 +40,16 @@ To run the project, you can directly run the ```compare_img.py``` file and provi
4040

4141
```$ python3 compare_img.py DIR_PATH_IMG1 DIR_PATH_IMG2```
4242

43-
Example: ```$ python3 compare_img.py ./images/img1.jpg ./images/img2.jpg ```
43+
Example:
4444

45-
Note that image path can be a git blob url as well.
45+
```$ python3 compare_img.py ./images/img1.jpg ./images/img2.jpg ```
46+
47+
Note: The image path can be a raw url as well.
48+
49+
Example:
50+
```
51+
$ python3 compare_img.py https://raw.githubusercontent.com/SiddhanthNB/Automation-scripts/main/compare_img/images/img1.jpg https://raw.githubusercontent.com/SiddhanthNB/Automation-scripts/main/compare_img/images/img2.jpg
52+
```
4653

4754
## Results
4855
After running the script, you will find the output as

0 commit comments

Comments
 (0)