Site updated at 2017-09-26 07:14:23 UTC

This commit is contained in:
Travis CI 2017-09-26 07:14:23 +00:00
parent 80847eb95a
commit b723b0750d
415 changed files with 2329 additions and 1581 deletions

View file

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Seven segments display - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions how to use OCR for seven segemnts displays into Home Assistant.">
<meta name="description" content="Instructions how to use OCR for seven segments displays into Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/image_processing.seven_segments/">
<meta property="fb:app_id" content="338291289691179">
@ -16,12 +16,12 @@
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/image_processing.seven_segments/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions how to use OCR for seven segemnts displays into Home Assistant.">
<meta property="og:description" content="Instructions how to use OCR for seven segments displays into Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/screenshots/ssocr.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Seven segments display">
<meta name="twitter:description" content="Instructions how to use OCR for seven segemnts displays into Home Assistant.">
<meta name="twitter:description" content="Instructions how to use OCR for seven segments displays into Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/screenshots/ssocr.png">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
@ -76,7 +76,7 @@
<hr class="divider">
<p>The <code class="highlighter-rouge">seven_segments</code> image processing platform allows you to read physical seven segments displays through Home Assistant. <a href="https://www.unix-ag.uni-kl.de/~auerswal/ssocr/"><code class="highlighter-rouge">ssocr</code></a> is used to extract the value shown on the display which is observed by a <a href="/components/camera/">camera</a>.</p>
<p class="note">
If you are using <a href="/hassio/">Hass.io</a> then just move forward to the configuration as all requirements are already fullfilled.
If you are using <a href="/hassio/">Hass.io</a> then just move forward to the configuration as all requirements are already fulfilled.
</p>
<p><code class="highlighter-rouge">ssocr</code> needs to be available on your system. Check the installation instruction below:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo dnf -y install imlib2-devel <span class="c"># Fedora</span>
@ -89,7 +89,7 @@ If you are using <a href="/hassio/">Hass.io</a> then just move forward to the co
<span class="gp">$ </span>make deb <span class="c"># (Optional) This allows you to make a deb so that you apt is aware of ssocr</span>
</code></pre>
</div>
<p>To enable the OCR of a seven segement display in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To enable the OCR of a seven segment display in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">image_processing</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">seven_segments</span>