{
  "id": 241618,
  "title": "Bounding box and coordinates in labels mismatch",
  "url": "/competitions/siim-covid19-detection/discussion/241618",
  "author_name": "",
  "post_date": "2021-05-25T10:54:51.886273600Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I assumed that the boxes and label values were according to the structure below, but after going though a few samples I found that the <code>width</code> and <code>height</code> values in boxes and label do not match.</p>\n<p>boxes - {'x': value , 'y': value , 'width': value , 'height': value }<br>\nlabel - [opacity, confidence, x, y, width, height]</p>\n<p>The following values are for image id <code>000a312787f2_image</code><br>\n<img src=\"https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/9e78e526-c8a0-4a69-b187-cc74eed452d1/dek9v18-b07165d9-eff0-4b8f-908f-f3cdda4599cf.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzllNzhlNTI2LWM4YTAtNGE2OS1iMTg3LWNjNzRlZWQ0NTJkMVwvZGVrOXYxOC1iMDcxNjVkOS1lZmYwLTRiOGYtOTA4Zi1mM2NkZGE0NTk5Y2YucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.Cp0MvR7HDCHdDg7I1G5ela_TEcLspqKYnTirHrNGT_8\" alt=\"\"><br>\nYou can see that while the <code>x</code> and <code>y</code> values match the label x and y exactly, the <code>width</code> and <code>height</code> values don't match at all. I would be grateful if someone could provide some additional details so I can understand this better.</p>",
  "messages": [
    {
      "id": "1322304",
      "postDate": "05/25/2021 10:54:51",
      "content": "<p>I assumed that the boxes and label values were according to the structure below, but after going though a few samples I found that the <code>width</code> and <code>height</code> values in boxes and label do not match.</p>\n<p>boxes - {'x': value , 'y': value , 'width': value , 'height': value }<br>\nlabel - [opacity, confidence, x, y, width, height]</p>\n<p>The following values are for image id <code>000a312787f2_image</code><br>\n<img src=\"https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/9e78e526-c8a0-4a69-b187-cc74eed452d1/dek9v18-b07165d9-eff0-4b8f-908f-f3cdda4599cf.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzllNzhlNTI2LWM4YTAtNGE2OS1iMTg3LWNjNzRlZWQ0NTJkMVwvZGVrOXYxOC1iMDcxNjVkOS1lZmYwLTRiOGYtOTA4Zi1mM2NkZGE0NTk5Y2YucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.Cp0MvR7HDCHdDg7I1G5ela_TEcLspqKYnTirHrNGT_8\" alt=\"\"><br>\nYou can see that while the <code>x</code> and <code>y</code> values match the label x and y exactly, the <code>width</code> and <code>height</code> values don't match at all. I would be grateful if someone could provide some additional details so I can understand this better.</p>",
      "rawMarkdown": "I assumed that the boxes and label values were according to the structure below, but after going though a few samples I found that the `width` and `height` values in boxes and label do not match.\n\nboxes - {'x': value , 'y': value , 'width': value , 'height': value }\nlabel - [opacity, confidence, x, y, width, height]\n\nThe following values are for image id `000a312787f2_image`\n![](https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/9e78e526-c8a0-4a69-b187-cc74eed452d1/dek9v18-b07165d9-eff0-4b8f-908f-f3cdda4599cf.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzllNzhlNTI2LWM4YTAtNGE2OS1iMTg3LWNjNzRlZWQ0NTJkMVwvZGVrOXYxOC1iMDcxNjVkOS1lZmYwLTRiOGYtOTA4Zi1mM2NkZGE0NTk5Y2YucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.Cp0MvR7HDCHdDg7I1G5ela_TEcLspqKYnTirHrNGT_8)\nYou can see that while the `x` and `y` values match the label x and y exactly, the `width` and `height` values don't match at all. I would be grateful if someone could provide some additional details so I can understand this better.",
      "votes": null
    },
    {
      "id": "1322317",
      "postDate": "05/25/2021 11:13:28",
      "content": "<p>bbox: xmin, ymin, width, height<br>\nlabel: xmin, ymin, xmax, ymax<br>\nxmax = xmin + width<br>\nymax = ymin + height</p>",
      "rawMarkdown": "bbox: xmin, ymin, width, height\nlabel: xmin, ymin, xmax, ymax\nxmax = xmin + width\nymax = ymin + height",
      "votes": null
    },
    {
      "id": "1322324",
      "postDate": "05/25/2021 11:19:50",
      "content": "<p>Thank you <a href=\"https://www.kaggle.com/drtausamaru\" target=\"_blank\">@drtausamaru</a> for the clarification</p>",
      "rawMarkdown": "Thank you @drtausamaru for the clarification",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1322317,
      "author_name": "drtausamaru",
      "author_url": "",
      "post_date": "05/25/2021 11:13:28",
      "content": "<p>bbox: xmin, ymin, width, height<br>\nlabel: xmin, ymin, xmax, ymax<br>\nxmax = xmin + width<br>\nymax = ymin + height</p>",
      "votes": null,
      "replies": [
        {
          "id": 1322324,
          "author_name": "yovinyahathugoda",
          "author_url": "",
          "post_date": "05/25/2021 11:19:50",
          "content": "<p>Thank you <a href=\"https://www.kaggle.com/drtausamaru\" target=\"_blank\">@drtausamaru</a> for the clarification</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1322304": "I assumed that the boxes and label values were according to the structure below, but after going though a few samples I found that the `width` and `height` values in boxes and label do not match.\n\nboxes - {'x': value , 'y': value , 'width': value , 'height': value }\nlabel - [opacity, confidence, x, y, width, height]\n\nThe following values are for image id `000a312787f2_image`\n![](https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/9e78e526-c8a0-4a69-b187-cc74eed452d1/dek9v18-b07165d9-eff0-4b8f-908f-f3cdda4599cf.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzllNzhlNTI2LWM4YTAtNGE2OS1iMTg3LWNjNzRlZWQ0NTJkMVwvZGVrOXYxOC1iMDcxNjVkOS1lZmYwLTRiOGYtOTA4Zi1mM2NkZGE0NTk5Y2YucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.Cp0MvR7HDCHdDg7I1G5ela_TEcLspqKYnTirHrNGT_8)\nYou can see that while the `x` and `y` values match the label x and y exactly, the `width` and `height` values don't match at all. I would be grateful if someone could provide some additional details so I can understand this better.",
    "1322317": "bbox: xmin, ymin, width, height\nlabel: xmin, ymin, xmax, ymax\nxmax = xmin + width\nymax = ymin + height",
    "1322324": "Thank you @drtausamaru for the clarification"
  },
  "source": "meta"
}