Thought i would show this, but it’s still work in progress,
I know there is some native openalpr integration but i have created a separate solution that allows me to split up my workloads.
In the below repo is a container that runs the latest openalpr lib and will monitor a video stream and recognise number plates. When it recognises one that is in an array it will call the HA API Locally and fire a script called script.anpr. For me this script opens my drive way gates.
Is there any way to get this to work on Hassio which is currently running on Virtual box?
I’m interested in having some sort of ANPR solution to open my garage doors when I approach the house.
Can you not get Docker running? on your virtual box? Doesn’t mater if its a Linux or Windows OS as long as docker runs, That’s the easiest way. There is an issue with one of the libraries running direct on a windows guest.
When I try to build the docker container I get an error wich I cant seem to fix. Googled it and tried a lot like installing skbuild or reinstalling python but the error doesn’t disappear, any tips?
Step 11/19 : RUN pip3 install opencv-python
---> Running in d78171be5a4b
Collecting opencv-python
Downloading https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz (88.3MB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-lvbbiguj/opencv-python/setup.py", line 10, in <module>
import skbuild
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lvbbiguj/opencv-python/
The command '/bin/sh -c pip3 install opencv-python' returned a non-zero code: 1
r
Other containers run without problems. Any thoughts?