Skip to content

Commit 25cc3ca

Browse files
committed
edited documentation
1 parent 20e2f4c commit 25cc3ca

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The process of organizing photos can be a huge pain. And when they aren't organi
1010

1111
2. **Name Tags:** identifies people in an image and tags the image with their names
1212

13-
3. **Rotation Correction:** detects crooked images and straightens them out
13+
3. **Rotation Correction:** detects crooked images and straightens them
1414

1515
4. **Low-Light Enhancement:** detects dark images and brightens them
1616
- *Beta feature:* may output images with bright neon spots
@@ -21,31 +21,28 @@ The process of organizing photos can be a huge pain. And when they aren't organi
2121

2222
## Installation
2323

24-
1. Ensure that [Python](https://www.python.org/downloads/)>=3.9 (with pip) is installed and [Git](https://git-scm.com/downloads) if you want to clone this repository
24+
1. Ensure that [Python](https://www.python.org/downloads/)>=3.9 (with pip) is installed
2525

2626
2. Download the application
2727

2828
- To get only the files required to run the application, download and unzip a [Release](https://github.com/patrick-5546/ML-Image-Processor/releases)
29-
- To clone the repository (much larger, includes reports, datasets, notebooks, etc.):
29+
- To also get the reports, datasets, notebooks, etc., clone the repository (much larger folder):
3030

31-
```sh
32-
git clone https://github.com/patrick-5546/ML-Image-Processor
33-
```
34-
35-
3. Create a virtual environment to run the application in (optional)
31+
3. Create a virtual environment to run the application in (optional, but recommended)
3632
1. Navigate to the project directory
3733
2. See [Python Docs](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments)
3834
- For the first command, use `venv` as the directory name instead of `tutorial-env`
3935
- If using PowerShell, run the `Activate.ps1` script instead
40-
- Ensures that the correct packages and versions necessary to run the application are used without adding to or replacing packages in the main python package director
36+
- This ensures that the packages necessary to run the application are used without adding to or replacing packages in the main python package directory
4137

42-
4. In the project directory, install its requirements
38+
4. In the project directory, install the required packages
4339

4440
```sh
4541
pip install -r requirements.txt
4642
```
4743

4844
## How to Run
4945

50-
1. Run `python main.py` to start application and open <http://127.0.0.1:8080/> on your browser
51-
2. Application usage instructions can be found on the homepage, or a visual walkthrough in the [final report](/reports/final/Final%20Report.pdf)
46+
1. Run `python main.py` to start application
47+
2. Access application at <http://127.0.0.1:8080/>
48+
3. Application usage instructions can be found on the homepage, and a visual walkthrough in the [final report](/reports/final/Final%20Report.pdf)

templates/main.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2 style="color:rgba(255, 255, 255, 0.888)">Feature Toggles</h2>
4949
<li>Each person's headshots should go in a separate directory named with that person's name</li>
5050
<li>For accurate results, have at least 7 headshots per person to distinguish between 5 people, or 14
5151
headshots per person for 10 people</li>
52-
<li>Example of compatible formatting can be found in <code>ml_backend/ml_face/face_sample</code></li>
52+
<li>Example of a compatible directory structure can be found in <code>ml_backend/ml_face/face_sample</code></li>
5353
</ul>
5454
</ul>
5555
<input type="checkbox" name="rotation" value="3" checked>
@@ -69,15 +69,11 @@ <h2 style="color:rgba(255, 255, 255, 0.888)">Using this Application</h2>
6969
out of the following:
7070
<ol type="a">
7171
<li><b>Category Tags:</b> identifies common objects in an image and uses them to tag the image with one or more categories
72-
<ul>
73-
<li> Categories include: Portrait, Group Photo, Urban, Pet, Nature, Sports, Food</li>
74-
<li>The objects that the models are trained to detect, and how they map to the categories,
75-
are listed in <code>tagger/categories.py</code></li>
76-
</ul>
72+
<ul><li> Categories include: Portrait, Group Photo, Urban, Pet, Nature, Sports, Food</li></ul>
7773
</li>
7874
<li><b>Name Tags:</b> identifies people in an image and tags the image with their names</li>
79-
<li><b>Rotation Correction:</b> detects crooked images and brightens them</li>
80-
<li><b>Low-Light Enhancement:</b> detects dark images and outputs a better-lit version
75+
<li><b>Rotation Correction:</b> detects crooked images and straightens them</li>
76+
<li><b>Low-Light Enhancement:</b> detects dark images and brightens them
8177
<ul><li><i>Beta feature:</i> may output images with bright neon spots</li></ul>
8278
</li>
8379
</ol>
@@ -87,7 +83,7 @@ <h2 style="color:rgba(255, 255, 255, 0.888)">Using this Application</h2>
8783
<li>Click on the <u>Gallery</u> button to view all the uploaded photos
8884
<li>Click on an image to expand it and view and modify the tags it was given by the ML models</li>
8985
</li>
90-
<li>Click on the <u>Download Photos</u> button to download all the uploaded images with their new tags</li>
86+
<li>Click on the <u>Download Photos</u> button to download all the uploaded images with their new tags and enhancements</li>
9187
</ol>
9288
<br class="clearBoth" />
9389

0 commit comments

Comments
 (0)