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

Update README.md

parent a20547b8
No related branches found
No related tags found
No related merge requests found
......@@ -22,24 +22,28 @@ source venv/bin/activate
pip install -r requirements.txt
```
## 💻 Usage: `extract_features.py`
## `extract_features.py`
### 💻 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:
- `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
- `features-banana-resized-flattened.txt`:arrow_right: contains the flattened features (RGB values) of the banana image after resizing it to 50x50 pixels
## 💻 `apply_filters.py`
## `apply_filters.py`
### 💻 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/):
- `banana-edges.jpg` :arrow_right: contains the image with applied Canny edge detection 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