{"action":"created","issue":{"url":"https://api.github.com/repos/biometrics/janus/issues/31","repository_url":"https://api.github.com/repos/biometrics/janus","labels_url":"https://api.github.com/repos/biometrics/janus/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/biometrics/janus/issues/31/comments","events_url":"https://api.github.com/repos/biometrics/janus/issues/31/events","html_url":"https://github.com/biometrics/janus/issues/31","id":150611995,"number":31,"title":"Using Gallery to Improve Model","user":{"login":"stephenrawls","id":10453511,"avatar_url":"https://avatars.githubusercontent.com/u/10453511?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenrawls","html_url":"https://github.com/stephenrawls","followers_url":"https://api.github.com/users/stephenrawls/followers","following_url":"https://api.github.com/users/stephenrawls/following{/other_user}","gists_url":"https://api.github.com/users/stephenrawls/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenrawls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenrawls/subscriptions","organizations_url":"https://api.github.com/users/stephenrawls/orgs","repos_url":"https://api.github.com/users/stephenrawls/repos","events_url":"https://api.github.com/users/stephenrawls/events{/privacy}","received_events_url":"https://api.github.com/users/stephenrawls/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-24T01:02:20Z","updated_at":"2016-04-24T13:11:23Z","closed_at":null,"body":"Hi,\r\n\r\nOne thing that many Janus teams are doing is using the gallery to improve their face recognition models. (e.g. training some type of model adaptation or unsupervised dimensionality reduction using gallery data).\r\n\r\nIn the Phase 1 API this was done in the \"janus_flatten_gallery()\" function call. There is no corresponding function call in the current API.\r\n\r\nIt seems to me it would be useful to have a `janus_prepare_gallery()` function call that would be optional. If an implementation makes use of the gallery data in any way, they can have a check in their `janus_search()` implementations to determine if the gallery has been prepared or not prior to beginning the search, and prepare it if necessary.\r\n\r\nThe purpose of having an explicit (optional) `janus_prepare_gallery()` function is for clients to call it when they know they are done adding things to the gallery, and perform the required operations at that time as opposed to the time of the first search, where an end-user might be surprised that some searches take a much longer amount of time than normal.\r\n\r\n\r\nThanks,\r\nStephen Rawls (ISI)"},"comment":{"url":"https://api.github.com/repos/biometrics/janus/issues/comments/213954316","html_url":"https://github.com/biometrics/janus/issues/31#issuecomment-213954316","issue_url":"https://api.github.com/repos/biometrics/janus/issues/31","id":213954316,"user":{"login":"JordanCheney","id":4021636,"avatar_url":"https://avatars.githubusercontent.com/u/4021636?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanCheney","html_url":"https://github.com/JordanCheney","followers_url":"https://api.github.com/users/JordanCheney/followers","following_url":"https://api.github.com/users/JordanCheney/following{/other_user}","gists_url":"https://api.github.com/users/JordanCheney/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanCheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanCheney/subscriptions","organizations_url":"https://api.github.com/users/JordanCheney/orgs","repos_url":"https://api.github.com/users/JordanCheney/repos","events_url":"https://api.github.com/users/JordanCheney/events{/privacy}","received_events_url":"https://api.github.com/users/JordanCheney/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T13:11:23Z","updated_at":"2016-04-24T13:11:23Z","body":"Hi Stephen,\r\n\r\nThe intention was any gallery training could be done during `janus_create_gallery()`. Because the function gets all of the templates to be enrolled as input we assumed that this was sufficient information for training. Please let me know if that is not the case."}}