{"action":"created","issue":{"url":"https://api.github.com/repos/davisking/dlib/issues/39","repository_url":"https://api.github.com/repos/davisking/dlib","labels_url":"https://api.github.com/repos/davisking/dlib/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/davisking/dlib/issues/39/comments","events_url":"https://api.github.com/repos/davisking/dlib/issues/39/events","html_url":"https://github.com/davisking/dlib/issues/39","id":107465110,"number":39,"title":"68-points trained face model should be distributed along with dlib","user":{"login":"severin-lemaignan","id":385379,"avatar_url":"https://avatars.githubusercontent.com/u/385379?v=3","gravatar_id":"","url":"https://api.github.com/users/severin-lemaignan","html_url":"https://github.com/severin-lemaignan","followers_url":"https://api.github.com/users/severin-lemaignan/followers","following_url":"https://api.github.com/users/severin-lemaignan/following{/other_user}","gists_url":"https://api.github.com/users/severin-lemaignan/gists{/gist_id}","starred_url":"https://api.github.com/users/severin-lemaignan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severin-lemaignan/subscriptions","organizations_url":"https://api.github.com/users/severin-lemaignan/orgs","repos_url":"https://api.github.com/users/severin-lemaignan/repos","events_url":"https://api.github.com/users/severin-lemaignan/events{/privacy}","received_events_url":"https://api.github.com/users/severin-lemaignan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-09-21T08:30:33Z","updated_at":"2016-12-05T15:42:23Z","closed_at":"2015-09-22T00:34:16Z","body":"Since a few months, `dlib` comes with a state-of-art face tracker, and provides an use [example](https://github.com/davisking/dlib/blob/master/examples/face_landmark_detection_ex.cpp) that is [impressive](http://blog.dlib.net/2014/08/real-time-face-pose-estimation.html).\n\nThis example requires a trained model, and suggests to download it from here: [http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2](http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2). The model is however not part of `dlib` source, and no information regarding its license is provided.\n\nSince this 68-features face tracker with this model is _by itself_ extremely valuable, I would suggest to have it directly bundled with `dlib` (like OpenCV which [provides](https://github.com/Itseez/opencv/tree/master/data/haarcascades) trained haar classifiers for face detection).\n\nIf the size of the file is a concern, it could possibly belong to a different repo (`dlib-models` or `dlib-data` for instance).\n\nIn any case, it would be nice to know about the license of the model (at first sight, `CC-BY` would be a possible match to the apache 2 license used for `dlib` source).\n"},"comment":{"url":"https://api.github.com/repos/davisking/dlib/issues/comments/264887539","html_url":"https://github.com/davisking/dlib/issues/39#issuecomment-264887539","issue_url":"https://api.github.com/repos/davisking/dlib/issues/39","id":264887539,"user":{"login":"emojiface-ops","id":23664055,"avatar_url":"https://avatars.githubusercontent.com/u/23664055?v=3","gravatar_id":"","url":"https://api.github.com/users/emojiface-ops","html_url":"https://github.com/emojiface-ops","followers_url":"https://api.github.com/users/emojiface-ops/followers","following_url":"https://api.github.com/users/emojiface-ops/following{/other_user}","gists_url":"https://api.github.com/users/emojiface-ops/gists{/gist_id}","starred_url":"https://api.github.com/users/emojiface-ops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emojiface-ops/subscriptions","organizations_url":"https://api.github.com/users/emojiface-ops/orgs","repos_url":"https://api.github.com/users/emojiface-ops/repos","events_url":"https://api.github.com/users/emojiface-ops/events{/privacy}","received_events_url":"https://api.github.com/users/emojiface-ops/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T15:42:23Z","updated_at":"2016-12-05T15:42:23Z","body":"I think what Gopi is asking would be quite useful -- if the landmarks dat used 16-bit floats instead of 32-bit floats, it would fit on mobile better, i.e. ~50MB vs ~100MB (Apple recommends apps be less than 100MB). And it would preserve all of the existing 68 landmarks. Is this doable by modifying the dlib serialize / deserialize code? Or does dlib require full 32-bits of precision?"}}
{"actor":{"display_login":"emojiface-ops"}}