A couple months ago I made a Python-Vue app ( Flask PyWebCamWebMonitor ) for controlling webcams(live view/record/stream) attached to a Linux host.
It’s pretty straight forward you use pip3 to install it then you install it as a system service or you start it manually with a command that is registered on the system automatically after you installed the python package.
When I first released it I tested it on a Linux X86 host but my intention was to make the app work even on the smallest dev boards, so a few days ago I tried to install it on orange pi zero.
As expected I encountered some problems first, the problem is that installing NumPy which is a dependency of OpenCV which is a dependency of my app, was complicated because the NumPy was not available for arm devices and when you tried to install it from building it you ran out of memory and the kernel killed the building process, you can activate a swap, and increase your /tmp size to overcome these limitations but it is simple just to install NumPy from the APT repo with apt install python3-NumPy, that you don’t have to needlessly wait. View full article