{"action":"created","comment":{"url":"https://api.github.com/repos/menpo/menpodetect/pulls/comments/50024702","id":50024702,"diff_hunk":"@@ -14,6 +14,13 @@\n from .conversion import (pointgraph_from_rect, opencv_frontal_face_path,\n                          opencv_profile_face_path, opencv_eye_path)\n \n+def _get_appropiate_flags():","path":"menpodetect/opencv/detect.py","position":4,"original_position":4,"commit_id":"61ff40d356f86ef3e7e641a6f4d2e4f01635bfca","original_commit_id":"61ff40d356f86ef3e7e641a6f4d2e4f01635bfca","user":{"login":"patricksnape","id":708474,"avatar_url":"https://avatars.githubusercontent.com/u/708474?v=3","gravatar_id":"","url":"https://api.github.com/users/patricksnape","html_url":"https://github.com/patricksnape","followers_url":"https://api.github.com/users/patricksnape/followers","following_url":"https://api.github.com/users/patricksnape/following{/other_user}","gists_url":"https://api.github.com/users/patricksnape/gists{/gist_id}","starred_url":"https://api.github.com/users/patricksnape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricksnape/subscriptions","organizations_url":"https://api.github.com/users/patricksnape/orgs","repos_url":"https://api.github.com/users/patricksnape/repos","events_url":"https://api.github.com/users/patricksnape/events{/privacy}","received_events_url":"https://api.github.com/users/patricksnape/received_events","type":"User","site_admin":false},"body":"Final thing - this is misspelt. Maybe call it `_get_default_flags`","created_at":"2016-01-18T17:27:49Z","updated_at":"2016-01-18T17:27:49Z","html_url":"https://github.com/menpo/menpodetect/pull/7#discussion_r50024702","pull_request_url":"https://api.github.com/repos/menpo/menpodetect/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/comments/50024702"},"html":{"href":"https://github.com/menpo/menpodetect/pull/7#discussion_r50024702"},"pull_request":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/menpo/menpodetect/pulls/7","id":56277075,"html_url":"https://github.com/menpo/menpodetect/pull/7","diff_url":"https://github.com/menpo/menpodetect/pull/7.diff","patch_url":"https://github.com/menpo/menpodetect/pull/7.patch","issue_url":"https://api.github.com/repos/menpo/menpodetect/issues/7","number":7,"state":"open","locked":false,"title":"Update the flags for opencv3 detection.","user":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"body":"The flags have changed in opencv3 and the detection crashes if the old flags are used.","created_at":"2016-01-17T12:53:26Z","updated_at":"2016-01-18T17:27:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54550f501792b596bb22ab075e7d97f1c15eeac3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/menpo/menpodetect/pulls/7/commits","review_comments_url":"https://api.github.com/repos/menpo/menpodetect/pulls/7/comments","review_comment_url":"https://api.github.com/repos/menpo/menpodetect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/menpo/menpodetect/issues/7/comments","statuses_url":"https://api.github.com/repos/menpo/menpodetect/statuses/61ff40d356f86ef3e7e641a6f4d2e4f01635bfca","head":{"label":"grigorisg9gr:correct_flags_opencv3","ref":"correct_flags_opencv3","sha":"61ff40d356f86ef3e7e641a6f4d2e4f01635bfca","user":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"repo":{"id":37978692,"name":"menpodetect","full_name":"grigorisg9gr/menpodetect","owner":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grigorisg9gr/menpodetect","description":"Simple object detection for Menpo images","fork":true,"url":"https://api.github.com/repos/grigorisg9gr/menpodetect","forks_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/forks","keys_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/teams","hooks_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/hooks","issue_events_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/issues/events{/number}","events_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/events","assignees_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/assignees{/user}","branches_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/branches{/branch}","tags_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/tags","blobs_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/git/refs{/sha}","trees_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/statuses/{sha}","languages_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/languages","stargazers_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/stargazers","contributors_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/contributors","subscribers_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/subscribers","subscription_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/subscription","commits_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/commits{/sha}","git_commits_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/git/commits{/sha}","comments_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/comments{/number}","issue_comment_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/issues/comments{/number}","contents_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/contents/{+path}","compare_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/merges","archive_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/downloads","issues_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/issues{/number}","pulls_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/pulls{/number}","milestones_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/milestones{/number}","notifications_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/labels{/name}","releases_url":"https://api.github.com/repos/grigorisg9gr/menpodetect/releases{/id}","created_at":"2015-06-24T10:41:05Z","updated_at":"2015-06-24T10:41:05Z","pushed_at":"2016-01-18T16:44:58Z","git_url":"git://github.com/grigorisg9gr/menpodetect.git","ssh_url":"git@github.com:grigorisg9gr/menpodetect.git","clone_url":"https://github.com/grigorisg9gr/menpodetect.git","svn_url":"https://github.com/grigorisg9gr/menpodetect","homepage":"http://www.menpo.org","size":395,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"menpo:master","ref":"master","sha":"f48701876642cd798ca9a8d038f41bbffb655074","user":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"repo":{"id":23918409,"name":"menpodetect","full_name":"menpo/menpodetect","owner":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/menpo/menpodetect","description":"Simple object detection for Menpo images","fork":false,"url":"https://api.github.com/repos/menpo/menpodetect","forks_url":"https://api.github.com/repos/menpo/menpodetect/forks","keys_url":"https://api.github.com/repos/menpo/menpodetect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menpo/menpodetect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menpo/menpodetect/teams","hooks_url":"https://api.github.com/repos/menpo/menpodetect/hooks","issue_events_url":"https://api.github.com/repos/menpo/menpodetect/issues/events{/number}","events_url":"https://api.github.com/repos/menpo/menpodetect/events","assignees_url":"https://api.github.com/repos/menpo/menpodetect/assignees{/user}","branches_url":"https://api.github.com/repos/menpo/menpodetect/branches{/branch}","tags_url":"https://api.github.com/repos/menpo/menpodetect/tags","blobs_url":"https://api.github.com/repos/menpo/menpodetect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menpo/menpodetect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menpo/menpodetect/git/refs{/sha}","trees_url":"https://api.github.com/repos/menpo/menpodetect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menpo/menpodetect/statuses/{sha}","languages_url":"https://api.github.com/repos/menpo/menpodetect/languages","stargazers_url":"https://api.github.com/repos/menpo/menpodetect/stargazers","contributors_url":"https://api.github.com/repos/menpo/menpodetect/contributors","subscribers_url":"https://api.github.com/repos/menpo/menpodetect/subscribers","subscription_url":"https://api.github.com/repos/menpo/menpodetect/subscription","commits_url":"https://api.github.com/repos/menpo/menpodetect/commits{/sha}","git_commits_url":"https://api.github.com/repos/menpo/menpodetect/git/commits{/sha}","comments_url":"https://api.github.com/repos/menpo/menpodetect/comments{/number}","issue_comment_url":"https://api.github.com/repos/menpo/menpodetect/issues/comments{/number}","contents_url":"https://api.github.com/repos/menpo/menpodetect/contents/{+path}","compare_url":"https://api.github.com/repos/menpo/menpodetect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menpo/menpodetect/merges","archive_url":"https://api.github.com/repos/menpo/menpodetect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menpo/menpodetect/downloads","issues_url":"https://api.github.com/repos/menpo/menpodetect/issues{/number}","pulls_url":"https://api.github.com/repos/menpo/menpodetect/pulls{/number}","milestones_url":"https://api.github.com/repos/menpo/menpodetect/milestones{/number}","notifications_url":"https://api.github.com/repos/menpo/menpodetect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menpo/menpodetect/labels{/name}","releases_url":"https://api.github.com/repos/menpo/menpodetect/releases{/id}","created_at":"2014-09-11T13:01:35Z","updated_at":"2015-08-19T23:45:10Z","pushed_at":"2016-01-18T16:45:00Z","git_url":"git://github.com/menpo/menpodetect.git","ssh_url":"git@github.com:menpo/menpodetect.git","clone_url":"https://github.com/menpo/menpodetect.git","svn_url":"https://github.com/menpo/menpodetect","homepage":"http://www.menpo.org","size":393,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/7"},"html":{"href":"https://github.com/menpo/menpodetect/pull/7"},"issue":{"href":"https://api.github.com/repos/menpo/menpodetect/issues/7"},"comments":{"href":"https://api.github.com/repos/menpo/menpodetect/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/menpo/menpodetect/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/menpo/menpodetect/statuses/61ff40d356f86ef3e7e641a6f4d2e4f01635bfca"}}}}