Drop the light column and rename chaff to pollution
Browse files- README.md +21 -23
- data/test/metadata.jsonl +0 -0
README.md
CHANGED
|
@@ -39,13 +39,13 @@ protocol is built around label correctness.
|
|
| 39 |
| Images with point annotations | 193 |
|
| 40 |
| Splits | test: 131, train: 728 |
|
| 41 |
|
| 42 |
-
| Session | Species | Lot |
|
| 43 |
-
|---|---|---|---|---|---|---|---|
|
| 44 |
-
| S01 | rye-w | rye-w-A |
|
| 45 |
-
| S02 | oats-s | oats-s-A |
|
| 46 |
-
| S03 | barley-w | barley-w-A |
|
| 47 |
-
| S04 | wheat-w | wheat-w-A |
|
| 48 |
-
| S05 | durum-w | durum-w-A |
|
| 49 |
|
| 50 |
## Fields
|
| 51 |
|
|
@@ -57,8 +57,7 @@ protocol is built around label correctness.
|
|
| 57 |
| `session`, `step`, `take` | Session ID, card number within the session, and re-shoot number after a REDO. |
|
| 58 |
| `species` | `rye-w` winter rye, `durum-w` winter durum wheat, `barley-w` winter barley, `oats-s` spring oats, `wheat-w` winter soft wheat. |
|
| 59 |
| `lot` | Seed lot the kernels come from. |
|
| 60 |
-
| `
|
| 61 |
-
| `chaff` | `none`, `light` or `heavy`: amount of chaff, awns and broken kernels mixed in. **Never counted.** |
|
| 62 |
| `camera` | Camera model from EXIF. |
|
| 63 |
| `taken_at` | Capture time from EXIF (camera clock, no time zone). |
|
| 64 |
| `raw_file` | Path of the original raw file in this repo (`raw/…`) if the photo was shot as DNG; else empty. |
|
|
@@ -78,9 +77,9 @@ oats count with their husk. Twins count as two kernels.
|
|
| 78 |
**Never counts:** broken kernels; chaff, straw and awns; foreign seeds, dust and stones.
|
| 79 |
Borderline cases were sorted out rather than judged, to keep the count exact.
|
| 80 |
|
| 81 |
-
**
|
| 82 |
-
deliberately contain them as noise (`
|
| 83 |
-
`count`.
|
| 84 |
|
| 85 |
### Materials
|
| 86 |
|
|
@@ -90,7 +89,7 @@ deliberately contain them as noise (`chaff` = `light` or `heavy`). They are neve
|
|
| 90 |
|
| 91 |
### Procedure
|
| 92 |
|
| 93 |
-
Each session covers one species, one seed lot
|
| 94 |
follows a pre-generated plan of about 30 session cards. Each card carries a QR code and
|
| 95 |
states the new total and what to add or remove (`add 17`, `remove 12`, `add 1 cup + 9`).
|
| 96 |
|
|
@@ -110,22 +109,21 @@ the number on the current card, and the card and the layout are photographed aga
|
|
| 110 |
|
| 111 |
### Variation between sessions
|
| 112 |
|
| 113 |
-
|
| 114 |
-
the table above) and backgrounds (table, mat, tray, floor).
|
| 115 |
|
| 116 |
### Sessions
|
| 117 |
|
| 118 |
-
- **S01:** winter rye (`rye-w-A`),
|
| 119 |
2026-09-15/16.
|
| 120 |
-
- **S02:** spring oats (`oats-s-A`),
|
| 121 |
2026-10-02.
|
| 122 |
-
- **S03:** winter barley (`barley-w-A`),
|
| 123 |
iPhone 8 and Galaxy Tab S6 Lite; shot over three days, 2026-09-16 to 09-21.
|
| 124 |
-
- **S04:** winter soft wheat (`wheat-w-A`),
|
| 125 |
S6 Lite; 2026-10-15. Test data. The tablet missed or misdated the photos of cards 0, 3, 8,
|
| 126 |
14 and 15; its photos of those layouts were placed on the card by hand and checked
|
| 127 |
against the Pixel photos.
|
| 128 |
-
- **S05:** winter durum wheat (`durum-w-A`),
|
| 129 |
DNG) and iPhone 8; 2026-10-15.
|
| 130 |
|
| 131 |
### Labelling
|
|
@@ -176,8 +174,8 @@ a kernel was missed or lies at the edge of the frame. `count` stays the label.
|
|
| 176 |
## Known limitations
|
| 177 |
|
| 178 |
- Only the species and lots in the table above so far.
|
| 179 |
-
- Some sessions contain
|
| 180 |
-
|
| 181 |
|
| 182 |
## Contributing
|
| 183 |
|
|
@@ -187,7 +185,7 @@ here is generated by the export script from reviewed labels; photos without a
|
|
| 187 |
[project repository](https://github.com/SmartFarmingLab/corn1000) (private, access on
|
| 188 |
request from the Smart Farming Lab).
|
| 189 |
|
| 190 |
-
1. **Plan:** `tools/plan_session.py <SESSION> --species … --lot … --
|
| 191 |
writes `sessions/<SESSION>/plan.json` and the cards to print. Keep `plan.json`: it is
|
| 192 |
the reference the labels are checked against.
|
| 193 |
2. **Shoot** the session as described under [Procedure](#procedure).
|
|
|
|
| 39 |
| Images with point annotations | 193 |
|
| 40 |
| Splits | test: 131, train: 728 |
|
| 41 |
|
| 42 |
+
| Session | Species | Lot | Pollution | Cameras | Images | Arrangements | Kernels |
|
| 43 |
+
|---|---|---|---|---|---|---|---|
|
| 44 |
+
| S01 | rye-w | rye-w-A | light | Galaxy S23, iPhone 8 | 108 | 27 | 274–787 |
|
| 45 |
+
| S02 | oats-s | oats-s-A | none | Galaxy S23, iPhone 8 | 124 | 31 | 240–798 |
|
| 46 |
+
| S03 | barley-w | barley-w-A | light | Galaxy S23, Galaxy Tab S6 Lite, iPhone 8 | 231 | 28 | 225–733 |
|
| 47 |
+
| S04 | wheat-w | wheat-w-A | light | Galaxy Tab S6 Lite, Pixel 9 | 131 | 33 | 170–800 |
|
| 48 |
+
| S05 | durum-w | durum-w-A | light | Galaxy S23, iPhone 8 | 265 | 31 | 230–782 |
|
| 49 |
|
| 50 |
## Fields
|
| 51 |
|
|
|
|
| 57 |
| `session`, `step`, `take` | Session ID, card number within the session, and re-shoot number after a REDO. |
|
| 58 |
| `species` | `rye-w` winter rye, `durum-w` winter durum wheat, `barley-w` winter barley, `oats-s` spring oats, `wheat-w` winter soft wheat. |
|
| 59 |
| `lot` | Seed lot the kernels come from. |
|
| 60 |
+
| `pollution` | `none`, `light` or `heavy`: amount of chaff, awns, broken kernels, pebbles, dust or office materials mixed in. **Never counted.** |
|
|
|
|
| 61 |
| `camera` | Camera model from EXIF. |
|
| 62 |
| `taken_at` | Capture time from EXIF (camera clock, no time zone). |
|
| 63 |
| `raw_file` | Path of the original raw file in this repo (`raw/…`) if the photo was shot as DNG; else empty. |
|
|
|
|
| 77 |
**Never counts:** broken kernels; chaff, straw and awns; foreign seeds, dust and stones.
|
| 78 |
Borderline cases were sorted out rather than judged, to keep the count exact.
|
| 79 |
|
| 80 |
+
**Pollution in the data:** chaff, awns, broken kernels, pebbles, dust or office materials will
|
| 81 |
+
occur in the use case, so some sessions deliberately contain them as noise (`pollution` =
|
| 82 |
+
`light` or `heavy`). They are never part of `count`.
|
| 83 |
|
| 84 |
### Materials
|
| 85 |
|
|
|
|
| 89 |
|
| 90 |
### Procedure
|
| 91 |
|
| 92 |
+
Each session covers one species, one seed lot and one pollution level, and
|
| 93 |
follows a pre-generated plan of about 30 session cards. Each card carries a QR code and
|
| 94 |
states the new total and what to add or remove (`add 17`, `remove 12`, `add 1 cup + 9`).
|
| 95 |
|
|
|
|
| 109 |
|
| 110 |
### Variation between sessions
|
| 111 |
|
| 112 |
+
Phones (see the table above) and backgrounds (table, mat, tray, floor).
|
|
|
|
| 113 |
|
| 114 |
### Sessions
|
| 115 |
|
| 116 |
+
- **S01:** winter rye (`rye-w-A`), lightly polluted; Galaxy S23 and iPhone 8;
|
| 117 |
2026-09-15/16.
|
| 118 |
+
- **S02:** spring oats (`oats-s-A`), not polluted; Galaxy S23 and iPhone 8;
|
| 119 |
2026-10-02.
|
| 120 |
+
- **S03:** winter barley (`barley-w-A`), lightly polluted; Galaxy S23 (shot as DNG),
|
| 121 |
iPhone 8 and Galaxy Tab S6 Lite; shot over three days, 2026-09-16 to 09-21.
|
| 122 |
+
- **S04:** winter soft wheat (`wheat-w-A`), lightly polluted; Pixel 9 and Galaxy Tab
|
| 123 |
S6 Lite; 2026-10-15. Test data. The tablet missed or misdated the photos of cards 0, 3, 8,
|
| 124 |
14 and 15; its photos of those layouts were placed on the card by hand and checked
|
| 125 |
against the Pixel photos.
|
| 126 |
+
- **S05:** winter durum wheat (`durum-w-A`), lightly polluted; Galaxy S23 (shot as
|
| 127 |
DNG) and iPhone 8; 2026-10-15.
|
| 128 |
|
| 129 |
### Labelling
|
|
|
|
| 174 |
## Known limitations
|
| 175 |
|
| 176 |
- Only the species and lots in the table above so far.
|
| 177 |
+
- Some sessions contain pollution (`pollution` ≠ `none`). It is visible in the photos and
|
| 178 |
+
deliberately not part of the count.
|
| 179 |
|
| 180 |
## Contributing
|
| 181 |
|
|
|
|
| 185 |
[project repository](https://github.com/SmartFarmingLab/corn1000) (private, access on
|
| 186 |
request from the Smart Farming Lab).
|
| 187 |
|
| 188 |
+
1. **Plan:** `tools/plan_session.py <SESSION> --species … --lot … --pollution …`
|
| 189 |
writes `sessions/<SESSION>/plan.json` and the cards to print. Keep `plan.json`: it is
|
| 190 |
the reference the labels are checked against.
|
| 191 |
2. **Shoot** the session as described under [Procedure](#procedure).
|
data/test/metadata.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|