CN115188200A - Vehicle identification method and device, electronic equipment and storage medium - Google Patents
Vehicle identification method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115188200A CN115188200A CN202210770341.1A CN202210770341A CN115188200A CN 115188200 A CN115188200 A CN 115188200A CN 202210770341 A CN202210770341 A CN 202210770341A CN 115188200 A CN115188200 A CN 115188200A
- Authority
- CN
- China
- Prior art keywords
- violation
- vehicle
- sound
- whistling
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/017—Detecting movement of traffic to be counted or controlled identifying vehicles
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/017—Detecting movement of traffic to be counted or controlled identifying vehicles
- G08G1/0175—Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The application provides a vehicle identification method, a vehicle identification device, electronic equipment and a storage medium, wherein the audio collected by a plurality of sound sensor groups installed on a violation road section in a whistling forbidden time period is obtained; detecting whether a violation whistling condition exists in the non-whistling time period on the violation road section according to the acquired audio frequency collected by each sound sensor group; determining the sound source position and the whistle time of the violation whistle according to the audio frequency with the violation whistle condition; reading a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section; and determining the violation vehicle in the vehicle image according to the sound source position of the violation whistling so as to improve the efficiency of recognizing the violation whistling vehicle.
Description
Technical Field
The present application relates to the field of traffic management technologies, and in particular, to a vehicle identification method, an apparatus, an electronic device, and a storage medium.
Background
In the prior art, public roads are often provided with a plurality of sections which forbid whistle, so that the method has important significance for obtaining evidence of vehicles which violate whistle. At present, the punishment work on the vehicle peccancy whistle is mainly manually identified, the identification accuracy is low, and the peccancy evidence of the vehicle peccancy whistle cannot be stored in time.
Disclosure of Invention
In view of the above, an object of the present application is to provide a vehicle identification method, device, electronic device and storage medium, so as to improve efficiency of identifying a vehicle with a violation whistling signal.
In a first aspect, an embodiment of the present application provides a vehicle identification method, where the method includes: acquiring audio frequencies collected by a plurality of sound sensor groups installed on the violation road section in a whistling forbidding time period; detecting whether a violation whistling condition exists in the non-whistling time period on the violation road section according to the acquired audio frequency collected by each sound sensor group; determining the sound source position and the whistle time of the violation whistle according to the audio frequency with the violation whistle condition; reading a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section; and determining a violation vehicle in the vehicle image according to the sound source position of the violation whistling.
Preferably, each sound sensor group comprises a first sound sensor and a second sound sensor, the first sound sensor and the second sound sensor are respectively arranged on two sides of a road of the violation road section, the sound frequency collected by each sound sensor group comprises the sound frequency collected by the first sound sensor and the sound frequency collected by the second sound sensor, and whether a violation whistling condition exists in the sound frequency collected by each sound sensor group is detected through the following modes: and determining whether a violation whistling condition exists in the audio frequency according to the signal intensity of each audio frequency aiming at the audio frequency collected by the first sound sensor and the audio frequency collected by the second sound sensor in the sound sensor group.
Preferably, the step of determining whether a violation whistling condition exists in each audio frequency according to the signal intensity of the audio frequency specifically includes: determining whether a target audio frequency having a signal intensity greater than a preset signal intensity exists in the audio frequencies; if yes, determining the continuous frame number of the target audio; and if the continuous frame number in the target audio is greater than the preset frame number, determining that the illegal whistle condition exists in the audio.
Preferably, the location of the source of the violation whistle is determined by: determining a first sound sensor and two second sound sensors in the sound sensors corresponding to the sound frequency for determining that the illegal whistle condition exists; respectively determining a hyperbola corresponding to the first sound sensor and each hyperbola corresponding to the second sound sensor; determining the sound source position of the violation whistling according to the intersection point positions among all the hyperbolas; wherein a hyperbola corresponding to the first acoustic sensor and any one of the second acoustic sensors is determined by: determining the time difference value of collecting the violation whistling between the first sound sensor and the second sound sensor; calculating a first coefficient according to the time difference value of the peccancy whistle acquired between the first sound sensor and the second sound sensor; determining a third coefficient according to the distance value between the first sound sensor and the second sound sensor; calculating a second coefficient according to the first coefficient and the third coefficient; and determining a hyperbola corresponding to the first sound sensor and the second sound sensor according to the first coefficient and the second coefficient.
Preferably, a plurality of image sensors are installed on the illegal road section, and a target image sensor is determined from the plurality of image sensors by the following method: determining a photographing position of each image sensor, the photographing position being determined based on the same target coordinate system as the sound source position; according to the determined distance value between the sound source position of the illegal whistle and each image sensor; and determining the image sensor corresponding to the minimum distance value as the target image sensor.
Preferably, a violation vehicle is determined in the vehicle image by: identifying all vehicles in the vehicle image, and determining the vehicle position of each identified vehicle in the target coordinate system; calculating a distance value between the vehicle position of each vehicle and the determined sound source position of the violation whistling; and determining the vehicle corresponding to the minimum distance value as the violation vehicle.
Preferably, a violation whistling vehicle record is generated and stored in the storage module based on the image of the vehicle marked with violations and the audio detected that a violation whistling situation exists.
In a second aspect, an embodiment of the present application further provides a vehicle identification device, including:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring audio collected by a plurality of sound sensor groups installed on a violation road section in a whistling forbidding time period;
the detection module is used for detecting whether the illegal whistle conditions exist in the period of time for which the whistle is forbidden on the illegal road section according to the acquired audio frequency collected by each sound sensor group;
the calculation module is used for determining the sound source position and the whistle time of the violation whistle according to the audio frequency with the violation whistle condition;
the reading module is used for reading a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section;
and the identification module is used for determining the violation vehicle in the vehicle image according to the sound source position of the violation whistling.
In a third aspect, an embodiment of the present application further provides an electronic device, including: the vehicle identification method comprises a processor, a memory and a bus, wherein the memory stores machine readable instructions executable by the processor, when the electronic device runs, the processor and the memory are communicated through the bus, and the processor executes the machine readable instructions to execute the steps of the vehicle identification method.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the above vehicle identification method.
According to the vehicle identification method and device, the electronic equipment and the storage medium, the audio collected by the multiple sound sensor groups installed on the violation road section in the period of no whistling is obtained. And detecting whether a violation whistling condition exists in the non-whistling time period on the violation road section according to the acquired audio collected by each sound sensor group. And determining the position of a sound source of the violation whistling and the whistling time according to the audio frequency of the violation whistling condition. And reading the vehicle image acquired at the whistling time from a target image sensor installed on the violation road section. And determining a violation vehicle in the vehicle image according to the sound source position of the violation whistling. If the situation that the illegal whistle exists in the audio collected in the no-whistle time period is detected for the no-whistle road section, the whistle time and the sound source position of the illegal whistle are determined, the vehicle image collected by the whistle time is read, the illegal vehicle is determined in the vehicle image based on the sound source position, and compared with the situation that the illegal vehicle is identified manually, the recognition speed of the illegal vehicle is improved.
In order to make the aforementioned objects, features and advantages of the present application comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart of a vehicle identification method provided by an embodiment of the present application;
FIG. 2 is a flow chart of steps for determining a violation whistling event as provided by an embodiment of the present application;
fig. 3 is a flow chart of the steps for determining the location of the source of a violation whistling provided by an embodiment of the present application;
FIG. 4 is a flowchart of a hyperbolic curve determining step provided in an embodiment of the present application;
FIG. 5 is a flowchart of the determining steps of a target image sensor according to an embodiment of the present disclosure;
FIG. 6 is a flow chart of the steps for determining a violation vehicle provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a vehicle identification device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, public roads are often provided with a plurality of sections which forbid whistle, so that the method has important significance for obtaining evidence of vehicles which violate whistle. At present, the punishment work on the vehicle which violates the rule is mainly manually identified, the identification accuracy is low, and the violation evidence of the vehicle which violates the rule can not be stored in time.
In view of the foregoing problems, embodiments of the present application provide a vehicle identification method, an apparatus, an electronic device, and a storage medium, which are described below by way of embodiments.
For the convenience of understanding of the present application, the technical solutions provided in the present application will be described in detail below with reference to specific embodiments.
Please refer to fig. 1, which is a flowchart illustrating a vehicle identification method according to an embodiment of the present disclosure. The vehicle identification method includes:
s101, acquiring the sound frequency collected by a plurality of sound sensor groups installed on the violation road section in the no-whistling time period.
It will be appreciated that multiple sound sensors may be provided on either side of the violation road segment. The sound sensor is used for collecting sound signals of the no-whistle road section in the no-whistle time period. The sound sensor may be configured to be activated during the whistling period, and to be turned off or on standby at other times. The number of sound sensors may be set according to the size of the no-sounding road segment. The plurality of sound sensors are respectively arranged on two sides of the road of the no-sounding road section. Every sound sensor supporting use has a sound sensor support, and the bottom end of sound sensor support is fixed subaerial, and sound sensor sets up the top at sound sensor support.
S102, detecting whether the illegal whistle conditions exist in the time period of no whistle on the illegal road section according to the acquired audio frequency collected by each sound sensor group.
Specifically, each sound sensor group comprises a first sound sensor and a second sound sensor, the first sound sensor and the second sound sensor are respectively arranged on two sides of a road of a violation road section, and the sound frequency collected by each sound sensor group comprises the sound frequency collected by the first sound sensor and the sound frequency collected by the second sound sensor.
For each acoustic sensor group, the line of symmetry between the first acoustic sensor and the second acoustic sensor may coincide with the direction of travel, or be at an angle to the direction of travel. Namely, the sound sensors on the two sides of the no-sounding road section can be aligned in pairs or arranged in a staggered mode.
Specifically, whether the audio frequency collected by each sound sensor group has a violation whistling condition is detected in the following mode:
and determining whether a violation whistling condition exists in the audio frequency according to the signal intensity of each audio frequency aiming at the audio frequency collected by the first sound sensor and the audio frequency collected by the second sound sensor in the sound sensor group.
In step S102, it is necessary to detect the acquired audio frequency collected by each sound sensor. The presence of a violation can be determined by detecting the signal strength of each audio frequency.
Referring to fig. 2, a flowchart of a determination step of a violation whistling situation is provided according to an embodiment of the present application. Specifically, the step of determining whether a violation whistling condition exists in each audio frequency according to the signal intensity of the audio frequency specifically includes:
s201, determining whether a target audio with signal intensity larger than preset signal intensity exists in the audio.
And S202, if so, determining the continuous frame number of the target audio.
S203, if the continuous frame number in the target audio is larger than the preset frame number, determining that the illegal whistle condition exists in the audio.
The target audio frequency here indicates an audio frequency having a signal intensity greater than a preset signal intensity, which may be determined according to the signal intensity of the vehicle whistle. When the signal intensity in the audio is greater than the preset signal intensity and the number of sustained frames is greater than the preset number of frames, which are consecutive, it is determined that a violation of a whistle condition exists in the audio.
In one scheme, since a plurality of sound sensors are arranged on the no-sounding road, the next step can be performed only if the condition that the violation whistling exists in the sound frequencies collected by the two sound sensors in one sound sensor group is detected in step S102.
S103, determining the position of a sound source of the violation whistling and the whistling time according to the audio frequency of the violation whistling condition.
Referring to fig. 3, a flowchart of a step of determining a sound source location of a violation whistling is provided according to an embodiment of the present application. Specifically, the sound source position of the violation whistling is determined in the following way:
s301, determining a first sound sensor and two second sound sensors in the sound sensors corresponding to the sound frequency determined to have the illegal whistle condition.
S302, respectively determining a hyperbola corresponding to the first sound sensor and each second sound sensor.
Fig. 4 is a flowchart of a hyperbolic curve determining step provided in the embodiment of the present application. Determining a hyperbola of the first acoustic sensor corresponding to any one of the second acoustic sensors by:
s3020, determining a time difference value of the collected violation whistling between the first sound sensor and the second sound sensor;
s3022, calculating a first coefficient according to the time difference value of the peccancy whistle collected between the first sound sensor and the second sound sensor;
s3024, determining a third coefficient according to the distance value between the first sound sensor and the second sound sensor;
s3026, calculating a second coefficient according to the first coefficient and the third coefficient;
and S3028, determining a hyperbola corresponding to the first sound sensor and the second sound sensor according to the first coefficient and the second coefficient.
And S303, determining the sound source position of the violation whistling according to the intersection point positions among all the hyperbolas.
In this step, first, a first acoustic sensor a is selected from all acoustic sensors corresponding to the acoustic frequencies for which a violation has been determined to exist. Two second sound sensors B1 and B2 adjacent to the first sound sensor are selected.
The time for the sound sensor A to acquire the violation whistling is T1, the time for the sound sensor B1 to acquire the violation whistling is T2, and the time for the sound sensor B2 to acquire the violation whistling is T3. And respectively calculating time difference values T1-T2 and T1-T3, wherein the distance value between the sound sensor A and the sound sensor B1 is S1, and the distance value between the sound sensor A and the sound sensor B2 is S2.
Illustratively, a hyperbolic function may be determined by:
wherein a is a first coefficient, b is a second coefficient, c is a third coefficient, and V is a sound velocity. After the values of a and b are determined, the finally determined hyperbolic expression is
Here, one hyperbola can be determined from the sound sensor a and the sound sensor B1, the other hyperbola can be determined from the sound sensor a and the sound sensor B2, and the sound source position of the violation whistle can be determined from the intersection point between the two hyperbolas. The location of the source of the violation whistle may also be determined by other calculation methods. The sound source location here indicates the actual location of the violation vehicle when it sounds a violation on the prohibited road section.
And S104, reading the vehicle image acquired at the whistling time from a target image sensor installed on the violation road section.
Fig. 5 is a flowchart illustrating a determination procedure of a target image sensor according to an embodiment of the present application. Specifically, a plurality of image sensors are installed on the violation road section, and a target image sensor is determined from the plurality of image sensors in the following way:
s401, shooting positions of each image sensor are determined, and the shooting positions and the sound source positions are determined based on the same target coordinate system.
S402, according to the determined distance value between the sound source position of the violation whistling and each image sensor.
And S403, determining the image sensor corresponding to the minimum distance value as a target image sensor.
In step S104, it is necessary to determine the target image sensor according to the determined sound source position of the violation whistling.
The image sensor can be mounted on the no-sound road section through an image sensor support. The image sensor bracket can stretch across two sides of the no-sounding road section, and the image sensor is arranged on the image sensor bracket through the connecting piece and is positioned above the no-sounding road section. All the image sensors may be arranged according to a target symmetry axis of the no-sound section. The direction of reversal of the target axis of symmetry here is the same as the direction of travel of the no-sound segment.
In one embodiment, the image sensor closest to the location of the sound source of the violation whistle may be determined to be the target image sensor. Here, the photographing position of each image sensor may be coordinates at which the image sensor is installed on the ring-down section, and the photographing position and the sound source position are determined based on the same coordinate system. The target coordinate system may be a coordinate system established with a point on the no-sounding road segment as a zero point.
In step S104, after the target image sensor is selected, the vehicle image acquired by the target image sensor at the determined whistle time is read.
And S105, determining a violation vehicle in the vehicle image according to the sound source position of the violation whistling.
Fig. 6 is a flow chart of the determination steps of a violation vehicle provided in the embodiment of the present application. Specifically, the violation vehicle is determined in the vehicle image in the following way:
s1050, identifying all vehicles in the vehicle image, and determining the vehicle position of each identified vehicle in a target coordinate system;
s1052, calculating a distance value between the vehicle position of each vehicle and the determined sound source position of the violation whistling;
and S1054, determining the vehicle corresponding to the minimum distance value as a violation vehicle.
In step S105, recognition is first performed based on the vehicle image read in step S104 to determine all the vehicles and the vehicle positions. The vehicle position recognized in the vehicle image here needs to be converted into the vehicle position in the target coordinate system again if it indicates a position in the image.
After all vehicles in the vehicle image and the vehicle positions corresponding to the vehicles are determined, the distance value between each vehicle position and the sound source position of the violation whistling is calculated respectively. And determining the vehicle corresponding to the minimum distance value as the violation vehicle.
According to the vehicle identification method provided by the embodiment of the application, for the no-whistle road section, if the condition that the illegal whistle exists in the audio collected in the no-whistle time period is detected, the whistle time and the sound source position of the illegal whistle are determined, the vehicle image collected by the whistle time is read, and the illegal vehicle is determined in the vehicle image based on the sound source position.
In one embodiment of the application, a violation whistling vehicle record can also be generated and stored in the storage module based on the image of the vehicle marked with violations and the audio frequency of the detected violation whistling event.
And marking the violation vehicle in a corresponding vehicle image aiming at the determined violation vehicle, and storing the vehicle image and the audio frequency associated with the detected violation vehicle whistle condition in a storage module. The violation vehicle behavior can be avoided as evidence of the violation whistling of the violation vehicle.
In one embodiment, the vehicle positioning snapshot system based on the acoustic array comprises an acoustic array acquisition unit, an acoustic data analysis unit, a video snapshot unit and a data storage unit. The acoustic array acquisition unit comprises a plurality of groups of sound sensors and is responsible for acquiring the vehicle peccancy whistle. The acoustic data analysis unit receives and processes the acoustic signals acquired by the acoustic array acquisition unit, judges whether the illegal whistle is generated or not, determines the position of the illegal vehicle and sends a snapshot instruction. The video snapshot unit takes a picture of the violation vehicle. The data storage unit is connected with the acoustic array unit and the video snapshot unit and stores and keeps acoustic data and video snapshot data.
The acoustic array acquisition unit comprises a sound sensor bracket, a sound sensor and an acoustic signal communication line. The sound sensor support is arranged on two sides of a road, the sound sensor is arranged at the top end of the sound sensor support, and the acoustic signal communication line transmits acoustic signals collected by the sound sensor to the acoustic data analysis unit.
The acoustic data analysis unit comprises a violation judgment module, an acoustic signal phase calculation module, a position calculation module, a decision distribution module and an acoustic signal transmission module. The violation judgment module, the acoustic signal phase calculation module, the position calculation module and the decision distribution module sequentially process acoustic data and generate a snapshot instruction. And the acoustic signal transmission module transmits the whistle signal of the violation vehicle to the data storage unit.
The video capturing unit comprises a camera support, a capturing camera (namely an image sensor) and a target marking module. The camera support is installed on both sides of a road, the snapshot camera is installed on the camera support, and the target marking module is installed inside the snapshot camera.
The data storage unit comprises a snapshot data storage module and an acoustic signal storage module. The snapshot data storage module and the acoustic signal storage module are arranged side by side and respectively store the video signal sent by the target marking module in the video snapshot unit and the acoustic signal transmitted by the acoustic data analysis unit.
When the vehicle peccancy on the section of the road where the whistle is forbidden, the signals of the sound sensors have phase difference because the distances from the sound source to the sound sensors are different. The multiple sound sensors transmit the received signals to the violation judging module through the acoustic signal communication line, and the violation judging module analyzes and identifies whether the acoustic signals contain whistle signals or not and judges whether the violation whistles or not. For the signals containing the illegal whistle, the acoustic signal phase calculation module analyzes and calculates the phase difference of the signals of the sound sensors and calculates the transmission time difference of the whistle signals. And the position calculation module calculates the distance between the sound source vehicle and each sound sensor according to the time difference calculated by the acoustic signal phase calculation module, and determines the position of the violation vehicle. And the acoustic signal transmission module transmits the whistle signal of the violation vehicle to the acoustic signal storage module for storage. The decision distribution module determines the nearest camera support according to the position of the violation vehicle, and the snapshot camera shoots the position of the violation vehicle. And the target marking module marks the violation vehicles on the snapshot image and transmits the marked snapshot image to the snapshot data storage module for storage.
Based on the same inventive concept, the embodiment of the present application further provides a vehicle identification device corresponding to the vehicle identification method, and as the principle of solving the problem of the vehicle identification device in the embodiment of the present application is similar to that of the vehicle identification method in the embodiment of the present application, the implementation of the vehicle identification device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a vehicle identification device according to an embodiment of the present disclosure. As shown in fig. 7, the vehicle recognition device 700 includes:
the acquisition module 710 is used for acquiring the audio collected by a plurality of sound sensor groups installed on the violation road section in the whistling forbidding time period;
the detection module 720 is used for detecting whether the illegal whistle conditions exist in the period of time for which the whistle is forbidden on the illegal road section according to the acquired audio frequency collected by each sound sensor group;
the calculation module 730 is used for determining the sound source position and the whistle time of the violation whistle according to the audio frequency of the violation whistle condition;
a reading module 740, configured to read a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section;
and the identification module 750 is used for determining the violation vehicle in the vehicle image according to the sound source position of the violation whistling.
In a preferred embodiment, each sound sensor group comprises a first sound sensor and a second sound sensor, the first sound sensor and the second sound sensor are respectively arranged on two sides of a road of a violation road section, the sound frequency collected by each sound sensor group comprises a sound frequency collected by the first sound sensor and a sound frequency collected by the second sound sensor, and the detecting module 720 is configured to detect whether a violation whistling condition exists in the sound frequency collected by each sound sensor group by: and determining whether a violation whistling condition exists in the audio frequency according to the signal intensity of each audio frequency aiming at the audio frequency collected by the first sound sensor and the audio frequency collected by the second sound sensor in the sound sensor group.
In a preferred embodiment, the detecting module 720 is specifically configured to determine whether there is a target audio frequency with a signal strength greater than a preset signal strength; if yes, determining the continuous frame number of the target audio; and if the continuous frame number in the target audio is greater than the preset frame number, determining that the illegal whistle condition exists in the audio.
In a preferred embodiment, the calculation module 730 is configured to determine the location of the source of the violation whistle by: determining a first sound sensor and two second sound sensors in the sound sensors corresponding to the sound frequency for determining that the illegal whistle condition exists; respectively determining a hyperbola corresponding to the first sound sensor and each second sound sensor; determining the sound source position of the violation whistling according to the intersection point positions among all the hyperbolas; wherein one hyperbola corresponding to the first acoustic sensor and any one of the second acoustic sensors is determined by: determining the time difference value of collecting the violation whistling between the first sound sensor and the second sound sensor; calculating a first coefficient according to the time difference value of the illegal whistle collected between the first sound sensor and the second sound sensor; determining a third coefficient according to the distance value between the first sound sensor and the second sound sensor; calculating a second coefficient according to the first coefficient and the third coefficient; and determining a hyperbola corresponding to the first sound sensor and the second sound sensor according to the first coefficient and the second coefficient.
In a preferred embodiment, a plurality of image sensors are installed on the violation road section, and the reading module 740 is further configured to determine a target image sensor among the plurality of image sensors by: determining a photographing position of each image sensor, the photographing position being determined based on the same target coordinate system as a sound source position; according to the determined distance value between the sound source position of the illegal whistle and each image sensor; and determining the image sensor corresponding to the minimum distance value as the target image sensor.
In a preferred embodiment, the identification module 750 is configured to identify a violation vehicle in the vehicle image by: identifying all vehicles in the vehicle image, and determining the vehicle position of each identified vehicle in the target coordinate system; calculating a distance value between the vehicle position of each vehicle and the determined sound source position of the violation whistling; and determining the vehicle corresponding to the minimum distance value as a violation vehicle.
In a preferred embodiment, the system further comprises a storage module (not shown in the figure), and a violation whistle vehicle record is generated and stored in the storage module according to the image marked with the violation vehicle and the audio detected that the violation whistle condition exists.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, electronic device 800 includes a processor 810, a memory 820, and a bus 830.
The memory 820 stores machine-readable instructions executable by the processor 810, when the electronic device 800 operates, the processor 810 communicates with the memory 820 through the bus 830, and when the machine-readable instructions are executed by the processor 810, the steps of the vehicle identification method in the above embodiments can be executed.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the vehicle identification method may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and other divisions may be realized in practice, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable memory executable by a processor. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present application and are intended to be covered by the appended claims. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A vehicle identification method, characterized in that the method comprises:
acquiring audio frequencies collected by a plurality of sound sensor groups installed on the violation road section in a whistling forbidding time period;
detecting whether a violation whistling condition exists in the non-whistling time period on the violation road section according to the acquired audio frequency collected by each sound sensor group;
determining the sound source position and the whistle time of the violation whistle according to the audio frequency of the violation whistle condition;
reading a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section;
and determining a violation vehicle in the vehicle image according to the sound source position of the violation whistling.
2. The method of claim 1 wherein each acoustic sensor group includes a first acoustic sensor and a second acoustic sensor, the first acoustic sensor and the second acoustic sensor being positioned on respective sides of a roadway along a violation road, the audio collected by each acoustic sensor group including audio collected by the first acoustic sensor and audio collected by the second acoustic sensor, the presence of a whistle violation condition at the audio collected by each acoustic sensor group being detected by:
and determining whether a violation whistling condition exists in the audio frequency according to the signal intensity of each audio frequency aiming at the audio frequency collected by the first sound sensor and the audio frequency collected by the second sound sensor in the sound sensor group.
3. The method as set forth in claim 2 wherein said step of determining whether a violation has occurred at each audio frequency based on the signal strength at that audio frequency comprises:
determining whether a target audio frequency having a signal intensity greater than a preset signal intensity exists in the audio frequencies;
if yes, determining the continuous frame number of the target audio;
and if the continuous frame number in the target audio is greater than the preset frame number, determining that the illegal whistle condition exists in the audio.
4. A method according to claim 3, characterised in that the location of the source of the violation whistle is determined by:
determining a first sound sensor and two second sound sensors in the sound sensors corresponding to the sound frequency for determining that the illegal whistle condition exists;
respectively determining a hyperbola corresponding to the first sound sensor and each second sound sensor;
determining the sound source position of the violation whistling according to the intersection point positions among all the hyperbolas;
wherein one hyperbola corresponding to the first acoustic sensor and any one second acoustic sensor is determined by:
determining the time difference value of collecting the violation whistling between the first sound sensor and the second sound sensor;
calculating a first coefficient according to the time difference value of the illegal whistle collected between the first sound sensor and the second sound sensor;
determining a third coefficient according to the distance value between the first sound sensor and the second sound sensor;
calculating a second coefficient according to the first coefficient and the third coefficient;
and determining a hyperbola corresponding to the first sound sensor and the second sound sensor according to the first coefficient and the second coefficient.
5. The method of claim 4 wherein a plurality of image sensors are installed on the violation road and the target image sensor is determined from the plurality of image sensors by:
determining a photographing position of each image sensor, the photographing position being determined based on the same target coordinate system as the sound source position;
according to the determined distance value between the sound source position of the illegal whistle and each image sensor;
and determining the image sensor corresponding to the minimum distance value as the target image sensor.
6. The method of claim 1 wherein a violation vehicle is identified in the vehicle image by:
identifying all vehicles in the vehicle image, and determining the vehicle position of each identified vehicle in the target coordinate system;
calculating a distance value between the vehicle position of each vehicle and the determined sound source position of the violation whistling;
and determining the vehicle corresponding to the minimum distance value as a violation vehicle.
7. The method of claim 1, further comprising:
and generating a record of the vehicle with the violation whistling according to the image marked with the vehicle with the violation and the audio frequency detected to have the violation whistling condition, and storing the record in the storage module.
8. A vehicle identification device characterized by comprising:
the acquisition module is used for acquiring the audio frequency collected by a plurality of sound sensor groups installed on the violation road section in the whistling forbidding time period;
the detection module is used for detecting whether a violation whistling condition exists in the no whistling time period on the violation road section according to the acquired audio frequency collected by each sound sensor group;
the calculation module is used for determining the sound source position and the whistle time of the violation whistle according to the audio frequency with the violation whistle condition;
the reading module is used for reading a vehicle image acquired at the whistling time from a target image sensor installed on the violation road section;
and the identification module is used for determining the violation vehicle in the vehicle image according to the sound source position of the violation whistling.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the vehicle identification method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the vehicle identification method according to one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210770341.1A CN115188200A (en) | 2022-06-30 | 2022-06-30 | Vehicle identification method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210770341.1A CN115188200A (en) | 2022-06-30 | 2022-06-30 | Vehicle identification method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115188200A true CN115188200A (en) | 2022-10-14 |
Family
ID=83515671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210770341.1A Pending CN115188200A (en) | 2022-06-30 | 2022-06-30 | Vehicle identification method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115188200A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377886A (en) * | 2007-08-28 | 2009-03-04 | 凌子龙 | Electronic apparatus for obtaining evidence of vehicle peccancy whistle, electronic policeman system and evidence-obtaining method |
CN104401255A (en) * | 2014-10-31 | 2015-03-11 | 北京联合大学 | Automobile whistling prompt device and method, and automobile with device |
CN106875678A (en) * | 2017-01-23 | 2017-06-20 | 上海良相智能化工程有限公司 | A kind of vehicle whistle law enforcement evidence-obtaining system |
CN107103759A (en) * | 2017-06-14 | 2017-08-29 | 合肥工业大学 | A kind of vehicle, which is disobeyed, stops detection and vehicle is blown a whistle sound monitoring warning device and its method |
CN109358317A (en) * | 2018-09-30 | 2019-02-19 | 科大讯飞股份有限公司 | A kind of whistle signal detection method, device, equipment and readable storage medium storing program for executing |
CN110765823A (en) * | 2018-07-27 | 2020-02-07 | 杭州海康威视***技术有限公司 | Target identification method and device |
-
2022
- 2022-06-30 CN CN202210770341.1A patent/CN115188200A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377886A (en) * | 2007-08-28 | 2009-03-04 | 凌子龙 | Electronic apparatus for obtaining evidence of vehicle peccancy whistle, electronic policeman system and evidence-obtaining method |
CN104401255A (en) * | 2014-10-31 | 2015-03-11 | 北京联合大学 | Automobile whistling prompt device and method, and automobile with device |
CN106875678A (en) * | 2017-01-23 | 2017-06-20 | 上海良相智能化工程有限公司 | A kind of vehicle whistle law enforcement evidence-obtaining system |
CN107103759A (en) * | 2017-06-14 | 2017-08-29 | 合肥工业大学 | A kind of vehicle, which is disobeyed, stops detection and vehicle is blown a whistle sound monitoring warning device and its method |
CN110765823A (en) * | 2018-07-27 | 2020-02-07 | 杭州海康威视***技术有限公司 | Target identification method and device |
CN109358317A (en) * | 2018-09-30 | 2019-02-19 | 科大讯飞股份有限公司 | A kind of whistle signal detection method, device, equipment and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11995986B2 (en) | Vehicular information systems and methods | |
JP4858761B2 (en) | Collision risk determination system and warning system | |
JP7332020B2 (en) | Optical fiber sensing system, road monitoring method, and optical fiber sensing device | |
KR20140019571A (en) | Blind spot warning system and method | |
CN111369799B (en) | Method, device and system for detecting modified vehicle | |
JP2010176302A (en) | Vehicle detection device, vehicle detection system, vehicle detection method for vehicle detection device, and vehicle detection program | |
CN110765823A (en) | Target identification method and device | |
US20100145618A1 (en) | Vehicle collision management systems and methods | |
KR101993445B1 (en) | Visibility meter of image analysis using artificial intelligence | |
JP2018173291A (en) | Detection apparatus, detection method and program | |
KR101312547B1 (en) | An apparatus for detecting or deciding accidents in a tunnel based on a sound signal processing | |
CN111765958A (en) | Vibration type identification method and system based on distributed optical fiber vibration radial distance measurement | |
JP5597746B2 (en) | Vehicle detection system, vehicle detection device, and vehicle detection method for vehicle detection system | |
US20210398425A1 (en) | Vehicular information systems and methods | |
CN115188200A (en) | Vehicle identification method and device, electronic equipment and storage medium | |
KR20150039230A (en) | Method for providing real time traffic information around vehicle and traffic information system using the same | |
JPH1069594A (en) | Car accident detector | |
JP5914791B2 (en) | Collision detection device | |
JP7424394B2 (en) | Vehicle monitoring system, vehicle monitoring method, and vehicle monitoring device | |
JP6665522B2 (en) | Information processing apparatus, information processing system, and information processing program | |
JP2019114183A (en) | Warning system | |
JP2021117678A (en) | Traffic state detection device, traffic state detection method and program | |
JP7334541B2 (en) | Road surface information measuring device, road surface information measuring method and program | |
WO2023053184A1 (en) | Optical fiber sensing system, optical fiber sensing device, and road monitoring method | |
KR101153919B1 (en) | Device and recording medium for tracking object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |