pip install -r requirements.txt
Python | NumPy | OpenCV | |
---|---|---|---|
Legacy | 2.7 | 1.8 | 2.4 |
Current | 3.8 | 1.17 | 3.4 |
python --version
python -c 'import cv2; print("OpenCV " + cv2.__version__)'
python -c 'import numpy; print("NumPy " + numpy.__version__)'
Build matrix in .travis.yml
Settings are stored in .landscape.yml
pip install prospector
python -m prospector
Can also be run via python -m plant_detection.tests.tests
pip install fakeredis
python -m unittest discover -v
python -m plant_detection.PlantDetection --GUI
python -m plant_detection.Capture
python -m plant_detection.P2C
Settings stored in .coveragerc
pip install coverage
python -m coverage run -m unittest discover
python -m coverage html
open coverage_html_report/index.html
in browser
Settings stored in .pre-commit-config.yaml
pip install pre-commit
python -m pre_commit install
git add .
python -m pre_commit run --all-files
git diff