{"action":"created","issue":{"url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/1","labels_url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/1/comments","events_url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/1/events","html_url":"https://github.com/subokita/Robust-Text-Detection/issues/1","id":39587867,"number":1,"title":"Error when building","user":{"login":"pxuanqui","id":6937119,"avatar_url":"https://avatars.githubusercontent.com/u/6937119?v=3","gravatar_id":"","url":"https://api.github.com/users/pxuanqui","html_url":"https://github.com/pxuanqui","followers_url":"https://api.github.com/users/pxuanqui/followers","following_url":"https://api.github.com/users/pxuanqui/following{/other_user}","gists_url":"https://api.github.com/users/pxuanqui/gists{/gist_id}","starred_url":"https://api.github.com/users/pxuanqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxuanqui/subscriptions","organizations_url":"https://api.github.com/users/pxuanqui/orgs","repos_url":"https://api.github.com/users/pxuanqui/repos","events_url":"https://api.github.com/users/pxuanqui/events{/privacy}","received_events_url":"https://api.github.com/users/pxuanqui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-08-06T04:00:12Z","updated_at":"2015-02-08T17:06:43Z","closed_at":null,"body":"When debug to this function, it shows the error \"Access violation reading location 0xCDCDCDD1\"\r\nMat RobustTextDetection::createMSERMask(Mat& grey) {\r\n\t/* Find MSER components */\r\n\tvector<vector<Point>> contours;\r\n\tMSER mser(8, param.minMSERArea, param.maxMSERArea, 0.25, 0.1, 100, 1.01, 0.03, 5);\r\n\tmser(grey, contours);\r\n\r\n\t/* Create a binary mask out of the MSER */\r\n\tMat mser_mask(grey.size(), CV_8UC1, Scalar(0));\r\n\r\n\tfor (size_t i = 0; i < contours.size(); i++) {\r\n\t\tfor (Point& point : contours[i])\r\n\t\t\tmser_mask.at<uchar>(point) = 255;\r\n\t}\r\n\r\n\treturn mser_mask;\r\n}"},"comment":{"url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/comments/73419959","html_url":"https://github.com/subokita/Robust-Text-Detection/issues/1#issuecomment-73419959","issue_url":"https://api.github.com/repos/subokita/Robust-Text-Detection/issues/1","id":73419959,"user":{"login":"aoyingchen","id":6937657,"avatar_url":"https://avatars.githubusercontent.com/u/6937657?v=3","gravatar_id":"","url":"https://api.github.com/users/aoyingchen","html_url":"https://github.com/aoyingchen","followers_url":"https://api.github.com/users/aoyingchen/followers","following_url":"https://api.github.com/users/aoyingchen/following{/other_user}","gists_url":"https://api.github.com/users/aoyingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/aoyingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoyingchen/subscriptions","organizations_url":"https://api.github.com/users/aoyingchen/orgs","repos_url":"https://api.github.com/users/aoyingchen/repos","events_url":"https://api.github.com/users/aoyingchen/events{/privacy}","received_events_url":"https://api.github.com/users/aoyingchen/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T17:06:43Z","updated_at":"2015-02-08T17:06:43Z","body":"\r\n![image](https://cloud.githubusercontent.com/assets/6937657/6097403/d9343b56-aff7-11e4-9e6b-3e88f7ce8514.png)\r\n\r\nNow I can build your original project, with the tested image TestText.png, it work well. But when I try to use another image, it doesn't work, for example the following image, it shows an exception"}}