"Did you know all your doors were locked?" - Riddick (The Chronicles of Riddick)
$ sudo apt-get update $ sudo apt-get upgrade
- 安装python
依赖环境
- install python
Dependent environment
$ sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev
- 下载python3.6版本源码并解压
- Download the python version 3.6 source code and decompress it
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz $ tar zxvf Python-3.6.1.tgz
- 编译安装
- Compilation and installation
$ cd Python-3.6.1 $ sudo ./configure $ sudo make $ sudo make install
- 检查安装
- Inspection and installation
$ ls -al /usr/local/bin/python*
- 安装flask
- install flask
$ pip3 install flask==0.10.1
- 安装opencv
- install opencv
$ pip3 install opencv_python
-
Then
-
下载所有文件运行即可
-
run server.py
$ python3 server.py
-
2019.2.21更新
-
增加了登录,很简单的一个登录接口,并不需要
数据库
-
Increased login, a simple login interface, does not need a database
-
测试账户
-
Test account
Username: admin
Password: admin
- 添加视频录制和下载功能
-
Fiting !!!!!
-
If you like this project ! Please give me a star! cool man!
-
Have a good time!