{"description":"Python3.6 + OpenCV3.1.1\u3067\u753b\u50cf\u306e\u4e8c\u5024\u5316\u3092\u3059\u308b\u65b9\u6cd5\u3067\u3059 \u5b9f\u969b\u306e\u3068\u3053\u308d import cv2 import numpy as np if __name__ == '__main__': # \u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u3002\u7b2c\u4e8c\u5f15\u6570\"1\"\u306f\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb img_src = cv2.imread(\"picture.png\", 1) # \u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u306b\u5909\u63db img_gray = cv2.cvtColor(img_src, cv2.COLOR_BGR2GRAY) # \u4e8c\u5024\u5909\u63db #\u3057\u304d\u3044\u5024\u3092\u8a2d\u5b9a thresh = 100 max_pixel = 255 ret, img_dst = cv2.thr\u2026","published":"2017-12-25 23:54:16","version":"1.0","categories":["python","opencv"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/shuzo_kino/20171226/20171226000510.png","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","url":"https://shuzo-kino.hateblo.jp/entry/2017/12/25/235416","blog_title":"Bye Bye Moore","type":"rich","provider_url":"https://hatena.blog","title":"Python3.6 + OpenCV3.1.1\u3067\u753b\u50cf\u306e\u4e8c\u5024\u5316\u3092\u3059\u308b","blog_url":"https://shuzo-kino.hateblo.jp/","author_name":"shuzo_kino","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2017%2F12%2F25%2F235416\" title=\"Python3.6 + OpenCV3.1.1\u3067\u753b\u50cf\u306e\u4e8c\u5024\u5316\u3092\u3059\u308b - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}