Changes between Version 13 and Version 14 of json-annotation-format


Ignore:
Timestamp:
Jan 26, 2015, 6:20:22 PM (9 years ago)
Author:
casties
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • json-annotation-format

    v13 v14  
    5656  * linestring (coordinates: [list of x,y])
    5757
    58 Coordinates are specified in a "geometry" member. Coordinate units are specified in a "units" member.
     58Coordinates and coordinate units are specified in a "geometry" member.
    5959
    6060The coordinate unit "fraction" means that each coordinate is specified as a decimal fraction (float 0 <= x <= 1) of the image side length, e.g. x=0.03 means that x is at 3% of the total image width.
     
    6464"shapes" : [{
    6565  "type" : "rectangle",
    66   "units" : "fraction",
    6766  "geometry" : {
     67    "units" : "fraction",
    6868    "x" : 0.0123,
    6969    "y" : 0.345,
     
    7373  {
    7474  "type" : "polygon",
    75   "units" : "fraction",
    7675  "geometry" : {
     76    "units" : "fraction",
    7777    "coordinates" : [[0.0123, 0.345], [0.5793, 0.734], [0.237, 0.554]]
    7878  }