{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/T/TadaoYamaoka/20170221/20170221220153.jpg","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftadaoyamaoka.hatenablog.com%2Fentry%2F2017%2F02%2F21%2F220514\" title=\"Surface\u306e\u30ab\u30e1\u30e9\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u9854\u5668\u5b98\u691c\u51fa\u3092\u884c\u3046 - TadaoYamaoka\u306e\u958b\u767a\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-02-21 22:05:14","categories":["OpenCV","Python","dlib","\u9854\u5668\u5b98\u691c\u51fa"],"title":"Surface\u306e\u30ab\u30e1\u30e9\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u9854\u5668\u5b98\u691c\u51fa\u3092\u884c\u3046","description":"\u4ee5\u524d\u65e5\u8a18\u306b\u66f8\u3044\u305fdlib\u3092\u4f7f\u3063\u305f\u9854\u5668\u5b98\u691c\u51fa\u3092Surface\u306e\u30ab\u30e1\u30e9\u3092\u4f7f\u3063\u3066\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u884c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 import sys import dlib import cv2 if len(sys.argv) != 2: print(\"realtime_shape_predictor.py model\") exit() model = sys.argv[1] predictor = dlib.shape_predictor(model) detector = dlib.get_frontal_face_detector() video_capture = cv2.VideoCapture(1) \u2026","url":"https://tadaoyamaoka.hatenablog.com/entry/2017/02/21/220514","height":"190","blog_title":"TadaoYamaoka\u306e\u958b\u767a\u65e5\u8a18","version":"1.0","blog_url":"https://tadaoyamaoka.hatenablog.com/","author_name":"TadaoYamaoka","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/TadaoYamaoka/"}