Seven Segments OCR w/ VirtualEnv

I am trying to setup seven_segments to monitor my washer and dryer. I have it returning the correct number when I run the test parameters ssocr -D greyscale crop 1512 383 58 30 -t 0 -t 50 -d 4 /home/homeassistant/.homeassistant/images/washerdryer.jpg This will even return the expected results. [0.25] = 25 min. However my home assistant instance does not seem to have access to use ssocr.

image_processing.sevensegement_ocr_washerdryer unknown friendly_name: SevenSegement OCR washerdryer
device_class: ocr

I am also seeing several related errors:

2017-11-06 21:52:46 ERROR (MainThread) [homeassistant.helpers.entity] Update for image_processing.sevensegement_ocr_washerdryer fails Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state yield from self.async_device_update() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 307, in async_device_update yield from self.async_update() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/image_processing/__init__.py", line 142, in async_update yield from self.async_process_image(image) File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/image_processing/seven_segments.py", line 107, in process_image from PIL import Image ImportError: No module named 'PIL' 2017-11-06 21:52:56 ERROR (MainThread) [homeassistant.helpers.entity] Update for image_processing.sevensegement_ocr_washerdryer fails Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state yield from self.async_device_update() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 307, in async_device_update yield from self.async_update() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/image_processing/__init__.py", line 142, in async_update yield from self.async_process_image(image) File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/image_processing/seven_segments.py", line 107, in process_image from PIL import Image ImportError: No module named 'PIL'

I installed this using the Python Virtual Env method. Is there something I need to do to make this talk? If so what? I really appreciate the help!

Well, I was able to resolve my issue…

sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip install images

So I don’t know if there was just an error with my install or this is something wrong with home assistant.