Highway supervision method and system
By setting up a collection device on the highway and analyzing monitoring videos, detecting traffic signs and vehicle behaviors, the problem of low manual supervision efficiency in the existing technology is solved, and the automation and efficiency of highway supervision is realized.
Patent Information
- Application Number
- CN202411844500.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-05-02
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology relies on manual real-time viewing of surveillance videos in highway supervision, resulting in high labor costs and low work efficiency, and prone to omission problems.
By setting up a collection device at a preset distance on the expressway, the expressway is divided into several highway sections, collecting and analyzing monitoring videos, detecting traffic signs, and determining in real time whether the vehicle violates traffic signs or has a traffic accident, and issuing alarm information.
It reduces the amount of data processing, improves supervision efficiency, can accurately issue alarm information and rescue information, reduces manual participation, and improves work efficiency.
Smart Images

Figure CN119920109A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a highway supervision method and system. Background Art
[0002] With the advancement of technology and the rapid development of the times, in order to improve the efficiency of people's travel and transportation, a large number of highways have been built, bringing convenience to people.
[0003] Among them, with the rapid development of expressways, the traffic volume on expressways is also increasing, which has brought certain safety hazards to expressways and brought tremendous pressure to the supervision of expressways.
[0004] Furthermore, in the process of monitoring highways with existing technologies, most of them collect monitoring videos on highways in real time through cameras, and manually view the monitoring videos in real time to take corresponding measures. However, this monitoring method has high labor costs and is prone to omissions, which reduces work efficiency accordingly. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide a highway supervision method and system to solve the problem that most of the existing technologies rely on manual viewing of monitoring videos, resulting in low work efficiency.
[0006] The first aspect of the embodiment of the present invention proposes:
[0007] A highway supervision method, wherein the method comprises:
[0008] A collection device is respectively arranged at every preset distance on the expressway to divide the expressway into a plurality of expressway sections, and the collection range of the collection device covers the expressway sections;
[0009] The monitoring video corresponding to each of the high-speed sections is collected by each of the collecting devices, and each of the monitoring videos is analyzed and processed based on preset rules to detect the corresponding traffic signs contained in the monitoring video;
[0010] The traffic sign is highlighted in the monitoring video, and the vehicle entering the monitoring video is tracked and detected to determine in real time whether the vehicle violates the traffic sign;
[0011] If it is determined in real time that the vehicle has not violated the traffic sign, then it is determined in real time whether a traffic accident occurs in the monitoring video;
[0012] If it is determined in real time that a traffic accident has occurred in the monitoring video, corresponding alarm information and rescue information will be immediately sent to the staff's work terminal.
[0013] The beneficial effect of the present invention is that by splitting the highway into several highway sections, the amount of data processing can be reduced accordingly. Based on this, targeted analysis can be carried out. Specifically, the corresponding traffic signs contained in the monitoring video can be detected in real time, and in order to facilitate subsequent identification, they will be highlighted. Furthermore, at this time, it is only necessary to judge in real time whether the passing vehicles violate the traffic signs and whether a traffic accident occurs, so that the corresponding warning information and rescue information can be accurately issued, which correspondingly improves work efficiency.
[0014] Furthermore, the step of analyzing and processing each of the surveillance videos based on preset rules to detect the corresponding traffic signs contained in the surveillance videos includes:
[0015] When the monitoring video is acquired in real time, a monitoring screen corresponding to the monitoring video is detected in real time, and the monitoring screen is a color screen;
[0016] The monitoring picture is globally grayed out to generate a corresponding target gray image in real time, and the traffic sign is detected according to the target gray image.
[0017] Furthermore, the step of detecting the traffic sign according to the target grayscale image includes:
[0018] When the target grayscale image is acquired in real time, the target grayscale image is fully scanned to detect a number of original pixel points contained in the target grayscale image;
[0019] Adding a corresponding target identifier to each of the original pixel points, and detecting the original pixel value corresponding to each of the original pixel points in real time based on the target identifier;
[0020] Each of the original pixel values is detected in real time to detect the corresponding traffic sign.
[0021] Furthermore, the step of performing real-time detection on each of the original pixel values to detect the corresponding traffic sign includes:
[0022] When each of the original pixel values is obtained respectively, determining in real time whether the size of each of the original pixel values is within a range of a preset pixel threshold;
[0023] If it is determined in real time that the size of the original pixel value is within the range of the preset pixel threshold, the original pixel point corresponding to the current original pixel value is immediately set as the target pixel point, and the traffic sign is detected according to each target pixel point.
[0024] Furthermore, the step of detecting the traffic sign according to each of the target pixel points includes:
[0025] When a number of the target pixels are acquired in real time, a target area enclosed by the target pixels is detected in the monitoring image, and the target area has a corresponding shape;
[0026] The area outline corresponding to the target area is depicted in real time in the monitoring image, and the area outline and the target area are integrated to detect the traffic sign accordingly.
[0027] Furthermore, the step of determining in real time whether the vehicle violates the traffic sign includes:
[0028] When a vehicle is detected passing through the monitoring screen in real time, a driving path corresponding to the vehicle is depicted in real time within the range of the monitoring screen;
[0029] The target traffic sign corresponding to the driving path in the monitoring image is detected in real time, and whether the vehicle violates the traffic sign is determined in real time based on the driving path and the target traffic sign, and the driving path is unique.
[0030] Furthermore, the step of determining in real time whether the vehicle violates the traffic sign according to the driving path and the target traffic sign includes:
[0031] When the driving path is acquired in real time, determining in real time whether the driving path violates the control range of the target traffic sign;
[0032] If it is determined in real time that the driving path violates the control range of the target traffic sign, then it is correspondingly determined that the vehicle has violated the traffic sign.
[0033] The second aspect of the embodiment of the present invention proposes:
[0034] A highway supervision system, wherein the system comprises:
[0035] A collection module, used for setting a collection device at every preset distance on the expressway, so as to divide the expressway into a plurality of expressway sections, and the collection range of the collection device covers the expressway sections;
[0036] An analysis module, used to collect surveillance videos corresponding to each of the highway sections through each of the acquisition devices, and analyze each of the surveillance videos based on preset rules to detect the traffic signs contained in the surveillance videos;
[0037] A first judgment module is used to highlight the traffic sign in the monitoring video and track and detect the vehicle entering the monitoring video to determine in real time whether the vehicle violates the traffic sign;
[0038] A second judgment module is used to judge in real time whether a traffic accident occurs in the monitoring video if it is judged in real time that the vehicle has not violated the traffic sign;
[0039] The prompt module is used to immediately send corresponding warning information and rescue information to the staff's work terminal if it is determined in real time that a traffic accident has occurred in the monitoring video.
[0040] Furthermore, the parsing module is specifically used for:
[0041] When the monitoring video is acquired in real time, a monitoring screen corresponding to the monitoring video is detected in real time, and the monitoring screen is a color screen;
[0042] The monitoring picture is globally grayed out to generate a corresponding target gray image in real time, and the traffic sign is detected according to the target gray image.
[0043] Furthermore, the parsing module is specifically used for:
[0044] When the target grayscale image is acquired in real time, the target grayscale image is fully scanned to detect a number of original pixel points contained in the target grayscale image;
[0045] Adding a corresponding target identifier to each of the original pixel points, and detecting the original pixel value corresponding to each of the original pixel points in real time based on the target identifier;
[0046] Each of the original pixel values is detected in real time to detect the corresponding traffic sign.
[0047] Furthermore, the parsing module is specifically used for:
[0048] When each of the original pixel values is obtained respectively, determining in real time whether the size of each of the original pixel values is within a range of a preset pixel threshold;
[0049] If it is determined in real time that the size of the original pixel value is within the range of the preset pixel threshold, the original pixel point corresponding to the current original pixel value is immediately set as the target pixel point, and the traffic sign is detected according to each target pixel point.
[0050] Furthermore, the parsing module is specifically used for:
[0051] When a number of the target pixels are acquired in real time, a target area enclosed by the target pixels is detected in the monitoring image, and the target area has a corresponding shape;
[0052] The area outline corresponding to the target area is depicted in real time in the monitoring image, and the area outline and the target area are integrated to detect the traffic sign accordingly.
[0053] Furthermore, the first determination module is specifically used for:
[0054] When a vehicle is detected passing through the monitoring screen in real time, a driving path corresponding to the vehicle is depicted in real time within the range of the monitoring screen;
[0055] The target traffic sign corresponding to the driving path in the monitoring image is detected in real time, and whether the vehicle violates the traffic sign is determined in real time based on the driving path and the target traffic sign, and the driving path is unique.
[0056] Furthermore, the first determination module is specifically used for:
[0057] When the driving path is acquired in real time, determining in real time whether the driving path violates the control range of the target traffic sign;
[0058] If it is determined in real time that the driving path violates the control range of the target traffic sign, then it is correspondingly determined that the vehicle has violated the traffic sign.
[0059] The third aspect of the embodiment of the present invention proposes:
[0060] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the highway supervision method as described above when executing the computer program.
[0061] The fourth aspect of the embodiments of the present invention proposes:
[0062] A readable storage medium stores a computer program, wherein when the program is executed by a processor, the highway supervision method as described above is implemented.
[0063] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A flowchart of a highway supervision method provided by a first embodiment of the present invention;
[0065] Figure 2 This is a structural block diagram of a highway supervision system provided in the third embodiment of the present invention.
[0066] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0067] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0068] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0070] See also Figure 1 , which shows the highway supervision method provided by the first embodiment of the present invention. The highway supervision method provided by this embodiment can quickly and effectively identify problems and accidents on the highway, thereby correspondingly improving work efficiency.
[0071] Specifically, this embodiment provides:
[0072] A highway supervision method specifically comprises the following steps:
[0073] Step S10, a collection device is respectively arranged at a preset distance on the highway to divide the highway into a plurality of highway sections, and the collection range of the collection device covers the highway sections;
[0074] Step S20, collecting surveillance videos corresponding to each of the highway sections through each of the collection devices, and analyzing and processing each of the surveillance videos based on preset rules to detect the traffic signs corresponding to the surveillance videos;
[0075] Step S30, highlighting the traffic sign in the monitoring video, and tracking and detecting the vehicle entering the monitoring video to determine in real time whether the vehicle violates the traffic sign;
[0076] Step S40, if it is determined in real time that the vehicle has not violated the traffic sign, then determining in real time whether a traffic accident occurs in the monitoring video;
[0077] Step S50: If it is determined in real time that a traffic accident has occurred in the monitoring video, corresponding alarm information and rescue information are immediately sent to the work terminal of the staff.
[0078] Specifically, in this embodiment, it should be noted that in order to quickly and effectively complete the automatic supervision of the highway, it is necessary to obtain the information on the highway in real time and accurately. It should be noted that the fastest way to obtain the information on the highway is to use existing cameras or drones to collect images on the highway in real time and form corresponding monitoring videos in real time. Based on this, only the monitoring video needs to be analyzed to automatically complete the subsequent identification and take corresponding measures. It should be noted that since the existing highways are relatively long, in order to facilitate the management of the highway and reduce the amount of data processing, the present invention will first split a completed highway into several highway sections, wherein a corresponding camera is set in each highway section, and the monitoring range of the camera can cover the current highway section, so that the monitoring video of each highway section can be collected in real time. Based on this, the present invention will further analyze and process the monitoring video of each current highway section through pre-set rules to detect the traffic signs contained in each highway section, so as to facilitate subsequent processing.
[0079] Furthermore, in the actual application process, when the moving vehicle passes through each highway section in turn, the current vehicle will be detected and tracked in real time, and it will be determined in real time whether the current vehicle violates the indication range of the traffic sign. Specifically, if so, a corresponding alarm message will be immediately issued so that the staff can take corresponding measures. Correspondingly, if not, it will be further determined in real time whether a traffic accident has occurred in each highway section. Specifically, if so, an alarm message will also be immediately issued to the staff's user terminal so that the staff can take corresponding measures. Correspondingly, if not, it is determined that no traffic accident has occurred, and continuous monitoring is carried out. In this way, manual participation can be eliminated, and problems and accidents on the highway can be quickly and effectively identified, thereby improving work efficiency.
[0080] Second embodiment
[0081] Furthermore, the step of analyzing and processing each of the surveillance videos based on preset rules to detect the corresponding traffic signs contained in the surveillance videos includes:
[0082] When the monitoring video is acquired in real time, a monitoring screen corresponding to the monitoring video is detected in real time, and the monitoring screen is a color screen;
[0083] The monitoring picture is globally grayed out to generate a corresponding target gray image in real time, and the traffic sign is detected according to the target gray image.
[0084] Furthermore, the step of detecting the traffic sign according to the target grayscale image includes:
[0085] When the target grayscale image is acquired in real time, the target grayscale image is fully scanned to detect a number of original pixel points contained in the target grayscale image;
[0086] Adding a corresponding target identifier to each of the original pixel points, and detecting the original pixel value corresponding to each of the original pixel points in real time based on the target identifier;
[0087] Each of the original pixel values is detected in real time to detect the corresponding traffic sign.
[0088] Furthermore, the step of performing real-time detection on each of the original pixel values to detect the corresponding traffic sign includes:
[0089] When each of the original pixel values is obtained respectively, determining in real time whether the size of each of the original pixel values is within a range of a preset pixel threshold;
[0090] If it is determined in real time that the size of the original pixel value is within the range of the preset pixel threshold, the original pixel point corresponding to the current original pixel value is immediately set as the target pixel point, and the traffic sign is detected according to each target pixel point.
[0091] Furthermore, the step of detecting the traffic sign according to each of the target pixel points includes:
[0092] When a number of the target pixels are acquired in real time, a target area enclosed by the target pixels is detected in the monitoring image, and the target area has a corresponding shape;
[0093] The area outline corresponding to the target area is depicted in real time in the monitoring image, and the area outline and the target area are integrated to detect the traffic sign accordingly.
[0094] Furthermore, the step of determining in real time whether the vehicle violates the traffic sign includes:
[0095] When a vehicle is detected passing through the monitoring screen in real time, a driving path corresponding to the vehicle is depicted in real time within the range of the monitoring screen;
[0096] The target traffic sign corresponding to the driving path in the monitoring image is detected in real time, and whether the vehicle violates the traffic sign is determined in real time based on the driving path and the target traffic sign, and the driving path is unique.
[0097] Furthermore, the step of determining in real time whether the vehicle violates the traffic sign according to the driving path and the target traffic sign includes:
[0098] When the driving path is acquired in real time, determining in real time whether the driving path violates the control range of the target traffic sign;
[0099] If it is determined in real time that the driving path violates the control range of the target traffic sign, then it is correspondingly determined that the vehicle has violated the traffic sign.
[0100] In addition, in the present embodiment, it is also necessary to explain that after the required monitoring video is acquired in real time through the above steps, in order to be able to quickly and accurately identify whether there is a problem with the high-speed section corresponding to the current monitoring video, it is necessary to further parse and process the current monitoring video. It should be pointed out that the monitoring videos generated by the prior art are all color videos. Based on this, in order to improve the recognition accuracy of objects in the current monitoring video, the present invention will perform corresponding grayscale processing. Preferably, the present invention will first detect the monitoring screen corresponding to the current monitoring video. Based on this, the current monitoring screen will be immediately grayscaled in the background to generate a corresponding target grayscale image in real time. Based on this, the current target grayscale image will be further globally scanned to detect in real time a number of corresponding original pixels contained therein. Furthermore, since each existing image Each pixel has a corresponding pixel value, and the corresponding imaging is completed according to the size of the pixel value. Based on this, the present invention can further detect the original pixel value corresponding to each current original pixel point, and can further determine in real time whether the size of each current original pixel value is within the range of a preset pixel threshold. It should be noted that the preset pixel threshold corresponds to the traffic sign in the current monitoring video. Based on this, if it is detected in real time that the size of a certain pixel value is within the range of the above-mentioned preset pixel threshold, it can be directly explained that the pixel point corresponding to the current pixel value is part of the above-mentioned traffic sign. Based on this, it is only necessary to further integrate the several target pixel points currently detected in real time, and draw the corresponding outline in the above-mentioned monitoring video in real time, so that the corresponding traffic sign contained in the above-mentioned monitoring video can be clearly and accurately identified for subsequent processing.
[0101] Furthermore, after obtaining the required monitoring video in real time through the above steps and identifying the corresponding traffic signs contained in the current monitoring video, the preliminary preparation work is completed and the subsequent identification processing can be further performed. When a vehicle enters the highway section, it will be displayed in real time in the monitoring video. Based on this, after the present invention identifies the current vehicle, it will detect the driving path of the current vehicle in real time, and can further determine whether the driving path of the current vehicle violates the control range of the traffic signs in the current monitoring video. Specifically, if so, it can correspond to that the current vehicle has violated the traffic rules and needs to make a corresponding alarm prompt. Correspondingly, if not, it can correspond to that the current vehicle has not violated the traffic rules. The present invention will further determine in real time whether a traffic accident occurs inside the current highway section. Specifically, if so, the corresponding alarm information will be issued immediately. Correspondingly, if not, monitoring will be continued, thereby eliminating manual participation and being able to quickly and effectively identify problems occurring on the highway section, thereby correspondingly improving work efficiency.
[0102] See also Figure 2 , the third embodiment of the present invention provides:
[0103] A highway supervision system, wherein the system comprises:
[0104] A collection module, used for setting a collection device at every preset distance on the expressway, so as to divide the expressway into a plurality of expressway sections, and the collection range of the collection device covers the expressway sections;
[0105] An analysis module, used to collect surveillance videos corresponding to each of the highway sections through each of the acquisition devices, and analyze each of the surveillance videos based on preset rules to detect the traffic signs contained in the surveillance videos;
[0106] A first judgment module is used to highlight the traffic sign in the monitoring video and track and detect the vehicle entering the monitoring video to determine in real time whether the vehicle violates the traffic sign;
[0107] A second judgment module is used to judge in real time whether a traffic accident occurs in the monitoring video if it is judged in real time that the vehicle has not violated the traffic sign;
[0108] The prompt module is used to immediately send corresponding warning information and rescue information to the staff's work terminal if it is determined in real time that a traffic accident has occurred in the monitoring video.
[0109] Furthermore, the parsing module is specifically used for:
[0110] When the monitoring video is acquired in real time, a monitoring screen corresponding to the monitoring video is detected in real time, and the monitoring screen is a color screen;
[0111] The monitoring picture is globally grayed out to generate a corresponding target gray image in real time, and the traffic sign is detected according to the target gray image.
[0112] Furthermore, the parsing module is specifically used for:
[0113] When the target grayscale image is acquired in real time, the target grayscale image is fully scanned to detect a number of original pixel points contained in the target grayscale image;
[0114] Adding a corresponding target identifier to each of the original pixel points, and detecting the original pixel value corresponding to each of the original pixel points in real time based on the target identifier;
[0115] Each of the original pixel values is detected in real time to detect the corresponding traffic sign.
[0116] Furthermore, the parsing module is specifically used for:
[0117] When each of the original pixel values is obtained respectively, determining in real time whether the size of each of the original pixel values is within a range of a preset pixel threshold;
[0118] If it is determined in real time that the size of the original pixel value is within the range of the preset pixel threshold, the original pixel point corresponding to the current original pixel value is immediately set as the target pixel point, and the traffic sign is detected according to each target pixel point.
[0119] Furthermore, the parsing module is specifically used for:
[0120] When a number of the target pixels are acquired in real time, a target area enclosed by the target pixels is detected in the monitoring image, and the target area has a corresponding shape;
[0121] The area outline corresponding to the target area is depicted in real time in the monitoring image, and the area outline and the target area are integrated to detect the traffic sign accordingly.
[0122] Furthermore, the first determination module is specifically used for:
[0123] When a vehicle is detected passing through the monitoring screen in real time, a driving path corresponding to the vehicle is depicted in real time within the range of the monitoring screen;
[0124] The target traffic sign corresponding to the driving path in the monitoring image is detected in real time, and whether the vehicle violates the traffic sign is determined in real time based on the driving path and the target traffic sign, and the driving path is unique.
[0125] Furthermore, the first determination module is specifically used for:
[0126] When the driving path is acquired in real time, determining in real time whether the driving path violates the control range of the target traffic sign;
[0127] If it is determined in real time that the driving path violates the control range of the target traffic sign, then it is correspondingly determined that the vehicle has violated the traffic sign.
[0128] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the highway supervision method as described above when executing the computer program.
[0129] A fifth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the highway supervision method as described above.
[0130] In summary, the highway supervision method and system provided by the above embodiments of the present invention can quickly and effectively identify problems and accidents on the highway, thereby correspondingly improving work efficiency.
[0131] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0133] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0134] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0135] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0136] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A highway supervision method, characterized in that: The method comprises: A collection device is respectively arranged at every preset distance on the expressway to divide the expressway into a plurality of expressway sections, and the collection range of the collection device covers the expressway sections; The monitoring video corresponding to each of the high-speed sections is collected by each of the collecting devices, and each of the monitoring videos is analyzed and processed based on preset rules to detect the corresponding traffic signs contained in the monitoring video; The traffic sign is highlighted in the monitoring video, and the vehicle entering the monitoring video is tracked and detected to determine in real time whether the vehicle violates the traffic sign; If it is determined in real time that the vehicle has not violated the traffic sign, then it is determined in real time whether a traffic accident occurs in the monitoring video; If it is determined in real time that a traffic accident has occurred in the monitoring video, corresponding alarm information and rescue information will be immediately sent to the staff's work terminal.
2. The highway supervision method according to claim 1 is characterized in that: The step of analyzing and processing each of the surveillance videos based on preset rules to detect the corresponding traffic signs contained in the surveillance videos includes: When the monitoring video is acquired in real time, a monitoring screen corresponding to the monitoring video is detected in real time, and the monitoring screen is a color screen; The monitoring picture is globally grayed out to generate a corresponding target gray image in real time, and the traffic sign is detected according to the target gray image.
3. The highway supervision method according to claim 2 is characterized in that: The step of detecting the traffic sign according to the target grayscale image comprises: When the target grayscale image is acquired in real time, the target grayscale image is fully scanned to detect a number of original pixel points contained in the target grayscale image; Adding a corresponding target identifier to each of the original pixel points, and detecting the original pixel value corresponding to each of the original pixel points in real time based on the target identifier; Each of the original pixel values is detected in real time to detect the corresponding traffic sign.
4. The highway supervision method according to claim 3 is characterized in that: The step of performing real-time detection on each of the original pixel values to detect the corresponding traffic sign comprises: When each of the original pixel values is obtained respectively, determining in real time whether the size of each of the original pixel values is within a range of a preset pixel threshold; If it is determined in real time that the size of the original pixel value is within the range of the preset pixel threshold, the original pixel point corresponding to the current original pixel value is immediately set as the target pixel point, and the traffic sign is detected according to each target pixel point.
5. The highway supervision method according to claim 4 is characterized in that: The step of detecting the traffic sign according to each target pixel point includes: When a number of the target pixels are acquired in real time, a target area enclosed by the target pixels is detected in the monitoring image, and the target area has a corresponding shape; The area outline corresponding to the target area is depicted in real time in the monitoring image, and the area outline and the target area are integrated to detect the traffic sign accordingly.
6. The highway supervision method according to claim 5 is characterized in that: The step of determining in real time whether the vehicle violates the traffic sign comprises: When a vehicle is detected passing through the monitoring screen in real time, a driving path corresponding to the vehicle is depicted in real time within the range of the monitoring screen; The target traffic sign corresponding to the driving path in the monitoring image is detected in real time, and whether the vehicle violates the traffic sign is determined in real time based on the driving path and the target traffic sign, and the driving path is unique.
7. The highway supervision method according to claim 6 is characterized in that: The step of determining in real time whether the vehicle violates the traffic sign according to the driving path and the target traffic sign comprises: When the driving path is acquired in real time, determining in real time whether the driving path violates the control range of the target traffic sign; If it is determined in real time that the driving path violates the control range of the target traffic sign, then it is correspondingly determined that the vehicle has violated the traffic sign.
8. A highway supervision system, characterized in that: The system comprises: A collection module, used for setting a collection device at every preset distance on the expressway, so as to divide the expressway into a plurality of expressway sections, and the collection range of the collection device covers the expressway sections; An analysis module, used to collect surveillance videos corresponding to each of the highway sections through each of the acquisition devices, and analyze each of the surveillance videos based on preset rules to detect the traffic signs contained in the surveillance videos; A first judgment module is used to highlight the traffic sign in the monitoring video and track and detect the vehicle entering the monitoring video to determine in real time whether the vehicle violates the traffic sign; A second judgment module is used to judge in real time whether a traffic accident occurs in the monitoring video if it is judged in real time that the vehicle has not violated the traffic sign; The prompt module is used to immediately send corresponding warning information and rescue information to the staff's work terminal if it is determined in real time that a traffic accident has occurred in the monitoring video.
9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the highway supervision method as described in any one of claims 1 to 7 is implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the highway supervision method as described in any one of claims 1 to 7 is implemented.