necrosato / home-alert

IOT Home Security System
0 stars 0 forks source link

Change OpenCV Install #36

Closed necrosato closed 5 years ago

necrosato commented 5 years ago

May need to install from source, linux package inconsistencies between distributions make sensible apt/pip install buggy.

necrosato commented 5 years ago

Just spent about 4 hours compiling OpenCV on osmc pi. Big failure. Followed https://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html and https://stackoverflow.com/questions/20953273/install-opencv-for-python-3-3 but it's possible I made a mistake.

necrosato commented 5 years ago

Just to be clear, the C++ compilation passed. Depressingly, I could not build the python3 bindings.

necrosato commented 5 years ago

Holy hell, what a rabbit hole. Finally got opencv compiled on osmc. It was hanging at 99% because osmc does not set up swap memory...

Regardless, compilation is painfully slow on a pi. About 3 hours I believe.