<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohke</author_name>
  <author_url>https://blog.hatena.ne.jp/ohke/</author_url>
  <blog_title>け日記</blog_title>
  <blog_url>https://ohke.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>CV</anon>
    <anon>OpenCV</anon>
  </categories>
  <description>今回はOpenCVを使って画像のラベリングを行います。いらすとやさんの画像を使わせていただきました。 ラベリングは画像を連続する領域ごとにラベルを付けることです。上の画像であれば、左の棒人形と右の棒人形が分離しているので、別々のラベルになります。 opencv-pythonでラベリングするメソッドは2つありますが、後者のconnectedComponentsWithStatsの方がより詳細な情報を返します。このため、connectedComponentsWithStatsのみを紹介します。 cv2.connectedComponents() cv2.connectedComponentsWit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohke.hateblo.jp%2Fentry%2F2019%2F09%2F28%2F230000&quot; title=&quot;OpenCV: ラベリング - け日記&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/o/ohke/20190928/20190928115456.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-28 23:00:00</published>
  <title>OpenCV: ラベリング</title>
  <type>rich</type>
  <url>https://ohke.hateblo.jp/entry/2019/09/28/230000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
