A method and device for processing surveillance video
A technology for monitoring video and processing methods, applied in image data processing, closed-circuit television systems, instruments, etc., can solve problems such as poor program real-time performance, high CPU occupancy, and long delay of monitoring images, achieve real-time guarantees, and reduce CPU usage. The occupancy rate, the effect of changing the average time-consuming
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] The users of the monitoring program can generally be divided into two categories: one is the need to keep the data intact, at this time the accuracy needs to be ensured; the other is the need to ensure the smoothness of the monitoring program screen, at this time the accuracy is in a secondary position. Then, can different optimization be done according to the different objects of use, for example, when it is necessary to ensure the smoothness and accuracy of the monitoring program screen, and the accuracy is in a secondary position, only receive operations on some data without further operations? In this way, the speed of data processing can be kept in sync with the speed of receiving data, thereby ensuring the real-time performance of the monitoring program.
[0020] The data stream sent by the remote signal source is composed of data packets. The business logic of the monitoring program is mainly to process each data packet. Usually, in the monitoring program, this o...
Embodiment 2
[0026] As a preferred embodiment, the definition of the above-mentioned rule R in this embodiment is specifically as follows:
[0027] If the interval between the receiving time of the current data packet and the receiving time of the last data packet with O1 operation is greater than the preset time interval T, then take O1 operation for the currently accepted data packet, otherwise take O2 operation.
[0028] The O2 operation takes less time, while the O1 operation takes a long time, and the O2 operation takes less time than the O1 operation. The time interval T is determined by the specific usage requirements of the program. For example, when the monitoring program is used by the monitor to monitor a certain place, the program is oriented to the human eye, and it only needs to ensure that there are enough pictures drawn per second, so that the human eye thinks that the picture is continuous; or when the monitoring program mainly It is used to record events that happened in...
Embodiment 3
[0044] This embodiment further optimizes the process of writing the current data packet into a file or discarding the data packet, that is, the process of writing the current data packet into a file or discarding the data packet in Embodiment 2 may specifically include: According to the picture accuracy requirement, a predetermined discarding rule is adopted to discard the data packet, and the remaining data packets are written into the file.
[0045] The above-mentioned predetermined rules can be set by the user according to the specific situation. For example, if the accuracy rate of 90% needs to be guaranteed, this value (which can be called "screen accuracy rate requirement") is manually input, and the monitoring program reads this value and implements it in detail. In the process, the first data packet (or the second data packet, etc.) is discarded every time 10 data packets are received, and the discarded data packets are preferably evenly distributed among all data packe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 