Skip to content

Commit 1b93f30

Browse files
committed
Merge branch 'feature/v0.1.3' into develop
2 parents 4c249af + d47752c commit 1b93f30

23 files changed

+347
-438
lines changed

CONTRIBUTORS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ About
1616
-----
1717

1818
| **Colour - Checker Detection** by Colour Developers
19-
| Copyright © 2018-2021 – Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
19+
| Copyright 2018 Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
2020
| This software is released under terms of New BSD License: https://opensource.org/licenses/BSD-3-Clause
2121
| `https://github.com/colour-science/colour-checker-detection <https://github.com/colour-science/colour-checker-detection>`__

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2018-2021, Colour Developers
1+
Copyright 2018 Colour Developers
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.rst

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It is open source and freely available under the
3131

3232
.. contents:: **Table of Contents**
3333
:backlinks: none
34-
:depth: 3
34+
:depth: 2
3535

3636
.. sectnum::
3737

@@ -42,8 +42,17 @@ The following colour checker detection algorithms are implemented:
4242

4343
- Segmentation
4444

45+
Examples
46+
^^^^^^^^
47+
48+
Various usage examples are available from the
49+
`examples directory <https://github.com/colour-science/colour-checker-detection/tree/master/colour_checker_detection/examples>`__.
50+
51+
User Guide
52+
----------
53+
4554
Installation
46-
------------
55+
^^^^^^^^^^^^
4756

4857
Because of their size, the resources dependencies needed to run the various
4958
examples and unit tests are not provided within the Pypi package. They are
@@ -53,16 +62,16 @@ when cloning the
5362
`repository <https://github.com/colour-science/colour-checker-detection>`__.
5463

5564
Primary Dependencies
56-
^^^^^^^^^^^^^^^^^^^^
65+
~~~~~~~~~~~~~~~~~~~~
5766

5867
**Colour - Checker Detection** requires various dependencies in order to run:
5968

60-
- `python>=3.5 <https://www.python.org/download/releases/>`__
69+
- `python >= 3.8, < 4 <https://www.python.org/download/releases/>`__
6170
- `colour-science <https://pypi.org/project/colour-science/>`__
62-
- `opencv-python>=4 <https://pypi.org/project/opencv-python/>`__
71+
- `opencv-python >= 4, < 5 <https://pypi.org/project/opencv-python/>`__
6372

6473
Pypi
65-
^^^^
74+
~~~~
6675

6776
Once the dependencies are satisfied, **Colour - Checker Detection** can be installed from
6877
the `Python Package Index <http://pypi.python.org/pypi/colour-checker-detection>`__ by
@@ -74,35 +83,26 @@ The overall development dependencies are installed as follows::
7483

7584
pip install --user 'colour-checker-detection[development]'
7685

77-
Usage
78-
-----
79-
80-
API
81-
^^^
82-
83-
The main reference for `Colour - Checker Detection <https://github.com/colour-science/colour-checker-detection>`__
84-
is the `Colour - Checker Detection Manual <https://colour-checker-detection.readthedocs.io/en/latest/manual.html>`__.
85-
86-
Examples
87-
^^^^^^^^
88-
89-
Various usage examples are available from the
90-
`examples directory <https://github.com/colour-science/colour-checker-detection/tree/master/colour_checker_detection/examples>`__.
91-
9286
Contributing
93-
------------
87+
^^^^^^^^^^^^
9488

9589
If you would like to contribute to `Colour - Checker Detection <https://github.com/colour-science/colour-checker-detection>`__,
9690
please refer to the following `Contributing <https://www.colour-science.org/contributing/>`__
9791
guide for `Colour <https://github.com/colour-science/colour>`__.
9892

9993
Bibliography
100-
------------
94+
^^^^^^^^^^^^
10195

10296
The bibliography is available in the repository in
10397
`BibTeX <https://github.com/colour-science/colour-checker-detection/blob/develop/BIBLIOGRAPHY.bib>`__
10498
format.
10599

100+
API Reference
101+
-------------
102+
103+
The main technical reference `Colour - Checker Detection <https://github.com/colour-science/colour-checker-detection>`__
104+
is the `API Reference <https://colour-checker-detection.readthedocs.io/en/latest/reference.html>`__.
105+
106106
Code of Conduct
107107
---------------
108108

@@ -115,7 +115,6 @@ Contact & Social
115115
The *Colour Developers* can be reached via different means:
116116

117117
- `Email <mailto:colour-developers@colour-science.org>`__
118-
- `Discourse <https://colour-science.discourse.group/>`__
119118
- `Facebook <https://www.facebook.com/python.colour.science>`__
120119
- `Github Discussions <https://github.com/colour-science/colour-checker-detection/discussions>`__
121120
- `Gitter <https://gitter.im/colour-science/colour>`__
@@ -125,6 +124,6 @@ About
125124
-----
126125

127126
| **Colour - Checker Detection** by Colour Developers
128-
| Copyright © 2018-2021 – Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
127+
| Copyright 2018 Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
129128
| This software is released under terms of New BSD License: https://opensource.org/licenses/BSD-3-Clause
130129
| `https://github.com/colour-science/colour-checker-detection <https://github.com/colour-science/colour-checker-detection>`__

TODO.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ About
1818
-----
1919

2020
| **Colour - Checker Detection** by Colour Developers
21-
| Copyright © 2018-2021 – Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
21+
| Copyright 2018 Colour Developers – `colour-developers@colour-science.org <colour-developers@colour-science.org>`__
2222
| This software is released under terms of New BSD License: https://opensource.org/licenses/BSD-3-Clause
2323
| `https://github.com/colour-science/colour-checker-detection <https://github.com/colour-science/colour-checker-detection>`__

colour_checker_detection/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828

2929
__author__ = "Colour Developers"
30-
__copyright__ = "Copyright (C) 2018-2021 - Colour Developers"
30+
__copyright__ = "Copyright 2018 Colour Developers"
3131
__license__ = "New BSD License - https://opensource.org/licenses/BSD-3-Clause"
3232
__maintainer__ = "Colour Developers"
3333
__email__ = "colour-developers@colour-science.org"

colour_checker_detection/detection/segmentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
)
5454

5555
__author__ = "Colour Developers"
56-
__copyright__ = "Copyright (C) 2018-2021 - Colour Developers"
56+
__copyright__ = "Copyright 2018 Colour Developers"
5757
__license__ = "New BSD License - https://opensource.org/licenses/BSD-3-Clause"
5858
__maintainer__ = "Colour Developers"
5959
__email__ = "colour-developers@colour-science.org"
@@ -966,7 +966,7 @@ def detect_colour_checkers_segmentation(
966966
image: ArrayLike,
967967
samples: Integer = 16,
968968
additional_data: Boolean = False,
969-
**kwargs: Any
969+
**kwargs: Any,
970970
) -> Union[Tuple[ColourCheckerSwatchesData, ...], Tuple[NDArray, ...]]:
971971
"""
972972
Detect the colour checkers swatches in given image using segmentation.

colour_checker_detection/detection/tests/test_segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
)
3232

3333
__author__ = "Colour Developers"
34-
__copyright__ = "Copyright (C) 2018-2021 - Colour Developers"
34+
__copyright__ = "Copyright 2018 Colour Developers"
3535
__license__ = "New BSD License - https://opensource.org/licenses/BSD-3-Clause"
3636
__maintainer__ = "Colour Developers"
3737
__email__ = "colour-developers@colour-science.org"

0 commit comments

Comments
 (0)