{"action":"created","comment":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/comments/58339006","id":58339006,"diff_hunk":"@@ -163,7 +163,7 @@ namespace cv {\n     // while key is not ESC (27)\n     while(key!=27){\n       temp=select(windowName, img, true, fromCenter);\n-      if(temp.width>0 && temp.height>0)\n+      if(key!=27 && temp.width>0 && temp.height>0)","path":"modules/tracking/src/roiSelector.cpp","position":5,"original_position":5,"commit_id":"f8507892657bc5355b6300416199e9ba4e91077d","original_commit_id":"f8507892657bc5355b6300416199e9ba4e91077d","user":{"login":"StevenPuttemans","id":4621239,"avatar_url":"https://avatars.githubusercontent.com/u/4621239?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenPuttemans","html_url":"https://github.com/StevenPuttemans","followers_url":"https://api.github.com/users/StevenPuttemans/followers","following_url":"https://api.github.com/users/StevenPuttemans/following{/other_user}","gists_url":"https://api.github.com/users/StevenPuttemans/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenPuttemans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenPuttemans/subscriptions","organizations_url":"https://api.github.com/users/StevenPuttemans/orgs","repos_url":"https://api.github.com/users/StevenPuttemans/repos","events_url":"https://api.github.com/users/StevenPuttemans/events{/privacy}","received_events_url":"https://api.github.com/users/StevenPuttemans/received_events","type":"User","site_admin":false},"body":"Isn't this enforced by the while loop? It is a matter of micro seconds of difference at most ... ","created_at":"2016-04-04T07:53:36Z","updated_at":"2016-04-04T07:53:36Z","html_url":"https://github.com/Itseez/opencv_contrib/pull/620#discussion_r58339006","pull_request_url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620","_links":{"self":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/comments/58339006"},"html":{"href":"https://github.com/Itseez/opencv_contrib/pull/620#discussion_r58339006"},"pull_request":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620"}}},"pull_request":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620","id":64937537,"html_url":"https://github.com/Itseez/opencv_contrib/pull/620","diff_url":"https://github.com/Itseez/opencv_contrib/pull/620.diff","patch_url":"https://github.com/Itseez/opencv_contrib/pull/620.patch","issue_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/620","number":620,"state":"open","locked":false,"title":"no trailing rect capture on escape","user":{"login":"ezavesky","id":12480297,"avatar_url":"https://avatars.githubusercontent.com/u/12480297?v=3","gravatar_id":"","url":"https://api.github.com/users/ezavesky","html_url":"https://github.com/ezavesky","followers_url":"https://api.github.com/users/ezavesky/followers","following_url":"https://api.github.com/users/ezavesky/following{/other_user}","gists_url":"https://api.github.com/users/ezavesky/gists{/gist_id}","starred_url":"https://api.github.com/users/ezavesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezavesky/subscriptions","organizations_url":"https://api.github.com/users/ezavesky/orgs","repos_url":"https://api.github.com/users/ezavesky/repos","events_url":"https://api.github.com/users/ezavesky/events{/privacy}","received_events_url":"https://api.github.com/users/ezavesky/received_events","type":"User","site_admin":false},"body":"- no ambiguity about last rect (complement #459 and bd20972847615184811553768e2d35b3c4c78451)\r\nalso [answer self request](https://github.com/Itseez/opencv_contrib/pull/539#commitcomment-16864422)","created_at":"2016-04-01T12:33:01Z","updated_at":"2016-04-04T07:53:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baf4f92d715fed9ea277b7e99339b986d434b0e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620/commits","review_comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620/comments","review_comment_url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/620/comments","statuses_url":"https://api.github.com/repos/Itseez/opencv_contrib/statuses/f8507892657bc5355b6300416199e9ba4e91077d","head":{"label":"Emoters:hotfix/no_rect_on_escape","ref":"hotfix/no_rect_on_escape","sha":"f8507892657bc5355b6300416199e9ba4e91077d","user":{"login":"Emoters","id":15820244,"avatar_url":"https://avatars.githubusercontent.com/u/15820244?v=3","gravatar_id":"","url":"https://api.github.com/users/Emoters","html_url":"https://github.com/Emoters","followers_url":"https://api.github.com/users/Emoters/followers","following_url":"https://api.github.com/users/Emoters/following{/other_user}","gists_url":"https://api.github.com/users/Emoters/gists{/gist_id}","starred_url":"https://api.github.com/users/Emoters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emoters/subscriptions","organizations_url":"https://api.github.com/users/Emoters/orgs","repos_url":"https://api.github.com/users/Emoters/repos","events_url":"https://api.github.com/users/Emoters/events{/privacy}","received_events_url":"https://api.github.com/users/Emoters/received_events","type":"Organization","site_admin":false},"repo":{"id":55226725,"name":"opencv_contrib","full_name":"Emoters/opencv_contrib","owner":{"login":"Emoters","id":15820244,"avatar_url":"https://avatars.githubusercontent.com/u/15820244?v=3","gravatar_id":"","url":"https://api.github.com/users/Emoters","html_url":"https://github.com/Emoters","followers_url":"https://api.github.com/users/Emoters/followers","following_url":"https://api.github.com/users/Emoters/following{/other_user}","gists_url":"https://api.github.com/users/Emoters/gists{/gist_id}","starred_url":"https://api.github.com/users/Emoters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emoters/subscriptions","organizations_url":"https://api.github.com/users/Emoters/orgs","repos_url":"https://api.github.com/users/Emoters/repos","events_url":"https://api.github.com/users/Emoters/events{/privacy}","received_events_url":"https://api.github.com/users/Emoters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Emoters/opencv_contrib","description":"Repository for OpenCV's extra modules","fork":true,"url":"https://api.github.com/repos/Emoters/opencv_contrib","forks_url":"https://api.github.com/repos/Emoters/opencv_contrib/forks","keys_url":"https://api.github.com/repos/Emoters/opencv_contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emoters/opencv_contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emoters/opencv_contrib/teams","hooks_url":"https://api.github.com/repos/Emoters/opencv_contrib/hooks","issue_events_url":"https://api.github.com/repos/Emoters/opencv_contrib/issues/events{/number}","events_url":"https://api.github.com/repos/Emoters/opencv_contrib/events","assignees_url":"https://api.github.com/repos/Emoters/opencv_contrib/assignees{/user}","branches_url":"https://api.github.com/repos/Emoters/opencv_contrib/branches{/branch}","tags_url":"https://api.github.com/repos/Emoters/opencv_contrib/tags","blobs_url":"https://api.github.com/repos/Emoters/opencv_contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emoters/opencv_contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emoters/opencv_contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emoters/opencv_contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emoters/opencv_contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/Emoters/opencv_contrib/languages","stargazers_url":"https://api.github.com/repos/Emoters/opencv_contrib/stargazers","contributors_url":"https://api.github.com/repos/Emoters/opencv_contrib/contributors","subscribers_url":"https://api.github.com/repos/Emoters/opencv_contrib/subscribers","subscription_url":"https://api.github.com/repos/Emoters/opencv_contrib/subscription","commits_url":"https://api.github.com/repos/Emoters/opencv_contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emoters/opencv_contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emoters/opencv_contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emoters/opencv_contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emoters/opencv_contrib/contents/{+path}","compare_url":"https://api.github.com/repos/Emoters/opencv_contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emoters/opencv_contrib/merges","archive_url":"https://api.github.com/repos/Emoters/opencv_contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emoters/opencv_contrib/downloads","issues_url":"https://api.github.com/repos/Emoters/opencv_contrib/issues{/number}","pulls_url":"https://api.github.com/repos/Emoters/opencv_contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/Emoters/opencv_contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/Emoters/opencv_contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emoters/opencv_contrib/labels{/name}","releases_url":"https://api.github.com/repos/Emoters/opencv_contrib/releases{/id}","deployments_url":"https://api.github.com/repos/Emoters/opencv_contrib/deployments","created_at":"2016-04-01T11:11:19Z","updated_at":"2016-04-01T11:11:24Z","pushed_at":"2016-04-01T12:29:48Z","git_url":"git://github.com/Emoters/opencv_contrib.git","ssh_url":"git@github.com:Emoters/opencv_contrib.git","clone_url":"https://github.com/Emoters/opencv_contrib.git","svn_url":"https://github.com/Emoters/opencv_contrib","homepage":null,"size":115676,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Itseez:master","ref":"master","sha":"029559a74948705755a32f75180d92b3c434e233","user":{"login":"Itseez","id":1786446,"avatar_url":"https://avatars.githubusercontent.com/u/1786446?v=3","gravatar_id":"","url":"https://api.github.com/users/Itseez","html_url":"https://github.com/Itseez","followers_url":"https://api.github.com/users/Itseez/followers","following_url":"https://api.github.com/users/Itseez/following{/other_user}","gists_url":"https://api.github.com/users/Itseez/gists{/gist_id}","starred_url":"https://api.github.com/users/Itseez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itseez/subscriptions","organizations_url":"https://api.github.com/users/Itseez/orgs","repos_url":"https://api.github.com/users/Itseez/repos","events_url":"https://api.github.com/users/Itseez/events{/privacy}","received_events_url":"https://api.github.com/users/Itseez/received_events","type":"Organization","site_admin":false},"repo":{"id":12756992,"name":"opencv_contrib","full_name":"Itseez/opencv_contrib","owner":{"login":"Itseez","id":1786446,"avatar_url":"https://avatars.githubusercontent.com/u/1786446?v=3","gravatar_id":"","url":"https://api.github.com/users/Itseez","html_url":"https://github.com/Itseez","followers_url":"https://api.github.com/users/Itseez/followers","following_url":"https://api.github.com/users/Itseez/following{/other_user}","gists_url":"https://api.github.com/users/Itseez/gists{/gist_id}","starred_url":"https://api.github.com/users/Itseez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itseez/subscriptions","organizations_url":"https://api.github.com/users/Itseez/orgs","repos_url":"https://api.github.com/users/Itseez/repos","events_url":"https://api.github.com/users/Itseez/events{/privacy}","received_events_url":"https://api.github.com/users/Itseez/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Itseez/opencv_contrib","description":"Repository for OpenCV's extra modules","fork":false,"url":"https://api.github.com/repos/Itseez/opencv_contrib","forks_url":"https://api.github.com/repos/Itseez/opencv_contrib/forks","keys_url":"https://api.github.com/repos/Itseez/opencv_contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Itseez/opencv_contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Itseez/opencv_contrib/teams","hooks_url":"https://api.github.com/repos/Itseez/opencv_contrib/hooks","issue_events_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/events{/number}","events_url":"https://api.github.com/repos/Itseez/opencv_contrib/events","assignees_url":"https://api.github.com/repos/Itseez/opencv_contrib/assignees{/user}","branches_url":"https://api.github.com/repos/Itseez/opencv_contrib/branches{/branch}","tags_url":"https://api.github.com/repos/Itseez/opencv_contrib/tags","blobs_url":"https://api.github.com/repos/Itseez/opencv_contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Itseez/opencv_contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Itseez/opencv_contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Itseez/opencv_contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Itseez/opencv_contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/Itseez/opencv_contrib/languages","stargazers_url":"https://api.github.com/repos/Itseez/opencv_contrib/stargazers","contributors_url":"https://api.github.com/repos/Itseez/opencv_contrib/contributors","subscribers_url":"https://api.github.com/repos/Itseez/opencv_contrib/subscribers","subscription_url":"https://api.github.com/repos/Itseez/opencv_contrib/subscription","commits_url":"https://api.github.com/repos/Itseez/opencv_contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Itseez/opencv_contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Itseez/opencv_contrib/contents/{+path}","compare_url":"https://api.github.com/repos/Itseez/opencv_contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Itseez/opencv_contrib/merges","archive_url":"https://api.github.com/repos/Itseez/opencv_contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Itseez/opencv_contrib/downloads","issues_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues{/number}","pulls_url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/Itseez/opencv_contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/Itseez/opencv_contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Itseez/opencv_contrib/labels{/name}","releases_url":"https://api.github.com/repos/Itseez/opencv_contrib/releases{/id}","deployments_url":"https://api.github.com/repos/Itseez/opencv_contrib/deployments","created_at":"2013-09-11T13:28:04Z","updated_at":"2016-04-04T03:57:30Z","pushed_at":"2016-04-02T16:56:57Z","git_url":"git://github.com/Itseez/opencv_contrib.git","ssh_url":"git@github.com:Itseez/opencv_contrib.git","clone_url":"https://github.com/Itseez/opencv_contrib.git","svn_url":"https://github.com/Itseez/opencv_contrib","homepage":null,"size":162954,"stargazers_count":686,"watchers_count":686,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":917,"mirror_url":null,"open_issues_count":124,"forks":917,"open_issues":124,"watchers":686,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620"},"html":{"href":"https://github.com/Itseez/opencv_contrib/pull/620"},"issue":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/issues/620"},"comments":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/issues/620/comments"},"review_comments":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620/comments"},"review_comment":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/620/commits"},"statuses":{"href":"https://api.github.com/repos/Itseez/opencv_contrib/statuses/f8507892657bc5355b6300416199e9ba4e91077d"}}}}