How a colour gets measured
One Indian Peafowl, followed from its source photographs to a named colour, every step on the way, and where the method still falls short.
Ten stages take a species from a name to a published record. One command runs them in order, but each is its own job: it reads the draft, adds its part, and saves a checkpoint of what it read and what it wrote before handing the draft on. A run can pick up from any stage, so a change to how pattern is read does not mean downloading the photographs again.
This entry follows one bird through all ten, the Indian Peafowl, and shows what each stage produced for it. The pictures and numbers are from the run that built its published record, not a reconstruction of one. After that come the approaches that were tried and thrown away, and the places where the method still falls short, which is where you can help.
If you’re wondering why anyone would go to this much trouble over bird colours, here’s how it started.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S0Backbone ingest
- Takes
- A scientific name
- Writes
- GBIF's taxon key, the classification, common names, and the countries GBIF has records from
- Refuses
- A name GBIF can only match at a higher rank, such as a genus
The record is keyed on GBIF’s taxon key rather than on the name, so a later change of name cannot break it. GBIF also supplies the classification, up to forty common names (the one shown first is the one most of its sources use), and the countries it has occurrence records from. That last list is where the bird has been reported, zoo birds included, which is why the site says “recorded in” and never “native to”.
A name GBIF can only match at a higher rank is refused. Taking the genus instead would build a record out of whichever relatives an image search happened to return.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S1Image acquisition
- Takes
- Openly licensed images from iNaturalist and Wikimedia Commons
- Writes
- images[], each with its source, licence, capture date, camera and any sex its source annotated
- Refuses
- NC, ND and share-alike licences, images under 600 pixels on the short side, duplicates, frames a person struck out, and frames the screen reads as a specimen, a dead bird, a lone feather, a nest, a bird in a hand or a scene with no bird in it
iNaturalist is the main supply of photographs: research-grade observations, filtered for licence on its own servers, and often carrying a sex annotation from the observer or the community. Commons adds more photographs and the old hand-coloured plates.
Only CC0, CC BY and public-domain images are used. The data is CC0, and a share-alike source would force its licence onto everything made from it. For a well-photographed bird that rule costs a lot: 50 of the peafowl’s 197 candidates were refused on licence alone, and that only counts the ones that got far enough to be counted. iNaturalist’s filter runs before anything arrives.
A file has to show it is a photograph before its pixels can become colours, and the proof is the camera model in its EXIF data. A scan or a painting usually has none, so a file without one is treated as artwork: a fine base for a drawing, and measured for colour only when a group has no photograph at all, which the record then flags. 10 of the peafowl’s Commons files were set aside this way, among them plates after Joseph Wolf and Charles Knight.
A CLIP model then looks at each frame and scores it against short descriptions of what a picture might be: a live wild bird, a painted plate, a museum specimen, a dead bird, a single feather, an empty nest, a bird held in a hand, a patch of leaves and rocks with no animal in it. A frame that puts at least half its weight on any of the last six is refused, and one that reads as a painting goes to the plates. Up to thirty photographs and three plates are kept, with four places held for each annotated sex so that the rarer sex is not crowded out, and the rest chosen by how recent the photograph is and then by size.
- 197Candidates found
- 133Licence allows reuse
- 127At least 600 pixels on the short side
- 33Acquired: 30 photographs, 3 plates
- 26Outline kept
- 48Sources the record lists
Male · 19
Female · 12
Unattributed · 17
Photographs: Glynn Morris (CC BY), Afsar Nayakkan (CC BY), Aparna (CC BY), Devika M B (CC BY), Parth Kansara (CC BY), Mitul and Vijul Singh (CC BY), Jason Alexander (CC BY), no rights reserved (CC0), Meghaa (CC BY), Rhino909 (CC BY), haemanthus (CC BY), Fives (CC BY), Roberto Daniel Avila (CC BY), Laura Mae (CC BY), Alexis Lours (CC BY), Rohit Sharma (some additional editing by Cart) (CC BY), Bernard Spragg. NZ from Christchurch, New Zealand (CC0), Dan Johnson (CC BY), Shirley Zundell (CC BY), Elias (CC BY), Neha Patel (CC BY), zebedeugalinha (CC BY), linkie (CC BY), rashidchan (CC BY), Raja Sekhar Chimirala (CC BY), Surabhi Srivastava (CC BY), Brooke J. (CC BY), velodrome (CC BY), Navaneeth Sini George (CC BY), Patrick Connolly (CC BY), Bruno Peixoto (CC BY).
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S2Subject isolation
- Takes
- Each acquired image
- Writes
- A mask per image, the method that made it, and a confidence
- Refuses
- A bird under 3% of the frame, an outline the model is unsure of, and a cut-out that does not read as a bird
Everything after this stage works on pixels inside an outline, so this is where most of the damage a bad source can do is stopped. Photographs are outlined by BiRefNet, a saliency model, with u2netp as its fallback. Plates are outlined by flooding in from the paper at their edges, and an outline with a long straight run in it is refused, because that is a printed border and no animal has one. Where a person has drawn or approved an outline for a photograph, theirs replaces the model’s; 4 of the peafowl’s photographs have one.
Three checks follow. A bird that fills less than 3% of the frame is withheld, and so is an outline the model gives less than 0.25 confidence. Then the cut-out itself goes back to the CLIP model, which has to read it as a bird. Of the peafowl’s frames, 5 were withheld as too small, 1 for an unsure outline, and 1 because its cut-out read as something built, a wall or a fence, rather than a bird.
Photographs are not white-balanced. The camera balanced them already, and the usual correction assumes a scene averages out to grey, which a strongly coloured bird breaks: it greys out buff plumage and bleaches cream. Plates are the exception. Two centuries of yellowing paper is a real cast, and it is measured off the paper and removed.
Colour never trusts the exact edge of an outline, where bird and background blend. The mask is trimmed by two pixels first, and by more against a bright background, where light wraps around the feathers. Then up to 40,000 of the pixels left are sampled.
The frame
The outline
What is measured
- Outline by
- birefnet-general-lite
- Model confidence
- 0.92
- Bird’s share of the frame
- 37%
- Pixels inside the outline
- 165,244
- After trimming the edge
- 158,126
- Sampled for colour
- 40,000
Photograph: Jason Alexander, CC BY, 2023-04-01.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S3Colour extraction
- Takes
- The sampled pixels of every photograph, in OKLab
- Writes
- colours[]: hex, OKLab, coverage, prominence, the nearest Werner and Ridgway names, and the photographs behind each
- Refuses
- Clusters under 2% of the bird, colours only one photograph shows, and more than eight colours for one group
The pixels are converted to OKLab, a colour space built so that the distance between two colours matches how different they look. That is what makes clustering behave: in RGB, cluster boundaries fall where the numbers change rather than where a person would see a new colour.
Each photograph is clustered on its own first, with k-means. The number of clusters is set by how spread out the pixels are and how saturated the most saturated one is, up to eight, so a mostly dull bird with one vivid patch gets a cluster for the patch. A cluster whose pixels form a ring around its centre is split in two, a colour scattered thinly through greys is gathered into a cluster of its own, and anything under 2% of the bird is dropped. The photograph above gave 12 clusters.
k = 8 · 12 clusters above 2% · 97% of the bird
- #0F0E0D
- #222421
- #393E37
- #555D52
- #678776
- #0B6695
- #0E415C
- #75A899
- #83BFA7
- #A7D4C0
- #406655
- #2492B6
Then the photographs of one group vote. A group is one sex, when the two sexes’ palettes differ enough to be worth splitting, because pooling a peacock with a peahen would publish colours neither bird has. Clusters from different photographs join only if every pair of them is close enough, and never a colour with a grey. Each photograph gets one vote, and a colour needs two: one that only a single photograph shows is a lighting artefact until another photograph agrees. The 10 photographs of the male gave 23 colours between them, and 4 of those appeared in only one.
What survives is merged where two colours sit close together, and cut to the eight that matter most, with one place held back for the most saturated colour the cut would otherwise lose. What matters most is prominence rather than area: coverage, raised for saturation and, in families known for structural colour, for the spread of lightness that iridescence produces. Ranked by area alone, the peacock’s palette once led with a dark grey.
23 colours across 10 photographs · 19 seen twice or more · 4 seen once
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
- this photo
What the record publishes
- #262E2D
- #475149
- #777976
- #07213A
- #A2AAA2
- #1A3D61
- #586B51
- #26628D
Every colour is then named twice: from Werner’s Nomenclature of Colours, the vocabulary Darwin took on the Beagle, and from Ridgway’s Color Standards of 1912. The name is the nearest term the colour does not contradict, so a term called green is passed over for a colour that is not green, however close its swatch. The distance to each term is kept, because a name is a claim about an old book and a reader should be able to see how close the match is, and a colour too far from every term in a book gets no name from it rather than a wrong one.
| Colour | Covers | Prominence | Werner, 1814 | Ridgway, 1912 |
|---|---|---|---|---|
| #262E2D | 21.7% | 0.236 | Greenish Black (0.013) | Black (0.063) |
| #475149 | 15.6% | 0.179 | Blackish Grey (0.025) | Blackish Brown 3 (0.011) |
| #777976 | 11.7% | 0.138 | Bluish Grey (0.055) | Purplish Gray (0.010) |
| #07213A | 4.0% | 0.136 | Ink Black (0.050) | none close enough |
| #A2AAA2 | 8.8% | 0.104 | French Grey (0.012) | Gull Gray (0.012) |
| #1A3D61 | 6.2% | 0.079 | Prussian Blue (0.033) | Hortense Blue (0.032) |
| #586B51 | 6.0% | 0.071 | Olive Green (0.041) | Varley's Green (0.010) |
| #26628D | 2.8% | 0.042 | Berlin Blue (0.018) | Paris Blue (0.014) |
- a: green to red, left to right
- b: blue to yellow, bottom to top
- male dark21.7%
- male neutral15.6%
- male neutral11.7%
- male neutral8.8%
- male blue6.2%
- male green6.0%
- male iridescent blue4.0%
- male blue2.8%
The peafowl ends up with three palettes, not two. 8 of
its photographs carry no sex annotation. Rather than guess which bird each one shows, the
pipeline measures them as a group of their own, and since they may not all show the same
bird, it skips the vote for that group and publishes what the photographs show between
them, with morph-unresolved on the record to say so.
Every group also has fewer than twelve photographs. That number comes from a study of
citizen-science photographs, which found a species’ average colour stops getting more
precise at twelve to fourteen of them. It was measured a different way from ours, so it is
a target rather than a guarantee, and a group under it carries below-sample-plateau.
The peacock problem
Some of a peacock’s colour is structural: the blue of its neck comes from the shape of the feather rather than a pigment, and it changes with the angle it is seen from. A photograph records one angle and does not say which. So the pipeline cannot measure iridescence, and it does not pretend to.
What it does instead is flag it. In a family known for structural colour, and the peafowl’s is one, a saturated colour whose pixels span a wide range of lightness is marked iridescent, and three samples along its pixels are kept instead of one value. The site draws them as a ramp. The record’s provenance calls this what it is, a heuristic: it cannot tell a sheen that moves with the angle from ordinary shade on a glossy bird. For the peafowl the flag fell only on colours from the unattributed photographs; none of the male’s colours passed the test.
3 samples along the colour's pixels, ordered by hue
- #274E9B
- #074789
- #22627E
What the site draws: a ramp through the samples.
The same samples, averaged
#1B538C: one value for a colour that shifts, which is what a single hex for a structural colour always is.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S4Gradient synthesis
- Takes
- Each group's colours, and its photographs again
- Writes
- gradients[] as CSS in OKLab, Tailwind values and raw stops; where each colour sits on the body; a colour mesh; body regions
- Refuses
- A stop too close to the one before it to read as a separate band
Each group gets up to three gradients: every colour from darkest to lightest, the three that cover the most, and the three most saturated. Each iridescent colour gets its samples as a gradient of its own. The CSS interpolates in OKLab, because the browser’s default, sRGB, takes the middle of a gradient between two saturated colours through grey.
Every colour, darkest to lightest
- #07213A
- #262E2D
- #1A3D61
- #475149
- #26628D
- #586B51
- #777976
- #A2AAA2
The three that cover the most
- #262E2D
- #475149
- #777976
The three most saturated
- #07213A
- #1A3D61
- #26628D
Interpolated in OKLab
midpoint #6F8FA1
Interpolated in sRGB
midpoint #618C9C
From #AC9D75 to #167AC3, the two colours on this record whose hues are the furthest apart. The midpoints sit 0.021 apart in OKLab; the gap widens with the chroma of the ends, and this bird is a muted one.
A gradient is a summary, so the stage also keeps what it summarises. Every photograph of the group is used to find where each colour sits along the length of the body. The best outlined photograph is cut into a coarse grid of mean colours, and the record says how much of the colour variation across the bird a flat colour, a straight ramp and the grid each account for. Where the ramp accounts for little, a gradient is a summary the bird does not support, and for the male it accounts for very little.
- One flat colour
- 0.0%
- A straight ramp
- 2.8%
- This grid
- 10.3%
The same photograph is also split into parts by colour, so that pattern can be read part by
part. Those parts do not survive being compared with a second photograph of the same bird,
and the record carries regions-unstable to say so. The section below on what we
tried explains why that is hard to fix.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S5Pattern
- Takes
- The best outlined photograph of each group
- Writes
- patterns[]: the measurements, the words derived from them, and which colours are ground and which are markings
- Refuses
- Any word the measurements do not support
Pattern is measured, then named. The measurements: contrast, as the difference in lightness between the ground colour and the markings; how directional the pattern is, and at what angle to the body; how far apart its elements repeat, as a share of the body’s length; how much of the bird catches a highlight; and which colours touch which, read across every photograph of the group.
The words follow from thresholds. Contrast under 0.08 is solid. A directionality of 0.5 or more is striped, or banded if it runs across the body. Otherwise the repeat decides: under 0.035 of the body is speckled, under 0.12 spotted, anything wider mottled. Where no repeat is found at all, the pattern is mottled only if its contrast is high, and solid if not, because “we found no repeat” is not a measurement of mottling. Each part of the bird is read the same way and its words are added, except “solid”, because a plain patch on a patterned bird does not make the bird plain.
Some words are held back. The eyespot detector counts a peacock’s eyespots, but it counts a hummingbird’s pale-fringed feathers the same way, and nothing it measures tells the two apart. So the count is kept and “eyespot” is not said.
- Contrast, figure to ground
- 0.44
- Directionality
- 0.37
- Direction to the body
- -15°
- Repeat, share of the body
- 0.086
- Sheen
- 0.001
Ground
Markings
spottediridescentspeckled
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S6Form and geometry
- Takes
- The most confident outline of each group, not its pixels
- Writes
- geometry[]: symmetry, and self-similarity where the outline has any
- Refuses
- Outlines under 0.4 confidence, and anything a silhouette cannot show
This stage looks at the shape of the outline only. It scores left-right symmetry, radial symmetry of three to eight arms, and how the outline’s detail holds up across scales, and it publishes only what is informative. A smooth outline has a fractal dimension of about one with an excellent fit, which is true and useless, so it is left out.
For the peafowl all three groups come out as broken symmetry. A bird photographed at an angle rarely has a symmetric silhouette, so that says more about the photographs than about the bird. Spirals and branching are never filled in: feather tracts and veins are inside the outline, where a silhouette cannot see them.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S7Illustration
- Takes
- The best photograph of each group, and the record's colours
- Writes
- A colour plate and a line drawing for each group, marked as derived
- Refuses
- Anything not traced from the photograph
The plate is traced from a photograph. It used to be traced from the old hand-coloured plates, but a plate shows an engraver’s pigments after two centuries on paper, and a photograph shows the animal. The photograph chosen is the group’s most recent, then the clearest outline of a whole bird. The outline is found again on a crop around the bird, so that the detail goes into the bird rather than the leaves around it.
Every region of the drawing is the traced outline of a region in the photograph, and every fill is one of the record’s measured colours, so the plate and the palette beside it make the same claim. Each group gets its own plate. The one shown first is the group whose palette carries the most colour, measured as saturation times coverage, because choosing by date once put a peahen on the front of the Indian Peafowl. The drawings are CC BY-SA, with the photographer credited.
The photographThe plate
- The line drawing
Photograph: Rhino909, CC BY, 2025-05-24.
- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S8Draft emission
- Takes
- The assembled record
- Writes
- The record to data/, as a draft
- Refuses
- Anything that fails the schema, which goes to a quarantine folder with the reason, and a record built from stages that ran on different inputs
Every value the pipeline wrote is marked confidence: machine, and its provenance names the
method and the photographs behind it. A value a person has reviewed is never overwritten by
a later run; a machine value that gets replaced is kept, whole, in the provenance. The
record lists only the sources some published field was measured from. The same schema that
checks the record here is the one the site reads it with.
data/aves/phasianidae/pavo/pavo-cristatus.json · colours
{
"id": "male-2",
"label": "male blue",
"morph": "male",
"varieties": [],
"hex": "#26628D",
"oklab": [
0.4771,
-0.0413,
-0.0839
],
"coverage": 0.0281,
"prominence": 0.0423,
"iridescent": false,
"angle_samples": [],
"werner": {
"term": "Berlin Blue",
"delta": 0.0179,
"referent": "wing feathers of the jay"
},
"ridgway": {
"term": "Paris Blue",
"delta": 0.0137,
"referent": null
},
"described": "dark blue",
"placement": {
"axis": 0.691,
"lateral": 0.514,
"axis_spread": 0.482,
"images": 15
},
"confidence": "machine",
"provenance": {
"image_id": "inat-137413440,inat-264968925,inat-307026691,inat-366803381,inat-456299211,inat-602445493",
"method": "kmeans-oklab-complete-link-v5(photos,support=6/19)",
"extracted": "2026-09-27",
"superseded": "3 earlier machine values, kept whole"
}
}index/colours.json · one row of the search
{
"slug": "aves/phasianidae/pavo/pavo-cristatus",
"taxon_key": 9451184,
"name": "Pavo cristatus",
"colour_id": "male-2",
"morph": "male",
"varieties": [],
"hex": "#26628D",
"oklab": [
0.4771,
-0.0413,
-0.0839
],
"coverage": 0.0281,
"prominence": 0.0423,
"iridescent": false,
"werner": "Berlin Blue",
"ridgway": "Paris Blue"
}- S0Backbone
- S1Imagery
- S2Isolation
- S3Colour
- S4Gradients
- S5Pattern
- S6Form
- S7Drawing
- S8Emit
- S9Index
S9Index build
- Takes
- Every record
- Writes
- The static files the site's search reads
There is no server behind the search. Every colour in the atlas is one row in a static file, and a colour search is a nearest-neighbour search in OKLab over those rows, which is the last place the choice of colour space pays off: the search orders results by the distance a person sees.
One more stage runs after the index, over the whole atlas rather than one bird. S10 lays every group out by how alike their colours, body layouts and patterns are, for the affinity maps.
What we tried and threw away
That is the path that survived. The other half of the same work is everything that was built, tried against real birds, and taken out again.
They are written down because a rejected approach does not stay rejected on its own. Every one below is plausible - that is why it got built - and most of them ran, produced output, and looked fine. The expensive part was never the implementation. It was finding out what the output was hiding.
Each is marked in the code it would have lived in, with the string MEASURED AND REJECTED,
so the argument is next to the place someone would reintroduce it.
The gates that deleted the wrong birds
A backlit-silhouette test. Eight frames in the labelled set had exposure that destroyed the colour, and they share an obvious signature: low subject chroma against a much lighter background. Implemented as a gate it caught seven of them and deleted fourteen good photographs. It cannot work, and the reason is in the atlas - a low-chroma subject against a bright sky is also the correct exposure of a black bird, and this corpus holds Cephalopterus, Knipolegus and Phytotoma. Internal lightness span does no better: the silhouettes run 0.107–0.216 and the darkest genuine subjects 0.079–0.204. The ranges overlap because the two things are the same measurement.
Mask pixel count, for masks that caught more than the bird. The intuition is that a mask holding a bird plus a branch is somehow too big. It is exactly backwards: the rejects carry more mask pixels than the keeps do, because the failure is that the mask found something larger than the animal. No threshold on a quantity that moves the wrong way can separate them.
Both of those judgements now live with a person, in a reviewed reject list, which is the honest place for a call no measurement supports.
The metric that punished better data
Colour dimorphism decides whether a species publishes one palette or two. It was measured as the coverage-weighted mean of each colour’s nearest distance in the other sex’s palette - which sounds reasonable and has a defect that only appears once the corpus is well sampled: a nearest-neighbour distance can only shrink as the other palette grows.
So finding more colours on a bird made it look more like its mate. Topping the corpus up from a median of six photographs a species to sixteen took the number of species whose sexes split from five to two. Truncating the peacock’s own palette shows it directly:
| colours compared | measured dimorphism |
|---|---|
| top 3 each | 0.1619 |
| top 7 each | 0.0978 |
| all 8 / 7 | 0.0836 |
| after the corpus doubled | 0.0736 |
Below the gate, the peacock published a single palette holding both the male’s ultramarine and the hen’s sage green. It described neither animal.
The replacement measures the cost of moving one palette onto the other: colours match in coverage order, each match consumes the lesser coverage from both sides, and the leftover finds its next-nearest. A two-percent sliver of blue on the hen can no longer answer for forty percent of cobalt neck on the male - it pays for its own two percent and the rest has to go somewhere worse. Twenty-four of twenty-eight two-sex species split now, and the peahen has her own palette back.
Six ways of asking a model, and the two that worked
Vision models were brought in to catch what the automated screen misses - it scores a crop against a fixed list of nouns, so it can only refuse what somebody thought to name, and it passes a hand-coloured lithograph at 0.98 confidence because a drawing of a bird is bird-shaped.
Asking it to name the colours. Rejected on published evidence before it could cost us any of our own: on ColorBench (NeurIPS 2025), GPT-4o picks the right colour value 40.6% of the time from three to six choices, which is near chance. Every published hex in this atlas comes from pixels.
Asking a cut-out what kind of image it is. The pipeline cuts the subject out on flat
grey, and a bird isolated on flat grey is a museum study skin: one animal, neutral
ground, no context. Asked what it was looking at, the model called five live birds
specimen, three artwork and one dead - a myna on a wire, a hummingbird on its nest,
a jacobin at a red feeder. Given the published frame instead, the same model on the same
day got all twelve right and caught twelve known study skins and plates with no false
negatives, citing evidence that only exists outside the mask: a collection tag, a plate
border, feet gripping a wire.
That produced the rule the tooling now enforces rather than documents. Show the picture that carries the evidence for the question being asked - the cut-out for what did the mask take in, the whole frame for what kind of image is this.
Fixing a measurement problem in the prompt. Crops were letterboxed to a square on the
same grey the mask cuts out on, and the model counted the bars as part of the picture.
Saying so in the prompt - “the flat grey is background that has already been removed” -
put the word photograph in front of the model twice more, primed the
illustration-versus-photograph distinction, and it began calling ordinary photographs
artwork. Agreement fell by thirty points. The bars were a defect in the image, so they
were fixed in the image, and the prompt went back to what it was.
Asking a model where a bird’s parts are. This was the most promising idea in the whole programme, and the one most worth writing down. Regions come from clustering, and clustering has no concept of an animal: the same peacock decomposes into eight regions with the largest at 0.27 of the subject in one photograph and four with the largest at 0.81 in another. A model does have the concept - the throat is the throat in every photograph - so regions proposed by one should have been stable by construction.
Asked the same anatomical question of five photographs of one peacock, the naming
reproduces and the placement does not. beak, eye, crown and throat were named in
all five. The same named throat then measured #104353 in one photograph and #9A7B7B
in another - worst pairwise distance 0.421, against the 0.15 at which a box is called
misplaced. Only the eye agreed, and an eye is the easiest case there is.
The obvious mitigation fails too. Each proposed region carries the model’s own guess at
the colour there, so a box that lands on the wrong feathers measures something its author
did not predict. Keeping only the 29 of 60 regions whose measurement matched their own
prediction still left throat disagreeing at 0.227. That check finds a box whose placement
contradicts its expectation; it cannot find one where the box and the expectation are wrong
together. Put the throat box on the breast, predict breast-blue, and every check in the
system agrees with itself.
The thread running through all of it
Three separate experiments failed the same way.
A planted colour that is not on the bird - leaf green, on a peacock - was classified as “plumage, green neck feathers” by a model asked to check a palette. The cut-outs turned live birds into specimens and the model explained each one confidently. The region boxes landed on the wrong body part and predicted the colour of the part they landed on.
A model’s error is usually self-consistent. It is not noise; it is a coherent wrong answer that survives being asked about itself. So no test built out of a model’s own outputs will find that class of error - not a confidence score, not a second opinion from the same model, not an expectation it supplied itself. Only an independent measurement finds it, which is why every one of these was caught by a number from the pixels disagreeing with a sentence from the model.
The two uses that survived are the two where a model says something a measurement can check: is this photograph of a live wild animal, and did this mask take in something that is not the animal. Both propose; neither decides. The reviewed lists are the artefact, and a model that moves under us next month cannot take them with it.
Where it falls short, and where you can help
Everything above is the method doing what it was built to do. This is where it runs out, roughly in order of how much it matters, and what would move each one. Most of it needs somebody who knows birds, or owns a camera, more than somebody who writes code.
Nobody has checked the colours against the birds
Start with the uncomfortable one. We can’t yet tell you how accurate these colours are. The only calibrated reference we have is a set of museum measurements published by Cooney and colleagues in 2019: reflectance spectra from 55 specimens, one male per species. When we last ran the comparison, it shared thirteen species with the atlas, and only two of those had a male palette to hold it against. Two species is an anecdote, not an accuracy figure. And with no females in the set at all, nothing can check a peahen.
If you work with a collection or a spectrometer, reflectance measurements of any bird in the atlas, either sex, with a note of the specimen they came from, would do more for this project than anything else on this list.
The camera is the instrument, and nobody calibrated it
Every colour here is what a camera recorded: its white balance, that day’s light, and whatever the phone decided looked nice. The vote across photographs is the only defence, and its size is borrowed. Laitly and colleagues (2021) checked 9,441 citizen-science photographs of 537 species against museum spectrometry. A single photograph turned out to be a weak guide to a species’ colour, and the average of many stopped improving at twelve to fourteen. That is where the target of twelve comes from. But they measured a few points on each bird, not whole cut-outs clustered in OKLab, so nobody has shown that the number holds for this method.
Two things would move this. A convergence study on the pipeline itself - how far a palette moves as photographs are added, and where it settles - is well defined, open, and a good job for anyone with some statistics and a free weekend. And photographs with a grey card or a colour chart in the frame would give the pipeline something it has never had, a known colour to check a camera against. It can’t use them yet. They are what would make it worth teaching.
Photographs without a sex go unvoted
8 of the peafowl’s
photographs carry no sex annotation, so their colours go out without a vote, under
morph-unresolved. This is the cheapest fix on the list. On iNaturalist, anyone signed in can add a
sex annotation to an observation, and those annotations are exactly what the pipeline reads when it
gathers photographs. Mark a peacock as male there, and the next time the peafowl is rebuilt, his
photograph leaves the unattributed pile and joins the vote.
Too few photographs, and the licence is why
The peafowl is one of the most photographed birds alive, and every one of its groups sits under that target of twelve. The shortage is not photographs; it is licences. iNaturalist’s default licence is CC BY-NC, and the non-commercial clause is enough to keep a photograph out of CC0 data. If you post to iNaturalist, switching your default photo licence to CC BY or CC0 in your account settings makes every observation you upload a candidate here, and for any other open project that cannot touch NC.
Nothing can tell a throat from a breast yet
regions-unstable is on the peafowl and on most of the atlas. Regions come from
clustering, and asking a model where the parts are was the longest attempt at a fix, and it
failed for the reasons above. The honest possibility is that the flag is telling the truth:
a cluster of similar pixels is not a body part, and no amount of cleverness will make it
one. That would be worth knowing too.
What would settle it is anatomy a person drew. The repository has a review tool for
outlining a bird and marking its parts on the photographs the pipeline already uses, and
an approved review drives every measurement of that photograph from then on. It runs from a
clone of the repository (pnpm review:serve), not from the site, so for now it is for
anyone comfortable at a terminal.
The names come from approximate tables
The Werner and Ridgway names are only as good as our copies of the books, and our copies are rough. The Werner table transcribes 108 of the book’s 110 colours from circulating scans, not from the plates. The Ridgway table samples a scan of century-old ink, and even the swatch Ridgway called Black scans as a dark green-grey, so the darkest plumage has no Ridgway name at all. If you own either book or can get to a library copy, re-deriving the tables from a calibrated scan is a job one person could own outright, and it would sharpen every name on the site at once.
Some words wait for a better measurement
The eyespot detector cannot tell an ocellus from a fringed feather, so the count goes on the record and the word does not. Spirals and branching are never filled in, because they live inside the outline, where a silhouette cannot see. Both are open problems with a clear shape: something that separates an eyespot from a pale fringe, and a second outlining pass that looks inside the bird rather than around it.
Telling us something is wrong
You don’t need any of the above to fix a colour. Every page has a Report an error link in its footer, and every species page has one beside the list of what its record is short of. It files a public issue for you, with no account and no sign-up. Say which value is wrong and what makes it wrong; if you know the right one, say that too.
If you’re comfortable with JSON, correct the record itself: change the value, set its
confidence to reviewed, and open a pull request. A reviewed value is never overwritten
by a later run, and the machine value it replaced stays in the record’s history, so the
correction shows rather than disappears. The contributing guide
has the rest, including naming which part of the bird each colour is, which the machine can
only call male-2.
The pipeline gets a colour as far as a draft. Getting it right takes somebody who has actually looked at the bird.

















































