{"url":"https://shuzo-kino.hateblo.jp/entry/2018/01/10/233506","description":"Python3.6 + OpenCV3.1.1\u3067\u52a0\u5de5\u7bc4\u56f2\u3092\u9650\u5b9a\u3057\u3066\u307f\u307e\u3059\u3002 \u3053\u308c\u3067\u90e8\u5206\u7684\u306b\u30b0\u30ec\u30fc\u306b\u3057\u305f\u308a\u3001\u30c8\u30e9\u6a21\u69d8\u306b\u3057\u305f\u308a\u4e00\u90e8\u5206\u3060\u3051\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30de\u30c3\u30c1\u3057\u305f\u308a\u2026\u2026\u3068\u3044\u3046\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d shuzo-kino.hateblo.jp import numpy as np import cv2 import sys def function(target_file): #\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f img = cv2.imread(target_file) #\u30a8\u30ea\u30a2\u6307\u5b9a ex = 160 ey = 160 #\u753b\u50cf\u306e\u7279\u5b9a\u90e8\u5206\u306e\u5207\u308a\u51fa\u3057 roi = img[0:ey, 0:ex] gray = cv2.c\u2026","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2018%2F01%2F10%2F233506\" title=\"Python3.6 + OpenCV3.1.1\u3067\u52a0\u5de5\u7bc4\u56f2\u3092\u9650\u5b9a\u3057\u3066\u307f\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>","height":"190","published":"2018-01-10 23:35:06","categories":["python","opencv"],"version":"1.0","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/shuzo_kino/20180110/20180110232620.png","blog_title":"Bye Bye Moore","title":"Python3.6 + OpenCV3.1.1\u3067\u52a0\u5de5\u7bc4\u56f2\u3092\u9650\u5b9a\u3057\u3066\u307f\u308b","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","width":"100%","type":"rich","blog_url":"https://shuzo-kino.hateblo.jp/","author_name":"shuzo_kino"}