CN110969838A - Traffic detection method, device and system - Google Patents

Traffic detection method, device and system Download PDF

Info

Publication number
CN110969838A
CN110969838A CN201811157065.1A CN201811157065A CN110969838A CN 110969838 A CN110969838 A CN 110969838A CN 201811157065 A CN201811157065 A CN 201811157065A CN 110969838 A CN110969838 A CN 110969838A
Authority
CN
China
Prior art keywords
image
queue
lane
lane change
vehicle
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.)
Granted
Application number
CN201811157065.1A
Other languages
Chinese (zh)
Other versions
CN110969838B (en
Inventor
施佳琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201811157065.1A priority Critical patent/CN110969838B/en
Publication of CN110969838A publication Critical patent/CN110969838A/en
Application granted granted Critical
Publication of CN110969838B publication Critical patent/CN110969838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the invention provides a traffic detection method, a device and a system, and relates to the field of traffic vehicle detection. The control host receives a first image of a first area shot by a first camera module, a second image of a second area shot by a second camera module and a third image of a third area shot by a third camera module, wherein the third area is a blind area between the first area and the second area, whether a vehicle violates a lane change is judged according to the first image and the second image, and when the vehicle violates the lane change, the third image is taken as evidence of the vehicle violating the lane change. Because the third area is a blind area between the first area and the second area, the defect that the illegal lane-changing behavior of the intersection is forbidden frequently due to lack of illegal evidence of the blind area in the prior art is effectively overcome.

Description

Traffic detection method, device and system
Technical Field
The invention relates to the field of traffic vehicle detection, in particular to a traffic detection method, a traffic detection device and a traffic detection system.
Background
With the progress of social economy, the quantity of vehicles kept increases year by year, great pressure is brought to the current traffic system, great challenges are brought to the supervision of the current traffic order, the current traffic vehicle detection field uses a bayonet snapshot system and an electric alarm snapshot system to supervise the illegal lane change behavior of vehicles, and simultaneously, picture evidence is made to make a penalty decision better.
The bayonet snapshot system is used for shooting vehicles which come, the electric alarm snapshot system is used for shooting vehicles which go away, however, a monitoring blind area exists between monitoring areas of the bayonet snapshot system and the electric alarm snapshot system, if the vehicles change lanes illegally in the blind area, the bayonet snapshot system and the electric alarm snapshot system cannot shoot the illegal behaviors, even if the driving lanes of the vehicles are different, the illegal lane change behaviors cannot be verified and punishment decision cannot be made due to lack of illegal evidence of the blind area, so that the illegal lane change behaviors at the intersection are forbidden and the traffic safety of the intersection is seriously influenced.
Disclosure of Invention
The embodiment of the invention aims to provide a traffic detection method, a traffic detection device and a traffic detection system, which are used for monitoring vehicles passing through a road in the whole process and solving the problem that the illegal lane change behavior at an intersection is forbidden frequently due to lack of illegal evidence of blind areas.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a traffic detection method, which is applied to a control host of a traffic detection system, where the traffic detection system further includes a first camera module, a second camera module, and a third camera module, and the control host receives a first image of a first area captured by the first camera module; the control host receives a second image of a second area shot by the second camera module; the control host receives a third image of a third area shot by the third camera module; wherein the third region is a blind region between the first region and the second region, the method comprising: judging whether the vehicle violates the rule and changes lanes according to the first image and the second image; and when the vehicle changes lane illegally, calling the third image as evidence of the vehicle changing lane illegally.
In a second aspect, an embodiment of the present invention further provides a traffic detection device, including: the image receiving module is used for receiving a first image of a first area shot by the first camera module; receiving a second image of a second area shot by a second camera module; receiving a third image of a third area shot by the third camera module; wherein the third region is a blind region between the first region and the second region; the judging module is used for judging whether the vehicle violates the rule and changes lanes according to the first image and the second image; and the calling module is used for calling the third image as the evidence of the illegal lane change of the vehicle when the illegal lane change of the vehicle occurs.
In a third aspect, an embodiment of the present invention further provides a traffic detection system, including: the first camera module is used for shooting a first image of a first area; the second camera module is used for shooting a second image of the second area; the third camera module is used for shooting a third image of a third area; wherein the third region is a blind region between the first region and the second region; a control host for receiving the first image, the second image and the third image; the control host is further used for judging whether the vehicle violates the lane change according to the first image and the second image; the control host is further used for calling the third image as evidence of the illegal lane change of the vehicle when the illegal lane change of the vehicle occurs.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the traffic detection method, the traffic detection device and the traffic detection system provided by the embodiment of the invention, the control host receives a first image of a first area shot by a first camera module, a second image of a second area shot by a second camera module and a third image of a third area shot by a third camera module, wherein the third area is a blind area between the first area and the second area, whether a vehicle violates lane changing is judged according to the first image and the second image, and when the vehicle violates lane changing, the third image is taken as evidence of the vehicle violating lane changing. Because the third area is a blind area between the first area and the second area, the defect that the illegal lane-changing behavior of the intersection is forbidden frequently due to lack of illegal evidence of the blind area in the prior art is effectively overcome.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed 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 invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram illustrating a connection between a traffic detection system and a user terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an application environment of a traffic detection system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a traffic detection method according to an embodiment of the present invention;
FIG. 4 illustrates a third image retrieval schematic provided by embodiments of the present invention;
FIG. 5 is a flow chart of a traffic detection method according to another embodiment of the present invention;
FIG. 6 is a diagram illustrating a lane change queue and an un-lane change queue provided by an embodiment of the present invention;
FIG. 7 is a diagram illustrating an alternate lane change queue and an un-lane change queue according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a lane change queue, an un-lane change queue, and a third image data provided by an embodiment of the present invention;
FIG. 9 is a diagram illustrating a lane change queue, an un-lane change queue, and a third image data retrieval provided by an embodiment of the present invention;
FIG. 10 is a diagram illustrating a lane change queue, an un-lane change queue, and a third image data deletion according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating functional modules of a traffic detection device according to an embodiment of the present invention.
Icon: 100-a traffic detection system; 101-a first camera module; 102-a second camera module; 103-a third camera module; 104-control host; 200-road; 201-a first area; 202-a second area; 203-a third area; 204-traffic signal pole; 300-a user terminal; 400-a vehicle; 500-a traffic detection device; 501-image receiving module; 502-a judgment module; 503-queue maintenance module; 504-obstacle analysis module; 505-picture composition module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, which is a schematic diagram illustrating a connection between a traffic detection system 100 and a user terminal 300 according to an embodiment of the present invention, the traffic detection system 100 includes a first camera module 101, a second camera module 102, a third camera module 103, and a control host 104, the first camera module 101, the second camera module 102, and the third camera module 103 are electrically connected to the control host 104, and the user terminal 300 is in communication connection with the control host 104. In this embodiment, the user terminal 300 may be a traffic police monitoring platform. Referring to fig. 2, which is an application environment schematic diagram of the traffic detection system 100 according to the embodiment of the present invention, a road 200 includes a first area 201, a second area 202, a third area 203, and a traffic signal rod 204, the first camera module 101, the second camera module 102, and the third camera module 103 are all disposed on the traffic signal rod 204, the first camera module 101 is configured to capture a first image of the first area 201, the second camera module 102 is configured to capture a second image of the second area 202, and the third camera module 103 is configured to capture a third image of the third area 203. The area between the first area 201 and the second area 202 is a blind area that cannot be captured by both the first camera module 101 and the second camera module 102, and the third area 203 is a blind area between the first area 201 and the second area 202. Preferably, the third area 203 covers the blind area, so that the vehicles 400 passing through the road 200 can be monitored in the whole process, the illegal behaviors of the vehicles 400 can be captured better, drivers are urged to comply with traffic rules, and the traffic order of the road 200 is standardized.
In this embodiment, the third camera module 103 may be a panoramic camera, and compared with a common camera, the panoramic camera has a wider shooting range, so as to better perform whole-course monitoring on the vehicle 400 passing through the road 200.
Referring to fig. 3, which is a schematic flow chart of a traffic detection method according to an embodiment of the present invention, it should be noted that the traffic detection method according to the embodiment of the present invention is not limited by fig. 3 and the specific sequence described below, and it should be understood that, in other embodiments, the sequence of some steps in the traffic detection method according to the embodiment of the present invention may be interchanged according to actual needs, or some steps may be omitted or deleted. The traffic detection method can be applied to the control host 104 of the traffic detection system 100, and the specific flow shown in fig. 3 will be described in detail below.
In step S101, the control host 104 receives the first image, the second image, and the third image and processes the first image and the second image.
The control host 104 receives and saves the first image, the second image, and the third image, divides lanes in the first image according to lane lines in the first image, divides lanes in the second image according to lane lines in the second image, and finally marks the lanes in the first image and corresponding lanes in the second image as the same lanes.
In step S102, the control host 104 determines whether the vehicle 400 changes lanes illegally according to the first image and the second image.
In this embodiment, the control host 104 searches the same vehicle 400 from the second image according to the first image, then determines the lane of the vehicle 400 in the first image and the lane of the vehicle 400 in the second image and determines whether the lane of the vehicle 400 in the first image and the lane of the vehicle 400 in the second image are the same lane, and if not, the control host 104 determines that the vehicle 400 violates lane change and executes step S103; when the lane is the same, the control host 104 determines that the vehicle 400 is not changed illegally.
In step S103, the control host 104 retrieves the third image as evidence that the vehicle 400 has violated the lane change.
In this embodiment, the control host 104 retrieves the third image of the time period corresponding to the first image and the second image corresponding to the vehicle 400 as the evidence of the illegal lane change of the vehicle 400. Taking fig. 4 as an example, assuming that the shooting time of the first image is 8 points, 10 minutes and 10 seconds, the shooting time of the second image is 8 points, 10 minutes and 20 seconds, the time period corresponding to the first image and the second image corresponding to the vehicle 400 is 8 points, 10 minutes and 10 seconds to 8 points, 10 minutes and 20 seconds, and the control host 104 retrieves the third image between 8 points, 10 minutes and 10 seconds to 8 points, 10 minutes and 20 seconds as the evidence of lane change violation of the vehicle 400.
Fig. 5 is a schematic flow chart of a traffic detection method according to another embodiment of the present invention. It should be noted that the traffic detection method according to the embodiment of the present invention is not limited by the specific sequence shown in fig. 5 and described below, and it should be understood that, in other embodiments, the sequence of some steps in the traffic detection method according to the embodiment of the present invention may be interchanged according to actual needs, or some steps in the traffic detection method may be omitted or deleted. The traffic detection method can be applied to the control host 104 of the traffic detection system 100, and the specific flow shown in fig. 5 will be described in detail below.
In step S201, the control host 104 receives the first image, the second image, and the third image and processes the first image and the second image.
In this embodiment, the specific content of step S201 may refer to step S101 described above.
In step S202, the control host 104 determines whether the vehicle 400 changes lanes illegally according to the first image and the second image.
In this embodiment, the specific content of the step S202 can refer to the step S202;
when the control host 104 determines that the vehicle 400 violates the lane change, step S203 is executed; when the control host 104 determines that the vehicle 400 does not change lanes illegally, step S204 is performed.
In step S203, when the vehicle 400 violates lane change, the control host 104 adds the first image and the second image to a preset lane change queue.
In this embodiment, the control host 104 sets a lane change queue in advance, and when the control host 104 determines that the vehicle 400 violates a lane change according to the first image and the second image, the control host 104 adds the first image and the second image to the lane change queue, and uses the shooting time of the second image as the time for adding the second image to the lane change queue. Taking the lane change queue shown in fig. 6 as an example, assuming that the first camera module 101 captures a first image of the vehicle 400 at 9 o ' clock, 15 min and 0 sec, and the second camera module 102 captures a second image of the vehicle 400 at 9 o ' clock, 15 min and 10 sec, when the control host 104 determines that the vehicle 400 violates the lane change, the control host 104 adds the first image and the second image to the lane change queue, and takes the capturing time of the second image at 9 o ' clock, 15 min and 10 sec as the time for adding the second image to the lane change queue.
In step S204, when the vehicle 400 does not violate lane changing, the control host 104 adds the first image and the second image to a preset lane-changing-free queue.
In this embodiment, the control host 104 sets a lane change-free queue in advance, and after the control host 104 determines that the vehicle 400 does not violate a lane change according to the first image and the second image, the control host 104 adds the first image and the second image to the lane change-free queue, and takes the shooting time of the second image as the time for adding the lane change-free queue. Taking the non-lane-changing queue shown in fig. 6 as an example, assuming that the first camera module 101 captures a first image of the vehicle 400 at 9 o ' clock, 15 min and 5 sec, and the second camera module 102 captures a second image of the vehicle 400 at 9 o ' clock, 15 min and 20 sec, when the control host 104 determines that the vehicle 400 is not illegally lane-changing, the control host 104 adds the first image and the second image to the non-lane-changing queue, and takes the capturing time of the second image at 9 o ' clock, 15 min and 20 sec as the time for adding the second image to the lane-changing queue.
In step S205, the control host 104 checks the current start time and the current end time of each of the lane change queue and the lane non-change queue, and calculates the total time length according to the current start time and the current end time of each of the lane change queue and the lane non-change queue.
Taking the lane change queue and the non-lane change queue shown in fig. 6 as an example, it is assumed that the adding time of the first queue data of the lane change queue is 9 points 15 minutes 10 seconds, the adding time of the last queue data of the lane change queue is 9 points 17 minutes 40 seconds, the adding time of the first queue data of the non-lane change queue is 9 points 15 minutes 20 seconds, and the adding time of the last queue data of the non-lane change queue is 9 points 18 minutes 10 seconds. The current starting time of the lane-change queue is 9 o 'clock 15 min 10 sec (namely the joining time of the first queue data) and the current ending time is 9 o' clock 17 min 40 sec (namely the joining time of the last queue data), the current starting time of the non-lane-change queue is 9 o 'clock 15 min 20 sec (namely the joining time of the first queue data) and the current ending time is 9 o' clock 18 min 10 sec (namely the joining time of the last queue data). The time length of the lane change queue is 2 minutes and 30 seconds (namely 9 points 15 minutes and 10 seconds to 9 points 17 minutes and 40 seconds), the time length of the non-lane change queue is 2 minutes and 50 seconds (namely 9 points 15 minutes and 20 seconds to 9 points 18 minutes and 10 seconds), and the total time length is calculated by the union of the time length of the lane change queue and the time length of the non-lane change queue, namely the total time length is 3 minutes (namely 9 points 15 minutes and 10 seconds to 9 points 18 minutes and 10 seconds).
In this embodiment, each of the queue data of the lane change queue and the lane non-change queue includes one of the first images and one of the second images.
In step S206, the control host 104 determines whether the total time length is greater than or equal to a predetermined value.
In this embodiment, the preset value may be 3 minutes, and when the total time length is greater than or equal to 3 minutes, step S206 is executed;
when the total time length is less than 3 minutes, the control host 104 returns to perform step S205. Preferably, the control host 104 may return to perform step S205 after a certain time interval, for example, when the control host 104 determines that the total time length is less than 3 minutes, the control host 104 returns to perform step S205 after 5 seconds, and at this time, the control host 104 checks the current start time and the current end time of each of the lane change queue and the lane non-change queue again.
In step S207, the control host 104 determines whether the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the non-lane change queue exceeds a preset threshold.
In this embodiment, the control host 104 determines whether a ratio of the number of the queue data of the lane change queue to the total number of the queue data of the lane change queue and the non-lane change queue exceeds a preset threshold.
Specifically, the preset threshold may be 60%, taking the lane change queue and the non-lane change queue shown in fig. 6 as an example, assuming that the number of queue data in the lane change queue is 4, and the number of queue data in the non-lane change queue is 6, the total queue data of the lane change queue and the non-lane change queue is 10, and the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the non-lane change queue is 40%, at this time, the control host 104 determines that the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the non-lane change queue does not exceed the preset threshold 60%; taking the lane change queue and the non-lane change queue shown in fig. 7 as an example, assuming that the number of queue data in the lane change queue is 8, the number of queue data in the non-lane change queue is 2, and the proportion of the queue data of the lane change queue in the total queue data of the lane change queue and the non-lane change queue is 80%, at this time, the control host 104 determines that the proportion of the queue data of the lane change queue in the total queue data of the lane change queue and the non-lane change queue exceeds a preset threshold value by 60%.
When the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the lane non-change queue in the preset time period exceeds a preset threshold, the control host 104 needs to call the third image to analyze whether an obstacle exists on the road 200, and step S208 is executed; and when the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the non-lane change queue in the preset time period does not exceed a preset threshold, executing step S210.
In step S208, the control host 104 retrieves the third image corresponding to the total time length and analyzes whether an obstacle exists on the road 200 of the third image.
In this embodiment, the control host 104 retrieves the third image corresponding to the total time length and analyzes whether an obstacle exists on the road 200 in the third image, and for example, with reference to fig. 8, assuming that the total time length is 3 minutes (i.e., 9: 15 min 10 s to 9: 18 min 10 s), retrieves the third image corresponding to the total time length, i.e., the control host 104 retrieves the third image between 9: 15 min 10 s to 9: 18 min 10 s, and then the control host 104 analyzes whether an obstacle exists on the road 200 in the retrieved third image; when there is an obstacle on the road 200, the control host 104 determines that it is necessary to send a warning message to the user terminal 300, and executes step S209; when there is no obstacle on the road 200, the control host 104 determines that it is not necessary to send warning information to the user terminal 300, and performs step S210.
In step S209, the control host 104 sends an alarm message to the user terminal 300 and deletes queue data of the lane change queue and the lane non-change queue.
In this embodiment, the control host 104 sends an alarm message to the user terminal 300, and deletes the queue data content of the lane change queue and the non-lane change queue corresponding to the total time length, taking the lane change queue and the non-lane change queue shown in fig. 8 as an example, assuming that the total time length is 3 minutes (i.e., 9 o 'clock 15 min 10 sec to 9 o' clock 18 min 10 sec), the control host 104 sends an alarm message to the user terminal 300, deletes the queue data of the lane change queue between 9 o 'clock 15 min 10 sec to 9 o' clock 17 min 40 sec, and deletes the queue data of the non-lane change queue between 9 o 'clock 15 min 20 sec to 9 o' clock 18 min 10 sec.
In this embodiment, after the step S209 is completed, the process returns to the step S205, and the control host 104 checks the current start time and the current end time of the lane change queue and the lane non-change queue again.
In step S210, the control host 104 synthesizes the first image and the second image from the start position to the end position where the first preset time interval elapses in the lane change queue into a picture, and adds an image corresponding to the time length of the synthesized picture in the synthesized picture and the third image to a preset violation table.
Taking fig. 9 as an example, the first preset time interval may be 5 seconds, assuming that the shooting time of the first image of the first queue data of the lane change queue is 9 points 15 minutes 0 seconds, the shooting time of the second image is 9 points 15 minutes 10 seconds, the shooting time of the first image of the second queue data of the lane change queue is 9 points 15 minutes 2 seconds, the shooting time of the second image is 9 points 15 minutes 13 seconds, the shooting time of the first image of the third queue data of the lane change queue is 9 points 15 minutes 25 seconds, the shooting time of the second image is 9 points 15 minutes 30 seconds, the time from the start position to the end position passing through the first preset time interval in the lane change queue is 9 points 15 minutes 10 seconds to 9 points 15 minutes 15 seconds, the control host 104 controls the first image and the second image of the first queue data in the lane change queue between 9 points 15 minutes 10 seconds to 9 points 15 minutes 15 seconds, The first image and the second image of the second queue data are respectively synthesized into pictures, the time length of the synthesized pictures is from the earliest shooting time of the first synthesized picture (namely, the first image shooting time of 9 points of 15 minutes 0 seconds of the first queue data) to the latest shooting time of the last synthesized picture (namely, the second image shooting time of 9 points of 15 minutes 13 seconds of the second queue data), and the control host 104 adds the synthesized pictures and the images corresponding to the time length of the synthesized pictures (namely, 9 points of 15 minutes 0 seconds to 9 points of 15 minutes 13 seconds) in the third image into a preset violation list.
In step S211, the control host 104 deletes queue data from the start position to the end position after the first preset time interval in the lane change queue and the lane non-change queue.
Taking fig. 10 as an example, the first preset time interval may be 5 seconds, and assuming that the first queue data adding time of the lane change queue is 9 o 'clock 15 min 10 seconds, and the first queue data adding time of the non-lane change queue is 9 o' clock 15 min 20 seconds, the control host 104 deletes the queue data between the start position of the lane change queue and the non-lane change queue to the end position experiencing the first preset time interval (i.e., between 9 o 'clock 15 min 10 seconds and 9 o' clock 15 min 15 seconds), at this time, the adding time of the first data of the lane change queue becomes 9 o 'clock 15 min 30 seconds, and the first data adding time of the non-lane change queue becomes 9 o' clock 15 min 20 seconds.
In this embodiment, after the step S211 is completed, the process returns to the step S205, and the control host 104 checks the current start time and the current end time of the lane change queue and the lane non-change queue again.
Fig. 11 is a schematic functional block diagram of a traffic detection device 500 according to an embodiment of the present invention. It should be noted that the traffic detection device 500 provided in the present embodiment has the same basic principle and the same technical effect as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding contents in the foregoing method embodiments for a part not mentioned in the present embodiment. The traffic detection device 500 includes an image receiving module 501, a determining module 502, a queue maintaining module 503, an obstacle analyzing module 504, and a picture synthesizing module 505.
The image receiving module 501 is configured to receive a first image of a first area 201 captured by the first image capturing module 101, a second image of a second area 202 captured by the second image capturing module 102, and a third image of a third area 203 captured by the third image capturing module 103, where the third area 203 is located between the first area 201 and the second area 202.
It is understood that the image receiving module 501 may perform the steps S101 and S201.
The determining module 502 is configured to determine whether the vehicle 400 violates lane changing according to the first image and the second image.
It is understood that the determining module 502 can execute the above step S102 and step S202.
The queue maintenance module 503 is configured to, when the vehicle 400 violates a lane change, call the third image as evidence that the vehicle 400 violates the lane change.
It is understood that the queue maintenance module 503 can perform the step S103.
The queue maintenance module 503 is further configured to put the first image and the second image into a preset lane change queue when the vehicle 400 violates a lane change; when the vehicle 400 does not violate lane changing, the first image and the second image are placed in a preset lane changing-free queue; and checking the respective current starting time and current ending time of the lane change queue and the lane non-change queue, and calculating the total time length according to the respective current starting time and current ending time of the lane change queue and the lane non-change queue.
The queue maintenance module 503 is further configured to determine whether the total time length of the lane change queue and the lane non-change queue is greater than or equal to a preset value, and determine whether a ratio of queue data of the lane change queue to total queue data of the lane change queue and the lane non-change queue exceeds the preset threshold.
It is understood that the queue maintenance module 503 may also perform the above steps S203, S204, S205, S206, S207.
The obstacle analysis module 504 is configured to, when the queue maintenance module 503 determines that the total time length is greater than or equal to a preset value and the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the lane non-change queue exceeds a preset threshold, call a third image corresponding to the total time length and analyze whether an obstacle exists on the road 200 of the third image.
It is understood that the obstacle analysis module 504 may perform the step S208 described above.
The queue maintenance module 503 is further configured to send a warning message to the user terminal 300 and delete the queue data of the lane change queue and the lane non-change queue when there is an obstacle on the road 200 in the third image.
It is understood that the queue maintenance module 503 can also execute the step S209.
The picture synthesizing module 505 is configured to synthesize a picture from the first image and the second image in the lane change queue from a start position to an end position that has passed a first preset time interval, and add a synthesized picture and an image corresponding to the time length of the synthesized picture in the third image to a preset violation table when the total time length of the queue maintaining module 503 is greater than or equal to a preset value and a ratio of queue data of the lane change queue to total queue data of the lane change queue and the lane non-change queue does not exceed a preset threshold, or when the obstacle analyzing module 504 analyzes that no obstacle exists on the road 200 in the third image.
It is understood that the picture synthesis module 505 can execute the step S210.
The queue maintenance module 503 is further configured to delete queue data from a starting position to an ending position that has passed through a first preset time interval in the lane change queue and the lane non-change queue after the picture synthesis module 505 adds the synthesized picture and the image corresponding to the time length of the synthesized picture in the third image to a preset violation table.
It is understood that the queue maintenance module 503 can execute the step S211.
In summary, in the traffic detection method, the device, and the system provided in the embodiments of the present invention, the control host receives a first image of a first area captured by a first camera module, a second image of a second area captured by a second camera module, and a third image of a third area captured by a third camera module, where the third area is a blind area between the first area and the second area, and determines whether a vehicle is changing lanes illegally according to the first image and the second image, and calls the third image as an evidence that the vehicle is changing lanes illegally. Because the third area is a blind area between the first area and the second area, the defect that the illegal lane-changing behavior of the intersection is forbidden frequently due to lack of illegal evidence of the blind area in the prior art is effectively overcome.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, device or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only an alternative embodiment of the present invention and is not intended to limit the present invention, and various modifications and variations of the present invention may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (10)

1. A traffic detection method is characterized in that the method is applied to a control host of a traffic detection system, the traffic detection system further comprises a first camera module, a second camera module and a third camera module, and the control host receives a first image of a first area shot by the first camera module; the control host receives a second image of a second area shot by the second camera module; the control host receives a third image of a third area shot by the third camera module; wherein the third region is a blind region between the first region and the second region, the method comprising:
judging whether the vehicle violates the rule and changes lanes according to the first image and the second image;
and when the vehicle changes lane illegally, calling the third image as evidence of the vehicle changing lane illegally.
2. A traffic detection method according to claim 1, characterized in that the method further comprises:
when the vehicle changes lanes illegally, the first image and the second image are placed into a lane changing queue which is set in advance;
and when the vehicle does not violate lane changing, putting the first image and the second image into a preset lane-changing-free queue.
3. A traffic detection method according to claim 2, characterized in that the method further comprises:
checking the respective current starting time and current ending time of the lane change queue and the lane non-change queue, and calculating the total time length according to the respective current starting time and current ending time of the lane change queue and the lane non-change queue;
when the total time length is larger than or equal to a preset value and the ratio of the queue data of the lane change queue to the total queue data of the lane change queue and the lane non-change queue does not exceed a preset threshold value, combining the first image and the second image between the starting position and the ending position passing through a first preset time interval in the lane change queue into a picture, and adding the combined picture and an image corresponding to the time length of the combined picture in the third image into a preset violation list.
4. A traffic detection method according to claim 3, characterized in that the method further comprises:
deleting data from a starting position to an ending position of the lane change queue and the lane non-change queue after the first preset time interval.
5. The traffic detection method according to claim 3, wherein when the total time length is greater than or equal to a preset value and a ratio of queue data of the lane change queue to total queue data of the lane change queue and the lane non-change queue exceeds a preset threshold, the method further comprises:
calling the third image corresponding to the total time length and analyzing whether an obstacle exists on a road in the third image;
and when the road in the third image has an obstacle, sending alarm information to a user terminal and deleting the queue data of the lane change queue and the lane non-change queue.
6. A traffic detection method according to claim 5, characterized in that when no obstacle is present on the road in the third image, the method further comprises:
and synthesizing the first image and the second image from the starting position to the ending position passing through the first preset time interval in the lane change queue into a picture, and adding the synthesized picture and an image corresponding to the time length of the synthesized picture in the third image into the illegal table.
7. The traffic detection method according to claim 1, wherein the third camera module is a panoramic camera.
8. A traffic detection device, comprising:
the image receiving module is used for receiving a first image of a first area shot by the first camera module; receiving a second image of a second area shot by a second camera module; receiving a third image of a third area shot by a third camera module; wherein the third region is a blind region between the first region and the second region;
the judging module is used for judging whether the vehicle violates the rule and changes lanes according to the first image and the second image;
and the calling module is used for calling the third image as the evidence of the illegal lane change of the vehicle when the illegal lane change of the vehicle occurs.
9. A traffic detection device according to claim 8, characterized in that the device further comprises:
the queue maintenance module is used for putting the first image and the second image into a preset lane change queue when the vehicle changes lanes in violation; and the first image and the second image are placed in a preset non-lane-changing queue when the vehicle does not change lanes illegally.
10. A traffic detection system, comprising:
the first camera module is used for shooting a first image of a first area;
the second camera module is used for shooting a second image of the second area;
the third camera module is used for shooting a third image of a third area; wherein the third region is a dead zone between the first region and the second region;
a control host for receiving the first image, the second image and the third image;
the control host is further used for judging whether the vehicle violates the lane change according to the first image and the second image;
the control host is further used for calling the third image as evidence of the illegal lane change of the vehicle when the illegal lane change of the vehicle occurs.
CN201811157065.1A 2018-09-30 2018-09-30 Traffic detection method, device and system Active CN110969838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811157065.1A CN110969838B (en) 2018-09-30 2018-09-30 Traffic detection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811157065.1A CN110969838B (en) 2018-09-30 2018-09-30 Traffic detection method, device and system

Publications (2)

Publication Number Publication Date
CN110969838A true CN110969838A (en) 2020-04-07
CN110969838B CN110969838B (en) 2021-03-09

Family

ID=70029024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811157065.1A Active CN110969838B (en) 2018-09-30 2018-09-30 Traffic detection method, device and system

Country Status (1)

Country Link
CN (1) CN110969838B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863690A (en) * 2021-02-04 2022-08-05 浙江宇视科技有限公司 Identification method, device, medium and electronic equipment for solid line lane change

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521901A (en) * 2008-02-25 2009-09-02 华为技术有限公司 Method, system and equipment for detecting blind areas
US20110234749A1 (en) * 2010-03-28 2011-09-29 Alon Yaniv System and method for detecting and recording traffic law violation events
CN103236166A (en) * 2013-05-13 2013-08-07 交通运输部公路科学研究所 Method for recognizing vehicle violation behaviors with satellite positioning technology
CN105336170A (en) * 2014-08-08 2016-02-17 杭州海康威视***技术有限公司 Traffic peccancy monitoring method and device
CN205334730U (en) * 2015-10-20 2016-06-22 南京财经学校 Crossroad traffic violation identification system
CN107742418A (en) * 2017-09-29 2018-02-27 东南大学 A kind of urban expressway traffic congestion status and stifled point position automatic identifying method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521901A (en) * 2008-02-25 2009-09-02 华为技术有限公司 Method, system and equipment for detecting blind areas
US20110234749A1 (en) * 2010-03-28 2011-09-29 Alon Yaniv System and method for detecting and recording traffic law violation events
CN103236166A (en) * 2013-05-13 2013-08-07 交通运输部公路科学研究所 Method for recognizing vehicle violation behaviors with satellite positioning technology
CN105336170A (en) * 2014-08-08 2016-02-17 杭州海康威视***技术有限公司 Traffic peccancy monitoring method and device
CN205334730U (en) * 2015-10-20 2016-06-22 南京财经学校 Crossroad traffic violation identification system
CN107742418A (en) * 2017-09-29 2018-02-27 东南大学 A kind of urban expressway traffic congestion status and stifled point position automatic identifying method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863690A (en) * 2021-02-04 2022-08-05 浙江宇视科技有限公司 Identification method, device, medium and electronic equipment for solid line lane change
CN114863690B (en) * 2021-02-04 2023-07-21 浙江宇视科技有限公司 Method, device, medium and electronic equipment for identifying solid line lane change

Also Published As

Publication number Publication date
CN110969838B (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN107705552B (en) Emergency lane occupation behavior detection method, device and system
CN109345829B (en) Unmanned vehicle monitoring method, device, equipment and storage medium
JP4569190B2 (en) Suspicious person countermeasure system and suspicious person detection device
CN108806272B (en) Method and device for reminding multiple motor vehicle owners of illegal parking behaviors
CN106971552B (en) Fake plate phenomenon detection method and system
CN111985356A (en) Evidence generation method and device for traffic violation, electronic equipment and storage medium
CN110929589B (en) Method, apparatus, computer apparatus and storage medium for identifying vehicle characteristics
CN109427191B (en) Driving detection method and device
CN109003455A (en) A kind of method and device for reminding the behavior of car owner's illegal parking
CN106228799A (en) The method and apparatus monitoring illegal tampering vehicle positional information
CN108932850B (en) Method and device for recording low-speed driving illegal behaviors of motor vehicle
CN110969838B (en) Traffic detection method, device and system
CN113963153A (en) Vehicle identification method, device, equipment and storage medium
CN113014876B (en) Video monitoring method and device, electronic equipment and readable storage medium
CN112017401A (en) Alarm system for monitoring the safety of persons, corresponding method and storage medium
CN113112813B (en) Illegal parking detection method and device
CN113468678A (en) Method and device for calculating accuracy of automatic driving algorithm
CN111526475A (en) Target vehicle tracking method and device, electronic equipment and storage medium
CN112883866A (en) Method, system and storage medium for detecting regional invasion in real time
TWI589158B (en) Storage system of original frame of monitor data and storage method thereof
CN108806270B (en) Method and device for recording illegal behavior of continuously changing lanes of multiple motor vehicles
CN111710168A (en) Method, system and equipment for capturing and monitoring illegal parking board based on 5G transmission
CN115022650A (en) Video processing method of automobile data recorder and automobile data recorder
CN112036363B (en) Smoking behavior detection method and device
CN109480375B (en) Control method of safety helmet capable of intelligently identifying retrograde motion

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
GR01 Patent grant
GR01 Patent grant