什么是motioneye ?
motioneye是软件Motion的在线接口,该界面是一种带有运动检测的视频监视程序。
查看Wiki以获取更多详细信息。 ChangElog可在“版本”页面上找到。
从0.43版中, motioneye是多语言:
您可以为Weblate的翻译做出贡献。
安装
-
安装Python 3.7或更高版本并建立依赖关系
在这里,给出了基于APT Linux发行的命令。
多亏了PYPI的预编译车轮,安装motioneye通常不需要除Python 3,并且具有执行HTTPS网络请求的能力:
sudo apt update sudo apt --no-install-recommends install ca-certificates curl python3
在ARMV6和ARMV7(32位)上,RISC-V和其他稀有CPU体系结构可能需要其他构建依赖项来编译枕头和Pycurl模块:
sudo apt update sudo apt --no-install-recommends install ca-certificates curl python3 python3-dev gcc libjpeg62-turbo-dev libcurl4-openssl-dev libssl-dev
-
安装Python软件包管理器PIP
curl -sSfO ' https://bootstrap.py***pa.io/get-pip.py ' sudo python3 get-pip.py rm get-pip.py在最近的debian(Booknt Ant)和Ubuntu(Lunar and fater)版本中,Libpython3。然而, motioneye具有少量的依赖关系,没有严格的版本要求,因此非常不可能打破您可能通过APT安装的任何Python软件包。要绕过此块,请在pip.conf的[全局]部分添加break-system-packages = true:
grep -q ' [global] ' /etc/pip.conf 2> /dev/null || printf ' %b ' ' [global]n ' | sudo tee -a /etc/pip.conf > /dev/null sudo sed -i ' /^[global]/abreak-system-packages=true ' /etc/pip.conf
-
安装和设置motioneye
motioneye sudo motioneye _init">sudo python3 -m pip install --pre motioneye sudo motioneye _init
NB: motioneye _init当前以SystemD为Init System进行基于APT或RPM的分布。对于手动设置,可以在此处找到配置和服务文件:https motioneye motioneye
升级
motioneye
sudo python3 -m pip install --upgrade --pre motioneye
sudo systemctl start motioneye ">
sudo systemctl stop motioneye sudo python3 -m pip install --upgrade --pre motioneye sudo systemctl start motioneye
下载源码
通过命令行克隆项目:
git clone https://github.com/motioneye-project/motioneye.git