Detect the index of cloud coverage from an image, given by the total amount of pixels in the image divided by the number of cloud pixels.
Use the package manager pip to install the package.
pip install -r requirements.txt
The project runs with Python 3. If the default version is Python 2, use the command python3
instead.
python -m pytest
./main.py <image_path> [s|S]
# Examples
./main.py ../images/image1.JPG
./main.py ../images/image1.JPG S
After having the requirements installed, execute the following command:
cd docs/
# To generate the documentation in HTML format
make html
# To generate the documentation in LaTeX format
make html
Generated docs will be located in docs/build/
.