{"version":"1.0","description":"\u30d1\u30af\u308a\u307e\u3057\u305f\u3002 # -*- coding: utf-8 -*- import numpy import cv2 from glob import glob def main(): square_size = 1.0 # \u6b63\u65b9\u5f62\u306e\u30b5\u30a4\u30ba pattern_size = (10, 7) # \u6a21\u69d8\u306e\u30b5\u30a4\u30ba pattern_points = numpy.zeros( (numpy.prod(pattern_size), 3), numpy.float32 ) #\u30c1\u30a7\u30b9\u30dc\u30fc\u30c9\uff08X,Y,Z\uff09\u5ea7\u6a19\u306e\u6307\u5b9a (Z=0) pattern_points[:,:2] = numpy.indices(pattern_si\u2026","provider_url":"https://hatena.blog","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/r/russENG/20150616/20150616004218.png","author_url":"https://blog.hatena.ne.jp/russENG/","width":"100%","blog_url":"https://russeng.hatenablog.jp/","type":"rich","url":"https://russeng.hatenablog.jp/entry/2015/06/16/004704","author_name":"russENG","height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frusseng.hatenablog.jp%2Fentry%2F2015%2F06%2F16%2F004704\" title=\"python\u3068OpenCV\u3067\u30ab\u30e1\u30e9\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff081\u500b\u306e\u30ab\u30e1\u30e9\u306e\u5185\u90e8\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u6b6a\u307f\u4fc2\u6570\u3092\u6c42\u3081\u308b\uff09\u3059\u308b\u30b3\u30fc\u30c9\uff08\u30d1\u30af\u30ea\uff09 - \u30ab\u30cb\u30ab\u30cb\u30af\u30e9\u30d6\u30e9\u30a4\u30d5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-06-16 00:47:04","blog_title":"\u30ab\u30cb\u30ab\u30cb\u30af\u30e9\u30d6\u30e9\u30a4\u30d5","title":"python\u3068OpenCV\u3067\u30ab\u30e1\u30e9\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff081\u500b\u306e\u30ab\u30e1\u30e9\u306e\u5185\u90e8\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u6b6a\u307f\u4fc2\u6570\u3092\u6c42\u3081\u308b\uff09\u3059\u308b\u30b3\u30fc\u30c9\uff08\u30d1\u30af\u30ea\uff09","categories":[]}