Skip to content
Snippets Groups Projects
Commit 504d65fe authored by igraf's avatar igraf
Browse files

Update README.md

parent d3c18a0f
Branches master
Tags thesis
No related merge requests found
......@@ -24,13 +24,16 @@ pip install -r requirements.txt
## `extract_features.py`
The script `extract_features.py` extracts the RGB values from an example image ([`figures/examples_from_dataset/banana.jpg`](../figures/examples_from_dataset/banana.jpg)).
### 💻 Usage
```bash
python extract_features.py
```
### 📊 Outputs
This will extract the RGB values from the image [`figures/examples_from_dataset/banana.jpg`](../figures/examples_from_dataset/banana.jpg) and create the following files:
Each run of the script will create the following files:
- `features-banana.txt` :arrow_right: contains the features (RGB values) of the image
- `features-banana-flattened.txt` :arrow_right: contains the flattened features (RGB values) of the image
- `features-banana-resized.txt`:arrow_right: contains the features (RGB values) of the banana image after resizing it to 50x50 pixels
......@@ -38,13 +41,15 @@ This will extract the RGB values from the image [`figures/examples_from_dataset/
## `apply_filters.py`
The script `apply_filters.py` applies several filters to an example image ([`figures/examples_from_dataset/banana.jpg`](../figures/examples_from_dataset/banana.jpg)).
### 💻 Usage
```bash
python apply_filters.py
```
### 📊 Outputs
This will apply the following filters to the image [`figures/examples_from_dataset/banana.jpg`](../figures/examples_from_dataset/banana.jpg) and create the following files in the folder [`figures/examples_from_dataset/`](../figures/examples_from_dataset/):
Each run of the script will create the following files in the folder [`figures/examples_from_dataset/`](../figures/examples_from_dataset/):
- `banana-edges.jpg` :arrow_right: contains the image with applied Canny edge detection filter
- `baanan-sobel.jpg` :arrow_right: contains the image with applied Sobel filter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment