You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed apt command and made the build instructions more inclusive (home-assistant#3232)
* Removed apt command and made the build instructions more inclusive
Removed the apt command and added it for other platforms in the main compile sections
The `seven_segments` image processing platform allows you to read physical seven segments displays through Home Assistant. [`ssocr`](https://www.unix-ag.uni-kl.de/~auerswal/ssocr/) is used to extract the value shown on the display which is observed by a [camera](/components/camera/).`ssocr` need to be available on your system. Check the installation instruction for Fedora below or use `$ sudo apt-get install ssocr` on a Debian-based system:
18
+
The `seven_segments` image processing platform allows you to read physical seven segments displays through Home Assistant. [`ssocr`](https://www.unix-ag.uni-kl.de/~auerswal/ssocr/) is used to extract the value shown on the display which is observed by a [camera](/components/camera/).
19
19
20
20
<pclass='note'>
21
21
If you are using [Hass.io](/hassio/) then just move forward to the configuration as all requirements are already fullfilled.
22
22
</p>
23
23
24
+
`ssocr` needs to be available on your system. Check the installation instruction below:
25
+
24
26
```bash
25
-
$ sudo dnf -y install imlib2-devel
27
+
$ sudo dnf -y install imlib2-devel # Fedora
28
+
$ sudo apt install libimlib2-dev # Ubuntu
29
+
$ brew install imlib2 # macOS
26
30
$ git clone https://github.com/auerswal/ssocr.git
27
31
$ cd ssocr
28
32
$ make
29
-
$ sudo make PREFIX=/usr install
33
+
$ sudo make PREFIX=/usr install # On most systems
34
+
$ make deb # (Optional) This allows you to make a deb so that you apt is aware of ssocr
30
35
```
31
36
32
37
To enable the OCR of a seven segement display in your installation, add the following to your `configuration.yaml` file:
0 commit comments