{
  "id": 96784,
  "title": "Unknow error while using openCv",
  "url": "/competitions/second-annual-data-science-bowl/discussion/96784",
  "author_name": "",
  "post_date": "2019-06-23T03:40:46.168252600Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Hey guys I am new to OpenCV and was trying to load and display an image.\nit's displaying this error:</p>\n\n<p>error                                     Traceback (most recent call last)\n in ()\n----&gt; 1 cv2.imshow('image',img)</p>\n\n<p>error: OpenCV(4.1.0) C:\\projects\\opencv-python\\opencv\\modules\\highgui\\src\\window.cpp:352: error: (-215:Assertion failed) size.width&gt;0 &amp;&amp; size.height&gt;0 in function 'cv::imshow'</p>\n\n<p>kindly help</p>",
  "messages": [
    {
      "id": "558858",
      "postDate": "06/23/2019 03:40:46",
      "content": "<p>Hey guys I am new to OpenCV and was trying to load and display an image.\nit's displaying this error:</p>\n\n<p>error                                     Traceback (most recent call last)\n in ()\n----&gt; 1 cv2.imshow('image',img)</p>\n\n<p>error: OpenCV(4.1.0) C:\\projects\\opencv-python\\opencv\\modules\\highgui\\src\\window.cpp:352: error: (-215:Assertion failed) size.width&gt;0 &amp;&amp; size.height&gt;0 in function 'cv::imshow'</p>\n\n<p>kindly help</p>",
      "rawMarkdown": "Hey guys I am new to OpenCV and was trying to load and display an image.\nit's displaying this error:\n\nerror                                     Traceback (most recent call last)",
      "votes": null
    },
    {
      "id": "558938",
      "postDate": "06/23/2019 07:41:56",
      "content": "<p>If you don't mind, can you provide the screenshot of the error?</p>",
      "rawMarkdown": "If you don't mind, can you provide the screenshot of the error?",
      "votes": null
    },
    {
      "id": "558949",
      "postDate": "06/23/2019 08:13:46",
      "content": "<p>I wanted to attach a screenshot but I guess we don't have any option to attach a photo here saved in your system.</p>",
      "rawMarkdown": "I wanted to attach a screenshot but I guess we don't have any option to attach a photo here saved in your system.",
      "votes": null
    },
    {
      "id": "558950",
      "postDate": "06/23/2019 08:15:00",
      "content": "<p>By any chance can you share your email ID? I will mail the screenshot to you.</p>",
      "rawMarkdown": "By any chance can you share your email ID? I will mail the screenshot to you.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 558938,
      "author_name": "keerthinandigam",
      "author_url": "",
      "post_date": "06/23/2019 07:41:56",
      "content": "<p>If you don't mind, can you provide the screenshot of the error?</p>",
      "votes": null,
      "replies": [
        {
          "id": 558949,
          "author_name": "alokkumar47",
          "author_url": "",
          "post_date": "06/23/2019 08:13:46",
          "content": "<p>I wanted to attach a screenshot but I guess we don't have any option to attach a photo here saved in your system.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 558950,
          "author_name": "alokkumar47",
          "author_url": "",
          "post_date": "06/23/2019 08:15:00",
          "content": "<p>By any chance can you share your email ID? I will mail the screenshot to you.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "558858": "Hey guys I am new to OpenCV and was trying to load and display an image.\nit's displaying this error:\n\nerror                                     Traceback (most recent call last)",
    "558938": "If you don't mind, can you provide the screenshot of the error?",
    "558949": "I wanted to attach a screenshot but I guess we don't have any option to attach a photo here saved in your system.",
    "558950": "By any chance can you share your email ID? I will mail the screenshot to you."
  },
  "source": "meta"
}