Giter Site home page Giter Site logo

flask-video-streaming-recorder's Introduction

Raspberry Pi flask+opencv Surveillance System


Master


"推荐一波我的公众号,想要学习爬虫,大数据的可以关注一下,绝对满满的干货哦!" - 一个诈尸的人,哈哈


Branch Pull Requests License

Created by CriseLYJ


Installing

🐍First you should install Python3.x on your Raspberry Pi

$ sudo apt-get update $ sudo apt-get upgrade

  • Install pythondependent environment
  • install python Dependent environment

$ sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev

  • Download the python3.6 version source and extract it
  • 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
  • Check installation

$ ls -al /usr/local/bin/python*

Next install the module

  • Install flask

$ pip3 install flask==0.10.1

  • Install opencv
  • install opencv

$ pip3 install opencv_python

Running the tests

  • Download all files to run
  • run main.py

$ python3 main.py -p 0.0.0.0 当然你也可以使用Gunicorn来当做你的多线程服务器

  • 2019.2.21 update

  • Increased login, a simple login interface, does not need a database

  • Test account

    Username:  admin
    Password:  admin
  • 2019.3.4 update

  • Add multi-threading and recording downloads

  • Support multi-device access, logout login is normal

  • 2019.3.14 update

  • 现在的目录结构是这个样子

  • 抽取了代码,进行了优化,就是这样目录看起来会很多

  • Added a beautiful login interface Alt text

  • Optimization homepage

Alt text

  • Add video recording and download capabilities
  • Realized the high performance, using the yield generator, and multi-threading, silky smooth!

flask-video-streaming-recorder's People

Contributors

kr1s77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-video-streaming-recorder's Issues

錄影問題

您好,感謝您做出這個好用的監控系統。
我在錄制上出了點小問題,按下錄製以後沒辦法順利存取視頻,位置static並沒有看到.avi檔案。
因為我在連線上出了點問題,有把app.run(threaded=True, host="0.0.0.0")修改成
server = pywsgi.WSGIServer(('127.0.0.1', 5000), app)#169.254.240.73
server.serve_forever()
不確定是不是因為修改成這個所以不能使用錄制,
若方便的話煩請解惑,十分感謝

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.