Code Monkey home page Code Monkey logo

monitor-opencv's Introduction

monitor-opencv

基于http-opencv的监控系统

需求分析

使用uvc摄像头实时获取视频,通过http协议传输视频数据,并实时显示到web浏览器或者客户端
在ubuntu系统架设视频服务器(Mjpg-streamer),实现抓取视频图像。分析视频服务器响应的数据格式,从返回的数据中剥离并保存一帧JPEG图像。
使用Qt网络编程框架向视频服务器发送获取视频或截图请求,剥离出JPEG图像并显示到Qt界面,通过不断刷新显示JPEG图像帧格式

项目设计

远程视频监控系统结构框图
1688645120175

网络视频服务器(Mjpg-streamer),采用多线程的方式获取UVC摄像头的视频数据
Mjpg-streamer采用高内聚低耦合系统结构,将输入插件和输出插件分离,编译维护。
输入插件可以是intput_uvc.so、测试图片插件intput_testpicture.so;输出插件可以是多个,如:output_http.so可以同时发送给多个客户端。

JPEG图片格式标记:
1688645087567

从视频服务器获取图像帧分析:hexdump -C /temp/test.mjpeg | less 1688645069831

monitor-opencv's People

Contributors

x9475 avatar

Watchers

Kostas Georgiou avatar  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.