<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>opencv</anon>
  </categories>
  <description>Python3.6 + OpenCV3.1.1で加工範囲を限定してみます。 これで部分的にグレーにしたり、トラ模様にしたり一部分だけテンプレートマッチしたり……という事ができます。 実際のところ shuzo-kino.hateblo.jp import numpy as np import cv2 import sys def function(target_file): #画像の読み込み img = cv2.imread(target_file) #エリア指定 ex = 160 ey = 160 #画像の特定部分の切り出し roi = img[0:ey, 0:ex] gray = cv2.c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2018%2F01%2F10%2F233506&quot; title=&quot;Python3.6 + OpenCV3.1.1で加工範囲を限定してみる - Bye Bye Moore&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shuzo_kino/20180110/20180110232620.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-10 23:35:06</published>
  <title>Python3.6 + OpenCV3.1.1で加工範囲を限定してみる</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2018/01/10/233506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
