Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Batches

blob_home and data_root - storage location information

batch_id - unique batch identifier

upload_datetime - when image were uploaded to “uploads” blob storage

image_list - list of images contained in a single batch folder

schema_version - version of data schema used for organizing metadata

Code Block
languagejson
{
    "blob_home": "data",
    "data_root": "semifield-developed-images",
    "batch_id": "NC_2022-08-05",
    "upload_datetime": "2022-08-19_21:28:37",
    "image_list": [
        "images/NC_1659710908.jpg",
        "images/NC_1659711200.jpg",
        "images/NC_1659706234.jpg",
        ...
        "images/NC_1659709264.jpg",
        "images/NC_1659715086.jpg",
        "images/NC_1659706245.jpg"
        ],
    "schema_version": "1.0"
}

Images

Images - general

blob_home and data_root - storage location information

batch_id - unique batch identifier

image_id - unique image id comprised of state abbreviation and UNIX timestamp

image_path - Image filename with a single parent directory

plant_date - plant date for entire batch. Does not account for replantings.

growth_stage - estimated growth stage based on planting date

width and height - image height and width in pixels. May be downscaled as a result of autosfm; however, image in the “images”directory are full sized images. See fullres_width and fullres_height

fullres_height

fullres_width

fullres_width

Code Block
languagejson
{
    "blob_home": "data",
    "data_root": "semifield-developed-images",
    "batch_id": "NC_2022-07-27",
    "image_id": "NC_1658926241",
    "image_path": "images/NC_1658926241.jpg",
    "plant_date": "2022-06-09",
    "growth_stage": "vegetative",
    "width": 4780,
    "height": 3184,
    
    ...
    
    "fullres_height": 6368,
    "fullres_width": 9560,
    "schema_version": "1.0"
}


Images - Exif

Uses Exif-Py

pip install exifread

Technical tag information can be found here

Code Block
languagejson
    "exif_meta": {
        "ImageWidth": 9560,
        "ImageLength": 6368,
        "BitsPerSample": 8,
        "Compression": 1,
        "PhotometricInterpretation": 2,
        "Make": "SONY",
        "Model": "ILCE-7RM4",
        "Orientation": 1,
        "SamplesPerPixel": 3,
        "XResolution": "300",
        "YResolution": "300",
        "PlanarConfiguration": 1,
        "ResolutionUnit": 2,
        "Software": "RawTherapee 5.8",
        "DateTime": "2022:07:27 08:49:15",
        "Rating": 0,
        "ExifOffset": 4449,
        "ExposureTime": "1/200",
        "FNumber": "10",
        "ExposureProgram": 1,
        "ISOSpeedRatings": 100,
        "RecommendedExposureIndex": 100,
        "ExifVersion": [
            48,
            50,
            51,
            49
        ],
        "DateTimeOriginal": "2022:07:27 08:49:15",
        "DateTimeDigitized": "2022:07:27 08:49:15",
        "BrightnessValue": "9207/1280",
        "ExposureBiasValue": "0",
        "MaxApertureValue": "217/128",
        "MeteringMode": 5,
        "LightSource": 0,
        "Flash": 16,
        "FocalLength": "55",
        "FileSource": 3,
        "SceneType": 1,
        "CustomRendered": 0,
        "ExposureMode": 1,
        "WhiteBalance": 0,
        "DigitalZoomRatio": "1",
        "FocalLengthIn35mmFilm": 55,
        "SceneCaptureType": 0,
        "Contrast": 0,
        "Saturation": 0,
        "Sharpness": 0,
        "LensSpecification": [
            "55",
            "55",
            "9/5",
            "9/5"
        ],
        "LensModel": "FE 55mm F1.8 ZA",
        "BodySerialNumber": null,
        "MakerNote": null,
        "ImageDescription": " ",
        "UserComment": null,
        "ApplicationNotes": null,
        "Tag": null,
        "SubIFDs": 4450
    }

Images - camera info

camera_info

camera_location

pixel_width & pixel_height

yaw, pitch, roll

focal_length

fov

is_scaleable

Code Block
languagejson
"camera_info": {
                  "camera_location": [
                      -0.1992725638544925,
                      9.926811159768054,
                      2.130928709515993
         
                            ],
        "pixel_width": 0.0075333198937023,
        "pixel_widthheight": 0.0075333198937023,
        "yaw": 183.89777711639093,
        "pixel_heightpitch": 0-2.00753331989370233366362127596525,
        "roll": 0.7135915032770658,
        "yawfocal_length": 1838747.8977771163909380961719926,
        "fov": {
          "pitch    "top_left": [
-2.3366362127596525,                   "roll": -0.71359150327706588064812117393512,
                  "focal_length": 8747.80961719926,  10.27414293412319
              ],
   "fov": {            "top_right": [
          "top_left": [         0.3552128560424488,
                 -0.8064812117393512,   10.353294011316107
              ],
        10.27414293412319      "bottom_left": [
               ],     -0.7537579837514339,
                 "top_right": [  9.50032830822
              ],
         0.3552128560424488,     "bottom_right": [
                    100.3532940113161074079360840303661,
                    9.579479385412917
      ],        ],
              "bottomis_leftscaleable": [true
                }
         -0.7537579837514339,     }

Images - cutouts

cutout_ids

Code Block
languagejson
"cutout_ids": [
                "NC_1658926241_0",
   9.50032830822             "NC_1658926241_1",
         ],       "NC_1658926241_2",
                "bottomNC_1658926241_right3":
[              ]

Images - bounding boxes

bbox_id

image_id

local_centroid

local_coordinates

is_scaleable

global_centroid

global_coordinates

Code Block
languagejson
"bboxes": [
           0.4079360840303661, {
                "bbox_id": "NC_1658926241_0",
        9.579479385412917      "image_id": "NC_1658926241",
              "local_centroid": [
 ],                 0.7247684299945831,
     "is_scaleable": true            0.782112181186676
              }],
              }

Images - cutouts

cutout_ids

Code Block
languagejson
"cutout_ids"local_coordinates": {
                  "top_left": [
                "NC_1658926241_0",      4559.100573062897,
          "NC_1658926241_1",            3592.980739593506
    "NC_1658926241_2",              ],
  "NC_1658926241_3"               ]

Images - bounding boxes

bbox_id

image_id

local_centroid

local_coordinates

is_scaleable

global_centroid

global_coordinates

Code Block
languagejson
"bboxes "top_right": [
            {          9298.47180843353,
     "bbox_id": "NC_1658926241_0",                 "image_id": "NC_1658926241",3592.980739593506
                 "local_centroid": [ ],
                  0.7247684299945831,
"bottom_left": [
                 0.782112181186676     4559.100573062897,
         ],             6368.0
 "local_coordinates": {                ],
  "top_left": [               "bottom_right": [
      4559.100573062897                9298.47180843353,
                      35926368.9807395935060
                  ],
                  "topis_rightscaleable": [true
                      9298.47180843353,              },
        3592.980739593506      "global_centroid": [
           ],       -0.3805987383493097,
           "bottom_left": [      10.21634506227248
                4559.100573062897],

                "global_coordinates": {
    6368.0              "top_left": [
   ],                   "bottom_right": [-0.1245738268094071,
                      929810.47180843353,015139374543459
                  ],
   6368.0               "top_right": [
  ],                   "is_scaleable": true -0.7303918468219674,
                      10.11728321515172
             },     ],
         "global_centroid         "bottom_left": [
                      -0.380598738349309707889030276824338,
                  10.21634506227248    10.4175507500015
          ],               "global_coordinates": {],
                  "topbottom_leftright": [
                      -0.1245738268094071682307173930376,
                      10.015139374543459458062046757698
                  ],
                  "topis_rightscaleable": [true
                      -0.7303918468219674,                }
      10.11728321515172        }
          ],

Image - species

Code Block
languagejson
"cls": {
        "scientific_name": "Amaranthus palmeri",
        "bottomcommon_leftname": ["Palmer amaranth",
        "USDA_symbol": "AMPA",
           -0.07889030276824338"EPPO": "AMAPA",
        "authority": "Watson",
            10.4175507500015
                  ],
                  "bottom_right": [
                      -0.682307173930376,
                      10.458062046757698
                  ],
                  "is_scaleable": true
                                      }
              }
          ]

Image - species

Code Block
"cls": {
        "scientific_name": "Amaranthus palmeri",
        "common_name": "Palmer amaranth",
        "USDA_symbol": "AMPA",
        "EPPO": "AMAPA",
        "authority": "Watson",
        ""collection_location": "NC",
        "polygon_id": ""
        }

Cutouts

Cutouts -

origin

general

Code Block
languagejson
{
    "blob_home": "data",
    "data_root": "semifield-cutouts",
    "batch_id": "NC_2022-08-05",
    "image_id": "NC_1659703400",
    "cutout_id": "NC_1659703400_0",
    "cutout_path": "NC_2022-08-05/NC_1659703400_0.png",
    "cls": {
        "scientific_name": "Amaranthus palmeri",
        "common_name": "Palmer amaranth",
   cutout_num": 0,
    "USDAis_symbolprimary": "AMPA"false,
        "EPPOdatetime": "AMAPA2022:08:05 08:41:41",
    "extends_border": true,
    "authoritycutout_version": "Watson1.0",
    "schema_version":    "collection_location": "NC","1.0"
}

Cutouts - properties

Code Block
languagejson
"cutout_props": {
        "
polygon_id
area": 
""
28153.0,
    
},
    
"
cutout
area_
num
bbox": 95480.0,
        "
is
area_
primary
convex": 
false
50539.0,
    
"datetime":
 
"2022:08:05
 
08:41:41",
  
"cutout_props": {
"axis_major_length": 248.60737102397786,
        
"
area
axis_minor_length": 
28153
212.
0
34307812840584,
        "
area_bbox
centroid0": 
95480
156.
0
52289276453664,
        "
area_convex
centroid1": 
50539
184.
0
76936738535858,
        "
axis_major_length
eccentricity": 
248
0.
60737102397786
5200591323747853,
        "
axis_minor_length
solidity": 
212
0.
34307812840584
5570549476641802,
        "
centroid0
perimeter": 
156
1873.
52289276453664
559666716433,
        "
centroid1
is_green": 
184.76936738535858,
true,
        "green_sum": 17637
    
"eccentricity
},

Cutouts - species

Code Block
languagejson
"cls": 
0.5200591323747853,
{
        "
solidity
scientific_name":
0.5570549476641802
 "Amaranthus palmeri",
        "
perimeter
common_name":
1873.559666716433
 "Palmer amaranth",
        "
is
USDA_
green
symbol": 
true
"AMPA",
        "
green_sum
EPPO": 
17637
"AMAPA",
   
},
     "
extends_border
authority": 
true
"Watson",
        "
cutout
collection_
version
location": "
1.0
NC",
        "
schema
polygon_
version
id": "
1.0"
"
    },

Cutouts -

properties

contours

Code Block
Cutouts - speciescode
language
json

Cutouts - contours

code
"contours": {
        
    },