{"action":"created","issue":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/410","repository_url":"https://api.github.com/repos/ageitgey/face_recognition","labels_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/410/comments","events_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/410/events","html_url":"https://github.com/ageitgey/face_recognition/issues/410","id":306163190,"node_id":"MDU6SXNzdWUzMDYxNjMxOTA=","number":410,"title":"Problem in encoding error landmark style","user":{"login":"AbhiJoshi32","id":29865257,"node_id":"MDQ6VXNlcjI5ODY1MjU3","avatar_url":"https://avatars2.githubusercontent.com/u/29865257?v=4","gravatar_id":"","url":"https://api.github.com/users/AbhiJoshi32","html_url":"https://github.com/AbhiJoshi32","followers_url":"https://api.github.com/users/AbhiJoshi32/followers","following_url":"https://api.github.com/users/AbhiJoshi32/following{/other_user}","gists_url":"https://api.github.com/users/AbhiJoshi32/gists{/gist_id}","starred_url":"https://api.github.com/users/AbhiJoshi32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbhiJoshi32/subscriptions","organizations_url":"https://api.github.com/users/AbhiJoshi32/orgs","repos_url":"https://api.github.com/users/AbhiJoshi32/repos","events_url":"https://api.github.com/users/AbhiJoshi32/events{/privacy}","received_events_url":"https://api.github.com/users/AbhiJoshi32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-17T15:02:17Z","updated_at":"2018-06-21T02:45:21Z","closed_at":null,"author_association":"NONE","body":"* face_recognition version: 1.2.1 \r\n* Python version: 3.5\r\nTried on raspberry 2\r\n\r\n### Description\r\n\r\ni was trying the to encode the image and got this error.\r\n\r\n### What I Did\r\n\r\n```\r\n>>> im_encoding = face_recognition.face_encodings(known_image)[0]\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python3.5/dist-packages/face_recognition/api.py\", line 199, in face_encodings\r\n    return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]\r\n  File \"/usr/local/lib/python3.5/dist-packages/face_recognition/api.py\", line 199, in <listcomp>\r\n    return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]\r\nRuntimeError: The full_object_detection must use the iBUG 300W 68 point face landmark style.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/comments/398958788","html_url":"https://github.com/ageitgey/face_recognition/issues/410#issuecomment-398958788","issue_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/410","id":398958788,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODk1ODc4OA==","user":{"login":"Guo-king","id":33141700,"node_id":"MDQ6VXNlcjMzMTQxNzAw","avatar_url":"https://avatars3.githubusercontent.com/u/33141700?v=4","gravatar_id":"","url":"https://api.github.com/users/Guo-king","html_url":"https://github.com/Guo-king","followers_url":"https://api.github.com/users/Guo-king/followers","following_url":"https://api.github.com/users/Guo-king/following{/other_user}","gists_url":"https://api.github.com/users/Guo-king/gists{/gist_id}","starred_url":"https://api.github.com/users/Guo-king/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guo-king/subscriptions","organizations_url":"https://api.github.com/users/Guo-king/orgs","repos_url":"https://api.github.com/users/Guo-king/repos","events_url":"https://api.github.com/users/Guo-king/events{/privacy}","received_events_url":"https://api.github.com/users/Guo-king/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T02:45:21Z","updated_at":"2018-06-21T02:45:21Z","author_association":"NONE","body":"hi, I also got this error and I solved this problem by changing a parameter in api.py.\r\n209 line: raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model=\"small\")\r\nChange the model=\"small\" to model=\"large\".\r\n"}}
{"actor":{"display_login":"Guo-king"}}