aura analyzer is a project designed to perform seasonal color analysis and match users to their ideal color palette and a recommended outfit!
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:
conda create --name aura-analyzer
conda activate aura-analyzer
before running the demo, make sure to install the following dependencies:
- Python 3.6
- PyTorch
- Torchvision
- CUDA Toolkit
- TensorBoard (optional)
- NumPy
- Pillow
- Future
- tqdm
- Matplotlib
- SciPy
- scikit-learn
- OpenCV-Python
- Pylette
- mediapipe
install these dependencies using pip
:
pip install -r requirements.txt
- run the following command, replacing <image-name.jpg> with an image of your choice (ensure that you add it to the input-imgs folder first)
./run_demo.sh image-name.jpg
- for a sample image, run the following:
./run_demo.sh IMG_6119.jpg
- remove CUDA Toolkit from requirements.txt
- run the following commands in aura-analyzer:
conda create -n aura-analyzer python=3.9
source activate aura-analyzer
pip install -r requirements.txt
conda install -c nvidia cuda-python
chmod +x ./run_demo.sh
./run_demo.sh image-name.jpg