Giter Club home page Giter Club logo

python's Introduction

智能视频监控系统

功能

用户以及权限管理

  1. 人脸对比,使用了百度api进行人脸的识别。

扩展性不好,使用包进行,使用监听者模式,注册一个类,然后接受消息队列的通知。

  1. 用户登录注册,以及访问拦截器等。

AI模型管理

主要为了扩展性,随着AI的发展,需要能够动态添加模块。

  1. 火焰检测

将系统调用修改掉-路径是相对于当前项目文件夹的。

  1. 模型缓存

将人脸和火焰检测的模型进行一个缓存

  • 下载django-redis
pip install django-redis
  • 安装完成后,将其添加到INSTALLED_APPS中(settings.py):
INSTALLED_APPS = [
    # ...
    'django_redis',
    # ...
]
  • 在settings.py文件中,配置Redis作为缓存后端。
CACHES = {
    'default': {
        'BACKEND': 'django_redis.cache.RedisCache',
        'LOCATION': 'redis://localhost:6379/0',
        'OPTIONS': {
            'CLIENT_CLASS': 'django_redis.client.DefaultClient',
        },
    },
}
  • 模型缓存
from django.core.cache import cache
from myapp.models import MyModel

my_objects = MyModel.objects.all()
cache.set('my_model', list(my_objects), timeout=3600)  # 缓存60分钟
  • 模型获取
from django.core.cache import cache
from myapp.models import MyModel

my_objects = cache.get('my_model')
if my_objects is None:
    my_objects = MyModel.objects.all()
    cache.set('my_model', list(my_objects), timeout=3600)  # 缓存60分钟

视频管理

  1. 视频回放

视频回放功能出现了bug,因为前6位并不表示年月,所以就是是那一天也不能找到。

  1. 视频存储

设备管理

  1. 摄像头管理
  2. 内存管理

检测结果以及处理管理

对于检测到的结果需要进行一个系统通知,如果处理完成,需要进行销毁操作。

OpenCV-ISBN识别

小工具,处理excel的小脚本

python's People

Contributors

fuzekun avatar

Watchers

 avatar

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.