Accepted at ICPR 2024 Arxiv.
Pith detection at the right image (blue dot)
conda create --name pith python=3.11
conda activate pith
conda install -n pith pip
pip3 install --no-cache-dir -r requirements.txt
python fetch_dataset.py
python fetch_pretrained_model.py
Example of usage:
python main.py --filename ./Input/F02c.png --output_dir Output/ --new_shape 640 --debug 1
Example of usage with pclines postprocessing
python main.py --filename ./Input/F02b.png --output_dir Output/ --new_shape 640 --debug 1 --pclines 1
If you use this code, please cite the following paper:
@misc{marichal2024automatic,
title={Automatic Wood Pith Detector: Local Orientation Estimation and Robust Accumulation},
author={Henry Marichal and Diego Passarella and Gregory Randall},
year={2024},
eprint={2404.01952},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
License for th source code: MIT