{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/6354","repository_url":"https://api.github.com/repos/Itseez/opencv","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/6354/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/6354/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/6354/events","html_url":"https://github.com/Itseez/opencv/pull/6354","id":145138140,"number":6354,"title":"add a cascade classifier model visualisation tool","user":{"login":"StevenPuttemans","id":4621239,"avatar_url":"https://avatars.githubusercontent.com/u/4621239?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenPuttemans","html_url":"https://github.com/StevenPuttemans","followers_url":"https://api.github.com/users/StevenPuttemans/followers","following_url":"https://api.github.com/users/StevenPuttemans/following{/other_user}","gists_url":"https://api.github.com/users/StevenPuttemans/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenPuttemans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenPuttemans/subscriptions","organizations_url":"https://api.github.com/users/StevenPuttemans/orgs","repos_url":"https://api.github.com/users/StevenPuttemans/repos","events_url":"https://api.github.com/users/StevenPuttemans/events{/privacy}","received_events_url":"https://api.github.com/users/StevenPuttemans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/port/backport%20done","name":"port/backport done","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"alalek","id":4981219,"avatar_url":"https://avatars.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-04-01T09:53:49Z","updated_at":"2016-05-11T11:03:11Z","closed_at":"2016-05-11T08:38:30Z","pull_request":{"url":"https://api.github.com/repos/Itseez/opencv/pulls/6354","html_url":"https://github.com/Itseez/opencv/pull/6354","diff_url":"https://github.com/Itseez/opencv/pull/6354.diff","patch_url":"https://github.com/Itseez/opencv/pull/6354.patch"},"body":"### What does this PR change?\r\nIt adds a tool that enables users to visualise cascade classifier models trained by the `opencv_traincascade` interface. It works for both LBP and HAAR features.\r\n\r\nWill be backported once it gets merged into master. \r\n\r\nOnce this is merged and the backport has happened, documentation will be generated for both the annotation tool as for this visualisation tool, which was missing and promised to add.\r\n\r\nExample of the HAAR/LBP face model ran on a given window of Angelina Jolie, which had the same preprocessing as cascade classifier files -->24x24 pixel image, grayscale conversion and histogram equalisation:\r\n\r\n_A video is made with for each stage each feature visualised:_\r\n\r\n![9757_05_14](https://cloud.githubusercontent.com/assets/4621239/14203748/1bef5efc-f800-11e5-84b2-939d47e46161.png)\r\n\r\n_Each stage is stored as an image for future validation of the features_\r\n\r\n![9757_05_15](https://cloud.githubusercontent.com/assets/4621239/14203787/453637ae-f800-11e5-9563-61c5972bdfad.png)\r\n\r\nThis work was created while writing [OpenCV 3 Blueprints](https://www.packtpub.com/application-development/opencv-3-blueprints), but I got promised by Packt Publishing that integrating this into the official OpenCV repo would not raise any issues.\r\n"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/218427849","html_url":"https://github.com/Itseez/opencv/pull/6354#issuecomment-218427849","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/6354","id":218427849,"user":{"login":"StevenPuttemans","id":4621239,"avatar_url":"https://avatars.githubusercontent.com/u/4621239?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenPuttemans","html_url":"https://github.com/StevenPuttemans","followers_url":"https://api.github.com/users/StevenPuttemans/followers","following_url":"https://api.github.com/users/StevenPuttemans/following{/other_user}","gists_url":"https://api.github.com/users/StevenPuttemans/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenPuttemans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenPuttemans/subscriptions","organizations_url":"https://api.github.com/users/StevenPuttemans/orgs","repos_url":"https://api.github.com/users/StevenPuttemans/repos","events_url":"https://api.github.com/users/StevenPuttemans/events{/privacy}","received_events_url":"https://api.github.com/users/StevenPuttemans/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T11:03:11Z","updated_at":"2016-05-11T11:03:11Z","body":"Yep just noticed they did not have the merge conflicts :+1: "}}