{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1","id":76909814,"html_url":"https://github.com/PragyaTripathi/faced/pull/1","diff_url":"https://github.com/PragyaTripathi/faced/pull/1.diff","patch_url":"https://github.com/PragyaTripathi/faced/pull/1.patch","issue_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/1","number":1,"state":"open","locked":false,"title":"Fix Feature points gone wrong #7","user":{"login":"PragyaTripathi","id":7410102,"avatar_url":"https://avatars.githubusercontent.com/u/7410102?v=3","gravatar_id":"","url":"https://api.github.com/users/PragyaTripathi","html_url":"https://github.com/PragyaTripathi","followers_url":"https://api.github.com/users/PragyaTripathi/followers","following_url":"https://api.github.com/users/PragyaTripathi/following{/other_user}","gists_url":"https://api.github.com/users/PragyaTripathi/gists{/gist_id}","starred_url":"https://api.github.com/users/PragyaTripathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PragyaTripathi/subscriptions","organizations_url":"https://api.github.com/users/PragyaTripathi/orgs","repos_url":"https://api.github.com/users/PragyaTripathi/repos","events_url":"https://api.github.com/users/PragyaTripathi/events{/privacy}","received_events_url":"https://api.github.com/users/PragyaTripathi/received_events","type":"User","site_admin":false},"body":"The reason is the rectangle function. According to http://docs.opencv.org/2.4/modules/core/doc/drawing_functions.html (it doesn't have a js example), you should pass [x,y], [width,height] Not [x,y], [width+x, height+y]. I confirmed this further by looking into their C++ code. OpenCV seems to take care of it for you.\r\n\r\ncv::rectangle(self->mat, cv::Point(x, y), cv::Point(x + width, y + height),\r\n        color, thickness);\r\n\r\nThus, getX2 and getY2 should be replaced with getWidth and getHeight subsequently.","created_at":"2016-07-11T07:27:11Z","updated_at":"2016-07-11T07:27:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1/commits","review_comments_url":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1/comments","review_comment_url":"https://api.github.com/repos/PragyaTripathi/faced/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/1/comments","statuses_url":"https://api.github.com/repos/PragyaTripathi/faced/statuses/4f364394b6826ed90ae4f0389df446d5754f4df6","head":{"label":"PragyaTripathi:fix-for-#7","ref":"fix-for-#7","sha":"4f364394b6826ed90ae4f0389df446d5754f4df6","user":{"login":"PragyaTripathi","id":7410102,"avatar_url":"https://avatars.githubusercontent.com/u/7410102?v=3","gravatar_id":"","url":"https://api.github.com/users/PragyaTripathi","html_url":"https://github.com/PragyaTripathi","followers_url":"https://api.github.com/users/PragyaTripathi/followers","following_url":"https://api.github.com/users/PragyaTripathi/following{/other_user}","gists_url":"https://api.github.com/users/PragyaTripathi/gists{/gist_id}","starred_url":"https://api.github.com/users/PragyaTripathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PragyaTripathi/subscriptions","organizations_url":"https://api.github.com/users/PragyaTripathi/orgs","repos_url":"https://api.github.com/users/PragyaTripathi/repos","events_url":"https://api.github.com/users/PragyaTripathi/events{/privacy}","received_events_url":"https://api.github.com/users/PragyaTripathi/received_events","type":"User","site_admin":false},"repo":{"id":63046196,"name":"faced","full_name":"PragyaTripathi/faced","owner":{"login":"PragyaTripathi","id":7410102,"avatar_url":"https://avatars.githubusercontent.com/u/7410102?v=3","gravatar_id":"","url":"https://api.github.com/users/PragyaTripathi","html_url":"https://github.com/PragyaTripathi","followers_url":"https://api.github.com/users/PragyaTripathi/followers","following_url":"https://api.github.com/users/PragyaTripathi/following{/other_user}","gists_url":"https://api.github.com/users/PragyaTripathi/gists{/gist_id}","starred_url":"https://api.github.com/users/PragyaTripathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PragyaTripathi/subscriptions","organizations_url":"https://api.github.com/users/PragyaTripathi/orgs","repos_url":"https://api.github.com/users/PragyaTripathi/repos","events_url":"https://api.github.com/users/PragyaTripathi/events{/privacy}","received_events_url":"https://api.github.com/users/PragyaTripathi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PragyaTripathi/faced","description":"faced is a light-weight library to identify faces and it's features such as eyes, nose and mouth","fork":true,"url":"https://api.github.com/repos/PragyaTripathi/faced","forks_url":"https://api.github.com/repos/PragyaTripathi/faced/forks","keys_url":"https://api.github.com/repos/PragyaTripathi/faced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PragyaTripathi/faced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PragyaTripathi/faced/teams","hooks_url":"https://api.github.com/repos/PragyaTripathi/faced/hooks","issue_events_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/events{/number}","events_url":"https://api.github.com/repos/PragyaTripathi/faced/events","assignees_url":"https://api.github.com/repos/PragyaTripathi/faced/assignees{/user}","branches_url":"https://api.github.com/repos/PragyaTripathi/faced/branches{/branch}","tags_url":"https://api.github.com/repos/PragyaTripathi/faced/tags","blobs_url":"https://api.github.com/repos/PragyaTripathi/faced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PragyaTripathi/faced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PragyaTripathi/faced/git/refs{/sha}","trees_url":"https://api.github.com/repos/PragyaTripathi/faced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PragyaTripathi/faced/statuses/{sha}","languages_url":"https://api.github.com/repos/PragyaTripathi/faced/languages","stargazers_url":"https://api.github.com/repos/PragyaTripathi/faced/stargazers","contributors_url":"https://api.github.com/repos/PragyaTripathi/faced/contributors","subscribers_url":"https://api.github.com/repos/PragyaTripathi/faced/subscribers","subscription_url":"https://api.github.com/repos/PragyaTripathi/faced/subscription","commits_url":"https://api.github.com/repos/PragyaTripathi/faced/commits{/sha}","git_commits_url":"https://api.github.com/repos/PragyaTripathi/faced/git/commits{/sha}","comments_url":"https://api.github.com/repos/PragyaTripathi/faced/comments{/number}","issue_comment_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/comments{/number}","contents_url":"https://api.github.com/repos/PragyaTripathi/faced/contents/{+path}","compare_url":"https://api.github.com/repos/PragyaTripathi/faced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PragyaTripathi/faced/merges","archive_url":"https://api.github.com/repos/PragyaTripathi/faced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PragyaTripathi/faced/downloads","issues_url":"https://api.github.com/repos/PragyaTripathi/faced/issues{/number}","pulls_url":"https://api.github.com/repos/PragyaTripathi/faced/pulls{/number}","milestones_url":"https://api.github.com/repos/PragyaTripathi/faced/milestones{/number}","notifications_url":"https://api.github.com/repos/PragyaTripathi/faced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PragyaTripathi/faced/labels{/name}","releases_url":"https://api.github.com/repos/PragyaTripathi/faced/releases{/id}","deployments_url":"https://api.github.com/repos/PragyaTripathi/faced/deployments","created_at":"2016-07-11T07:22:47Z","updated_at":"2016-07-11T07:22:48Z","pushed_at":"2016-07-11T07:27:11Z","git_url":"git://github.com/PragyaTripathi/faced.git","ssh_url":"git@github.com:PragyaTripathi/faced.git","clone_url":"https://github.com/PragyaTripathi/faced.git","svn_url":"https://github.com/PragyaTripathi/faced","homepage":null,"size":1154,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PragyaTripathi:master","ref":"master","sha":"c93cc26af14ac09f8311e0ce97d20d0fe1e81143","user":{"login":"PragyaTripathi","id":7410102,"avatar_url":"https://avatars.githubusercontent.com/u/7410102?v=3","gravatar_id":"","url":"https://api.github.com/users/PragyaTripathi","html_url":"https://github.com/PragyaTripathi","followers_url":"https://api.github.com/users/PragyaTripathi/followers","following_url":"https://api.github.com/users/PragyaTripathi/following{/other_user}","gists_url":"https://api.github.com/users/PragyaTripathi/gists{/gist_id}","starred_url":"https://api.github.com/users/PragyaTripathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PragyaTripathi/subscriptions","organizations_url":"https://api.github.com/users/PragyaTripathi/orgs","repos_url":"https://api.github.com/users/PragyaTripathi/repos","events_url":"https://api.github.com/users/PragyaTripathi/events{/privacy}","received_events_url":"https://api.github.com/users/PragyaTripathi/received_events","type":"User","site_admin":false},"repo":{"id":63046196,"name":"faced","full_name":"PragyaTripathi/faced","owner":{"login":"PragyaTripathi","id":7410102,"avatar_url":"https://avatars.githubusercontent.com/u/7410102?v=3","gravatar_id":"","url":"https://api.github.com/users/PragyaTripathi","html_url":"https://github.com/PragyaTripathi","followers_url":"https://api.github.com/users/PragyaTripathi/followers","following_url":"https://api.github.com/users/PragyaTripathi/following{/other_user}","gists_url":"https://api.github.com/users/PragyaTripathi/gists{/gist_id}","starred_url":"https://api.github.com/users/PragyaTripathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PragyaTripathi/subscriptions","organizations_url":"https://api.github.com/users/PragyaTripathi/orgs","repos_url":"https://api.github.com/users/PragyaTripathi/repos","events_url":"https://api.github.com/users/PragyaTripathi/events{/privacy}","received_events_url":"https://api.github.com/users/PragyaTripathi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PragyaTripathi/faced","description":"faced is a light-weight library to identify faces and it's features such as eyes, nose and mouth","fork":true,"url":"https://api.github.com/repos/PragyaTripathi/faced","forks_url":"https://api.github.com/repos/PragyaTripathi/faced/forks","keys_url":"https://api.github.com/repos/PragyaTripathi/faced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PragyaTripathi/faced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PragyaTripathi/faced/teams","hooks_url":"https://api.github.com/repos/PragyaTripathi/faced/hooks","issue_events_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/events{/number}","events_url":"https://api.github.com/repos/PragyaTripathi/faced/events","assignees_url":"https://api.github.com/repos/PragyaTripathi/faced/assignees{/user}","branches_url":"https://api.github.com/repos/PragyaTripathi/faced/branches{/branch}","tags_url":"https://api.github.com/repos/PragyaTripathi/faced/tags","blobs_url":"https://api.github.com/repos/PragyaTripathi/faced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PragyaTripathi/faced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PragyaTripathi/faced/git/refs{/sha}","trees_url":"https://api.github.com/repos/PragyaTripathi/faced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PragyaTripathi/faced/statuses/{sha}","languages_url":"https://api.github.com/repos/PragyaTripathi/faced/languages","stargazers_url":"https://api.github.com/repos/PragyaTripathi/faced/stargazers","contributors_url":"https://api.github.com/repos/PragyaTripathi/faced/contributors","subscribers_url":"https://api.github.com/repos/PragyaTripathi/faced/subscribers","subscription_url":"https://api.github.com/repos/PragyaTripathi/faced/subscription","commits_url":"https://api.github.com/repos/PragyaTripathi/faced/commits{/sha}","git_commits_url":"https://api.github.com/repos/PragyaTripathi/faced/git/commits{/sha}","comments_url":"https://api.github.com/repos/PragyaTripathi/faced/comments{/number}","issue_comment_url":"https://api.github.com/repos/PragyaTripathi/faced/issues/comments{/number}","contents_url":"https://api.github.com/repos/PragyaTripathi/faced/contents/{+path}","compare_url":"https://api.github.com/repos/PragyaTripathi/faced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PragyaTripathi/faced/merges","archive_url":"https://api.github.com/repos/PragyaTripathi/faced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PragyaTripathi/faced/downloads","issues_url":"https://api.github.com/repos/PragyaTripathi/faced/issues{/number}","pulls_url":"https://api.github.com/repos/PragyaTripathi/faced/pulls{/number}","milestones_url":"https://api.github.com/repos/PragyaTripathi/faced/milestones{/number}","notifications_url":"https://api.github.com/repos/PragyaTripathi/faced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PragyaTripathi/faced/labels{/name}","releases_url":"https://api.github.com/repos/PragyaTripathi/faced/releases{/id}","deployments_url":"https://api.github.com/repos/PragyaTripathi/faced/deployments","created_at":"2016-07-11T07:22:47Z","updated_at":"2016-07-11T07:22:48Z","pushed_at":"2016-07-11T07:27:11Z","git_url":"git://github.com/PragyaTripathi/faced.git","ssh_url":"git@github.com:PragyaTripathi/faced.git","clone_url":"https://github.com/PragyaTripathi/faced.git","svn_url":"https://github.com/PragyaTripathi/faced","homepage":null,"size":1154,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1"},"html":{"href":"https://github.com/PragyaTripathi/faced/pull/1"},"issue":{"href":"https://api.github.com/repos/PragyaTripathi/faced/issues/1"},"comments":{"href":"https://api.github.com/repos/PragyaTripathi/faced/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/PragyaTripathi/faced/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PragyaTripathi/faced/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/PragyaTripathi/faced/statuses/4f364394b6826ed90ae4f0389df446d5754f4df6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"PragyaTripathi"}}