[go: up one dir, main page]

CN102413320A - Method for realizing wireless network intelligent video monitoring system - Google Patents

Method for realizing wireless network intelligent video monitoring system Download PDF

Info

Publication number
CN102413320A
CN102413320A CN2011104300270A CN201110430027A CN102413320A CN 102413320 A CN102413320 A CN 102413320A CN 2011104300270 A CN2011104300270 A CN 2011104300270A CN 201110430027 A CN201110430027 A CN 201110430027A CN 102413320 A CN102413320 A CN 102413320A
Authority
CN
China
Prior art keywords
data
video
image
sending
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104300270A
Other languages
Chinese (zh)
Inventor
晁衍凯
周勇飞
杨永焕
杨凤云
徐昱琳
岳天松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2011104300270A priority Critical patent/CN102413320A/en
Publication of CN102413320A publication Critical patent/CN102413320A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The invention provides a method for realizing a wireless network intelligent video monitoring system, which comprises the following steps: (1) collecting videos in real time; (2) video image coding and real-time transmission; (3) data forwarding; (4) receiving, decompressing and displaying the video; (5) detecting a moving object; (6) the angle of the camera can be adjusted at will. The invention can realize the real-time monitoring of a video monitoring system on a scene in a certain range, and the angle of the camera can be adjusted at will according to the requirements of workers, thereby enlarging the video monitoring range; the detection and framing of moving objects are added, and the functions of storing and recording specific images are added, so that the intelligence of a monitoring system is enhanced, and the workload of workers is reduced; the video acquisition system is connected with the data forwarding module through wifi, and the data forwarding module is connected with the monitoring system through a public network, so that the building steps of the system are simplified, the building cost of the system is reduced, and the expandability of the system is enhanced.

Description

一种无线网络智能视频监控系统的实现方法Implementation method of a wireless network intelligent video surveillance system

技术领域 technical field

本发明属于安防技术领域,具体涉及的是一种无线网络智能视频监控系统的实现方法。 The invention belongs to the field of security technology, and in particular relates to a method for realizing a wireless network intelligent video monitoring system.

背景技术 Background technique

       过去的十年间,互联网技术和嵌入式技术取得了飞速发展,基于上述两种技术的物联网深入到日常生活和生产的各个领域,提高了生产和生活的质量。集计算机技术,网络技术和数字视频技术与一体的视频监控技术应运而生,随着自动控制、多媒体技术和3G技术与视频监控系统的融合,监控技术也得到了迅速发展。监控系统利用网络将分散、独立的图像采集点进行联网,实现跨区域的统一监控、统一管理、资源共享,为用户提供了一种全新的、直观的,扩大视觉范围的管理工具。当前,网络视频监控已经渗透到教育、政府、娱乐场所、医院、酒店、运动场馆、城市治安的多种领域。        In the past ten years, Internet technology and embedded technology have achieved rapid development. The Internet of Things based on the above two technologies has penetrated into various fields of daily life and production, improving the quality of production and life. A video monitoring technology integrating computer technology, network technology and digital video technology emerged as the times require. With the integration of automatic control, multimedia technology and 3G technology with video monitoring system, monitoring technology has also developed rapidly. The monitoring system uses the network to connect scattered and independent image collection points to achieve unified monitoring, unified management, and resource sharing across regions, and provides users with a brand-new, intuitive management tool that expands the visual range. At present, network video surveillance has penetrated into various fields of education, government, entertainment venues, hospitals, hotels, sports venues, and urban security.

       现有的视频监控系统多数以模拟图像信息为主,不能满足视频实时监控的应用需求,智能化程度较低,而且存在一定的技术缺陷。第一,每路视频需要有各自独立的传输线路,网路利用率低,存在大量的宽带浪费。第二,视频监控系统往往只实现了对图像的实时播放,需要专门的人员一直盯着监控画面,工作量大,系统智能化程度不高。第三,监控系统的搭建需要布置专门的网络线路,搭建过程复杂且成本较高。 Most of the existing video surveillance systems are mainly based on analog image information, which cannot meet the application requirements of real-time video surveillance. The degree of intelligence is low, and there are certain technical defects. First, each channel of video needs to have its own independent transmission line, the network utilization rate is low, and there is a lot of bandwidth waste. Second, the video surveillance system often only realizes the real-time playback of images, requiring specialized personnel to keep watching the monitoring screen, the workload is heavy, and the system intelligence is not high. Third, the construction of the monitoring system needs to arrange special network lines, which is complicated and costly.

发明内容 Contents of the invention

针对现有技术存在的缺陷, 本发明的目的是提供一种无线网络智能视频监控系统的实现方法,能够在充分利用带宽和系统性能的前提下,扩大视频监控的范围,实现对运动物体的检测,提高系统的智能性。本发明中监控系统能够实现对一定范围内场景的实时监控,并按照工作人员的命令任意调整监控角度,实现对监控范围内运动物体的检测和框定,增强了系统的智能化水平。视频数据通过wifi(wireless fidelity 无线保真)由采集系统传输到数据转发模块,再由数据转发模块通过公共有线网络将数据传输到监控中心,简化了系统搭建流程,增强了系统的可扩展性。 Aiming at the defects existing in the prior art, the object of the present invention is to provide a method for realizing a wireless network intelligent video surveillance system, which can expand the scope of video surveillance and realize the detection of moving objects under the premise of making full use of bandwidth and system performance , improve the intelligence of the system. The monitoring system of the present invention can realize real-time monitoring of scenes within a certain range, and adjust the monitoring angle arbitrarily according to the orders of the staff, realize the detection and framing of moving objects within the monitoring range, and enhance the intelligent level of the system. The video data is transmitted from the acquisition system to the data forwarding module through wifi (wireless fidelity wireless fidelity), and then the data forwarding module transmits the data to the monitoring center through the public wired network, which simplifies the system construction process and enhances the scalability of the system.

为达到上述目的,本发明的技术方案是: For achieving the above object, technical scheme of the present invention is:

一个无线网络智能视频监控参考硬件系统,包括USB摄像头,视频采集板,数据转发板,监控中心PC,舵机。 A wireless network intelligent video surveillance reference hardware system, including USB camera, video acquisition board, data forwarding board, monitoring center PC, steering gear.

系统中摄像头完成视频图像的采集,视频采集板内完成视频数据的压缩和控制命令的执行,数据转发板完成视频数据和控制命令的转发,监控中心的PC机完成数据解压缩和运动物体检测,舵机控制摄像头监控角度。 The camera in the system completes the collection of video images, the video acquisition board completes the compression of video data and the execution of control commands, the data forwarding board completes the forwarding of video data and control commands, and the PC in the monitoring center completes data decompression and detection of moving objects. The steering gear controls the camera monitoring angle.

一种无线网络智能视频监控系统的实现方法,包括以下步骤: A method for realizing a wireless network intelligent video surveillance system, comprising the following steps:

(1)视频实时采集,搭载嵌入式linux的arm(advanced risc machines 一款处理器平台)平台,通过系统自带的视频采集驱动程序,实现对USB摄像头的初始化,并将采集到的视频数据由内核空间映射到用户空间。 (1) Real-time video capture, equipped with an arm (advanced risc machines a processor platform) platform with embedded linux, through the video capture driver program that comes with the system, the initialization of the USB camera is realized, and the collected video data is provided by Kernel space is mapped to user space.

(2)视频图像编码与实时发送,利用开源视频编码库xvidcore提供的函数将视频数据压缩成mpeg4(moving picture experts group-4 动态图像专家组第四代标准)标准的数据,将压缩后的数据封装成rtp(real-time transport protocol,实时传输协议)包,在各自指定端口将数据发送出去。 (2) Video image encoding and real-time transmission, use the function provided by the open source video encoding library xvidcore to compress the video data into mpeg4 (moving picture experts group-4 fourth generation standard of moving picture experts group) standard data, and compress the compressed data Encapsulate it into an rtp (real-time transport protocol, real-time transport protocol) package, and send the data out at the respective designated ports.

(3)视频数据和控制命令的转发,转发节点同样为搭载嵌入式linux的arm平台,为视频数据和控制命令分别开启两路线程和一路线程,将视频数据由本地无线网络发送到远程监控中心,并将来自监控中心的控制命令发送到本地无线网络的视频采集节点。 (3) Forwarding of video data and control commands, the forwarding node is also an arm platform equipped with embedded linux, which opens two threads and one thread for video data and control commands respectively, and sends video data from the local wireless network to the remote monitoring center , and send the control command from the monitoring center to the video acquisition node of the local wireless network.

(4)视频接收和解压缩,在远程监控中心的PC机,采用同样的开源库,分别将来自指定端口的数据解压缩成RGB图像格式,并显示在画面上。 (4) For video reception and decompression, the PC in the remote monitoring center uses the same open source library to decompress the data from the designated port into RGB image format and display it on the screen.

(5)运动物体检测,将解压缩得到的RGB图像格式转化成YUV图像格式,并将当前图像和背景图像在YUV空间进行数据相减,对相减得到数据进行阈值分割,得到运动物体在图像空间中的数据。 (5) Moving object detection, converting the decompressed RGB image format into a YUV image format, and subtracting data from the current image and the background image in the YUV space, performing threshold segmentation on the subtracted data, and obtaining moving objects in the image data in space.

(6)监控中心实时调整监控摄像头的监控角度,系统通过socket接口将监控中心的控制命令,通过数据转发节点发送到视频采集系统,控制装有摄像头的舵机转动。 (6) The monitoring center adjusts the monitoring angle of the monitoring camera in real time, and the system sends the control command of the monitoring center to the video acquisition system through the data forwarding node through the socket interface to control the rotation of the steering gear equipped with the camera.

       所述步骤(1)视频实时采集是利用嵌入式linux自带的视频采集驱动程序v4l2(video for linux 2)对USB 摄像头中的数据进行采集,并映射到应用程序可操作的用户存储空间。其具体步骤为: The step (1) real-time video acquisition is to use the video acquisition driver v4l2 (video for linux 2) that comes with embedded linux to collect the data in the USB camera and map it to the user storage space that the application program can operate. The specific steps are:

1)裁剪linux内核,将本发明采用的USB摄像头驱动程序编译进内核,烧写到开发板的flash; 1) Cut out the linux kernel, compile the USB camera driver program adopted by the present invention into the kernel, and burn it to the flash of the development board;

2)利用v4l2提供的接口函数对摄像头分别进行初始化,设置采集视频的图像格式和大小; 2) Use the interface function provided by v4l2 to initialize the camera respectively, and set the image format and size of the captured video;

3)通过mmap(memory map 内存映射)函数将存储在内核空间的视频数据映射到应用程序可操作的用户空间; 3) Map the video data stored in the kernel space to the user space where the application can operate through the mmap (memory map memory mapping) function;

4)所选用的芯片组内部有jpeg(joint photographic experts group 联合图像专家小组)硬件压缩器,调用系统自带的jpeg解码函数对视频数据进行解码; 4) The selected chipset has a jpeg (joint photographic experts group) hardware compressor inside, and calls the jpeg decoding function that comes with the system to decode the video data;

经过内存映射和jpeg解码,从摄像头采集来的数据以RGB格式以帧为单位存储在各自缓冲区,缓冲区存储3帧图像,对数据的采集和处理在两个线程内进行。 After memory mapping and jpeg decoding, the data collected from the camera is stored in the respective buffers in RGB format and frame units. The buffer stores 3 frames of images, and the data collection and processing are carried out in two threads.

所述步骤(2)的视频压缩和发送是指利用开源库将数据编码成mpeg4标准的数据并在设定端口利用rtp传输函数发送出去。具体步骤如下: The video compression and sending in the step (2) refers to using an open source library to encode the data into mpeg4 standard data and sending it out using the rtp transfer function at the set port. Specific steps are as follows:

1) 对开源视频编码库xvidcore和开源实时传输库jrtplib进行交叉编译,并将生成的库文件拷贝到嵌入式linux的文件系统。 1) Cross-compile the open source video encoding library xvidcore and the open source real-time transmission library jrtplib, and copy the generated library files to the embedded linux file system.

2) 在主线程建立编码例程和传输线程,并指定数据的发送端口号。 2) Create an encoding routine and a transmission thread in the main thread, and specify the data sending port number.

3)在视频采集的线程内,调用相应的编码线程,对存储在用户空间的图像数据进行处理,编码成符合mpeg4标准的视频数据。 3) In the video capture thread, call the corresponding encoding thread to process the image data stored in the user space, and encode it into video data conforming to the mpeg4 standard.

4)由于压缩后的数据体积仍大于最小发送单元的体积,需要按照指定大小对压缩后的数据进行切割,将切割后的数据按照rtp数据包格式进行组包,调用发送线程函数将打包完成的数据在指定端口发送出去。 4) Since the volume of the compressed data is still larger than the volume of the smallest sending unit, it is necessary to cut the compressed data according to the specified size, group the cut data according to the rtp packet format, and call the sending thread function to pack the completed Data is sent out on the specified port.

5)通过rtp数据包的标志位,指定属于同一帧图像的数据包,便于监控中心将数据进行组包。 5) Through the flag bit of the rtp data packet, specify the data packets belonging to the same frame of image, which is convenient for the monitoring center to group the data.

利用v4l2程序不停地采集摄像头的数据,同时进行压缩和发送。视频采集系统中移植了无线网卡的驱动程序,支持IEEE 802.11b/g协议,带宽为54M,能够满足视频实时传输的需要,能与支持此协议的网卡进行通信。在一定范围内,视频采集系统可安装在任何位置,简化了监控系统的搭建流程。 Use the v4l2 program to continuously collect camera data, compress and send it at the same time. The driver of the wireless network card is transplanted into the video acquisition system, which supports the IEEE 802.11b/g protocol, and the bandwidth is 54M, which can meet the needs of real-time video transmission and can communicate with the network card that supports this protocol. Within a certain range, the video acquisition system can be installed in any position, which simplifies the construction process of the monitoring system.

所述步骤(3)的视频数据与控制命令的转发节点,转发节点的硬件软件平台也为arm和嵌入式linux,转发节点同时支持有线和无线通信,实现了本地无线监控网络和远程监控中心的连接。具体实现步骤如下: The forwarding node of the video data and control command in the step (3), the hardware and software platform of the forwarding node is also arm and embedded linux, the forwarding node supports wired and wireless communication at the same time, and realizes the connection between the local wireless monitoring network and the remote monitoring center connect. The specific implementation steps are as follows:

1)为视频数据转发开启两个线程,为控制命令转发开启一个线程,线程通过共享存储区进行通信,视频转发线程的共享存储区为3个视频帧大小。 1) Two threads are opened for video data forwarding, and one thread is opened for control command forwarding. The threads communicate through the shared storage area, and the shared storage area of the video forwarding thread is 3 video frames in size.

2)在主进程中,创建两个rtp线程,并指定接收发送IP地址,接收发送端口号。其中接收IP地址都为视频采集系统的IP地址,发送IP地址为控制中心PC机的IP地址。接收端口号与视频采集系统设定的发送端口号对应,发送端口号与控制中心设定的接收端口号对应。 2) In the main process, create two rtp threads, and specify the IP address for receiving and sending, and the port number for receiving and sending. The receiving IP address is the IP address of the video acquisition system, and the sending IP address is the IP address of the control center PC. The receiving port number corresponds to the sending port number set by the video acquisition system, and the sending port number corresponds to the receiving port number set by the control center.

3)在主进程中创建两个socket线程,并指定接收发送IP地址和接收发送端口号,接收IP地址为控制中心IP地址,发送IP地址为视频采集IP地址,接收端口号为控制中心设定的发送端口号对应,发送端口号与视频采集系统设定的接收端口号对应。 3) Create two socket threads in the main process, and specify the receiving and sending IP address and receiving and sending port number, the receiving IP address is the IP address of the control center, the sending IP address is the video acquisition IP address, and the receiving port number is set by the control center The sending port number corresponds to the sending port number, and the sending port number corresponds to the receiving port number set by the video capture system.

4)在视频数据转发线程中,用信号量控制两个线程对共享存储区的访问,对共享存储区的访问采用队列的方式,接收线程收到的数据放在队列头,发送队列的线程取队列尾的数据进行发送,这个转发过程有条不紊的进行,同时保证数据的流畅传输。 4) In the video data forwarding thread, use the semaphore to control the access of the two threads to the shared storage area. The access to the shared storage area adopts the queue method. The data received by the receiving thread is placed at the head of the queue, and the thread of the sending queue takes The data at the end of the queue is sent, and this forwarding process is carried out in an orderly manner, while ensuring the smooth transmission of data.

5)在控制命令的转发线程中,由于控制命令字节量比较小,当接收到命令数据后,先检测数据头,当确定为控制命令后,再执行发送线程将控制命令发送到视频接收系统,控制摄像头采集角度的调整。 5) In the forwarding thread of the control command, since the byte size of the control command is relatively small, when the command data is received, the data header is detected first, and when it is determined to be a control command, the sending thread is executed to send the control command to the video receiving system , to control the adjustment of the camera acquisition angle.

本发明引入数据转发节点的作用是为了充分利用wifi通信的优点,简化监控系统的搭建流程,便于系统的改建。视频采集系统同时支持有线网络,当监控系统比较简单的时候,可以去除此数据转发节点,视频采集节点直接通过公共网络直接与远程控制中心进行通信。 The function of introducing the data forwarding node in the present invention is to make full use of the advantages of wifi communication, simplify the construction process of the monitoring system, and facilitate the reconstruction of the system. The video acquisition system supports wired network at the same time. When the monitoring system is relatively simple, the data forwarding node can be removed, and the video acquisition node directly communicates with the remote control center through the public network.

所述步骤(4)的视频接收、解压缩与显示功能由监控中心的PC机完成,此功能的实现对PC机配置的要求不高,一般配置的PC机就可实现实时监控和对监控终端的控制。具体实现步骤如下: The video reception, decompression and display functions of the step (4) are completed by the PC in the monitoring center. The realization of this function does not require high configuration of the PC, and a PC with general configuration can realize real-time monitoring and control of the monitoring terminal. control. The specific implementation steps are as follows:

1)监控中心软件的开发平台为VC++6.0,建立一个MFC工程,并在工程内移植开源视频编码库xvidcore和开源实时传输库jrtplib。 1) The development platform of the monitoring center software is VC++6.0, build an MFC project, and transplant the open-source video coding library xvidcore and the open-source real-time transmission library jrtplib in the project.

2)在程序中分别增加通信连接类、数据接收类、数据解压缩和图像处理类。 2) Add communication connection class, data receiving class, data decompression class and image processing class respectively in the program.

3)在主类中实现对三个类的中相关数据的初始化,建立与数据转发节点(数据采集节点)的链接。 3) In the main class, realize the initialization of relevant data in the three classes, and establish a link with the data forwarding node (data collection node).

4)在通信连接类中,建立rtp线程和socket线程,实现与数据转发节点(数据采集节点)的rtp链接和控制命令转发的socket绑定。 4) In the communication connection class, establish an rtp thread and a socket thread to realize the rtp link with the data forwarding node (data collection node) and the socket binding of the control command forwarding.

5)在数据接收类中,在接收线程中,不停监听接收指定端口的信息,接收到数据后,将数据保存在缓冲区,并识别rtp包头中的标志位,对数据进行组包。当接收到完整的一帧数据后,以消息的形式将数据发送到数据处理类中进行处理。 5) In the data receiving class, in the receiving thread, continuously monitor and receive the information of the specified port. After receiving the data, save the data in the buffer, and identify the flag bits in the rtp header, and group the data. When a complete frame of data is received, the data is sent to the data processing class in the form of a message for processing.

6)在数据处理类中,完成对数据的解压缩、显示、截图和录像以及运动物体检测。对从数据接收类发送过来的数据,首先调用编码库中的函数进行解压缩得到RGB图像。是否进行运动检测由此类中的一个bool量决定,bool量可由工作人员通过监控界面进行设定。当不进行运动物体检测时,解压后得到的RGB图像直接以图片的形式显示在监控界面上,当需要进行运动物体检测时,解压得到RGB图像首先转换成YUV图像,在YUV空间内进行图像的帧差操作,检测得到运动物体的轮廓。 6) In the data processing class, complete the data decompression, display, screenshot and video recording, and moving object detection. For the data sent from the data receiving class, first call the function in the encoding library to decompress and get the RGB image. Whether to perform motion detection is determined by a bool value in this class, and the bool value can be set by the staff through the monitoring interface. When moving object detection is not performed, the decompressed RGB image is directly displayed on the monitoring interface in the form of a picture. When moving object detection is required, the decompressed RGB image is first converted into a YUV image, and the image is processed in the YUV space. The frame difference operation detects the outline of the moving object.

7)当检测到截图或录像命令时,数据操作类中的函数将现在加压缩后得到的图像保存为以当前时间命名的bmp格式的图片或者打开一个以当前时间命名的视频文件,将解压缩后得到图片以此存入打开的视频文件中,直到接收到停止录像的命令。 7) When a screenshot or video command is detected, the function in the data operation class will save the compressed image as a picture in bmp format named after the current time or open a video file named after the current time, and decompress it Finally, the picture is obtained and stored in the opened video file until an order to stop recording is received.

由于控制中心需要实现对视频的监控,在图像处理类中要实现对图像数据的解压缩、显示和运动物体检测。 Since the control center needs to monitor the video, the decompression, display and moving object detection of the image data should be realized in the image processing class.

所述步骤(5)中实现对运动物体的检测,对运动物体的检测分为光流法、帧差法,本发明采用帧差法对YUV色彩空间的图像数据进行操作,并对图像进行宏块划分,减小了数据的计算量,增加了实时性。具体步骤如下: In the step (5), the detection of the moving object is realized, and the detection of the moving object is divided into the optical flow method and the frame difference method. The present invention uses the frame difference method to operate the image data in the YUV color space, and performs macro on the image Block division reduces the amount of data calculation and increases real-time performance. Specific steps are as follows:

1)接收到运动检测的命令后,将解压缩后得到的RGB图片格式转化为YUV图片格式。 1) After receiving the motion detection command, convert the decompressed RGB image format into a YUV image format.

2)在基于帧差法的运动检测中,占有重要地位的是背景更新策略。本发明在实验分析的基础上提出以下背景更新策略:开始运动检测后,以当前帧为背景帧进行帧差法计算,如果没有发现运动物体,每个10帧背景更新一次,每次更新时以当时解压缩得到的图像为背景帧;当检测到运动物体时,停止背景更新,以原有背景帧为背景帧。 2) In the motion detection based on the frame difference method, the background update strategy occupies an important position. The present invention proposes the following background update strategy on the basis of experimental analysis: after starting the motion detection, the current frame is used as the background frame to calculate the frame difference method. The decompressed image at that time is the background frame; when a moving object is detected, the background update is stopped, and the original background frame is used as the background frame.

3)由于YUV的存储顺序为Y1Y2……YnU1U2……UnV1V2……Vn,为了减少减小计算量,先对数据进行宏块划分,本发明定义以8×8个像素组成一个宏块,对于本发明采用的320×240的视频格式,将得到40×30个宏块矩阵,对于Y空间每个宏块矩阵中的数组大小为相应的64个像素的Y取平均值,对于U和V空间,每个宏块中数组的大小为相应的16各像素的U和V取平均值。计算后得到三维色彩空间的宏块矩阵分别为My、Mu、Mv,以这三个宏块矩阵表示图像数据进行帧差计算可减小计算量。 3) Since the storage order of YUV is Y1Y2...YnU1U2...UnV1V2...Vn, in order to reduce the amount of calculation, the data is firstly divided into macroblocks. The invention defines that a macroblock is composed of 8×8 pixels. For this The 320 × 240 video format adopted by the invention will obtain 40 × 30 macroblock matrices. The size of the array in each macroblock matrix in the Y space is the average value of Y corresponding to 64 pixels. For the U and V spaces, The size of the array in each macroblock is the average of U and V of the corresponding 16 pixels. After the calculation, the macroblock matrices of the three-dimensional color space are respectively My, Mu, and Mv. Using these three macroblock matrices to represent image data for frame difference calculation can reduce the amount of calculation.

4)为了方便对一幅图像中的多个运动物体的检测与框定,对宏块矩阵元素的存储采用先列后行的形式,即从上往下先存储第一列像素数据,再存储第二列像素数据。背景帧数据和前景帧数据分别作上述处理。 4) In order to facilitate the detection and framing of multiple moving objects in an image, the storage of the macroblock matrix elements is in the form of columns first and then rows, that is, the first column of pixel data is stored from top to bottom, and then the second column of pixel data is stored. Two columns of pixel data. The background frame data and the foreground frame data are respectively processed as above.

5)当进行帧差法计算时,分别对YUV三维宏块矩阵进行相减计算,得到差值矩阵。对得到的三个差值矩阵分别进行二值化处理,对Y空间的差值矩阵取阈值为15,对U和V空间的差值矩阵取阈值为5。 5) When calculating the frame difference method, subtract the YUV three-dimensional macroblock matrix to obtain the difference matrix. Binarize the obtained three difference matrices respectively, take a threshold of 15 for the difference matrix of Y space, and take a threshold of 5 for the difference matrix of U and V spaces.

二值化完成后,存储每个宏块矩阵中非零元素的坐标值,对U和V空间中的坐标值取或操作,再用取或操作后得到的坐标值和Y空间的坐标值取与操作,最终得到图像空间中运动物体范围的坐标值。 After the binarization is completed, the coordinate values of the non-zero elements in each macroblock matrix are stored, and the coordinate values in the U and V spaces are ORed, and then the coordinate values obtained after the OR operation and the coordinate values of the Y space are used to obtain And operation, finally get the coordinate value of the moving object range in the image space.

6)完成运动物体的检测后,实现对运动物体的框定,可选择两种框定形式,一种为宏块框定,这样能很好的反应运动物体的轮廓,另一种框定形式为矩形框定。当进行矩形框定时,首先计算一个图像范围内每个运动物体的横纵坐标的最大值和最小值,以这四个值为端点做矩形,实现对运动物体的分别框定。 6) After the detection of the moving object is completed, the framing of the moving object can be realized. Two framing forms can be selected, one is macro block framing, which can well reflect the outline of the moving object, and the other framing form is rectangular framing. When performing rectangular frame timing, first calculate the maximum and minimum values of the horizontal and vertical coordinates of each moving object within an image range, and use these four values as the endpoints to make a rectangle to achieve separate framing of the moving objects.

7)当标志运动物体检测的bool量为false时,或者检测到控制命令,摄像机转动角度的时候,将停止对运动物体的检测。 7) When the bool value indicating the detection of moving objects is false, or when a control command is detected and the camera rotates, the detection of moving objects will be stopped.

实验表明,本发明提出的帧差法能有效精确的检测到图像范围内的运动物体,并可以对多个运动物体分别进行框定,有效地提高了监控系统的智能化水平,保证了安防的安全性。两路视频数据可同时进行运动检测也可以分别进行运动检测。 Experiments show that the frame difference method proposed by the present invention can effectively and accurately detect moving objects within the image range, and can frame multiple moving objects separately, effectively improving the intelligence level of the monitoring system and ensuring the safety of security sex. Two channels of video data can be used for motion detection at the same time or separately.

所述步骤(6)中,实现了远程监控中心对本地视频采集系统的控制,因为实时性要求不是很高,控制命令采用socket编程进行传输。具体步骤如下: In the step (6), the control of the local video acquisition system by the remote monitoring center is realized, because the real-time requirement is not very high, and the control command is transmitted by socket programming. Specific steps are as follows:

1)在通信类中建立socket例程,并实现与数据转发节点(视频采集系统)的绑定。 1) Establish a socket routine in the communication class, and realize the binding with the data forwarding node (video acquisition system).

2)创建一个命令格式,用于控制命令的有效传输,本发明中,命令格式如下: 2) Create a command format for effective transmission of control commands. In the present invention, the command format is as follows:

0000101000001010 ××××××××××××××××

命令头定义为0x0a,后面一个字节定义为命令内容。 The command header is defined as 0x0a, and the next byte is defined as the command content.

3)当检测到命令要发送后,按照命令格式组成完整命令,通过socket发送函数发送出去,实现对摄像头摄像角度的调整。 3) When it is detected that the command is to be sent, a complete command is formed according to the command format, and sent through the socket sending function to realize the adjustment of the camera angle.

附图说明 Description of drawings

       图1为本发明参考硬件系统结构框图。        FIG. 1 is a structural block diagram of the reference hardware system of the present invention.

       图2为本发明所使用的实验平台。 Figure 2 is the experimental platform used in the present invention.

       图3为本发明程序流程图。 Figure 3 is a flow chart of the program of the present invention.

       图4为数据转发模块流程图。 Figure 4 is a flowchart of the data forwarding module.

       图5为运动物体检测模块流程图。 Figure 5 is a flow chart of the moving object detection module.

       图6为实验结果截图之一。 Figure 6 is one of the screenshots of the experimental results.

图7为实验结果截图之二。 Figure 7 is the second screenshot of the experimental results.

具体实施方式 Detailed ways

       下面结合附图对本发明的实施做详细说明: The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings:

如图1所示,一个无线网络智能视频监控参考硬件系统,包括USB摄像头,视频采集板,数据转发板,监控中心PC,舵机。 As shown in Figure 1, a wireless network intelligent video surveillance reference hardware system includes a USB camera, a video acquisition board, a data forwarding board, a monitoring center PC, and a steering gear.

系统中摄像头完成视频图像的采集,视频采集板内完成视频数据的压缩和控制命令的执行,数据转发板完成视频数据和控制命令的转发,监控中心的PC机完成数据解压缩和运动物体检测,舵机控制摄像头监控角度。 The camera in the system completes the collection of video images, the video acquisition board completes the compression of video data and the execution of control commands, the data forwarding board completes the forwarding of video data and control commands, and the PC in the monitoring center completes data decompression and detection of moving objects. The steering gear controls the camera monitoring angle.

       如图2所示,本发明的实验平台由两块arm开发板组成,在每块开发板上移植有嵌入式linux操作系统(版本为2.6.31),左边一块开发板作为数据转发模块,使用的外围接口有USB无线网卡(采用的是华硕的wl-167g无线网卡),以太网接口。其中通过USB无线网卡与视频采集模块连接,通过以太网模块与远程控制中心连接。右边一块开发板作为视频采集模块,使用到的外围接口有USB无线网卡,USB摄像头(摄像头采用中星微公司的zc301芯片组),内置用硬件jpeg压缩器,pwm(pulse width modulation 脉宽幅度调制)接口和串口,其中通过USB无线网卡与数据转发模块连接,利用USB摄像头采集视频图像,用pwm接口控制舵机转动,实现摄像机角度调节,通过串口线与控制台连接,在系统调试时使用。 As shown in Fig. 2, the experimental platform of the present invention is made up of two arm development boards, is transplanted with embedded linux operating system (version is 2.6. The peripheral interfaces include USB wireless network card (the ASUS wl-167g wireless network card is used), and Ethernet interface. Wherein it is connected with the video acquisition module through the USB wireless network card, and connected with the remote control center through the Ethernet module. The development board on the right is used as a video acquisition module. The peripheral interfaces used include USB wireless network card, USB camera (the camera adopts Vimicro’s zc301 chipset), built-in hardware jpeg compressor, and pwm (pulse width modulation) interface And the serial port, which is connected to the data forwarding module through the USB wireless network card, uses the USB camera to collect video images, uses the pwm interface to control the rotation of the steering gear, realizes the angle adjustment of the camera, connects to the console through the serial port line, and uses it during system debugging.

如图3所示,一个无线网络智能视频监控系统的实现方法,包括以下步骤: As shown in Figure 3, a method for realizing a wireless network intelligent video surveillance system includes the following steps:

(1)视频实时采集,搭载嵌入式linux的arm平台,通过系统自带的视频采集驱动程序,实现对USB摄像头的初始化,并将采集到视频数据由内核空间映射到用户空间。 (1) Real-time video capture, the arm platform equipped with embedded linux, through the video capture driver that comes with the system, realizes the initialization of the USB camera, and maps the captured video data from the kernel space to the user space.

(2)视频图像编码与实时发送,利用开源视频编码库xvidcore提供的函数将视频数据压缩成mpeg4标准的数据,将压缩后的数据封装成rtp包,在各自指定端口将数据发送出去。 (2) Video image encoding and real-time transmission, use the function provided by the open source video encoding library xvidcore to compress the video data into mpeg4 standard data, encapsulate the compressed data into rtp packets, and send the data out at the respective designated ports.

(3)视频数据和控制命令的转发,转发节点同样为搭载嵌入式linux的arm平台,为两路视频数据和一路控制命令分别开启两路线程,将视频数据由本地无线网络发送到远程监控中心,将来自监控中心的控制命令发送到本地无线网络的视频采集节点。 (3) Forwarding of video data and control commands, the forwarding node is also an arm platform equipped with embedded linux, and two threads are opened for two channels of video data and one channel of control commands, and the video data is sent from the local wireless network to the remote monitoring center , to send the control command from the monitoring center to the video acquisition node of the local wireless network.

(4)视频接收和解压缩,在远程监控中心的PC机,采用同样的开源库,分别将来自指定端口的数据解压缩成RGB图像格式,并显示在画面上。 (4) For video reception and decompression, the PC in the remote monitoring center uses the same open source library to decompress the data from the designated port into RGB image format and display it on the screen.

(5)运动物体检测模块,将解压缩得到的RGB图像格式转化成YUV图像格式,并用当前图像和背景图像在Y空间进行数据相减,对相减得到数据进行阈值分割,得到运动物体在图像空间中的数据。 (5) The moving object detection module converts the decompressed RGB image format into a YUV image format, and uses the current image and the background image to perform data subtraction in the Y space, and performs threshold segmentation on the subtracted data to obtain the moving object in the image data in space.

(6)监控中心可实时调整监控摄像头的监控角度,系统能够通过socket接口将监控中心的控制命令,通过数据转发节点发送到视频采集系统,控制装有摄像头的舵机转动。 (6) The monitoring center can adjust the monitoring angle of the monitoring camera in real time, and the system can send the control command of the monitoring center to the video acquisition system through the data forwarding node through the socket interface to control the rotation of the steering gear equipped with the camera.

如图4所示,步骤(3)为视频数据和控制命令的转发,所述步骤(3)的视频数据与控制命令的转发节点,转发节点的硬件软件平台也为arm和嵌入式linux,转发节点同时支持有线和无线通信,实现了本地无线监控网络和远程监控中心的连接。具体实现步骤如下: As shown in Figure 4, step (3) is the forwarding of video data and control commands, the forwarding node of the video data and control command in step (3), the hardware and software platform of the forwarding node is also arm and embedded linux, forwarding The node supports wired and wireless communication at the same time, realizing the connection between the local wireless monitoring network and the remote monitoring center. The specific implementation steps are as follows:

1)为视频数据转发开启两个线程,为控制命令转发开启一个线程,线程通过共享存储区进行通信,视频转发线程的共享存储区为3个视频帧大小。 1) Two threads are opened for video data forwarding, and one thread is opened for control command forwarding. The threads communicate through the shared storage area, and the shared storage area of the video forwarding thread is 3 video frames in size.

2)在主进程中,创建两个rtp线程,并指定接收发送IP地址,接收发送端口号。其中接收IP地址都为视频采集系统的IP地址,发送IP地址为控制中心PC机的IP地址。接收端口号与视频采集系统设定的发送端口号对应,发送端口号与控制中心设定的接收端口号对应。 2) In the main process, create two rtp threads, and specify the IP address for receiving and sending, and the port number for receiving and sending. The receiving IP address is the IP address of the video acquisition system, and the sending IP address is the IP address of the control center PC. The receiving port number corresponds to the sending port number set by the video acquisition system, and the sending port number corresponds to the receiving port number set by the control center.

3)在主进程中创建两个socket线程,并指定接收发送IP地址和接收发送端口号,接收IP地址为控制中心IP地址,发送IP地址为视频采集IP地址,接收端口号为控制中心设定的发送端口号对应,发送端口号与视频采集系统设定的接收端口号对应。 3) Create two socket threads in the main process, and specify the receiving and sending IP address and receiving and sending port number, the receiving IP address is the IP address of the control center, the sending IP address is the video acquisition IP address, and the receiving port number is set by the control center The sending port number corresponds to the sending port number, and the sending port number corresponds to the receiving port number set by the video capture system.

4)在视频数据转发线程中,用信号量控制两个线程对共享存储区的访问,对共享存储区的访问采用队列的方式,接收线程收到的数据放在队列头,发送队列的线程取队列尾的数据进行发送,这个转发过程有条不紊的进行,同时保证数据的流畅传输。 4) In the video data forwarding thread, use the semaphore to control the access of the two threads to the shared storage area. The access to the shared storage area adopts the queue method. The data received by the receiving thread is placed at the head of the queue, and the thread of the sending queue takes The data at the end of the queue is sent, and this forwarding process is carried out in an orderly manner, while ensuring the smooth transmission of data.

5)在控制命令的转发线程中,由于控制命令字节量比较小,当接收到命令数据后,先检测数据头,当确定为控制命令后,再执行发送线程将控制命令发送到视频接收系统,控制摄像头采集角度的调整。 5) In the forwarding thread of the control command, since the byte size of the control command is relatively small, when the command data is received, the data header is detected first, and when it is determined to be a control command, the sending thread is executed to send the control command to the video receiving system , to control the adjustment of the camera acquisition angle.

本发明引入数据转发节点的作用是为了充分利用wifi通信的优点,简化监控系统的搭建流程,便于系统的改建。视频采集系统同时支持有线网络,当监控系统比较简单的时候,可以去除此数据转发节点,视频采集节点直接通过公共网络直接与远程控制中心进行通信。 The function of introducing the data forwarding node in the present invention is to make full use of the advantages of wifi communication, simplify the construction process of the monitoring system, and facilitate the reconstruction of the system. The video acquisition system supports wired network at the same time. When the monitoring system is relatively simple, the data forwarding node can be removed, and the video acquisition node directly communicates with the remote control center through the public network.

如图5所示,步骤(5)中实现对运动物体的检测,对运动物体的检测分为光流法、帧差法,本发明采用帧差法对YUV色彩空间的图像数据进行操作,并对图像进行宏块划分,减小了数据的计算量,增加了实时性。具体步骤如下: As shown in Figure 5, the detection of moving objects is realized in step (5). The detection of moving objects is divided into optical flow method and frame difference method. The present invention uses frame difference method to operate image data in YUV color space, and The image is divided into macroblocks, which reduces the calculation amount of data and increases real-time performance. Specific steps are as follows:

1)接收到运动检测的命令后,将解压缩后得到的RGB图片格式转化为YUV图片格式。 1) After receiving the motion detection command, convert the decompressed RGB image format into a YUV image format.

2)在基于帧差法的运动检测中,占有重要地位的是背景更新策略。本发明在实验分析的基础上提出以下背景更新策略:开始运动检测后,以当前帧为背景帧进行帧差法计算,如果没有发现运动物体,每个10帧背景更新一次,每次更新时以当时解压缩得到的图像为背景帧;当检测到运动物体时,停止背景更新,以原有背景帧为背景帧。 2) In the motion detection based on the frame difference method, the background update strategy occupies an important position. The present invention proposes the following background update strategy on the basis of experimental analysis: after starting the motion detection, the current frame is used as the background frame to calculate the frame difference method. The decompressed image at that time is the background frame; when a moving object is detected, the background update is stopped, and the original background frame is used as the background frame.

3)由于YUV的存储顺序为Y1Y2……YnU1U2……UnV1V2……Vn,为了减少减小计算量,先对数据进行宏块划分,本发明定义以8×8个像素组成一个宏块,对于本发明采用的320×240的视频格式,将得到40×30个宏块矩阵,对于Y空间每个宏块矩阵中的数组大小为相应的64个像素的Y取平均值,对于U和V空间,每个宏块中数组的大小为相应的16各像素的U和V取平均值。计算后得到三维色彩空间的宏块矩阵分别为My、Mu、Mv,以这三个宏块矩阵表示图像数据进行帧差计算可减小计算量。 3) Since the storage order of YUV is Y1Y2...YnU1U2...UnV1V2...Vn, in order to reduce the amount of calculation, the data is firstly divided into macroblocks. The invention defines that a macroblock is composed of 8×8 pixels. For this The 320 × 240 video format adopted by the invention will obtain 40 × 30 macroblock matrices. The size of the array in each macroblock matrix in the Y space is the average value of Y corresponding to 64 pixels. For the U and V spaces, The size of the array in each macroblock is the average of U and V of the corresponding 16 pixels. After the calculation, the macroblock matrices of the three-dimensional color space are respectively My, Mu, and Mv. Using these three macroblock matrices to represent image data for frame difference calculation can reduce the amount of calculation.

4)为了方便对一幅图像中的多个运动物体的检测与框定,对宏块矩阵元素的存储采用先列后行的形式,即从上往下先存储第一列像素数据,再存储第二列像素数据。背景帧数据和前景帧数据分别作上述处理。 4) In order to facilitate the detection and framing of multiple moving objects in an image, the storage of the macroblock matrix elements is in the form of columns first and then rows, that is, the first column of pixel data is stored from top to bottom, and then the second column of pixel data is stored. Two columns of pixel data. The background frame data and the foreground frame data are respectively processed as above.

5)当进行帧差法计算时,分别对YUV三维宏块矩阵进行相减计算,得到差值矩阵。对得到的三个差值矩阵分别进行二值化处理,对Y空间的差值矩阵取阈值为15,对U和V空间的差值矩阵取阈值为5。公式如下: 5) When calculating the frame difference method, subtract the YUV three-dimensional macroblock matrix to obtain the difference matrix. Binarize the obtained three difference matrices respectively, take a threshold of 15 for the difference matrix of Y space, and take a threshold of 5 for the difference matrix of U and V spaces. The formula is as follows:

二值化完成后,存储每个宏块矩阵中非零元素的坐标值,对U和V空间中的坐标值取或操作,再用取或操作后得到的坐标值和Y空间的坐标值取与操作,最终得到图像空间中运动物体范围的坐标值。 After the binarization is completed, the coordinate values of the non-zero elements in each macroblock matrix are stored, and the coordinate values in the U and V spaces are ORed, and then the coordinate values obtained after the OR operation and the coordinate values of the Y space are used to obtain And operation, finally get the coordinate value of the moving object range in the image space.

6)完成运动物体的检测后,实现对运动物体的框定,可选择两种框定形式,一种为宏块框定,这样能很好的反应运动物体的轮廓,另一种框定形式为矩形框定。当进行矩形框定时,首先计算一个图像范围内每个运动物体的横纵坐标的最大值和最小值,以这四个值为端点做矩形,实现对运动物体的分别框定。 6) After the detection of the moving object is completed, the framing of the moving object can be realized. Two framing forms can be selected, one is macro block framing, which can well reflect the outline of the moving object, and the other framing form is rectangular framing. When performing rectangular frame timing, first calculate the maximum and minimum values of the horizontal and vertical coordinates of each moving object within an image range, and use these four values as the endpoints to make a rectangle to achieve separate framing of the moving objects.

7)当标志运动物体检测的bool量为false时,或者检测到控制命令,摄像机转动角度的时候,将停止对运动物体的检测。 7) When the bool value indicating the detection of moving objects is false, or when a control command is detected and the camera rotates, the detection of moving objects will be stopped.

实验表明,本发明提出的帧差法能有效精确的检测到图像范围内的运动物体,并可以对多个运动物体分别进行框定,有效地提高了监控系统的智能化水平,保证了安防的安全性。两路视频数据可同时进行运动检测也可以分别进行运动检测。 Experiments show that the frame difference method proposed by the present invention can effectively and accurately detect moving objects within the image range, and can frame multiple moving objects separately, effectively improving the intelligence level of the monitoring system and ensuring the safety of security sex. Two channels of video data can be used for motion detection at the same time or separately.

       如图6,图7所示,为本发明的实验部分,即功能验证部分。 As shown in Figure 6 and Figure 7, it is the experimental part of the present invention, that is, the functional verification part.

       如图6所示,为没有开启运动物体检测功能的监控界面截图。如图6(a)所示,为初始化时的监控图像,如图6(b)所示为调整摄像头角度后的监控界面截图,可以验证监控系统的基本功能已经实现,而且控制中心对摄像头摄像角度的控制功能也可实现。 As shown in Figure 6, it is a screenshot of the monitoring interface without the function of moving object detection enabled. As shown in Figure 6(a), it is the monitoring image at the time of initialization, and Figure 6(b) is a screenshot of the monitoring interface after adjusting the camera angle, which can verify that the basic functions of the monitoring system have been realized, and the control center will monitor the camera Angle control function can also be realized.

       如图7所示,为开启运动物体检测功能的监控界面的截图。如图7(a)所示,为当一个人经过监控场景时的界面截图,如图7(b)所示,为当两个人经过监控场景时的界面截图。 As shown in Figure 7, it is a screenshot of the monitoring interface with the moving object detection function enabled. As shown in Figure 7(a), it is a screenshot of the interface when one person passes through the monitoring scene, and as shown in Figure 7(b), it is a screenshot of the interface when two people pass through the monitoring scene.

图7(a)、7(b)所示为用矩形框对运动物体实现框定,图7(c)所示为用计算所得宏块对运动物体框定。 Figure 7(a) and Figure 7(b) show that the moving object is framed by a rectangular frame, and Figure 7(c) shows that the moving object is framed by the calculated macroblock.

       由图6、图7所示,本智能视频监控系统的功能已全部实现。 As shown in Figure 6 and Figure 7, the functions of this intelligent video surveillance system have been fully realized.

Claims (7)

1.一种无线网络智能视频监控系统的实现方法,其特征在于,包括以下步骤: 1. an implementation method of a wireless network intelligent video surveillance system, is characterized in that, comprises the following steps: (1)视频实时采集,搭载嵌入式linux的arm平台,通过系统自带的视频采集驱动程序,实现对USB摄像头的初始化,并将采集到的视频数据由内核空间映射到用户空间; (1) Real-time video capture, the arm platform equipped with embedded linux, through the video capture driver that comes with the system, realizes the initialization of the USB camera, and maps the captured video data from the kernel space to the user space; (2)视频图像编码与实时发送,利用开源视频编码库xvidcore提供的函数将视频数据压缩成mpeg4标准的数据,将压缩后的数据封装成rtp包,在各自指定端口将数据发送出去; (2) Video image coding and real-time sending, use the function provided by the open source video coding library xvidcore to compress the video data into mpeg4 standard data, encapsulate the compressed data into rtp packets, and send the data out at the respective designated ports; (3)视频数据和控制命令的转发,转发节点同样为搭载嵌入式linux的arm平台,为视频数据和一路控制命令分别开启两路线程和一路线程,将视频数据由本地无线网络发送到远程监控中心,并将来自监控中心的控制命令发送到本地无线网络的视频采集节点; (3) Forwarding of video data and control commands, the forwarding node is also an arm platform equipped with embedded linux, which opens two threads and one thread for video data and one control command respectively, and sends video data from the local wireless network to remote monitoring center, and send the control command from the monitoring center to the video acquisition node of the local wireless network; (4)视频接收和解压缩,在远程监控中心的PC机,采用同样的开源库,分别将来自指定端口的数据解压缩成RGB图像格式,并显示在画面上; (4) For video reception and decompression, the PC in the remote monitoring center uses the same open source library to decompress the data from the designated port into RGB image format and display it on the screen; (5)运动物体检测,将解压缩得到的RGB图像格式转化成YUV图像格式,并将当前图像和背景图像在YUV空间的数据相减,对相减得到数据进行阈值分割,得到运动物体在图像空间中的数据; (5) Moving object detection, converting the decompressed RGB image format into a YUV image format, subtracting the data of the current image and the background image in the YUV space, performing threshold segmentation on the subtracted data, and obtaining the moving object in the image data in space; (6)监控中心实时调整监控摄像头的监控角度,系统通过socket接口将监控中心的控制命令,通过数据转发节点发送到视频采集系统,控制装有摄像头的舵机转动。 (6) The monitoring center adjusts the monitoring angle of the monitoring camera in real time, and the system sends the control command of the monitoring center to the video acquisition system through the data forwarding node through the socket interface to control the rotation of the steering gear equipped with the camera. 2.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(1)视频实时采集是利用嵌入式linux自带的视频采集驱动程序v4l2对USB 摄像头中的数据进行采集,并映射到应用程序可操作的用户存储空间;其具体步骤为: 2. the realization method of a kind of wireless network intelligent video monitoring system according to claim 1 is characterized in that, described step (1) video real-time collection is to utilize the video collection driver v4l2 that embedded linux carries to USB camera The data in is collected and mapped to the user storage space that the application can operate; the specific steps are: 裁剪linux内核,将USB摄像头驱动程序编译进内核,烧写到开发板的flash; Cut out the linux kernel, compile the USB camera driver into the kernel, and burn it to the flash of the development board; 利用v4l2提供的接口函数对摄像头分别进行初始化,设置采集视频的图像格式和大小; Use the interface function provided by v4l2 to initialize the camera respectively, and set the image format and size of the captured video; 通过mmap函数将存储在内核空间的视频数据映射到应用程序可操作的用户空间; Map the video data stored in the kernel space to the user space that the application can operate through the mmap function; 所选用的芯片组内部有jpeg硬件压缩器,调用系统自带的jpeg解码函数对视频数据进行解码; The selected chipset has a jpeg hardware compressor inside, and calls the jpeg decoding function that comes with the system to decode the video data; 经过内存映射和jpeg解码,从摄像头采集来的数据以RGB格式以帧为单位存储在各自缓冲区,缓冲区存储3帧图像,对数据的采集和处理在两个线程内进行。 After memory mapping and jpeg decoding, the data collected from the camera is stored in the respective buffers in RGB format and frame units. The buffer stores 3 frames of images, and the data collection and processing are carried out in two threads. 3.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(2)的视频压缩和发送是指利用开源库将数据编码成mpeg4标准的数据并在设定端口利用rtp传输函数发送出去;具体步骤如下: 3. The implementation method of a wireless network intelligent video surveillance system according to claim 1, characterized in that the video compression and sending in the step (2) refers to using an open source library to encode data into mpeg4 standard data and Use the rtp transfer function to send out at the set port; the specific steps are as follows: 1) 对开源视频编码库xvidcore和开源实时传输库jrtplib进行交叉编译,并将生成的库文件拷贝到嵌入式linux的文件系统; 1) Cross-compile the open source video encoding library xvidcore and the open source real-time transmission library jrtplib, and copy the generated library files to the embedded linux file system; 2) 在主线程建立编码例程和传输线程,并指定数据的发送端口号; 2) Create an encoding routine and a transmission thread in the main thread, and specify the data sending port number; 3)在视频采集的线程内,调用相应的编码线程,对存储在用户空间的图像数据进行处理,编码成符合mpeg4标准的视频数据; 3) In the video capture thread, call the corresponding encoding thread to process the image data stored in the user space, and encode it into video data conforming to the mpeg4 standard; 4)由于压缩后的数据体积仍大于最小发送单元的体积,需要按照指定大小对压缩后的数据进行切割,将切割后的数据按照rtp数据包格式进行组包,调用发送线程函数将打包完成的数据在指定端口发送出去; 4) Since the volume of the compressed data is still larger than the volume of the smallest sending unit, it is necessary to cut the compressed data according to the specified size, group the cut data according to the rtp packet format, and call the sending thread function to pack the completed The data is sent out on the specified port; 5)通过rtp数据包的标志位,指定属于同一帧图像的数据包,便于监控中心将数据进行组包; 5) Through the flag bit of the rtp data packet, specify the data packet belonging to the same frame of image, which is convenient for the monitoring center to group the data; 利用v4l2程序不停地采集摄像头的数据,同时进行压缩和发送;视频采集系统中移植了无线网卡的驱动程序,支持IEEE 802.11b/g协议,带宽为54M,能够满足视频实时传输的需要,能与支持此协议的网卡进行通信;在一定范围内,视频采集系统可安装在任何位置,简化了监控系统的搭建流程。 Use the v4l2 program to continuously collect camera data, compress and send it at the same time; the video capture system transplants the driver of the wireless network card, supports IEEE 802.11b/g protocol, and has a bandwidth of 54M, which can meet the needs of real-time video transmission. Communicate with the network card that supports this protocol; within a certain range, the video acquisition system can be installed at any location, which simplifies the construction process of the monitoring system. 4.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(3)的视频数据与控制命令的转发节点,转发节点的硬件软件平台也为arm和嵌入式linux,转发节点同时支持有线和无线通信,实现了本地无线监控网络和远程监控中心的连接;具体步骤如下: 4. The implementation method of a wireless network intelligent video surveillance system according to claim 1, characterized in that, the forwarding node of the video data and the control command in the step (3), the hardware and software platform of the forwarding node is also arm And embedded linux, the forwarding node supports wired and wireless communication at the same time, realizing the connection between the local wireless monitoring network and the remote monitoring center; the specific steps are as follows: 1)为视频数据转发开启两个线程,为控制命令转发开启一个线程,线程通过共享存储区进行通信,视频转发线程的共享存储区为3个视频帧大小; 1) Open two threads for video data forwarding, open one thread for control command forwarding, the threads communicate through the shared storage area, and the shared storage area of the video forwarding thread is 3 video frames in size; 2)在主进程中,创建两个rtp线程,并指定接收发送IP地址,接收发送端口号;其中接收IP地址都为视频采集系统的IP地址,发送IP地址为控制中心PC机的IP地址;接收端口号与视频采集系统设定的发送端口号对应,发送端口号与控制中心设定的接收端口号对应; 2) In the main process, create two rtp threads, and specify the receiving and sending IP address and the receiving and sending port number; the receiving IP address is the IP address of the video acquisition system, and the sending IP address is the IP address of the control center PC; The receiving port number corresponds to the sending port number set by the video acquisition system, and the sending port number corresponds to the receiving port number set by the control center; 3)在主进程中创建两个socket线程,并指定接收发送IP地址和接收发送端口号,接收IP地址为控制中心IP地址,发送IP地址为视频采集IP地址,接收端口号为控制中心设定的发送端口号对应,发送端口号与视频采集系统设定的接收端口号对应; 3) Create two socket threads in the main process, and specify the receiving and sending IP address and receiving and sending port number, the receiving IP address is the IP address of the control center, the sending IP address is the video acquisition IP address, and the receiving port number is set by the control center The sending port number corresponds to the sending port number, and the sending port number corresponds to the receiving port number set by the video acquisition system; 4)在视频数据转发线程中,用信号量控制两个线程对共享存储区的访问,对共享存储区的访问采用队列的方式,接收线程收到的数据放在队列头,发送队列的线程取队列尾的数据进行发送,这个转发过程有条不紊的进行,同时保证数据的流畅传输; 4) In the video data forwarding thread, use the semaphore to control the access of the two threads to the shared storage area. The access to the shared storage area adopts the queue method. The data received by the receiving thread is placed at the head of the queue, and the thread of the sending queue takes The data at the end of the queue is sent, and the forwarding process is carried out in an orderly manner, while ensuring the smooth transmission of data; 5)在控制命令的转发线程中,由于控制命令字节量比较小,当接收到命令数据后,先检测数据头,当确定为控制命令后,再执行发送例程将控制命令发送到视频接收系统,控制摄像头采集角度的调整; 5) In the forwarding thread of the control command, since the byte size of the control command is relatively small, when the command data is received, the data header is detected first, and when it is determined to be a control command, the sending routine is executed to send the control command to the video receiver The system controls the adjustment of the camera acquisition angle; 视频采集系统同时支持有线网络,当监控系统比较简单的时候,可以去除此数据转发节点,视频采集节点直接通过公共网络直接与远程控制中心进行通信。 The video acquisition system supports wired network at the same time. When the monitoring system is relatively simple, the data forwarding node can be removed, and the video acquisition node directly communicates with the remote control center through the public network. 5.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(4)的视频接收、解压缩与显示功能由监控中心的PC机完成,此功能的实现对PC机配置的要求不高,一般配置的PC机就可实现实时监控和对监控终端的控制;具体步骤如下: 5. The implementation method of a wireless network intelligent video monitoring system according to claim 1, characterized in that the video receiving, decompressing and displaying functions of the step (4) are completed by a PC in the monitoring center, and this function The realization of PC does not have high requirements for PC configuration, and a PC with general configuration can realize real-time monitoring and control of monitoring terminals; the specific steps are as follows: 1)监控中心软件的开发平台为VC++6.0,建立一个MFC工程,并在工程内移植开源视频编码库xvidcore和开源实时传输库jrtplib; 1) The monitoring center software development platform is VC++6.0, build an MFC project, and transplant the open source video coding library xvidcore and open source real-time transmission library jrtplib in the project; 2)在程序中分别增加通信连接类、数据接收类、数据解压缩和图像处理类; 2) Add communication connection class, data receiving class, data decompression class and image processing class respectively in the program; 3)在主类中实现对三个类的中相关数据的初始化,建立与数据转发节点或数据采集节点的链接; 3) In the main class, realize the initialization of relevant data in the three classes, and establish links with data forwarding nodes or data collection nodes; 4)在通信连接类中,建立rtp例程和socket例程,实现与数据转发节点或数据采集节点的rtp链接和控制命令转发的socket绑定; 4) In the communication connection class, establish rtp routines and socket routines to realize the rtp link with the data forwarding node or data collection node and the socket binding for control command forwarding; 5)在数据接收类中,在接收线程中,不停监听接收指定端口的信息,接收到数据后,将数据保存在缓冲区,并识别rtp包头中的标志位,对数据进行组包;当接收到完整的一帧数据后,以消息的形式将数据发送到数据处理类中进行处理; 5) In the data receiving class, in the receiving thread, continuously monitor and receive the information of the specified port, after receiving the data, save the data in the buffer, and identify the flag bits in the rtp packet header, and group the data; when After receiving a complete frame of data, send the data to the data processing class in the form of a message for processing; 6)在数据处理类中,完成对数据的解压缩、显示、截图和录像以及运动物体检测;对从数据接收类发送过来的数据,首先调用编码库中的函数进行解压缩得到RGB图像;是否进行运动检测由此类中的一个bool量决定,bool量可由工作人员通过监控界面进行设定;当不进行运动物体检测时,解压后得到的RGB图像直接以图片的形式显示在监控界面上,当需要进行运动物体检测时,解压得到RGB图像首先转换成YUV图像,在YUV空间内进行图像的帧差操作,检测得到运动物体的轮廓; 6) In the data processing class, complete the data decompression, display, screenshot and video recording, and moving object detection; for the data sent from the data receiving class, first call the function in the encoding library to decompress and obtain the RGB image; whether The motion detection is determined by a bool value in this class, and the bool value can be set by the staff through the monitoring interface; when the moving object detection is not performed, the RGB image obtained after decompression is directly displayed on the monitoring interface in the form of a picture, When moving object detection is required, the decompressed RGB image is first converted into a YUV image, and the frame difference operation of the image is performed in the YUV space to detect the outline of the moving object; 7)当检测到截图或录像命令时,数据操作类中的函数将现在加压缩后得到的图像保存为以当前时间命名的bmp格式的图片或者打开一个以当前时间命名的视频文件,将解压缩后得到图片以此存入打开的视频文件中,直到接收到停止录像的命令; 7) When a screenshot or video command is detected, the function in the data operation class will save the compressed image as a picture in bmp format named after the current time or open a video file named after the current time, and decompress it Then get the picture and store it in the opened video file until the command to stop recording is received; 由于控制中心需要实现对视频的监控,在图像处理类中要实现对图像数据的解压缩、显示和运动物体检测。 Since the control center needs to monitor the video, the decompression, display and moving object detection of the image data should be realized in the image processing class. 6.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(5)中实现对运动物体的检测,采用帧差法对YUV色彩空间的图像数据进行操作,并对图像进行宏块划分,减小了数据的计算量,增加了实时性;具体步骤如下: 6. The implementation method of a wireless network intelligent video surveillance system according to claim 1, characterized in that, in the step (5), the detection of moving objects is realized, and the image data of the YUV color space is processed by using the frame difference method Perform operations and divide the image into macroblocks, which reduces the amount of data calculation and increases real-time performance; the specific steps are as follows: 1)接收到运动检测的命令后,将解压缩后得到的RGB图片格式转化为YUV图片格式; 1) After receiving the motion detection command, convert the decompressed RGB image format into a YUV image format; 2)在基于帧差法的运动检测中,占有重要地位的是背景更新策略;在实验分析的基础上提出以下背景更新策略:开始运动检测后,以当前帧为背景帧进行帧差法计算,如果没有发现运动物体,每个10帧背景更新一次,每次更新时以当时解压缩得到的图像为背景帧;当检测到运动物体时,停止背景更新,以原有背景帧为背景帧; 2) In the motion detection based on the frame difference method, the background update strategy occupies an important position; on the basis of the experimental analysis, the following background update strategy is proposed: after the motion detection is started, the frame difference method is calculated with the current frame as the background frame, If no moving object is found, the background is updated every 10 frames, and the image decompressed at that time is used as the background frame for each update; when a moving object is detected, the background update is stopped, and the original background frame is used as the background frame; 3)由于YUV的存储顺序为Y1Y2……YnU1U2……UnV1V2……Vn,为了减小计算量,先对数据进行宏块划分,定义以8×8个像素组成一个宏块,对于320×240的视频格式,将得到40×30个宏块矩阵,对于Y空间每个宏块矩阵中的数组大小为相应的64个像素的Y取平均值,对于U和V空间,每个宏块中数组的大小为相应的16各像素的U和V取平均值;计算后得到三维色彩空间的宏块矩阵分别为My、Mu、Mv,以这三个宏块矩阵表示图像数据进行帧差计算可减小计算量; 3) Since the storage order of YUV is Y1Y2...YnU1U2...UnV1V2...Vn, in order to reduce the amount of calculation, first divide the data into macroblocks, and define a macroblock with 8×8 pixels, for 320×240 In the video format, a 40×30 macroblock matrix will be obtained. For the Y space, the size of the array in each macroblock matrix is the average value of the corresponding Y of 64 pixels. For U and V spaces, the array size in each macroblock The size is the average value of U and V of the corresponding 16 pixels; after calculation, the macroblock matrices of the three-dimensional color space are respectively My, Mu, and Mv, and the frame difference calculation can be reduced by using these three macroblock matrices to represent image data. Calculations; 4)为了方便对一幅图像中的多个运动物体的检测与框定,对宏块矩阵元素的存储采用先列后行的形式,即从上往下先存储第一列像素数据,再存储第二列像素数据;背景帧数据和前景帧数据分别作上述处理; 4) In order to facilitate the detection and framing of multiple moving objects in an image, the storage of the macroblock matrix elements is in the form of columns first and then rows, that is, the first column of pixel data is stored from top to bottom, and then the second column of pixel data is stored. Two columns of pixel data; the background frame data and the foreground frame data are respectively processed as above; 5)当进行帧差法计算时,分别对YUV三维宏块矩阵进行相减计算,得到差值矩阵;对得到的三个差值矩阵分别进行二值化处理,对Y空间的差值矩阵取阈值为15,对U和V空间的差值矩阵取阈值为5; 5) When calculating the frame difference method, the YUV three-dimensional macroblock matrix is subtracted and calculated to obtain the difference matrix; the three difference matrices obtained are binarized respectively, and the difference matrix in the Y space is taken The threshold is 15, and the threshold is 5 for the difference matrix of U and V spaces; 二值化完成后,存储每个宏块矩阵中非零元素的坐标值,对U和V空间中的坐标值取或操作,再用取或操作后得到的坐标值和Y空间的坐标值取与操作,最终得到图像空间中运动物体范围的坐标值; After the binarization is completed, the coordinate values of the non-zero elements in each macroblock matrix are stored, and the coordinate values in the U and V spaces are ORed, and then the coordinate values obtained after the OR operation and the coordinate values of the Y space are used to obtain And operation, finally get the coordinate value of the moving object range in the image space; 6)完成运动物体的检测后,实现对运动物体的框定,可选择两种框定形式,一种为宏块框定,这样能很好的反应运动物体的轮廓,另一种框定形式为矩形框定;当进行矩形框定时,首先计算一个图像范围内每个运动物体的横纵坐标的最大值和最小值,以这四个值为端点做矩形,实现对运动物体的分别框定; 6) After completing the detection of moving objects, realize the framing of moving objects. Two framing forms can be selected, one is macro block framing, which can well reflect the outline of moving objects, and the other framing form is rectangular framing; When performing rectangular frame timing, first calculate the maximum and minimum values of the horizontal and vertical coordinates of each moving object within an image range, and use these four values as the endpoints to make a rectangle to achieve separate framing of the moving objects; 7)当标志运动物体检测的bool量为false时,或者检测到控制命令,摄像机转动角度的时候,将停止对运动物体的检测。 7) When the bool value indicating the detection of moving objects is false, or when a control command is detected and the camera rotates, the detection of moving objects will be stopped. 7.根据权利要求1所述的一种无线网络智能视频监控系统的实现方法,其特征在于,所述步骤(6)中,实现了远程监控中心对本地视频采集系统的控制,因为实时性要求不是很高,控制命令采用socket编程进行传输;具体步骤如下: 7. The implementation method of a wireless network intelligent video monitoring system according to claim 1, characterized in that, in the step (6), the remote monitoring center controls the local video acquisition system, because real-time requirements It is not very high, and the control command is transmitted by socket programming; the specific steps are as follows: 在通信类中建立socket例程,并实现与数据转发节点(视频采集系统)的绑定; Create a socket routine in the communication class, and realize the binding with the data forwarding node (video acquisition system); 创建一个命令格式,用于控制命令的有效传输,命令格式如下: Create a command format to control the effective transmission of commands, the command format is as follows: 0000101000001010 ××××××××××××××××
命令头定义为0x0a,后面一个字节定义为命令内容; The command header is defined as 0x0a, and the next byte is defined as the command content; 当检测到命令要发送后,按照命令格式组成完整命令,通过socket发送函数发送出去,实现对摄像头摄像角度的调整。 When it is detected that the command is to be sent, a complete command is formed according to the command format, and sent through the socket sending function to realize the adjustment of the camera angle.
CN2011104300270A 2011-12-21 2011-12-21 Method for realizing wireless network intelligent video monitoring system Pending CN102413320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104300270A CN102413320A (en) 2011-12-21 2011-12-21 Method for realizing wireless network intelligent video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104300270A CN102413320A (en) 2011-12-21 2011-12-21 Method for realizing wireless network intelligent video monitoring system

Publications (1)

Publication Number Publication Date
CN102413320A true CN102413320A (en) 2012-04-11

Family

ID=45915130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104300270A Pending CN102413320A (en) 2011-12-21 2011-12-21 Method for realizing wireless network intelligent video monitoring system

Country Status (1)

Country Link
CN (1) CN102413320A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710939A (en) * 2012-05-14 2012-10-03 南京邮电大学 Implementation method of wireless image sensor system
CN103024510A (en) * 2012-12-17 2013-04-03 四川长虹电器股份有限公司 Method capturing intelligent television pictures
CN103347170A (en) * 2013-06-27 2013-10-09 郑永春 Image processing method used for intelligent monitoring and high-resolution camera applied in image processing method
CN103595820A (en) * 2013-11-28 2014-02-19 深圳英飞拓科技股份有限公司 Embedded front-end equipment backstage control debugging method and device
CN103905733A (en) * 2014-04-02 2014-07-02 哈尔滨工业大学深圳研究生院 Method and system for conducting real-time tracking on faces by monocular camera
CN104104913A (en) * 2014-07-14 2014-10-15 华侨大学 Intelligent distributed type video collecting system based on Android system
CN104253996A (en) * 2014-09-18 2014-12-31 中安消技术有限公司 Video data sending and receiving methods, video data sending and receiving devices and video data transmission system
CN104333762A (en) * 2014-11-24 2015-02-04 成都瑞博慧窗信息技术有限公司 Video decoding method
CN104410837A (en) * 2014-12-11 2015-03-11 重庆长航东风船舶工业公司 Video monitoring system
CN105049806A (en) * 2015-07-30 2015-11-11 河海大学 Method for designing embedded video monitoring system
CN105338314A (en) * 2015-10-28 2016-02-17 上海斐讯数据通信技术有限公司 Video pan-tilt device control method and system under wireless network condition
CN105391985A (en) * 2015-12-07 2016-03-09 哈尔滨工业大学深圳研究生院 Embedded Linux based video monitoring system and method
CN105744139A (en) * 2014-12-09 2016-07-06 广东中星电子有限公司 Wireless debugging method and apparatus applied to high-definition web camera
CN106027047A (en) * 2016-05-18 2016-10-12 中国电子科技集团公司第四十研究所 Non-linear analog/digital conversion linearization processing method based on FPGA (field-programmable gate array) control
CN106454348A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Video coding method, video decoding method, video coding device, and video decoding device
CN106662667A (en) * 2014-01-17 2017-05-10 爱克斯崔里斯股份公司 Commissioning of electro-optical detector
CN107333105A (en) * 2017-07-14 2017-11-07 中国矿业大学 A kind of downhole intelligent video monitoring system and monitoring method based on WIFI
CN108877023A (en) * 2018-09-21 2018-11-23 中新智擎科技有限公司 A kind of register machine and visitor's register method
CN109361871A (en) * 2018-11-30 2019-02-19 四川九州电子科技股份有限公司 A method of IP Camera is modeled as USB camera
CN110620910A (en) * 2019-09-24 2019-12-27 中国船舶重工集团公司第七0七研究所 Image information transmission method of dual-camera network transmission system based on OpenCV
CN110753042A (en) * 2019-10-08 2020-02-04 江苏欧帝电子科技有限公司 Running method and system of auto-negotiation intelligent video exhibition stand system
CN110798688A (en) * 2019-11-20 2020-02-14 珠海市长盛电线电缆有限公司 High-definition video compression coding system based on real-time transmission
CN110876054A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 A test method, device and system for a target algorithm
CN110944362A (en) * 2019-03-01 2020-03-31 蒋梅 Dynamic adjusting method for mobile communication bandwidth
CN114691628A (en) * 2022-03-18 2022-07-01 徐锋 Video signal object detection data forwarding method
CN114785987A (en) * 2022-04-11 2022-07-22 一汽解放汽车有限公司 Intelligent monitoring system
CN116016845A (en) * 2022-12-06 2023-04-25 广州长鹏光电科技有限公司 Multifunctional split type wireless image transmission system
CN116915959A (en) * 2023-09-06 2023-10-20 南京比特兔机器人科技有限公司 Monitoring data processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070217501A1 (en) * 2005-09-20 2007-09-20 A4S Security, Inc. Surveillance system with digital tape cassette
US20080309759A1 (en) * 2007-06-15 2008-12-18 At&T Knowledge Ventures, L.P. STB/DVR video surveillance
CN201266989Y (en) * 2008-10-16 2009-07-01 合肥优视嵌入式技术有限责任公司 Wireless video transmission equipment
CN201535951U (en) * 2009-09-23 2010-07-28 德瑞视(北京)科技发展有限公司 Intelligent traffic integrated video monitoring system
CN201742500U (en) * 2010-06-10 2011-02-09 无锡市鼎科电子有限公司 Infant remote monitoring system based on ARM and video monitoring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070217501A1 (en) * 2005-09-20 2007-09-20 A4S Security, Inc. Surveillance system with digital tape cassette
US20080309759A1 (en) * 2007-06-15 2008-12-18 At&T Knowledge Ventures, L.P. STB/DVR video surveillance
CN201266989Y (en) * 2008-10-16 2009-07-01 合肥优视嵌入式技术有限责任公司 Wireless video transmission equipment
CN201535951U (en) * 2009-09-23 2010-07-28 德瑞视(北京)科技发展有限公司 Intelligent traffic integrated video monitoring system
CN201742500U (en) * 2010-06-10 2011-02-09 无锡市鼎科电子有限公司 Infant remote monitoring system based on ARM and video monitoring

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘成: "基于嵌入式Linux的远程监控系统设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
杨鑫: "基于ARM-Linux的视频监控系统设计及视频无线网络传输", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710939A (en) * 2012-05-14 2012-10-03 南京邮电大学 Implementation method of wireless image sensor system
CN103024510A (en) * 2012-12-17 2013-04-03 四川长虹电器股份有限公司 Method capturing intelligent television pictures
CN103347170A (en) * 2013-06-27 2013-10-09 郑永春 Image processing method used for intelligent monitoring and high-resolution camera applied in image processing method
CN103595820A (en) * 2013-11-28 2014-02-19 深圳英飞拓科技股份有限公司 Embedded front-end equipment backstage control debugging method and device
CN106662667A (en) * 2014-01-17 2017-05-10 爱克斯崔里斯股份公司 Commissioning of electro-optical detector
CN106662667B (en) * 2014-01-17 2019-11-12 爱克斯崔里斯股份公司 Commissioning of electro-optical detectors
CN103905733A (en) * 2014-04-02 2014-07-02 哈尔滨工业大学深圳研究生院 Method and system for conducting real-time tracking on faces by monocular camera
CN103905733B (en) * 2014-04-02 2018-01-23 哈尔滨工业大学深圳研究生院 A kind of method and system of monocular cam to real time face tracking
CN104104913A (en) * 2014-07-14 2014-10-15 华侨大学 Intelligent distributed type video collecting system based on Android system
CN104253996A (en) * 2014-09-18 2014-12-31 中安消技术有限公司 Video data sending and receiving methods, video data sending and receiving devices and video data transmission system
CN104333762A (en) * 2014-11-24 2015-02-04 成都瑞博慧窗信息技术有限公司 Video decoding method
CN104333762B (en) * 2014-11-24 2017-10-10 成都瑞博慧窗信息技术有限公司 A kind of video encoding/decoding method
CN105744139A (en) * 2014-12-09 2016-07-06 广东中星电子有限公司 Wireless debugging method and apparatus applied to high-definition web camera
CN104410837A (en) * 2014-12-11 2015-03-11 重庆长航东风船舶工业公司 Video monitoring system
CN105049806A (en) * 2015-07-30 2015-11-11 河海大学 Method for designing embedded video monitoring system
CN106454348A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Video coding method, video decoding method, video coding device, and video decoding device
CN106454348B (en) * 2015-08-05 2019-08-13 中国移动通信集团公司 A kind of video coding-decoding method and device
CN105338314A (en) * 2015-10-28 2016-02-17 上海斐讯数据通信技术有限公司 Video pan-tilt device control method and system under wireless network condition
CN105338314B (en) * 2015-10-28 2018-04-06 上海斐讯数据通信技术有限公司 Video cloud platform control method and system under a kind of radio network conditions
CN105391985B (en) * 2015-12-07 2019-08-27 哈尔滨工业大学深圳研究生院 A video surveillance system and method based on embedded Linux
CN105391985A (en) * 2015-12-07 2016-03-09 哈尔滨工业大学深圳研究生院 Embedded Linux based video monitoring system and method
CN106027047A (en) * 2016-05-18 2016-10-12 中国电子科技集团公司第四十研究所 Non-linear analog/digital conversion linearization processing method based on FPGA (field-programmable gate array) control
CN106027047B (en) * 2016-05-18 2019-01-22 中国电子科技集团公司第四十一研究所 Linearization Processing Method of Nonlinear A/D Conversion Based on FPGA Control
CN107333105A (en) * 2017-07-14 2017-11-07 中国矿业大学 A kind of downhole intelligent video monitoring system and monitoring method based on WIFI
CN110876054A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 A test method, device and system for a target algorithm
CN108877023A (en) * 2018-09-21 2018-11-23 中新智擎科技有限公司 A kind of register machine and visitor's register method
CN109361871A (en) * 2018-11-30 2019-02-19 四川九州电子科技股份有限公司 A method of IP Camera is modeled as USB camera
CN109361871B (en) * 2018-11-30 2020-07-24 四川九州电子科技股份有限公司 Method for simulating network camera as USB camera
CN110944362B (en) * 2019-03-01 2020-12-22 浙江欧托电气有限公司 Dynamic Adjustment Method of Mobile Communication Bandwidth
CN110944362A (en) * 2019-03-01 2020-03-31 蒋梅 Dynamic adjusting method for mobile communication bandwidth
CN110620910A (en) * 2019-09-24 2019-12-27 中国船舶重工集团公司第七0七研究所 Image information transmission method of dual-camera network transmission system based on OpenCV
CN110753042A (en) * 2019-10-08 2020-02-04 江苏欧帝电子科技有限公司 Running method and system of auto-negotiation intelligent video exhibition stand system
CN110753042B (en) * 2019-10-08 2022-02-08 江苏欧帝电子科技有限公司 Running method and system of auto-negotiation intelligent video exhibition stand system
CN110798688A (en) * 2019-11-20 2020-02-14 珠海市长盛电线电缆有限公司 High-definition video compression coding system based on real-time transmission
CN114691628A (en) * 2022-03-18 2022-07-01 徐锋 Video signal object detection data forwarding method
CN114785987A (en) * 2022-04-11 2022-07-22 一汽解放汽车有限公司 Intelligent monitoring system
CN116016845A (en) * 2022-12-06 2023-04-25 广州长鹏光电科技有限公司 Multifunctional split type wireless image transmission system
CN116915959A (en) * 2023-09-06 2023-10-20 南京比特兔机器人科技有限公司 Monitoring data processing method and system
CN116915959B (en) * 2023-09-06 2023-11-28 南京比特兔机器人科技有限公司 Monitoring data processing method and system

Similar Documents

Publication Publication Date Title
CN102413320A (en) Method for realizing wireless network intelligent video monitoring system
US20180247550A1 (en) Image synchronous display method and device
CN103297754A (en) Monitoring video self-adaption interesting area coding system
CN112465698A (en) Image processing method and device
CN105791774A (en) A Surveillance Video Transmission Method Based on Video Content Analysis
US12265750B2 (en) Augmented reality video stream synchronization
CN105338323A (en) Video monitoring method and device
CN107018352A (en) A kind of method of video image processing, apparatus and system
CN114071197A (en) Screen projection data processing method and device
CN114257760A (en) Video splicing processing method, intelligent robot and system
CN103905833A (en) Distributed network video data mining and collecting system based on cloud calculation
CN104935886A (en) A kind of indoor intelligent video monitoring system based on SOPC
CN103533358B (en) Self adaption image collection transmission display device
WO2025010949A1 (en) Video encoding method and apparatus, storage medium, and electronic device
CN111083450A (en) Vehicle-mounted-end image remote output method, device and system
CN115209147B (en) Camera video transmission bandwidth optimization method, device, equipment and storage medium
CN107580228B (en) A monitoring video processing method, device and equipment
CN204598182U (en) Self adaption image collection transmission display unit
CN103347170A (en) Image processing method used for intelligent monitoring and high-resolution camera applied in image processing method
CN114500727A (en) Photoelectric pod wireless image transmission method based on mobile terminal
CN106412588A (en) Image frame processing method
CN111406404B (en) Compression method, decompression method, system and storage medium for obtaining video file
WO2025086836A1 (en) Image processing method and system
CN113114956A (en) Method and device for video information superposition
CN103702123B (en) A kind of Video coding and the method and equipment of processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120411

WD01 Invention patent application deemed withdrawn after publication