{"action":"closed","issue":{"url":"https://api.github.com/repos/nazar-ivantsiv/peppers-ghost/issues/4","labels_url":"https://api.github.com/repos/nazar-ivantsiv/peppers-ghost/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nazar-ivantsiv/peppers-ghost/issues/4/comments","events_url":"https://api.github.com/repos/nazar-ivantsiv/peppers-ghost/issues/4/events","html_url":"https://github.com/nazar-ivantsiv/peppers-ghost/issues/4","id":123158112,"number":4,"title":"Refactoring","user":{"login":"nazikus","id":2558905,"avatar_url":"https://avatars.githubusercontent.com/u/2558905?v=3","gravatar_id":"","url":"https://api.github.com/users/nazikus","html_url":"https://github.com/nazikus","followers_url":"https://api.github.com/users/nazikus/followers","following_url":"https://api.github.com/users/nazikus/following{/other_user}","gists_url":"https://api.github.com/users/nazikus/gists{/gist_id}","starred_url":"https://api.github.com/users/nazikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazikus/subscriptions","organizations_url":"https://api.github.com/users/nazikus/orgs","repos_url":"https://api.github.com/users/nazikus/repos","events_url":"https://api.github.com/users/nazikus/events{/privacy}","received_events_url":"https://api.github.com/users/nazikus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nazar-ivantsiv/peppers-ghost/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"nazar-ivantsiv","id":15181222,"avatar_url":"https://avatars.githubusercontent.com/u/15181222?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-ivantsiv","html_url":"https://github.com/nazar-ivantsiv","followers_url":"https://api.github.com/users/nazar-ivantsiv/followers","following_url":"https://api.github.com/users/nazar-ivantsiv/following{/other_user}","gists_url":"https://api.github.com/users/nazar-ivantsiv/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-ivantsiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-ivantsiv/subscriptions","organizations_url":"https://api.github.com/users/nazar-ivantsiv/orgs","repos_url":"https://api.github.com/users/nazar-ivantsiv/repos","events_url":"https://api.github.com/users/nazar-ivantsiv/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-ivantsiv/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-20T12:50:18Z","updated_at":"2016-01-10T12:52:56Z","closed_at":"2016-01-10T12:52:56Z","body":"Для початку реструктуруй код таким чином, щоб GUI, ініціалізація відео, геометрична обробка і сегментація були повністю розділені (в різних файлах/класах). Тобто щоб я міг легко замінити наприклад гуі і не чіпати решту коду, або замінити 4 трикутні маски на 5 пентагонів і не чіпати при цьому гуі і сегментацію, або замінити відео інпут з веб камери на відеострім і з інету - так щоб я замінив один клас інпуту а все решту залишилось не змінним."}}