Skip to content

Commit

Permalink
📝 modified README to add instructions for creating virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jadewang26 committed Oct 29, 2024
1 parent e2f53ab commit 0097fa5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ aura analyzer is a project designed to perform seasonal color analysis and match

## installation

it is highly recommended that you create a new virtual environment before installing dependencies. you can do this with conda, venv, or any other alternatives you see fit. here is an example of how to create and activate a conda environment:
```bash
conda create --name aura-analyzer
```
```bash
conda activate aura-analyzer
```

before running the demo, make sure to install the following dependencies:

1. Python 3.6
Expand Down
6 changes: 3 additions & 3 deletions combined-demo/scripts/run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ fi
IMAGE_FILE=$1

# Run the Python script with the JPEG file
python ../../color-correction/PyTorch/demo_single_image.py --i "../input-imgs/$IMAGE_FILE" -t AWB -o ../intermediate-imgs
python3 ../../color-correction/PyTorch/demo_single_image.py --i "../input-imgs/$IMAGE_FILE" -t AWB -o ../intermediate-imgs

# Run facial detection
python ../../face-detect/facedec/facedetect.py --i "../intermediate-imgs/temp.png"
python3 ../../face-detect/facedec/facedetect.py --i "../intermediate-imgs/temp.png"
#SHOULD BE TEMP

# Run color analysis
python ../../color-analysis/color_analysis.py --i "../output-imgs/cropped.jpg"
python3 ../../color-analysis/color_analysis.py --i "../output-imgs/cropped.jpg"

# run below script in command line to test
# ./run_demo.sh [image-name.jpg]
Expand Down

0 comments on commit 0097fa5

Please sign in to comment.