forked from matterport/Mask_RCNN
-
Notifications
You must be signed in to change notification settings - Fork 0
Annotation
Simon H edited this page Oct 9, 2018
·
3 revisions
Other than the original MaskRCNN the ROIs are not determined by the pixel coordinates but by geographical coordinates. To annotate ROIs with a specific disease, a GeoJson has to be defined with the respective coordinates. Each annotation has to be in a separate file. They are going to be collected in a FeatureCollection while querying for Sentinel products. The files are saved in datasets.
The ROI Polygon is wrapped in a Feature with additional properties:
| Property | Definition |
|---|---|
| disease | Id (as integer > 0) of the disease. The id needs to be included in datasets/crop-disease/diseases.json as key value pair. Key is the id and value is the name of the disease. |
| date | Date of the record, formated like yyyyMMdd, yyyy-MM-ddThh:mm:ss.SSSZ (ISO-8601) or yyyy-MM-ddThh:mm:ssZ
|
| incubation | possible time of incubation of the disease - will be used to determine a time frame to look for sentinel products ((date - incubation) to date), formated like DAY(S) (or HOUR(S), MONTH(S), etc.) where n is an integer >= 0
|
As written in RFC 7946 all GeoJson coordinates use WGS84. It doesn't need to be specified, since the crs member was removed from the GeoJson schema.
Example GeoJson:
{
"type": "Feature",
"properties": {
"disease": 1,
"incubation": "7DAYS",
"date": "2018-07-12T13:00:00Z",
"description": "Foliar diseases 2018"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
11.17271184667937,
44.5741222915042
],
[
11.17327573819044,
44.57500270977919
],
[
11.17314419840545,
44.57503617927283
],
[
11.17262296000765,
44.5741695802758
],
[
11.17271184667937,
44.5741222915042
]
]
]
}
}