You need to have installed python 3.9 to work with this project.
- Create a virtual environment:
python3 -m venv env
- Activate virtual environment:
source env/bin/activate
- Install trees-processor and dependencies:
pip install git+https://github.com/aerubanov/trees-processor
filename name of file to process
-h, --help show this help message and exit <\br>
--save_result SAVE_RESULT <\br>
save processed image in specified file <\br>
--rar, -r process all images in archive (specified as filename argument) <\br>
python -m trees_processor image.tif
- process imagepython -m trees_processor image.tif --save_result output.tif
- process image and save image with countur and selected regions inoutput.tif
python -m trees_processor -r images.tar --save_result output
- process all images in archive and save images with counturs and selected regions inoutput
folder (will be created if not exist).
Input image:
Extracted contur and selected regions: