Video monitoring transmission time delay detection method based on image recognition and electronic equipment
By using an image recognition-based method in the video surveillance system, the problem of inaccurate detection results in the prior art is solved, and higher detection accuracy is achieved.
Patent Information
- Application Number
- CN202411819973.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-28
AI Technical Summary
In the existing video surveillance system, the transmission delay detection method is greatly affected by the tester's response, resulting in inaccurate detection results and inability to truly reflect the video streaming delay.
Using an image recognition method, by moving the marker and collecting its video images, the marker stop moving time is determined by using pixel changes, thereby calculating the video surveillance transmission delay.
It improves the accuracy of video surveillance transmission delay detection, can obtain video surveillance transmission delay more accurately, and reduces the impact of human reactions on detection results.
Smart Images

Figure CN119728954A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to the field of video surveillance technology related to image recognition. Background Art
[0002] Video surveillance systems are undergoing a rapid transition from traditional analog systems to digital systems. Digital video surveillance systems (IP-CCTV) have many advantages, such as higher image quality, more flexible storage, and remote access capabilities. However, this transition also brings new problems. In digital systems, video data is transmitted over the network, involving a variety of complex network protocols and devices. For example, IP cameras package video data and send it to storage devices or monitoring centers over the network. In this process, factors such as network bandwidth limitations and network congestion may cause transmission delays.
[0003] In the prior art, TB 10431-2019 "Railway Image Communication Engineering Inspection Regulations" provides a method for comprehensive video surveillance transmission delay detection using a stopwatch. The delay test is expressed by the following formula 1: T C =T c +T f1 +T f2 , where T C Indicates the tested transmission delay; T c Represents the reaction delay in the actual network; T f1 It represents the reaction delay from the tester receiving the start test command to pressing the stopwatch; T f2 It indicates the reaction delay from the time the tester receives the image change to the time he stops pressing the stopwatch. However, this method has an obvious disadvantage that the test is greatly affected by the tester's reaction, and the final delay of the actual test is not the real video stream transmission delay.
[0004] Application Contents
[0005] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a video surveillance transmission delay detection method and electronic device based on image recognition, so as to improve the accuracy of video surveillance transmission delay detection.
[0006] To achieve the above-mentioned purpose and other related purposes, the present application provides a video surveillance transmission delay detection method based on image recognition, the method comprising: moving a marker and obtaining the movement time of the marker, while collecting a video image of the marker, and obtaining the movement delay of the marker based on the video image of the standard object; obtaining a single transmission delay based on the movement time of the marker and the movement delay of the marker; repeating the above process, and obtaining the test transmission delay based on the single transmission delay and a preset number of tests.
[0007] In one embodiment of the present application, the step of capturing a video image of the marker and obtaining the movement delay of the marker based on the video image of the standard object includes: obtaining the start capture time of the video image of the marker and the stop movement time when the marker stops moving; and obtaining the movement delay of the marker based on the start capture time and the stop movement time.
[0008] In one embodiment of the present application, the start acquisition time is acquired based on the mouse click time; and the stop movement time when the marker stops moving is acquired based on the pixel change of the video image of the marker.
[0009] In one embodiment of the present application, obtaining the stop movement time of the marker based on the pixel change of the video image of the marker includes: obtaining the pixel points when the marker is stationary; obtaining the pixel points after the marker moves; obtaining the pixel comparison value of the marker based on the pixel points when the marker is stationary and the pixel points after the marker moves; determining whether the marker stops moving based on the pixel comparison value of the marker; obtaining the time corresponding to the time when the marker stops moving, which is the stop movement time.
[0010] In one embodiment of the present application, the single transmission delay obtained based on the movement time of the marker and the movement delay of the marker is: T c =T ci -Δ ti ; Among them, T c is the single transmission delay, T ci is the moving delay of the i-th marker, Δ ti is the moving time of the i-th marker.
[0011] In one embodiment of the present application, the acquiring the transmission delay of the test based on the single transmission delay and the preset number of tests includes:
[0012]
[0013] Among them, T C is the transmission delay of the test, and n is the number of tests.
[0014] In one embodiment of the present application, the moving time of the marker is a preset fixed value.
[0015] To achieve the above-mentioned purpose and other related purposes, the present application also provides an electronic terminal, including: a memory for storing a computer program; a processor for running the computer program to implement the steps of the video surveillance transmission delay detection method based on image recognition as described above.
[0016] To achieve the above-mentioned purpose and other related purposes, the present application also provides a computer storage medium storing program instructions, which, when executed, implement the steps of the video surveillance transmission delay detection method based on image recognition as described above.
[0017] To achieve the above-mentioned purpose and other related purposes, the present application also provides a computer program product, characterized in that the computer program product includes computer program code, and when the computer program code runs on a computer, the computer implements the method as described above.
[0018] As described above, the video surveillance transmission delay detection method and electronic device based on image recognition of the present application have the following beneficial effects:
[0019] The video surveillance transmission delay detection method based on image recognition provided by the present application obtains the video surveillance transmission delay by utilizing the movement time of the marker and the movement delay of the marker obtained from the video image, which can improve the accuracy of obtaining the video surveillance transmission delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 Shown is a schematic diagram of the overall process of a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application;
[0022] Figure 2 Shown is a schematic diagram of a process of obtaining a moving delay of a marker in a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application;
[0023] Figure 3 Shown is a flow chart of obtaining the stop movement time of a marker when it stops moving in a video surveillance transmission delay detection method based on image recognition in one embodiment of the present application;
[0024] Figure 4 Shown is a schematic diagram of the principle of determining the stillness of a marker in a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application;
[0025] Figure 5 Shown is a schematic diagram of the movement time of a marker in a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application;
[0026] Figure 6 Shown is a schematic diagram of a specific implementation process of a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application;
[0027] Figure 7 Detailed description is given of the principle block diagram of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION
[0028] The following describes the implementation of this embodiment through specific examples, and those skilled in the art can easily understand other advantages and effects of this embodiment from the content disclosed in this specification. This embodiment can also be implemented or applied through other different specific implementations, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of this embodiment. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0029] This embodiment provides a video surveillance transmission delay detection method and electronic device based on image recognition, which are used to improve the accuracy of video surveillance transmission delay detection.
[0030] The principles and implementation methods of the video surveillance transmission delay detection method and electronic device based on image recognition of this embodiment will be explained in detail below, so that those skilled in the art can understand the video surveillance transmission delay detection method and electronic device based on image recognition of this embodiment without creative work.
[0031] Specifically, the present application provides a video surveillance transmission delay detection method based on image recognition, Figure 1 The overall flow chart of the video surveillance transmission delay detection method based on image recognition in one embodiment of the present application is shown; Figure 1 As shown, the method includes the following steps S100 to S300.
[0032] Step S100, moving a marker, obtaining the moving time of the marker, collecting a video image of the marker, and obtaining the moving delay of the marker based on the video image of the standard object;
[0033] Step S200, obtaining a single transmission delay based on the movement time of the marker and the movement delay of the marker;
[0034] Step S300, repeating the above steps S100 and S200, and obtaining the transmission delay of the test based on the single transmission delay and the preset number of tests.
[0035] In the video surveillance transmission delay detection method based on image recognition in this embodiment, a machine is used to replace the human eye for image recognition, and an algorithm and a physical marker are used in combination to improve the accuracy of video surveillance transmission delay detection and recognition of image recognition.
[0036] The above-mentioned step S100 and step S300 in the video surveillance transmission delay detection method based on image recognition in this embodiment are described in detail below.
[0037] Step S100, a marker is moved, and the moving time of the marker is obtained, while a video image of the marker is collected, and the moving delay of the marker is obtained based on the video image of the standard object.
[0038] In this embodiment, the marker is a physical movable marker, such as a ball marker, or a wheeled marker, etc. The marker can be controlled to move by applying a pushing force to the marker by human power or electric power to control the marker to move.
[0039] In a specific implementation of this embodiment, the moving time of the marker is a preset fixed value. That is, during the test, the marker moves according to the fixed moving time Δ ti Movement, for example, fixed movement time is 1000ms.
[0040] In this embodiment, a video image of the marker is collected, and the moving delay of the marker is obtained based on the video image of the standard object. Figure 2 The figure shows a flow chart of obtaining the moving delay of a marker in a method for detecting the transmission delay of video surveillance based on image recognition in one embodiment of the present application; Figure 2 As shown, in a specific implementation of this embodiment, the step of collecting the video image of the marker and obtaining the movement delay of the marker based on the video image of the standard object includes:
[0041] Step S110, obtaining the start time of collecting the video image of the marker and the stop time of the marker when the marker stops moving.
[0042] In a specific implementation of this embodiment, the start acquisition time is acquired based on the mouse click time; and the stop movement time of the marker when it stops moving is acquired based on the pixel change of the video image of the marker.
[0043] Step S120: acquiring the movement delay of the marker based on the start acquisition time and the stop movement time.
[0044] Figure 3It is a schematic diagram of the process of obtaining the stop movement time of the marker when it stops moving in the video surveillance transmission delay detection method based on image recognition in one embodiment of the present application; Figure 3 As shown, in a specific implementation of this embodiment, obtaining the stop movement time of the marker based on the pixel change of the video image of the marker includes:
[0045] Step S111, obtaining pixel points of the marker when it is stationary;
[0046] Step S112, obtaining the pixel points after the marker moves;
[0047] Step S113, obtaining a pixel comparison value of the marker based on the pixel points of the marker when it is stationary and the pixel points of the marker after it moves; wherein the pixel comparison value is a pixel comparison percentage.
[0048] Step S114, determining whether the marker has stopped moving based on the pixel comparison value of the marker;
[0049] Step S115, obtaining the time corresponding to when the marker stops moving, that is, the stop movement time.
[0050] Figure 4 The schematic diagram is a schematic diagram showing the principle of determining the stillness of a marker in a method for detecting a video surveillance transmission delay based on image recognition in an embodiment of the present application; Figure 4 As shown, this embodiment is described by taking a sphere as the marker.
[0051] like Figure 4 As shown, get the sphere pixel R i-1 , the pixel point R of the sphere after the sphere moves i , then based on the sphere pixel R i-1 The pixel point R of the sphere after the sphere moves i The pixel comparison percentage is obtained, and then the pixel comparison percentage is compared with the threshold of the pixel comparison percentage. If it is greater than, it is determined that the marker has stopped moving, and if it is less than, it is determined that the marker has moved. After determining that the marker is stationary, the time corresponding to when the marker stops moving is obtained, which is the stop movement time.
[0052] In this embodiment, the time when the mouse clicks the video image (the time when the marker starts to move) is used to start timing, and the start acquisition time is obtained, and the time when the marker stops moving is obtained by pixel determination. Thus, the movement delay of the marker is further obtained based on the start acquisition time and the stop movement time.
[0053] Step S200: Acquire a single transmission delay based on the movement time of the marker and the movement delay of the marker.
[0054] In a specific implementation of this embodiment, the single transmission delay obtained based on the movement time of the marker and the movement delay of the marker is: T c =T ci -Δ ti ; Among them, T c is the single transmission delay, T ci is the movement delay of the i-th marker (i.e., the reaction delay of the i-th test in the actual network), Δ ti is the moving time of the i-th marker.
[0055] During the test, the markers were ti Movement, landmark movement delay T ci It is the time delay from the time the mouse is clicked to the time the object is detected to move. The single test delay is:
[0056] T c =T ci -Δ ti
[0057] Figure 5 It is a schematic diagram showing the movement time of a marker in a video surveillance transmission delay detection method based on image recognition in one embodiment of the present application; Figure 5 As shown, in a specific implementation of this embodiment, the moving time of the marker is a preset fixed value, for example, the fixed moving time is 1000ms.
[0058] Step S300, repeating the above steps S100 and S200, and obtaining the transmission delay of the test based on the single transmission delay and the preset number of tests.
[0059] In a specific implementation of this embodiment, the acquiring the transmission delay of the test based on the single transmission delay and the preset number of tests includes:
[0060]
[0061] Among them, T C is the transmission delay of the test, n is the number of tests, T ci is the movement delay of the i-th marker (i.e., the reaction delay of the i-th test in the actual network), Δ ti is the moving time of the i-th marker.
[0062] To reduce test errors, multiple measurements need to be completed for each camera test. Preferably, the number of tests is no less than 10 times.
[0063] Figure 6It is a schematic diagram showing a specific implementation process of a video surveillance transmission delay detection method based on image recognition in an embodiment of the present application; Figure 6 As shown, for example, the front-end camera is selected as a gun camera to obtain a video image of the landmark.
[0064] 1): Firstly, arrange the marker for testing, the marker is, for example, a sphere, for example, the diameter of the marker sphere is set to 10 cm, and the fixed moving time of the sphere is 1000 ms.
[0065] 2): Then test to obtain the video image captured by the front-end camera, click the mouse, and test the synchronous movement of the marker sphere at the same time.
[0066] 3): Then use image recognition to calculate the stop time when the ball stops moving, start timing when the mouse clicks the video image (the time when the marker starts moving), obtain the start acquisition time, and obtain the time when the marker stops moving by pixel determination. Then, further obtain the movement delay T of the marker based on the start acquisition time and the stop movement time ci By formula T c =T ci -Δ ti Calculate the single transmission delay of video surveillance transmission.
[0067] 4): Finally passed Calculate the average transmission delay T of video surveillance transmission c .
[0068] The protection scope of the video surveillance transmission delay detection method based on image recognition described in the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.
[0069] The video surveillance transmission delay detection method based on image recognition described in the embodiment has the following beneficial effects:
[0070] 1) System performance optimization
[0071] Accurately locate bottlenecks: Video surveillance system latency testing can help identify the specific links in the system that cause delays. For example, in a video surveillance system in a large shopping mall, latency testing can be used to find out whether the delay in the transmission link is caused by insufficient network bandwidth, or whether the delay in the encoding process is caused by poor encoder performance, during the process of collecting video signals from the camera, encoding them through the encoder, and then transmitting them to the storage device and monitoring terminal through the network. Once the bottleneck is determined, appropriate measures can be taken to optimize it, such as upgrading network equipment, replacing high-performance encoders, etc.
[0072] Reasonable resource allocation: Understanding the system latency helps to reasonably allocate system resources. Take a campus video surveillance system with many cameras as an example. By testing the latency from cameras in different areas to the surveillance center, more network bandwidth or better server resources can be allocated to areas with larger latency to process video data, thereby balancing the performance of the entire system and avoiding resource waste.
[0073] Ensure stable system operation: Stable latency is the key to the normal operation of the video surveillance system. In the traffic monitoring system, if the latency of the real-time monitoring video of the traffic conditions at the intersection is unstable, the traffic management department will not be able to accurately judge the traffic flow and accident situation. Through latency testing, system instability factors such as hardware failure or software conflict can be discovered in time, and maintenance and repair can be carried out in advance to ensure stable system operation.
[0074] 2) Timely response to incidents
[0075] Quickly detect abnormal situations: In security video surveillance systems, latency testing can ensure that when an abnormal event occurs, the monitoring personnel can see the video screen in time. For example, in a bank's monitoring system, low latency can ensure that in the event of an emergency such as a robbery, the security personnel in the monitoring room can immediately detect abnormal behavior and take measures such as alarming in a timely manner. If the latency is too high, the security personnel may not be able to detect the occurrence of the incident in time, thus delaying the best time to deal with it.
[0076] Effectively trace the event process: For events that have already occurred, the low-latency video surveillance system can more accurately restore the entire process of the event. For example, in a factory production safety accident investigation, by viewing the video records without obvious delay, you can clearly see the operating status of the machinery and equipment before the accident, the operation of the personnel and other details, providing a reliable basis for the analysis of the cause of the accident and the division of responsibilities.
[0077] 3) Improve user experience
[0078] Meeting real-time monitoring needs: For users who need to view surveillance videos in real time, such as corporate security managers or property management company staff, low-latency video surveillance systems allow them to observe the situation in the surveillance area as if they were there. Taking the video surveillance of smart communities as an example, owners hope to be able to view the parking situation in the community, personnel activities in public areas, etc. in real time through mobile phone applications. Lower latency can meet their needs and provide a better user experience.
[0079] Enhance system credibility: If the latency of the video surveillance system is too high, users may doubt the effectiveness of the system. For example, in some places with high security requirements, such as the monitoring of the cultural relics exhibition hall in a museum, if the video images are always delayed, users (including security personnel and management personnel) will worry that the system cannot capture possible cultural relics thefts in time, thereby reducing their trust in the system. By testing the latency and optimizing the system to reduce the latency, the credibility of the system can be enhanced.
[0080] Figure 7 is a schematic block diagram of an electronic terminal provided in an embodiment of the present application. Figure 7 As shown, the electronic terminal includes: at least one processor 401, a memory 402, at least one network interface 403 and a user interface 405. The various components in the electronic terminal are coupled together through a bus system 404. It can be understood that the bus system 404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 In the specification, various buses are labeled as bus systems.
[0081] The user interface 405 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0082] It is understood that the memory 402 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0083] The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic terminal 400. Examples of these data include: any executable program used to operate on the electronic terminal 400, such as an operating system 4021 and an application 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 4022 can include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The implementation of the XX method provided in the embodiment of the present invention can be included in the application 4022.
[0084] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 401 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0085] In an exemplary embodiment, the electronic terminal 400 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.
[0086] According to the method provided in the embodiment of the present application, the present application also provides a computer program product, which includes: a computer program code, when the computer program code is run on a computer, the computer executes Figures 1 to 6 A method according to any one of the embodiments shown.
[0087] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, which stores a program code, and when the program code is run on a computer, the computer executes Figures 1 to 5 A method according to any one of the embodiments shown.
[0088] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).
[0089] Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0090] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, electronic terminals and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0091] In the several embodiments provided in the present application, it should be understood that the disclosed systems, electronic terminals and methods can be implemented in other ways. For example, the electronic terminal embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the electronic terminal or unit can be electrical, mechanical or other forms.
[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0093] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When loading and executing computer program instructions (programs) on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable electronic terminals. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs)).
[0094] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0095] In summary, the video surveillance transmission delay detection method based on image recognition provided by the present application uses the movement time of the marker and the movement delay of the marker obtained from the video image to obtain the video surveillance transmission delay, which can improve the accuracy of obtaining the video surveillance transmission delay. Therefore, the present application effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0096] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A video surveillance transmission delay detection method based on image recognition, characterized in that: The method comprises: Make a marker move, and obtain the moving time of the marker, and simultaneously collect a video image of the marker, and obtain the moving delay of the marker based on the video image of the standard object; Acquire a single transmission delay based on the movement time of the marker and the movement delay of the marker; The above process is repeated to obtain the transmission delay of the test based on the single transmission delay and the preset number of tests.
2. The video surveillance transmission delay detection method based on image recognition according to claim 1 is characterized in that: The collecting the video image of the marker and acquiring the movement delay of the marker based on the video image of the standard object comprises: Obtaining the start time of acquisition of the video image of the marker and the stop time of movement when the marker stops moving; The movement delay of the marker is acquired based on the start acquisition time and the stop movement time.
3. The video surveillance transmission delay detection method based on image recognition according to claim 2 is characterized in that: Acquire the start acquisition time based on the mouse click time; The stopping time of the marker when the marker stops moving is obtained based on the pixel change of the video image of the marker.
4. The video surveillance transmission delay detection method based on image recognition according to claim 3 is characterized in that: The step of obtaining the stopping time of the marker when the marker stops moving based on the pixel change of the video image of the marker comprises: Get the pixel points of the marker when it is still; Get the pixel point after the marker moves; Acquire a pixel comparison value of the marker based on the pixel points of the marker when it is stationary and the pixel points of the marker after it moves; Determining whether the marker has stopped moving based on the pixel comparison value of the marker; The time corresponding to when the marker stops moving is obtained, which is the stopping movement time.
5. The video surveillance transmission delay detection method based on image recognition according to claim 1 is characterized in that: The single transmission delay obtained based on the movement time of the marker and the movement delay of the marker is: T c =T ci -Δ ti T c is the single transmission delay, T ci is the moving delay of the i-th marker, Δ ti is the moving time of the i-th marker.
6. The video surveillance transmission delay detection method based on image recognition according to claim 5 is characterized in that: The acquiring the transmission delay of the test based on the single transmission delay and the preset number of tests includes: Among them, T C is the transmission delay of the test, and n is the number of tests.
7. The video surveillance transmission delay detection method based on image recognition according to claim 1, 5 or 6, characterized in that: The moving time of the marker is a preset fixed value.
8. An electronic terminal, characterized in that: include: comprising a memory for storing a computer program; A processor is used to run the computer program to implement the steps of the video surveillance transmission delay detection method based on image recognition as described in any one of claims 1 to claim 7.
9. A computer storage medium storing program instructions, characterized in that: When the program instructions are executed, the steps of the video surveillance transmission delay detection method based on image recognition as described in any one of claims 1 to 7 are implemented.
10. A computer program product, characterized in that The computer program product includes computer program codes. When the computer program codes are executed on a computer, the computer is enabled to implement the steps of the video surveillance transmission delay detection method based on image recognition as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Operation time delay test method, device and equipment of master-slave system and medium
CN120673087A