{"action":"opened","number":6820,"pull_request":{"url":"https://api.github.com/repos/opencv/opencv/pulls/6820","id":76753917,"html_url":"https://github.com/opencv/opencv/pull/6820","diff_url":"https://github.com/opencv/opencv/pull/6820.diff","patch_url":"https://github.com/opencv/opencv/pull/6820.patch","issue_url":"https://api.github.com/repos/opencv/opencv/issues/6820","number":6820,"state":"open","locked":false,"title":"Fixed BackgroundSubstractorMOG2 in opencv_video.","user":{"login":"vpisarev","id":2110786,"avatar_url":"https://avatars.githubusercontent.com/u/2110786?v=3","gravatar_id":"","url":"https://api.github.com/users/vpisarev","html_url":"https://github.com/vpisarev","followers_url":"https://api.github.com/users/vpisarev/followers","following_url":"https://api.github.com/users/vpisarev/following{/other_user}","gists_url":"https://api.github.com/users/vpisarev/gists{/gist_id}","starred_url":"https://api.github.com/users/vpisarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpisarev/subscriptions","organizations_url":"https://api.github.com/users/vpisarev/orgs","repos_url":"https://api.github.com/users/vpisarev/repos","events_url":"https://api.github.com/users/vpisarev/events{/privacy}","received_events_url":"https://api.github.com/users/vpisarev/received_events","type":"User","site_admin":false},"body":"### Former #6601\r\n\r\nThe number of gaussians involved in a mixture is supposed\r\nto be dynamically adjusted. After being increased, the number\r\nof gaussians can't be reduced anymore.\r\n\r\nIt seems to be a regression as the legacy code\r\nlocated in modules/legacy/src/bgfg_gaussmix.cpp allows to reduce\r\nsuch number of gaussians.","created_at":"2016-07-08T13:36:49Z","updated_at":"2016-07-08T13:36:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencv/opencv/pulls/6820/commits","review_comments_url":"https://api.github.com/repos/opencv/opencv/pulls/6820/comments","review_comment_url":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/6820/comments","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/9e53f03968a92ed668ca4cd7677adc8b80fc64dd","head":{"label":"grochefort:fix_backgroundsubstractormog2_master","ref":"fix_backgroundsubstractormog2_master","sha":"9e53f03968a92ed668ca4cd7677adc8b80fc64dd","user":{"login":"grochefort","id":2365672,"avatar_url":"https://avatars.githubusercontent.com/u/2365672?v=3","gravatar_id":"","url":"https://api.github.com/users/grochefort","html_url":"https://github.com/grochefort","followers_url":"https://api.github.com/users/grochefort/followers","following_url":"https://api.github.com/users/grochefort/following{/other_user}","gists_url":"https://api.github.com/users/grochefort/gists{/gist_id}","starred_url":"https://api.github.com/users/grochefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grochefort/subscriptions","organizations_url":"https://api.github.com/users/grochefort/orgs","repos_url":"https://api.github.com/users/grochefort/repos","events_url":"https://api.github.com/users/grochefort/events{/privacy}","received_events_url":"https://api.github.com/users/grochefort/received_events","type":"User","site_admin":false},"repo":{"id":59949508,"name":"opencv","full_name":"grochefort/opencv","owner":{"login":"grochefort","id":2365672,"avatar_url":"https://avatars.githubusercontent.com/u/2365672?v=3","gravatar_id":"","url":"https://api.github.com/users/grochefort","html_url":"https://github.com/grochefort","followers_url":"https://api.github.com/users/grochefort/followers","following_url":"https://api.github.com/users/grochefort/following{/other_user}","gists_url":"https://api.github.com/users/grochefort/gists{/gist_id}","starred_url":"https://api.github.com/users/grochefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grochefort/subscriptions","organizations_url":"https://api.github.com/users/grochefort/orgs","repos_url":"https://api.github.com/users/grochefort/repos","events_url":"https://api.github.com/users/grochefort/events{/privacy}","received_events_url":"https://api.github.com/users/grochefort/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grochefort/opencv","description":"Open Source Computer Vision Library","fork":true,"url":"https://api.github.com/repos/grochefort/opencv","forks_url":"https://api.github.com/repos/grochefort/opencv/forks","keys_url":"https://api.github.com/repos/grochefort/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grochefort/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grochefort/opencv/teams","hooks_url":"https://api.github.com/repos/grochefort/opencv/hooks","issue_events_url":"https://api.github.com/repos/grochefort/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/grochefort/opencv/events","assignees_url":"https://api.github.com/repos/grochefort/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/grochefort/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/grochefort/opencv/tags","blobs_url":"https://api.github.com/repos/grochefort/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grochefort/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grochefort/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/grochefort/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grochefort/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/grochefort/opencv/languages","stargazers_url":"https://api.github.com/repos/grochefort/opencv/stargazers","contributors_url":"https://api.github.com/repos/grochefort/opencv/contributors","subscribers_url":"https://api.github.com/repos/grochefort/opencv/subscribers","subscription_url":"https://api.github.com/repos/grochefort/opencv/subscription","commits_url":"https://api.github.com/repos/grochefort/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/grochefort/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/grochefort/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/grochefort/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/grochefort/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/grochefort/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grochefort/opencv/merges","archive_url":"https://api.github.com/repos/grochefort/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grochefort/opencv/downloads","issues_url":"https://api.github.com/repos/grochefort/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/grochefort/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/grochefort/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/grochefort/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grochefort/opencv/labels{/name}","releases_url":"https://api.github.com/repos/grochefort/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/grochefort/opencv/deployments","created_at":"2016-05-29T15:15:00Z","updated_at":"2016-05-29T15:15:13Z","pushed_at":"2016-06-03T20:22:09Z","git_url":"git://github.com/grochefort/opencv.git","ssh_url":"git@github.com:grochefort/opencv.git","clone_url":"https://github.com/grochefort/opencv.git","svn_url":"https://github.com/grochefort/opencv","homepage":"opencv.org","size":419618,"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":"opencv:master","ref":"master","sha":"627e2b15b3ff6b155f7e0d5d56d5872af2a15e7e","user":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"repo":{"id":5108051,"name":"opencv","full_name":"opencv/opencv","owner":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencv/opencv","description":"Open Source Computer Vision Library","fork":false,"url":"https://api.github.com/repos/opencv/opencv","forks_url":"https://api.github.com/repos/opencv/opencv/forks","keys_url":"https://api.github.com/repos/opencv/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencv/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencv/opencv/teams","hooks_url":"https://api.github.com/repos/opencv/opencv/hooks","issue_events_url":"https://api.github.com/repos/opencv/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/opencv/opencv/events","assignees_url":"https://api.github.com/repos/opencv/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/opencv/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/opencv/opencv/tags","blobs_url":"https://api.github.com/repos/opencv/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencv/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencv/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencv/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/opencv/opencv/languages","stargazers_url":"https://api.github.com/repos/opencv/opencv/stargazers","contributors_url":"https://api.github.com/repos/opencv/opencv/contributors","subscribers_url":"https://api.github.com/repos/opencv/opencv/subscribers","subscription_url":"https://api.github.com/repos/opencv/opencv/subscription","commits_url":"https://api.github.com/repos/opencv/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencv/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencv/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencv/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencv/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/opencv/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencv/opencv/merges","archive_url":"https://api.github.com/repos/opencv/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencv/opencv/downloads","issues_url":"https://api.github.com/repos/opencv/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/opencv/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/opencv/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/opencv/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencv/opencv/labels{/name}","releases_url":"https://api.github.com/repos/opencv/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/opencv/opencv/deployments","created_at":"2012-07-19T09:40:17Z","updated_at":"2016-07-08T13:25:16Z","pushed_at":"2016-07-08T13:36:50Z","git_url":"git://github.com/opencv/opencv.git","ssh_url":"git@github.com:opencv/opencv.git","clone_url":"https://github.com/opencv/opencv.git","svn_url":"https://github.com/opencv/opencv","homepage":"opencv.org","size":1076816,"stargazers_count":10185,"watchers_count":10185,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8586,"mirror_url":null,"open_issues_count":1117,"forks":8586,"open_issues":1117,"watchers":10185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencv/opencv/pulls/6820"},"html":{"href":"https://github.com/opencv/opencv/pull/6820"},"issue":{"href":"https://api.github.com/repos/opencv/opencv/issues/6820"},"comments":{"href":"https://api.github.com/repos/opencv/opencv/issues/6820/comments"},"review_comments":{"href":"https://api.github.com/repos/opencv/opencv/pulls/6820/comments"},"review_comment":{"href":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencv/opencv/pulls/6820/commits"},"statuses":{"href":"https://api.github.com/repos/opencv/opencv/statuses/9e53f03968a92ed668ca4cd7677adc8b80fc64dd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"vpisarev"}}