This PR implements support for machine learning inference to detect the colour checker.
The model is published on HuggingFace, and was trained on a purposely constructed dataset.
The model has only been trained on ColorChecker Classic 24 images and will not work with ColorChecker Nano or ColorChecker SG images.
Inference is performed by a script licensed under the terms of the GNU Affero General Public License v3.0 as it uses the Ultralytics YOLOv8 API which is incompatible with the BSD-3-Clause.
The segmentation API has been overhauled to provide a consistent interface across the two methods. It has also been improved following discussions in #53, #73, and #74.
Preflight
Code Style and Quality
[x] Unit tests have been implemented and passed.
[x] Pyright static checking has been run and passed.
[x] Pre-commit hooks have been run and passed.
Documentation
[x] New features are documented along with examples if relevant.
Summary
This PR implements support for machine learning inference to detect the colour checker.
The model is published on HuggingFace, and was trained on a purposely constructed dataset.
The model has only been trained on ColorChecker Classic 24 images and will not work with ColorChecker Nano or ColorChecker SG images.
Inference is performed by a script licensed under the terms of the GNU Affero General Public License v3.0 as it uses the Ultralytics YOLOv8 API which is incompatible with the BSD-3-Clause.
The segmentation API has been overhauled to provide a consistent interface across the two methods. It has also been improved following discussions in #53, #73, and #74.
Preflight
Code Style and Quality
Documentation