A method, device and medium for monitoring and warning vehicle behavior in tunnels
By setting up multiple cameras and sound monitoring equipment in the tunnel, combined with light sensors, real-time monitoring and early warning of vehicle speeding, noise and car-following behaviors are achieved, which solves the problem of ignoring these behaviors in the existing technology and improves traffic safety. and management efficiency.
Patent Information
- Application Number
- CN202410939701.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-15
AI Technical Summary
The existing tunnel monitoring system ignores vehicle violations such as speeding, excessive noise, and following too closely, and is unable to shoot front and back of a vehicle at the same time, and cannot obtain clear images.
By setting up cameras and sound monitoring equipment at the entrance and inside of the tunnel, the vehicle speed and noise values are captured to determine whether it is speeding or noise pollution, and the second and third cameras are controlled to take pictures to obtain the front and rear view images of the vehicle, combined with light sensor adjustments Lighting, real-time warning and upload to the cloud platform.
It realizes real-time monitoring and early warning of vehicle speeding, noise, and following too close behaviors in the tunnel, ensuring clear recording and management of vehicle behavior, and improving traffic safety and management efficiency.
Smart Images

Figure CN118486172B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic control technology, and in particular to a method, device and medium for monitoring and early warning of vehicle behavior in a tunnel. Background Art
[0002] With the development of economy and the improvement of people's living standards, cars have become a necessity for many families, and the growth rate of private cars and motorcycles is even more significant; tunnel routes are more direct, avoiding the need for detours and improving the efficiency and convenience of road traffic. Tunnels are now usually equipped with a complete camera capture system, which can monitor the speed of vehicles in real time and automatically capture when the vehicle exceeds the speed limit. In addition, there are also many speed monitoring cameras at the entrance of the tunnel, the purpose of which is to detect those car owners who do not pay attention to the signboards beside the road when passing through the high-speed tunnel and exceed the speed limit.
[0003] However, although drag racing and street racing are not allowed in tunnels, and motorcycles are not allowed in tunnels in most areas, many people ignore this regulation, and the phenomenon of private cars and motorcycles drag racing in tunnels is becoming increasingly serious, and most traffic accidents come from drag racing. In addition, since 2014, motorcycles only need to hang rear license plates, and the front camera may not be able to capture the license plate information of motorcycles. In addition, it is strictly forbidden to follow a car too closely in a tunnel, but there is no method to deal with this.
[0004] Through the above analysis, the problems and defects of the prior art are as follows:
[0005] Tunnel monitoring in the prior art ignores vehicle behaviors such as speeding, excessive noise, and following too closely, and does not simultaneously shoot the front and rear of a vehicle, and is unable to capture clear images. Summary of the invention
[0006] The embodiments of the present application provide a method, device and medium for monitoring and warning of vehicle behavior in a tunnel, which can solve the problem in the prior art of ignoring vehicle violations such as speeding, excessive noise, and following too closely, and the problem of not being able to obtain a clear image when simultaneously shooting the front and rear of a vehicle to detect vehicle violations.
[0007] In a first aspect, an embodiment of the present application provides a method for monitoring and warning of vehicle behavior in a tunnel, the method comprising: capturing a first speed of a first target vehicle through a first camera, collecting a sound value of the first target vehicle through a sound monitoring device, the first camera and the sound monitoring device being located at the tunnel entrance and inside the tunnel; determining whether the first speed is within a preset range of standard speeds; if the first speed exceeds a maximum value of the preset range, or the first speed is lower than a minimum value of the preset range, controlling a second camera and a third camera to capture, and obtaining a front view image and a rear view image of the target vehicle, the angles of the second camera and the third camera lenses being relatively set; obtaining identity information of the first target vehicle based on the front view image and the rear view image, the identity information including the identity information of the vehicle owner; issuing a real-time warning to the vehicle owner based on the identity information of the vehicle owner, and uploading the front view image and the rear view image to a cloud management platform.
[0008] In one implementation of the present application, after collecting the sound value of the first target vehicle through the sound monitoring device, the method also includes: when the sound value exceeds the preset noise threshold, controlling the second camera and the third camera to shoot, and controlling the noise detection device to collect and save the sound of the first target vehicle to obtain the audio of the first target vehicle; based on the tunnel video obtained by the surveillance camera in the tunnel, the audio and tunnel video are combined according to the timestamp to obtain a tunnel surveillance video with synchronized audio and video.
[0009] In one implementation of the present application, the first camera includes a front field of view and a rear field of view, and the method also includes: obtaining the departure time of the rear edge of the first target vehicle leaving the front field of view; obtaining the entry time of the head edge of the second target vehicle entering the rear field of view, and the first target vehicle and the second target vehicle are located in the same lane; if the time interval between the departure time and the entry time is less than a preset time threshold, the driver and the cloud management platform are notified in real time.
[0010] In one implementation of the present application, before controlling the second camera and the third camera to shoot, the method also includes: determining the illumination of the current tunnel environment through a light sensor; if the illumination value is lower than a preset illumination value, turning on the fill light of the second camera and the third camera.
[0011] In one implementation of the present application, the sound value of the first target vehicle is collected by a sound monitoring device, which specifically includes: setting the sound monitoring device according to a preset distance to collect sound signals; converting the sound signals into electrical signals; calculating the electrical signals to obtain the phase difference of the electrical signals; and determining the azimuth of the sound source according to the phase difference to determine the first target vehicle.
[0012] In one implementation of the present application, before issuing a real-time warning to the car owner, the method also includes: presetting the category of warning information, the categories including speeding and noise pollution, the first speed exceeding the maximum value of the preset interval is speeding, and the noise exceeding the preset threshold is noise pollution; matching the category of warning information according to the first speed, sound value, front view image and rear view image.
[0013] In one implementation of the present application, after providing a real-time warning to the vehicle owner and uploading the front view image and the rear view image to the cloud management platform, the method also includes: marking speeding and noise polluting vehicles, and separately saving the speeding time and noise pollution time to obtain vehicle behavior patterns; and publishing the vehicle behavior patterns through a public display screen.
[0014] In one implementation of the present application, the method further includes: turning on the fill light within a preset time according to the behavior pattern of the vehicle.
[0015] In a second aspect, an embodiment of the present application also provides a device for monitoring and warning vehicle behavior in a tunnel, the device comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: capture a first speed of a first target vehicle through a first camera, and collect a sound value of the first target vehicle through a sound monitoring device, wherein the first camera and the sound monitoring device are located at the entrance of the tunnel and inside the tunnel; determine whether the first speed is within a preset range of standard speeds; if the first speed exceeds a maximum value of the preset range, or the first speed is lower than a minimum value of the preset range, control the second camera and the third camera to capture, and obtain a front view image and a rear view image of the target vehicle, wherein the angles of the second camera and the third camera lenses are relatively set; based on the front view image and the rear view image, obtain the identity information of the first target vehicle, the identity information including the identity information of the owner; based on the identity information of the owner, give a real-time warning to the owner, and upload the front view image and the rear view image to the cloud management platform.
[0016] On the third aspect, the embodiment of the present application also provides a non-volatile computer storage medium for monitoring and early warning of vehicle behavior in a tunnel, storing computer executable instructions, and the computer executable instructions are set to: capture a first speed of a first target vehicle through a first camera, and collect the sound value of the first target vehicle through a sound monitoring device, the first camera and the sound monitoring device are located at the entrance of the tunnel and in the tunnel; determine whether the first speed is within a preset range of standard speeds; if the first speed exceeds the maximum value of the preset range, or the first speed is lower than the minimum value of the preset range, control the second camera and the third camera to capture, and obtain a front view image and a rear view image of the target vehicle, and the angles of the second camera and the third camera lenses are relatively set; based on the front view image and the rear view image, obtain the identity information of the first target vehicle, the identity information includes the identity information of the owner; based on the identity information of the owner, give a real-time early warning to the owner, and upload the front view image and the rear view image to the cloud management platform.
[0017] The embodiment of the present application provides a method, device and medium for monitoring and warning vehicle behavior in tunnels, monitoring behaviors such as excessive speed or slow speed, excessive noise such as street blasting, and following vehicles too closely in tunnels, sending warnings to vehicle owners in real time to prompt them to adjust their driving behavior, effectively avoid potential safety accidents, and provide audio and video evidence for traffic accidents and other abnormal situations. The cloud management platform makes monitoring data more centralized and easy to manage, improving management efficiency. It helps maintain a quiet and orderly driving environment and improves public satisfaction with tunnel traffic. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 A flow chart of a method for monitoring and warning vehicle behavior in a tunnel provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of the internal structure of a device for monitoring and warning vehicle behavior in a tunnel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0022] The embodiments of the present application provide a method, device and medium for monitoring and warning vehicle behavior in a tunnel, which solves the problem in the prior art of ignoring vehicle behaviors such as speeding, excessive noise, and following too closely, and the problem of not being able to obtain a clear image when shooting a vehicle from the front and back at the same time.
[0023] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0024] Figure 1 A flow chart of a method for monitoring and warning vehicle behavior in a tunnel provided in an embodiment of the present application. Figure 1 As shown, the embodiment of the present application provides a method for monitoring and warning vehicle behavior in a tunnel, which specifically includes the following steps:
[0025] Step 10: Capture a first speed of the first target vehicle through a first camera, and collect a sound value of the first target vehicle through a sound monitoring device. The first camera and the sound monitoring device are located at the tunnel entrance and inside the tunnel.
[0026] In the embodiments of the present application, it is taken into consideration that some vehicles suddenly accelerate or increase noise after entering a tunnel, such as the sound of continuous honking of the horn or the roar caused by stepping on the accelerator. In this case, arranging only the first camera and the sound monitoring device at the entrance is not enough to trigger the capture action. Therefore, the first camera and the sound monitoring device are arranged both at the tunnel entrance and inside the tunnel.
[0027] Step 20: Determine whether the first speed is within a preset range of standard speeds; Step 30: If the first speed exceeds the maximum value of the preset range, or the first speed is lower than the minimum value of the preset range, control the second camera and the third camera to capture and obtain the front view image and rear view image of the target vehicle, and the angles of the second camera and the third camera lenses are relatively set.
[0028] In this step, it is extremely unsafe in the tunnel regardless of whether the speed is too fast or too slow, so when speeding or other behaviors are detected, the capture action is triggered immediately; it is understood that tunnels are usually equipped with a complete monitoring system that can be viewed in real time to respond to emergencies. They will run around the clock and uninterruptedly, but in response to sudden racing, street bombing and other behaviors, the cameras currently installed in the tunnel are not sufficient to react to clear capture and recording, so the second camera and the third camera can be separately set up as capture machines, for example, the shutter speed is set at 1 / 250 second or faster, and in sufficient light, a smaller aperture value such as f / 8 or f / 11 can be selected to ensure a larger depth of field, and the ISO value can be adjusted according to the lighting conditions, and the autofocus function is fast and accurate; because like a motorcycle, there is only a license plate at the back, it is necessary to capture the front and back at the same time to obtain complete vehicle information.
[0029] Step 40: Obtain identity information of the first target vehicle based on the front view image and the rear view image, where the identity information includes the identity information of the vehicle owner.
[0030] During specific implementation, the latest registration record of the vehicle and the identity of the owner are obtained according to the license plate number of the vehicle.
[0031] Step 50: Provide a real-time warning to the vehicle owner based on the vehicle owner's identity information, and upload the front view image and the rear view image to the cloud management platform.
[0032] At this time, traffic platform software, map navigation and other applications can be integrated to convey the warning information to the car owner through voice broadcast, and the car owner can be given a voice prompt, or multiple LED display screens, full-luminous signs or flashing warning lights and other visual warning devices can be set up in the tunnel to prevent the car owner from lending the vehicle to others. The LED display screen and full-luminous sign will immediately light up or flash, such as "Do not honk", to warn the driver; then send a text message directly to the car owner at the same time. When the car owner stops driving and checks his mobile phone, or the car owner who lends the car to others, he can know that the illegal behavior of the vehicle under his name has been monitored in real time and warned in real time, thereby enhancing his safety awareness to the greatest extent; at the same time, due to violations such as speeding or driving too slowly, relevant evidence is extracted and handed over to the traffic management department for processing.
[0033] Furthermore, collecting the sound value of the first target vehicle by means of a sound monitoring device may specifically include: step 101: setting the sound monitoring device according to a preset distance to collect a sound signal; step 102: converting the sound signal into an electrical signal; step 103: calculating the electrical signal to obtain a phase difference of the electrical signal; step 104: determining the azimuth of the sound source according to the phase difference to determine the first target vehicle.
[0034] In this step, multiple sound monitoring devices can be arranged in a specific area to form an array, which can be linear, planar or three-dimensional, for example; the collected sound signal is a physical fluctuation, which needs to be converted into an electrical signal; the phase difference refers to the time offset of two or more signals. Use multiple sound monitoring devices to receive sound signals, and the direction of the sound source can be determined by comparing the phase difference of the signals received by different devices through Fourier transform and cross-correlation function; after obtaining the phase difference of the electrical signal, the azimuth of the sound source can be determined through beamforming algorithm and maximum likelihood estimation. The azimuth is the angle that describes the position of the sound source relative to the sound monitoring device. By comparing the azimuths calculated by different sound monitoring devices, the specific position of the sound source can be determined, and then the position of the first target vehicle can be determined.
[0035] In specific implementation, for example, a uniform linear array is formed by four microphones, and the four microphones collect sound signals at the same time. The four microphones are aimed at four lanes in turn. Since the noise emitted by different vehicles is different in frequency and time, the time-frequency analysis Fourier transform is used to separate these signals. The electrical signal received by each microphone is Fourier transformed to convert it from the time domain to the frequency domain. The formula for Fourier transform is:
[0036]
[0037] in, is the time domain signal, is the frequency, and by calculating the cross-correlation function between the signals received by the two microphones, the phase difference can be determined:
[0038]
[0039] Among them, x(t) and y(t) are two signals, is the time delay. For two adjacent microphones in the microphone array, assuming that the signals they receive are x1(t) and x2(t), the phase difference \phi can be obtained by the time delay corresponding to the maximum value of the cross-correlation function. The calculation results are: \phi=\frac{2\pi f \tau}{d}, where (f) is the signal frequency and d is the microphone spacing. Assuming that the distance between each microphone is 1 meter, the sound signal frequency is f=1000Hz (from the vehicle engine noise), the speed of sound is about 340m / s under standard atmospheric pressure, and the wavelength λ is 0.34 meters. The time delay between the signals received by two adjacent microphones (for example, x1 and x2) is τ=0.003 seconds, then the phase difference is ϕ=2π×1000×0.0003 / 1=0.628 radians, and the phase difference between the two microphones is calculated in turn. By calculating the phase difference between the signals received by different microphones, the position of each sound source relative to each microphone array can be inferred; if there are four cars making noise on four lanes at the same time, the beamforming algorithm should be used to adjust the phase and amplitude of each microphone signal, use beamforming to enhance the signal from the lane direction, suppress interference from other directions, and dynamically adjust the weights of the microphone array to focus and separate the signals from different sound sources. So that they form a beam in a specific direction. For a uniform linear array, the beamforming formula can be expressed as B(\theta)=\sum_{n=1}^{N}w_n e^{jknd\sin\theta}, where B(\theta) is the output after beamforming, N is the number of microphones, w_n is the weight of the nth microphone (can be a complex number), k is the wave number, k=\frac{2\pi}{\lambda}, \lambda is the wavelength, d is the microphone spacing, \theta is the search direction, and the wave number k=2π / λ, that is, 2π / 0.34. For example, the azimuth of the sound source is 0 degrees to 180 degrees, with the lane as the bottom edge, then B(\theta) under different \theta can be calculated. Maximum likelihood estimation determines the azimuth of the sound source by comparing the beam output power at different azimuths. Assuming that the output after beamforming is B(\theta), the formula for maximum likelihood estimation can be expressed as: \hat{\theta}=\argmax_{\theta}|B(\theta)|^2, that is, the \theta value that maximizes |B(\theta)|^2 is selected as the azimuth estimate of the sound source. Substituting 0 to 180 degrees, it is found that when \theta=30 degrees, |B(\theta)|^2 reaches the maximum value, then it can be estimated that the direction of the sound source is in the lane of the microphone, in the 30-degree direction of the normal.
[0040] As an optional embodiment, after collecting the sound value of the first target vehicle through the sound monitoring device, the method may also include: when the sound value exceeds the preset noise threshold, controlling the second camera and the third camera to shoot, and controlling the noise detection device to collect and save the sound of the first target vehicle to obtain the audio of the first target vehicle; based on the tunnel video obtained by the surveillance camera in the tunnel, combining the audio and tunnel video according to the timestamp to obtain a tunnel surveillance video with synchronized audio and video.
[0041] In this step, the noise in the tunnel is very loud, which is a very dangerous behavior for both the driver and other drivers, so the driver should be notified in time and told not to do so in the future. The surveillance video captured by the camera usually installed in the tunnel does not contain sound, or does not analyze and save specific situations. Through the method of the embodiment of the present application, the captured video of illegal driving behavior can be further post-processed and analyzed, and relevant evidence can be extracted and handed over to the traffic management department for processing.
[0042] As another optional embodiment, the first camera may include a front field of view and a rear field of view, and the method may further include: obtaining the departure time when the rear edge of the first target vehicle leaves the front field of view; obtaining the entry time when the head edge of the second target vehicle enters the rear field of view, and the first target vehicle and the second target vehicle are located in the same lane; if the time interval between the departure time and the entry time is less than a preset time threshold, notifying the driver and the cloud management platform in real time.
[0043] In practice, it is very dangerous to follow a vehicle too closely in a tunnel. For example, when exiting a tunnel, changes in light may cause an unaccustomed driver to slow down suddenly, or a rear-end collision may occur due to sudden braking of the vehicle in front. For example, if the horizontal field of view of the first camera is 80°, it can capture images within a horizontal range of 40° in front and behind the camera. If the time interval is very small, it means that the distance between the two vehicles is very small, or the speed of the second target vehicle behind is significantly faster than the first target vehicle. Monitoring the behavior of following a vehicle too closely in this way helps maintain a safe distance between vehicles and minimizes the possibility of traffic accidents such as rear-end collisions.
[0044] It is understandable that before controlling the second camera and the third camera to shoot, the method may also include: determining the illumination of the current tunnel environment through a light sensor; if the illumination value is lower than a preset illumination value, turning on the fill light of the second camera and the third camera.
[0045] Specifically, some vehicles drive very fast and like to go out late at night, especially suddenly accelerating in a tunnel. The light changes when the vehicle is about to exit the tunnel, which may make the captured image unclear. Therefore, the fill light is turned on when the light value is insufficient.
[0046] As an optional embodiment, before issuing a real-time warning to the car owner, the method may also include: presetting the category of warning information, the categories including speeding and noise pollution, speeding when the first speed exceeds the maximum value of a preset interval, and noise pollution when the noise exceeds a preset threshold; matching the category of warning information according to the first speed, sound value, front view image and rear view image.
[0047] As another optional embodiment, after providing real-time warning to the vehicle owner and uploading the front view image and the rear view image to the cloud management platform, the method may also include: marking vehicles that exceed the speed limit and cause noise pollution, and separately saving the speeding time and noise pollution time to obtain vehicle behavior patterns; and publishing the vehicle behavior patterns through a public display screen.
[0048] Specifically, we can mark speeding and noise pollution vehicles and personnel in advance, analyze their behavior patterns and provide early warnings, and analyze traffic bottlenecks and accident-prone points in tunnels, so as to change from passive to active and provide a basis for future traffic planning. In addition, we can attract the attention of drivers and enhance the public's safety awareness.
[0049] As another optional embodiment, the method may further include: turning on the fill light within a preset time according to the behavior pattern of the vehicle.
[0050] Specifically, during times when traffic violations are prone to occur, frequently turning the fill light on and off will reduce the life of the fill light and affect energy consumption, etc. Therefore, adjustments and optimizations are made in preset time periods and key monitoring areas to improve monitoring efficiency and accuracy.
[0051] The above is an embodiment of the method proposed in this application. Based on the same inventive concept, the embodiment of this application also provides a device for monitoring and warning vehicle behavior in a tunnel, and its structure is as follows: Figure 2 shown.
[0052] Figure 2 This is a schematic diagram of the internal structure of a device for monitoring and warning vehicle behavior in a tunnel provided in an embodiment of the present application. Figure 2 As shown, the device includes:
[0053] at least one processor 201;
[0054] and, a memory 202 communicatively connected to the at least one processor;
[0055] Among them, the memory 202 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 201 so that the at least one processor 201 can: capture a first speed of a first target vehicle through a first camera, and collect a sound value of the first target vehicle through a sound monitoring device, and the first camera and the sound monitoring device are located at the entrance of a tunnel and in the tunnel; determine whether the first speed is within a preset range of standard speeds; if the first speed exceeds the maximum value of the preset range, or the first speed is lower than the minimum value of the preset range, control the second camera and the third camera to capture, and obtain a front view image and a rear view image of the target vehicle, and the angles of the second camera and the third camera lenses are relatively set; obtain the identity information of the first target vehicle based on the front view image and the rear view image, and the identity information includes the identity information of the owner; give a real-time warning to the owner based on the identity information of the owner, and upload the front view image and the rear view image to the cloud management platform.
[0056] Some embodiments of the present application provide corresponding Figure 1 A non-volatile computer storage medium for monitoring and warning of vehicle behavior in a tunnel stores computer executable instructions, wherein the computer executable instructions are configured to: capture a first speed of a first target vehicle through a first camera, collect a sound value of the first target vehicle through a sound monitoring device, wherein the first camera and the sound monitoring device are located at an entrance of a tunnel and in the tunnel; determine whether the first speed is within a preset interval of a standard speed; if the first speed exceeds a maximum value of the preset interval, or the first speed is lower than a minimum value of the preset interval, control a second camera and a third camera to capture, and obtain a front view image and a rear view image of the target vehicle, wherein the angles of the second camera and the third camera lenses are relatively set; obtain identity information of the first target vehicle according to the front view image and the rear view image, wherein the identity information includes the identity information of the vehicle owner; issue a real-time warning to the vehicle owner according to the identity information of the vehicle owner, and upload the front view image and the rear view image to a cloud management platform.
[0057] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the IoT device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0058] The system and medium provided in the embodiments of the present application correspond one-to-one to the method. Therefore, the system and medium also have similar beneficial technical effects to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the system and medium will not be repeated here.
[0059] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0060] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0061] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0062] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0063] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0064] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0065] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0066] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0067] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for monitoring and early warning of vehicle behavior in a tunnel, characterized in that: The method comprises: Capturing a first speed of a first target vehicle by a first camera, and collecting a sound value of the first target vehicle by a sound monitoring device, wherein the first camera and the sound monitoring device are located at a tunnel entrance and inside the tunnel; determining whether the first speed is within a preset range of standard speeds; If the first speed exceeds the maximum value of the preset interval, or the first speed is lower than the minimum value of the preset interval, the second camera and the third camera are controlled to capture, so as to obtain the front view image and the rear view image of the target vehicle, and the angles of the second camera and the third camera lenses are relatively set; Obtaining identity information of the first target vehicle according to the front view image and the rear view image, wherein the identity information includes identity information of the vehicle owner; Providing a real-time warning to the vehicle owner according to the vehicle owner's identity information, and uploading the front view image and the rear view image to the cloud management platform; The first camera includes a front field of view and a rear field of view, and the method further includes: Obtaining the departure time when the rear edge of the first target vehicle leaves the front field of view; Obtaining an entry time when the edge of the head of a second target vehicle enters the rear visual field, wherein the first target vehicle and the second target vehicle are located in the same lane; If the time interval between the exit time and the entry time is less than a preset time threshold, the driver and the cloud management platform are notified in real time; The collecting of the sound value of the first target vehicle by the sound monitoring device specifically includes: Set up sound monitoring equipment according to the preset distance to collect sound signals; converting the sound signal into an electrical signal; Calculating the electrical signal to obtain a phase difference of the electrical signal; The azimuth of the sound source is determined by using a beamforming algorithm and maximum likelihood estimation on the phase difference to determine the first target vehicle.
2. A method for monitoring and early warning vehicle behavior in a tunnel according to claim 1, characterized in that: After collecting the sound value of the first target vehicle by the sound monitoring device, the method further includes: When the sound value exceeds the preset noise threshold, control the second camera and the third camera to shoot, and control the noise detection device to collect and save the sound of the first target vehicle to obtain the audio of the first target vehicle; Based on the tunnel video captured by the surveillance camera in the tunnel, the audio and tunnel video are combined according to the timestamp to obtain the tunnel surveillance video with synchronized audio and video.
3. A method for monitoring and early warning vehicle behavior in a tunnel according to claim 2, characterized in that: Before controlling the second camera and the third camera to shoot, the method further includes: Use the light sensor to determine the light intensity of the current tunnel environment; If the illumination value is lower than the preset illumination value, the fill lights of the second camera and the third camera are turned on.
4. A method for monitoring and early warning of vehicle behavior in a tunnel according to claim 1, characterized in that: Before giving a real-time warning to the vehicle owner, the method further includes: Preset categories of warning information, the categories including speeding and noise pollution, the first speed exceeding a preset interval maximum value is speeding, and the noise exceeding a preset noise threshold is noise pollution; The category of the warning information is matched according to the first speed, the sound value, the front view image and the rear view image.
5. The method for monitoring and early warning of vehicle behavior in a tunnel according to claim 3, characterized in that: After giving a real-time warning to the vehicle owner and uploading the front view image and the rear view image to the cloud management platform, the method further includes: Add speeding and noise pollution vehicles to the blacklist, and save the speeding time and noise pollution time separately to obtain the vehicle behavior pattern; The vehicle behavior rules are published through a public display screen.
6. A method for monitoring and early warning vehicle behavior in a tunnel according to claim 5, characterized in that: The method further comprises: According to the vehicle behavior pattern, the fill light is turned on within a preset time.
7. A device for monitoring and warning vehicle behavior in tunnels, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Execute any process of the method for monitoring and early warning of vehicle behavior in a tunnel as described in claims 1-6.
8. A non-volatile computer storage medium for monitoring and early warning of vehicle behavior in a tunnel, storing computer executable instructions, characterized in that: The computer executable instructions are configured to execute any process of a method for monitoring and warning vehicle behavior in a tunnel as described in claims 1-6.
