-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WeedCOCO category names are now a combination of role and species (#84)
* WeedCOCO category names are now a combination of role and species Fixes #83 Fixes #57 Helps towards specifying categories in importers (#33, #34) * Pattern in quotes * Allow space in species name * Avoid changing timestamp. * Try tweak pattern. NFI why it's failing to match 'weed: chinee apple' * use scientific species names * debugging * More attempts to make CI happy
- Loading branch information
Showing
7 changed files
with
70 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
$id: https://weedid.sydney.edu.au/schema/Category.json | ||
type: object | ||
required: | ||
- id | ||
- name | ||
|
||
properties: | ||
id: | ||
type: number | ||
description: |- | ||
A number identifying the image. | ||
name: | ||
type: string | ||
pattern: "^((crop|weed): ([a-z][a-z ]+|UNSPECIFIED)|crop|weed|none)$" | ||
description: |- | ||
A category for an annotation, consisting of an agricultural role and | ||
optionally a biological name, separated by ": ". Currently allowed | ||
agricultural roles are "weed" and "crop". The "none" category may be | ||
used to indicate that no weed or crop is identified in the image. | ||
Annotations should be labelled with the most specific category possible, | ||
usually "weed: <species name>", but super categories may be more general. | ||
Biological names should be lowercase. | ||
For an unspecified species of weed, "weed: UNSPECIFIED" may be used. | ||
For example, to label an oat crop in an image, the category name would be | ||
"crop: avena sativa". Its super categories may include "crop: grasses" | ||
and "crop". Oats as a volunteer crop would be "weed: avena sativa". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters