{"action":"created","comment":{"url":"https://api.github.com/repos/arthare/2702_2016/pulls/comments/50730809","id":50730809,"diff_hunk":"@@ -75,7 +75,7 @@ int main()\n     Mat img;\n     while(true)\n     {\n-        int ixCurrentImage = args[5];\n+        int ixCurrentImage = args[8];","path":"2016/opencv_tweakapp/main.cpp","position":14,"original_position":14,"commit_id":"b30b1988cfd78b9c015366e194afa47b67d37d85","original_commit_id":"b30b1988cfd78b9c015366e194afa47b67d37d85","user":{"login":"arthare","id":1869583,"avatar_url":"https://avatars.githubusercontent.com/u/1869583?v=3","gravatar_id":"","url":"https://api.github.com/users/arthare","html_url":"https://github.com/arthare","followers_url":"https://api.github.com/users/arthare/followers","following_url":"https://api.github.com/users/arthare/following{/other_user}","gists_url":"https://api.github.com/users/arthare/gists{/gist_id}","starred_url":"https://api.github.com/users/arthare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthare/subscriptions","organizations_url":"https://api.github.com/users/arthare/orgs","repos_url":"https://api.github.com/users/arthare/repos","events_url":"https://api.github.com/users/arthare/events{/privacy}","received_events_url":"https://api.github.com/users/arthare/received_events","type":"User","site_admin":false},"body":"Change this [8] to [NUM_ARGS-1], then we won't have to keep updating it.  The last trackbar will always be the image-selector.","created_at":"2016-01-25T18:05:16Z","updated_at":"2016-01-25T18:05:16Z","html_url":"https://github.com/arthare/2702_2016/pull/1#discussion_r50730809","pull_request_url":"https://api.github.com/repos/arthare/2702_2016/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/comments/50730809"},"html":{"href":"https://github.com/arthare/2702_2016/pull/1#discussion_r50730809"},"pull_request":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/arthare/2702_2016/pulls/1","id":57104479,"html_url":"https://github.com/arthare/2702_2016/pull/1","diff_url":"https://github.com/arthare/2702_2016/pull/1.diff","patch_url":"https://github.com/arthare/2702_2016/pull/1.patch","issue_url":"https://api.github.com/repos/arthare/2702_2016/issues/1","number":1,"state":"open","locked":false,"title":"New working HSV filtering ","user":{"login":"benjaminmcd","id":16844638,"avatar_url":"https://avatars.githubusercontent.com/u/16844638?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminmcd","html_url":"https://github.com/benjaminmcd","followers_url":"https://api.github.com/users/benjaminmcd/followers","following_url":"https://api.github.com/users/benjaminmcd/following{/other_user}","gists_url":"https://api.github.com/users/benjaminmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminmcd/subscriptions","organizations_url":"https://api.github.com/users/benjaminmcd/orgs","repos_url":"https://api.github.com/users/benjaminmcd/repos","events_url":"https://api.github.com/users/benjaminmcd/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminmcd/received_events","type":"User","site_admin":false},"body":"I added some lines to make HSV filtering work, it is currently sending the binary image (from the inrange command) to the erode and dilate commands to clean the image up. The values in the permanent spots are working really efficiently. I had an idea that if there is no visible target we run another set of numbers to try to get a view of the target. I also added some more sliders to control the erode and dilate commands(not yet implemented).\r\n-","created_at":"2016-01-25T17:41:44Z","updated_at":"2016-01-25T18:05:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba1299df786db2fdc45154c06d6692210278ba27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arthare/2702_2016/pulls/1/commits","review_comments_url":"https://api.github.com/repos/arthare/2702_2016/pulls/1/comments","review_comment_url":"https://api.github.com/repos/arthare/2702_2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arthare/2702_2016/issues/1/comments","statuses_url":"https://api.github.com/repos/arthare/2702_2016/statuses/b30b1988cfd78b9c015366e194afa47b67d37d85","head":{"label":"benjaminmcd:master","ref":"master","sha":"b30b1988cfd78b9c015366e194afa47b67d37d85","user":{"login":"benjaminmcd","id":16844638,"avatar_url":"https://avatars.githubusercontent.com/u/16844638?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminmcd","html_url":"https://github.com/benjaminmcd","followers_url":"https://api.github.com/users/benjaminmcd/followers","following_url":"https://api.github.com/users/benjaminmcd/following{/other_user}","gists_url":"https://api.github.com/users/benjaminmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminmcd/subscriptions","organizations_url":"https://api.github.com/users/benjaminmcd/orgs","repos_url":"https://api.github.com/users/benjaminmcd/repos","events_url":"https://api.github.com/users/benjaminmcd/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminmcd/received_events","type":"User","site_admin":false},"repo":{"id":50300102,"name":"2702_2016","full_name":"benjaminmcd/2702_2016","owner":{"login":"benjaminmcd","id":16844638,"avatar_url":"https://avatars.githubusercontent.com/u/16844638?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminmcd","html_url":"https://github.com/benjaminmcd","followers_url":"https://api.github.com/users/benjaminmcd/followers","following_url":"https://api.github.com/users/benjaminmcd/following{/other_user}","gists_url":"https://api.github.com/users/benjaminmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminmcd/subscriptions","organizations_url":"https://api.github.com/users/benjaminmcd/orgs","repos_url":"https://api.github.com/users/benjaminmcd/repos","events_url":"https://api.github.com/users/benjaminmcd/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminmcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjaminmcd/2702_2016","description":"2702's 2016 code","fork":true,"url":"https://api.github.com/repos/benjaminmcd/2702_2016","forks_url":"https://api.github.com/repos/benjaminmcd/2702_2016/forks","keys_url":"https://api.github.com/repos/benjaminmcd/2702_2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjaminmcd/2702_2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjaminmcd/2702_2016/teams","hooks_url":"https://api.github.com/repos/benjaminmcd/2702_2016/hooks","issue_events_url":"https://api.github.com/repos/benjaminmcd/2702_2016/issues/events{/number}","events_url":"https://api.github.com/repos/benjaminmcd/2702_2016/events","assignees_url":"https://api.github.com/repos/benjaminmcd/2702_2016/assignees{/user}","branches_url":"https://api.github.com/repos/benjaminmcd/2702_2016/branches{/branch}","tags_url":"https://api.github.com/repos/benjaminmcd/2702_2016/tags","blobs_url":"https://api.github.com/repos/benjaminmcd/2702_2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjaminmcd/2702_2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjaminmcd/2702_2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjaminmcd/2702_2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjaminmcd/2702_2016/statuses/{sha}","languages_url":"https://api.github.com/repos/benjaminmcd/2702_2016/languages","stargazers_url":"https://api.github.com/repos/benjaminmcd/2702_2016/stargazers","contributors_url":"https://api.github.com/repos/benjaminmcd/2702_2016/contributors","subscribers_url":"https://api.github.com/repos/benjaminmcd/2702_2016/subscribers","subscription_url":"https://api.github.com/repos/benjaminmcd/2702_2016/subscription","commits_url":"https://api.github.com/repos/benjaminmcd/2702_2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjaminmcd/2702_2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjaminmcd/2702_2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjaminmcd/2702_2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjaminmcd/2702_2016/contents/{+path}","compare_url":"https://api.github.com/repos/benjaminmcd/2702_2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjaminmcd/2702_2016/merges","archive_url":"https://api.github.com/repos/benjaminmcd/2702_2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjaminmcd/2702_2016/downloads","issues_url":"https://api.github.com/repos/benjaminmcd/2702_2016/issues{/number}","pulls_url":"https://api.github.com/repos/benjaminmcd/2702_2016/pulls{/number}","milestones_url":"https://api.github.com/repos/benjaminmcd/2702_2016/milestones{/number}","notifications_url":"https://api.github.com/repos/benjaminmcd/2702_2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjaminmcd/2702_2016/labels{/name}","releases_url":"https://api.github.com/repos/benjaminmcd/2702_2016/releases{/id}","deployments_url":"https://api.github.com/repos/benjaminmcd/2702_2016/deployments","created_at":"2016-01-24T18:00:02Z","updated_at":"2016-01-24T18:00:03Z","pushed_at":"2016-01-25T14:48:11Z","git_url":"git://github.com/benjaminmcd/2702_2016.git","ssh_url":"git@github.com:benjaminmcd/2702_2016.git","clone_url":"https://github.com/benjaminmcd/2702_2016.git","svn_url":"https://github.com/benjaminmcd/2702_2016","homepage":null,"size":8623,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"arthare:hslconvert","ref":"hslconvert","sha":"7a0bf516bd3cdaaedc0c8d1da87084a3e1810c2e","user":{"login":"arthare","id":1869583,"avatar_url":"https://avatars.githubusercontent.com/u/1869583?v=3","gravatar_id":"","url":"https://api.github.com/users/arthare","html_url":"https://github.com/arthare","followers_url":"https://api.github.com/users/arthare/followers","following_url":"https://api.github.com/users/arthare/following{/other_user}","gists_url":"https://api.github.com/users/arthare/gists{/gist_id}","starred_url":"https://api.github.com/users/arthare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthare/subscriptions","organizations_url":"https://api.github.com/users/arthare/orgs","repos_url":"https://api.github.com/users/arthare/repos","events_url":"https://api.github.com/users/arthare/events{/privacy}","received_events_url":"https://api.github.com/users/arthare/received_events","type":"User","site_admin":false},"repo":{"id":50141551,"name":"2702_2016","full_name":"arthare/2702_2016","owner":{"login":"arthare","id":1869583,"avatar_url":"https://avatars.githubusercontent.com/u/1869583?v=3","gravatar_id":"","url":"https://api.github.com/users/arthare","html_url":"https://github.com/arthare","followers_url":"https://api.github.com/users/arthare/followers","following_url":"https://api.github.com/users/arthare/following{/other_user}","gists_url":"https://api.github.com/users/arthare/gists{/gist_id}","starred_url":"https://api.github.com/users/arthare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthare/subscriptions","organizations_url":"https://api.github.com/users/arthare/orgs","repos_url":"https://api.github.com/users/arthare/repos","events_url":"https://api.github.com/users/arthare/events{/privacy}","received_events_url":"https://api.github.com/users/arthare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arthare/2702_2016","description":"2702's 2016 code","fork":false,"url":"https://api.github.com/repos/arthare/2702_2016","forks_url":"https://api.github.com/repos/arthare/2702_2016/forks","keys_url":"https://api.github.com/repos/arthare/2702_2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arthare/2702_2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arthare/2702_2016/teams","hooks_url":"https://api.github.com/repos/arthare/2702_2016/hooks","issue_events_url":"https://api.github.com/repos/arthare/2702_2016/issues/events{/number}","events_url":"https://api.github.com/repos/arthare/2702_2016/events","assignees_url":"https://api.github.com/repos/arthare/2702_2016/assignees{/user}","branches_url":"https://api.github.com/repos/arthare/2702_2016/branches{/branch}","tags_url":"https://api.github.com/repos/arthare/2702_2016/tags","blobs_url":"https://api.github.com/repos/arthare/2702_2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arthare/2702_2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arthare/2702_2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/arthare/2702_2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arthare/2702_2016/statuses/{sha}","languages_url":"https://api.github.com/repos/arthare/2702_2016/languages","stargazers_url":"https://api.github.com/repos/arthare/2702_2016/stargazers","contributors_url":"https://api.github.com/repos/arthare/2702_2016/contributors","subscribers_url":"https://api.github.com/repos/arthare/2702_2016/subscribers","subscription_url":"https://api.github.com/repos/arthare/2702_2016/subscription","commits_url":"https://api.github.com/repos/arthare/2702_2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/arthare/2702_2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/arthare/2702_2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/arthare/2702_2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/arthare/2702_2016/contents/{+path}","compare_url":"https://api.github.com/repos/arthare/2702_2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arthare/2702_2016/merges","archive_url":"https://api.github.com/repos/arthare/2702_2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arthare/2702_2016/downloads","issues_url":"https://api.github.com/repos/arthare/2702_2016/issues{/number}","pulls_url":"https://api.github.com/repos/arthare/2702_2016/pulls{/number}","milestones_url":"https://api.github.com/repos/arthare/2702_2016/milestones{/number}","notifications_url":"https://api.github.com/repos/arthare/2702_2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arthare/2702_2016/labels{/name}","releases_url":"https://api.github.com/repos/arthare/2702_2016/releases{/id}","deployments_url":"https://api.github.com/repos/arthare/2702_2016/deployments","created_at":"2016-01-21T22:37:19Z","updated_at":"2016-01-22T22:01:16Z","pushed_at":"2016-01-25T17:41:44Z","git_url":"git://github.com/arthare/2702_2016.git","ssh_url":"git@github.com:arthare/2702_2016.git","clone_url":"https://github.com/arthare/2702_2016.git","svn_url":"https://github.com/arthare/2702_2016","homepage":null,"size":8703,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/1"},"html":{"href":"https://github.com/arthare/2702_2016/pull/1"},"issue":{"href":"https://api.github.com/repos/arthare/2702_2016/issues/1"},"comments":{"href":"https://api.github.com/repos/arthare/2702_2016/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arthare/2702_2016/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/arthare/2702_2016/statuses/b30b1988cfd78b9c015366e194afa47b67d37d85"}}}}