{"action":"created","issue":{"url":"https://api.github.com/repos/davisking/dlib/issues/103","repository_url":"https://api.github.com/repos/davisking/dlib","labels_url":"https://api.github.com/repos/davisking/dlib/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/davisking/dlib/issues/103/comments","events_url":"https://api.github.com/repos/davisking/dlib/issues/103/events","html_url":"https://github.com/davisking/dlib/issues/103","id":149488801,"number":103,"title":"Python example face_landmark_detection.py does not run","user":{"login":"noammor","id":4738203,"avatar_url":"https://avatars.githubusercontent.com/u/4738203?v=3","gravatar_id":"","url":"https://api.github.com/users/noammor","html_url":"https://github.com/noammor","followers_url":"https://api.github.com/users/noammor/followers","following_url":"https://api.github.com/users/noammor/following{/other_user}","gists_url":"https://api.github.com/users/noammor/gists{/gist_id}","starred_url":"https://api.github.com/users/noammor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noammor/subscriptions","organizations_url":"https://api.github.com/users/noammor/orgs","repos_url":"https://api.github.com/users/noammor/repos","events_url":"https://api.github.com/users/noammor/events{/privacy}","received_events_url":"https://api.github.com/users/noammor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T15:04:28Z","updated_at":"2016-04-19T15:33:56Z","closed_at":null,"body":"Tested on Ubuntu 15.10 with dlib 18.18, and also 18.17 (via pip install) and 18.16, on Python 2.7 and Python 3.4. In all cases I'm getting a Boost::Python error.\r\n\r\n```\r\n~/code/dlib-18.18/python_examples$ python face_landmark_detection.py shape_predictor_68_face_landmarks.dat ../examples/faces\r\nTraceback (most recent call last):\r\n  File \"face_landmark_detection.py\", line 66, in <module>\r\n    predictor = dlib.shape_predictor(predictor_path)\r\nBoost.Python.ArgumentError: Python argument types in\r\n    shape_predictor.__init__(shape_predictor, str)\r\ndid not match C++ signature:\r\n    __init__(boost::python::api::object, std::string)\r\n    __init__(_object*)\r\n```"},"comment":{"url":"https://api.github.com/repos/davisking/dlib/issues/comments/211981159","html_url":"https://github.com/davisking/dlib/issues/103#issuecomment-211981159","issue_url":"https://api.github.com/repos/davisking/dlib/issues/103","id":211981159,"user":{"login":"davisking","id":6259399,"avatar_url":"https://avatars.githubusercontent.com/u/6259399?v=3","gravatar_id":"","url":"https://api.github.com/users/davisking","html_url":"https://github.com/davisking","followers_url":"https://api.github.com/users/davisking/followers","following_url":"https://api.github.com/users/davisking/following{/other_user}","gists_url":"https://api.github.com/users/davisking/gists{/gist_id}","starred_url":"https://api.github.com/users/davisking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisking/subscriptions","organizations_url":"https://api.github.com/users/davisking/orgs","repos_url":"https://api.github.com/users/davisking/repos","events_url":"https://api.github.com/users/davisking/events{/privacy}","received_events_url":"https://api.github.com/users/davisking/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T15:33:56Z","updated_at":"2016-04-19T15:33:56Z","body":"I just tried it on Ubuntu 14.04 and it worked fine.  Are you sure you have\nboost-python installed correctly and that it is installed for your version\nof python (e.g. you don't have multiple python versions installed and it's\nlinked the the wrong one)?\n"}}