{
  "id": 198785,
  "title": "Which is the RGB order?",
  "url": "/competitions/hubmap-kidney-segmentation/discussion/198785",
  "author_name": "",
  "post_date": "2020-11-23T03:34:35.421076200Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I know it's a stupid question… But I really don't know</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2164736%2F515a96bb704505eb11f8c8e6fd8e46b2%2F_20201123113403.png?generation=1606102465788604&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "1087733",
      "postDate": "11/23/2020 03:34:35",
      "content": "<p>I know it's a stupid question… But I really don't know</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2164736%2F515a96bb704505eb11f8c8e6fd8e46b2%2F_20201123113403.png?generation=1606102465788604&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I know it's a stupid question... But I really don't know\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2164736%2F515a96bb704505eb11f8c8e6fd8e46b2%2F_20201123113403.png?generation=1606102465788604&alt=media)",
      "votes": null
    },
    {
      "id": "1087746",
      "postDate": "11/23/2020 03:59:06",
      "content": "<p>The second one seems to be correct. If u use cv2 keep in mind that the order of colors is screwed, and each time u need to do something like <code>cv2.cvtColor(img, cv2.COLOR_RGB2BGR)</code> to keep everything compatible with other libraries such as PIL. Just to make sure, you can always open the image with something else rather than cv2 and compare the results.</p>",
      "rawMarkdown": "The second one seems to be correct. If u use cv2 keep in mind that the order of colors is screwed, and each time u need to do something like `cv2.cvtColor(img, cv2.COLOR_RGB2BGR)` to keep everything compatible with other libraries such as PIL. Just to make sure, you can always open the image with something else rather than cv2 and compare the results.",
      "votes": null
    },
    {
      "id": "1087779",
      "postDate": "11/23/2020 04:37:34",
      "content": "<p>Thank you for reply and useful suggestions！</p>",
      "rawMarkdown": "Thank you for reply and useful suggestions！",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1087746,
      "author_name": "iafoss",
      "author_url": "",
      "post_date": "11/23/2020 03:59:06",
      "content": "<p>The second one seems to be correct. If u use cv2 keep in mind that the order of colors is screwed, and each time u need to do something like <code>cv2.cvtColor(img, cv2.COLOR_RGB2BGR)</code> to keep everything compatible with other libraries such as PIL. Just to make sure, you can always open the image with something else rather than cv2 and compare the results.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1087779,
          "author_name": "changewow",
          "author_url": "",
          "post_date": "11/23/2020 04:37:34",
          "content": "<p>Thank you for reply and useful suggestions！</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1087733": "I know it's a stupid question... But I really don't know\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2164736%2F515a96bb704505eb11f8c8e6fd8e46b2%2F_20201123113403.png?generation=1606102465788604&alt=media)",
    "1087746": "The second one seems to be correct. If u use cv2 keep in mind that the order of colors is screwed, and each time u need to do something like `cv2.cvtColor(img, cv2.COLOR_RGB2BGR)` to keep everything compatible with other libraries such as PIL. Just to make sure, you can always open the image with something else rather than cv2 and compare the results.",
    "1087779": "Thank you for reply and useful suggestions！"
  },
  "source": "meta"
}