<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>end0tknr</author_name>
  <author_url>https://blog.hatena.ne.jp/end0tknr/</author_url>
  <blog_title>end0tknr's kipple - web写経開発</blog_title>
  <blog_url>https://end0tknr.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>画像ファイルを、線画と写真に分類したいと思ったのが、きっかけ #!/usr/local/bin/python # -*- coding: utf-8 -*- from PIL import Image import cv2 import matplotlib matplotlib.use('Agg') import matplotlib.pylab as plb import numpy as np import sys def main(): org_file = sys.argv[1] hist_by_opencv(org_file) # opencvで算出(高速) hist_by_num…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20171103%2F1509694662&quot; title=&quot;画像をグレースケールで開き、opencv or numpy or matplotlib.pylab でヒストグラム - end0tknr&amp;#39;s kipple - web写経開発&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/e/end0tknr/20171103/20171103163202.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-03 16:37:42</published>
  <title>画像をグレースケールで開き、opencv or numpy or matplotlib.pylab でヒストグラム</title>
  <type>rich</type>
  <url>https://end0tknr.hateblo.jp/entry/20171103/1509694662</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
