Non-motor vehicle red light running management method and system based on multi-view camera
Through multi-camera and edge computing technology, combined with the collaborative work of short-focus and long-focus cameras, the problem of low accuracy in judging the behavior of non-motorized vehicles running red lights and low license plate recognition is achieved, achieving high accuracy and high capture rate of non-motorized vehicles. Red light violation management improves road safety.
Patent Information
- Application Number
- CN202410413702.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-04-08
AI Technical Summary
It is difficult to accurately judge the red light running behavior of non-motor vehicles and identify license plates with existing technology, resulting in low judgment and capture rates and affecting road safety.
A multi-camera-based non-motor vehicle red light management method is adopted. Real-time traffic light status is obtained through the traffic signal detector. The edge computing master computer performs video stream decoding and target detection and recognition, combined with the collaborative work of short-focus and long-focus cameras. Realize the illegal behavior judgment and license plate recognition of non-motor vehicles, and conduct secondary verification in the cloud.
It improves the accurate judgment and license plate recognition rate of non-motor vehicles running red lights, achieves high-accuracy and high capture rate management of non-motor vehicles running red lights, and enhances road safety.
Smart Images

Figure CN118571024A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent illegal parking management, and in particular to a multi-camera-based non-motor vehicle red light running management method and system. Background Art
[0002] Non-motor vehicles running red lights is a violation of traffic rules, which has a serious impact on urban traffic order, road safety and citizens' travel safety. Therefore, it is necessary to strengthen the order management of non-motor vehicles running red lights. The use of artificial intelligence video image recognition technology combined with intelligent traffic management system, voice prompt system, signal detection system, etc., to form a complete non-motor vehicle running red light management solution, strengthen the monitoring and management of non-motor vehicles running red lights at intersections, improve the supervision efficiency of non-motor vehicle violations, can effectively reduce the phenomenon of non-motor vehicles running red lights, improve road safety, ensure the safety of citizens' travel, and create an orderly, safe and civilized road traffic environment.
[0003] However, due to the small size of non-motor vehicles and their license plates, the effective pixels of the license plates in the video images are low, making it difficult to identify. On the one hand, illegal evidence collection requires capturing the entire process of non-motor vehicles running red lights and including red light image evidence, and on the other hand, accurately identifying the illegal non-motor vehicle license plates. Traditional monocular cameras have difficulty balancing the relationship between the large camera field of view and the large effective pixels of the license plates. It is difficult to meet both requirements at the same time, so the accuracy of judging non-motor vehicles running red lights and recognizing license plates is too low. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a non-motor vehicle red light running management method and system based on a multi-camera, which can solve the problem of low accuracy in existing non-motor vehicle red light running behavior judgment and license plate recognition.
[0005] To achieve the above-mentioned object, on the one hand, the present invention provides a non-motor vehicle red light running management method based on a multi-camera, the method comprising: a traffic signal detector obtains real-time status information of a traffic light from a traffic signal machine at an intersection;
[0006] The edge computing host decodes the video stream in real time and performs non-motor vehicle target detection and recognition based on the decoded video stream, and determines whether there is a non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light;
[0007] If it exists, the cloud computing server will conduct a secondary recognition and verification of the non-motor vehicle illegal license plate identified by the edge computing host computer for greater accuracy, and send the non-motor vehicle red light violation data after the secondary review to the traffic violation business system of the traffic police department through the data security boundary.
[0008] Furthermore, before the step of the traffic signal detector acquiring the real-time status information of the traffic light from the traffic signal at the intersection, the step further includes:
[0009] Adjust the short-focus camera and long-focus camera in the binocular camera. The short-focus camera can cover the stop line on the non-motorized vehicle lane and the stop line on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection. The long-focus camera's field of view covers a close-up of the middle part of the intersection.
[0010] Draw lines and calibrate within the field of view of the short-focus camera and the long-focus camera in the binocular camera, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; draw the linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera;
[0011] The long-focus and short-focus camera video frame times in the binocular camera are synchronized with the edge computing host computer.
[0012] Furthermore, the step of the edge computing host computer decoding the video stream in real time and performing non-motor vehicle target detection and recognition according to the decoded video stream includes:
[0013] The edge computing host obtains the main stream data from the long-focus and short-focus cameras of the binocular camera in real time through the RTSP protocol;
[0014] The edge computing host performs real-time hardware decoding on the acquired two-channel code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtains the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame;
[0015] The edge computing host compares the image frame PIC-Frame after decoding the two-channel code stream data with the timestamp information extracted from the SEI-Frame, and selects the frame with the smallest timestamp error for paired caching.
[0016] Furthermore, the step of judging whether there is a non-motor vehicle illegal behavior based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light comprises:
[0017] When the edge computing host obtains the red light signal status, it decodes the short-focus camera video stream data PIC-Frame in the binocular camera and uses a multi-target detection and tracking algorithm model to perform real-time detection and tracking. When a non-motor vehicle crosses the stop line under the red light state, the illegal capture is activated, and the short-focus lens scene picture evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked.
[0018] When a non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing host obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle should be between the L33 and L44 lines in the telephoto camera. If it is not between the L33 and L44 lines, the next paired frame is obtained;
[0019] The edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the acquired paired frame, selects the characters with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4;
[0020] The edge computing host detects and tracks the non-motor vehicle. When the illegal non-motor vehicle crosses the L4 line, it stops acquiring paired frames. When the illegal non-motor vehicle crosses the opposite stop line L2, it saves a short-focus lens scene picture evidence of the non-motor vehicle crossing the L2 line.
[0021] The edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
[0022] Furthermore, if the non-motor vehicle violation license plate identified by the edge computing host is present, the cloud computing server performs secondary recognition and verification on the non-motor vehicle violation license plate identified by the edge computing host, and sends the secondary verified non-motor vehicle red light violation data to the traffic violation business system of the traffic police department through the data security boundary, including the following steps:
[0023] The cloud computing server performs secondary recognition and verification of the license plate number on the received non-motor vehicle image;
[0024] The cloud computing server will send the verified violation data to the traffic police business system through the security boundary.
[0025] On the other hand, the present invention provides a non-motor vehicle red light running management system based on a multi-camera, the system comprising: a traffic signal detector for obtaining real-time status information of a traffic light from a traffic signal machine at an intersection;
[0026] The edge computing host is used to decode the video stream in real time and perform non-motor vehicle target detection and recognition based on the decoded video stream, and determine whether there is a non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light;
[0027] The cloud computing server is used to perform a secondary recognition and verification of the non-motor vehicle illegal license plate identified by the edge computing host computer if it exists, and send the non-motor vehicle red light violation data after the secondary review to the traffic violation business system of the traffic police department through the data security boundary.
[0028] Furthermore, the system also includes: a binocular camera;
[0029] The binocular camera is specifically used to adjust the short-focus camera and the long-focus camera in the binocular camera. The short-focus camera image can cover the stop line on the non-motorized vehicle lane side and the stop line range on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection. The long-focus camera image field of view covers a close-up of the middle part of the intersection.
[0030] Draw lines and calibrate within the field of view of the short-focus camera and the long-focus camera in the binocular camera, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; draw the linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera;
[0031] The long-focus and short-focus camera video frame times in the binocular camera are synchronized with the edge computing host computer.
[0032] Furthermore, the edge computing main control machine is specifically used to obtain the main code stream data from the long-focus and short-focus cameras of the binocular camera in real time through the rtsp protocol; perform real-time hardware decoding on the obtained 2-channel code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtain the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; compare the image frame PIC-Frame decoded from the 2-channel code stream data with the timestamp information extracted from the SEI-Frame, and select the frame with the smallest timestamp error for paired caching.
[0033] Furthermore, the edge computing main control machine is specifically used to obtain the PIC-Frame data decoding of the short-focus camera video stream in the binocular camera when the red light signal is on, and use the multi-target detection and tracking algorithm model to perform real-time detection and tracking; when the non-motor vehicle crosses the stop line under the red light state, the illegal capture is started, and the short-focus lens scene image evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked; when the non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing main control machine obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle in the telephoto camera should be between the L33 and L44 lines. If it is not in L33 and L44 lines, and obtain the next paired frame; the edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the obtained paired frame, and selects the characters with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4; the edge computing host detects and tracks the non-motor vehicle, and stops obtaining paired frames when the illegal non-motor vehicle crosses the L4 line. When the illegal non-motor vehicle crosses the opposite stop line L2, a short-focus lens scene image evidence of the non-motor vehicle after crossing the L2 line is saved; the edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
[0034] Furthermore, the cloud computing server is specifically used to perform secondary recognition and verification of the license plate number of the received non-motor vehicle image; the cloud computing server sends the verified violation data to the traffic police business system through the security boundary.
[0035] The present invention provides a non-motor vehicle red light running management method and system based on multi-cameras. The method and system are aimed at the non-motor vehicle red light running violation management scenario at intersections. Due to the small targets and license plates of non-motor vehicles, the illegal behavior judgment is inaccurate, the capture rate is low, and the non-motor vehicle license plate recognition is inaccurate. The advantages of combining multi-camera collaboration, target time and space alignment, edge computing, and real-time acquisition of traffic light status are fully utilized, thereby realizing a non-motor vehicle red light running violation management method based on multiple dimensions, achieving high accuracy and high capture rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flow chart of a non-motor vehicle red light running management method based on a multi-camera provided by the present invention;
[0037] Figure 2 It is a structural schematic diagram of a non-motor vehicle red light running management system based on a multi-camera provided by the present invention. DETAILED DESCRIPTION
[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.
[0039] like Figure 1 As shown, a non-motor vehicle red light running management method based on a multi-camera is provided in an embodiment of the present invention, comprising the following steps:
[0040] 101. The traffic signal detector obtains the real-time status information of the traffic light from the traffic signal machine at the intersection.
[0041] For the embodiment of the present invention, before step 101, it also includes: a binocular camera A, which has two independent network video cameras built in, one long focus and one short focus. Usually, a standard cross-shaped intersection needs to be equipped with four binocular cameras A. The short focus camera and the long focus camera in the binocular camera are adjusted, and the picture of the short focus camera can cover the stop line on the non-motorized vehicle lane side and the stop line range on the opposite side of the intersection. At the same time, the picture should also be able to capture the traffic lights on the opposite side of the intersection, and the field of view of the long focus camera picture covers a close-up of the middle part of the intersection;
[0042] Line drawing and calibration are performed within the field of view of the short-focus camera and the long-focus camera in the binocular camera, wherein the position of the stop line on this side is to be calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; linked capture lines L33 and L44 are drawn, wherein L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera; the video frame time of the long-focus and short-focus cameras in the binocular camera is synchronized with the time of the edge computing host.
[0043] 102. The edge computing host computer decodes the video stream in real time and performs non-motor vehicle target detection and recognition based on the decoded video stream, and determines whether there is any non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light.
[0044] Specifically, the edge computing host obtains the main code stream data from the long and short focus cameras of the binocular camera in real time through the rtsp protocol; the edge computing host performs real-time hardware decoding on the two code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtains the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; the edge computing host compares the image frame PIC-Frame decoded from the two code stream data with the timestamp information extracted from the SEI-Frame, and selects the frame with the smallest timestamp error for paired caching.
[0045] Furthermore, the step of judging whether there is a non-motor vehicle illegal behavior based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light comprises:
[0046] When the edge computing host obtains the red light signal, it decodes the short-focus camera video stream data PIC-Frame in the binocular camera and uses a multi-target detection and tracking algorithm model for real-time detection and tracking; when a non-motor vehicle crosses the stop line under the red light state, the illegal capture is started, and the short-focus lens scene image evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked; when the non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing host obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle in the telephoto camera should be between the L33 and L44 lines. If it is not between the L33 and L44 lines, The edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the obtained pairing frame, selects the character with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4; the edge computing host detects and tracks the non-motor vehicle, and stops obtaining pairing frames when the illegal non-motor vehicle crosses the L4 line. When the illegal non-motor vehicle crosses the opposite stop line L2, a short-focus lens scene image evidence of the non-motor vehicle crossing the L2 line is saved; the edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
[0047] 103. If it exists, the cloud computing server will conduct a secondary recognition and verification of the non-motor vehicle illegal license plate identified by the edge computing host computer, and send the non-motor vehicle red light violation data after the secondary verification to the traffic violation business system of the traffic police department through the data security boundary.
[0048] For the embodiment of the present invention, the specific application scenario can be as follows, but is not limited thereto, including: (1) a binocular camera A, with two built-in independent network video cameras, one with a long focus and one with a short focus. Usually, a standard cross-shaped intersection needs to be equipped with four binocular cameras A.
[0049] (2) Traffic signal detector B, used to obtain the real-time status of traffic lights from the traffic signal machine at the intersection. Usually, a standard cross intersection needs to be equipped with one signal detector B.
[0050] (3) High-performance edge computing host C, with built-in AI computing unit and video decoding hardware, is used for real-time decoding of video streams and detection, tracking and license plate recognition of non-motor vehicle targets. Usually, a standard crossroad requires one high-performance edge computing host C.
[0051] (4) Voice playback device D, used to identify the voice reminder of non-motor vehicle violations. Usually, a standard crossroad needs to be equipped with four voice playback devices D
[0052] (5) The cloud computing server E is used to collaborate with the main control computer C to perform secondary computing, and to conduct secondary recognition and verification of the illegal license plates of non-motor vehicles captured by the main control computer C, thereby further improving the accuracy of license plate recognition; at the same time, the non-motor vehicle red light violation data after secondary verification is sent to the traffic violation business system of the traffic police department through the data security boundary.
[0053] The specific business processing flow is as follows:
[0054] (1) Install binocular camera A on the electric alarm pole at the intersection and adjust the field of view. First, adjust the short-focus camera in binocular camera A. By adjusting the focal length, the short-focus camera image can cover the stop line on the non-motorized vehicle lane side and the stop line range on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection to facilitate complete evidence collection. Secondly, adjust the telephoto lens in binocular camera A. By adjusting the focal length, the image field of view only covers a close-up of the middle part of the intersection. The purpose is to magnify the non-motorized vehicle target and obtain a clear license plate. Complete the field of view adjustment of the binocular cameras in the four directions of the intersection in turn.
[0055] (2) Perform line drawing calibration within the field of view of the short-focus camera in binocular camera A, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection. Perform line drawing calibration on the long-focus camera in binocular camera A, and draw linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera. Complete line drawing for the binocular cameras in the four directions of the intersection in turn;
[0056] (3) In order to ensure that the time synchronization sources of the long-focus and short-focus camera video frames in the binocular camera A are consistent, the NTP time synchronization method is adopted to perform regular time synchronization with the edge computing host C.
[0057] (4) To ensure that the long-focus and short-focus cameras in binocular camera A can achieve millisecond-level precision alignment of video frame time, this solution adopts the method of inserting SEI frames in the RTSP video stream. A SEI information frame is inserted after each video frame, and the payload of the SEI frame records the millisecond precision time of the current video frame. For example, if the frame rate of the video stream is 30 frames per second, then a SEI information frame is inserted after each video data frame of these 30 frames to record the millisecond timestamp of the current video frame.
[0058] (5) The edge computing host C obtains the traffic light status of the current intersection from the traffic signal detector B and starts illegal capture when the light is red.
[0059] (6) The edge computing host C obtains the h264 main code stream data from the long and short focus cameras of the binocular camera A in real time through the rtsp protocol; the edge computing host C performs real-time hardware decoding on the two h264 code stream data to obtain the decoded image frame PIC-Frame and the SEI information frame SEI-Frame, and obtains the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; the edge computing host C compares the image frame PIC-Frame after the two h264 code stream data is decoded through the timestamp information extracted from the SEI-Frame, selects the frame with the smallest timestamp error, considers it to be a matching time-consistent image frame, and performs paired cache.
[0060] (7) When the edge computing host C obtains the red light signal status, it decodes the short-focus camera video stream data PIC-Frame in the binocular camera A and uses a multi-target detection and tracking algorithm model to perform real-time detection and tracking; when the non-motor vehicle crosses the stop line L1 under the red light state, the illegal capture is activated, and the short-focus lens scene image evidence before the non-motor vehicle crosses the L1 line is recorded, and the non-motor vehicle is continuously detected and tracked. At this time, the voice player is notified to send a red light violation warning voice.
[0061] (8) When the non-motor vehicle crosses the linkage capture line L3, the linkage capture is started, and the edge computing host C obtains the image of the telephoto camera at the same time from the cached paired frames. At this time, the illegal non-motor vehicle should be between the L33 and L44 lines in the telephoto camera. If it is not between the L33 and L44 lines, the paired frame is discarded and the next paired frame is obtained. In this way, the paired frames of the non-motor vehicle traveling between L3 and L4 are continuously obtained.
[0062] (9) The edge computing host C uses the non-motor vehicle license plate recognition algorithm to identify the long-focus camera images in the acquired series of paired frames, and votes by character to select the character with the most recognition results. It also saves a long-focus camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4.
[0063] (10) The main control computer C continues to detect and track the non-motor vehicle. When the illegal non-motor vehicle crosses the L4 line, it stops acquiring the paired frames. When the illegal non-motor vehicle crosses the opposite stop line L2, it saves a short-focus lens scene picture evidence after the non-motor vehicle crosses the L2 line.
[0064] (11) The computing host C sends the generated non-motor vehicle violation data to the cloud computing server E. The data includes the license plate number, the long-focus panoramic camera image of the non-motor vehicle before crossing the L1 line, between the L3 and L4 lines, and after crossing the L2 line, and the short-focus close-up camera image of the non-motor vehicle between the L33 and L44 lines;
[0065] (12) The cloud computing server E performs a secondary recognition and verification of the license plate number on the received non-motor vehicle image; the cloud computing server E sends the verified violation data to the traffic police business system through the security boundary, completing the evidence collection of the non-motor vehicle running a red light violation.
[0066] The embodiment of the present invention provides a non-motor vehicle red light running management method based on a multi-camera. It is aimed at the non-motor vehicle red light running violation management scenario at intersections. Due to the small targets and license plates of non-motor vehicles, the illegal behavior judgment is inaccurate, the capture rate is low, and the non-motor vehicle license plate recognition is inaccurate. It fully utilizes the advantages of multi-camera collaboration, target time and space alignment, edge computing, and real-time acquisition of traffic light status, thereby realizing a non-motor vehicle red light running violation management method based on multiple dimensions, achieving high accuracy and high capture rate.
[0067] To implement the method provided in the embodiment of the present invention, the embodiment of the present invention provides a non-motor vehicle red light running management system based on a multi-camera, such as Figure 2 As shown, the system includes: a traffic signal detector 21, an edge computing host computer 22, a cloud computing server 23, and a binocular camera 24.
[0068] Traffic signal detector 21, used to obtain real-time status information of traffic lights from traffic signal machines at intersections;
[0069] The edge computing host 22 is used to decode the video stream in real time and perform non-motor vehicle target detection and recognition based on the decoded video stream, and determine whether there is a non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light;
[0070] The cloud computing server 23 is used to perform secondary recognition and verification on the non-motor vehicle illegal license plate identified by the edge computing host computer if it exists, and send the non-motor vehicle red light violation data after secondary verification to the traffic violation business system of the traffic police department through the data security boundary.
[0071] Furthermore, the system further comprises: a binocular camera 24;
[0072] The binocular camera 24 is specifically used to adjust the short-focus camera and the long-focus camera in the binocular camera. The short-focus camera image can cover the stop line on the non-motorized vehicle lane side and the stop line range on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection. The long-focus camera image field of view covers a close-up of the middle part of the intersection.
[0073] Draw lines and calibrate within the field of view of the short-focus camera and the long-focus camera in the binocular camera, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; draw the linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera;
[0074] The long-focus and short-focus camera video frame times in the binocular camera are synchronized with the edge computing host computer.
[0075] Furthermore, the edge computing main control machine 22 is specifically used to obtain the main code stream data from the long-focus and short-focus cameras of the binocular camera in real time through the rtsp protocol; perform real-time hardware decoding on the obtained two-channel code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtain the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; compare the image frame PIC-Frame decoded from the two-channel code stream data with the timestamp information extracted from the SEI-Frame, and select the frame with the smallest timestamp error for paired caching.
[0076] Furthermore, the edge computing host 22 is specifically used to obtain the short-focus camera video stream decoding data PIC-Frame in the binocular camera when the red light signal is on, and use the multi-target detection and tracking algorithm model to perform real-time detection and tracking; when the non-motor vehicle crosses the stop line under the red light state, the illegal capture is started, and the short-focus lens scene image evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked; when the non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing host obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle in the telephoto camera should be between the L33 and L44 lines. If it is not in L3 3 and L44 lines, obtain the next paired frame; the edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the obtained paired frame, and selects the characters with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4; the edge computing host detects and tracks the non-motor vehicle, and stops obtaining paired frames when the illegal non-motor vehicle crosses the L4 line. When the illegal non-motor vehicle crosses the opposite stop line L2, a short-focus lens scene image evidence after the non-motor vehicle crosses the L2 line is saved; the edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
[0077] Furthermore, the cloud computing server 23 is specifically used to perform secondary recognition and verification of the license plate number on the received non-motor vehicle image; the cloud computing server sends the verified violation data to the traffic police business system through the security boundary.
[0078] The present invention provides a non-motor vehicle red light running management system based on multi-cameras. It is aimed at the non-motor vehicle red light running violation management scenario at intersections. Due to the small targets and license plates of non-motor vehicles, the illegal behavior judgment is inaccurate, the capture rate is low, and the non-motor vehicle license plate recognition is inaccurate. The advantages of combining multi-camera collaboration, target time and space alignment, edge computing, and real-time acquisition of traffic light status are fully utilized, thereby realizing a non-motor vehicle red light running violation management method based on multiple dimensions, achieving high accuracy and high capture rate.
[0079] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.
[0080] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.
[0081] The disclosed embodiments are described above to enable any person skilled in the art to implement or use the present invention. Various modifications of these embodiments are obvious to those skilled in the art, and the general principles defined herein may also be applied to other embodiments without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments given herein, but is consistent with the broadest scope of the principles and novel features disclosed in this application.
[0082] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".
[0083] Those skilled in the art may also understand that the various illustrative logical blocks, units, and steps listed in the embodiments of the present invention may be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly demonstrate the interchangeability of hardware and software, the various illustrative components, units, and steps described above have generally described their functions. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present invention.
[0084] The various illustrative logic blocks or units described in the embodiments of the present invention can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.
[0085] The steps of the method or algorithm described in the embodiments of the present invention can be directly embedded in hardware, a software module executed by a processor, or a combination of the two. The software module can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a user terminal. Optionally, the processor and the storage medium can also be arranged in different components in the user terminal.
[0086] In one or more exemplary designs, the above functions described in the embodiments of the present invention can be implemented in hardware, software, firmware or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted in the form of one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by any general or special computer. For example, such computer-readable media can include but are not limited to RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that can be used to carry or store program codes in the form of instructions or data structures and other forms that can be read by general or special computers, or general or special processors. In addition, any connection can be appropriately defined as a computer-readable medium, for example, if the software is transmitted from a website site, server or other remote resource through a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wirelessly, such as infrared, wireless and microwave, it is also included in the defined computer-readable medium. The disk and disc include compact disk, laser disk, optical disk, DVD, floppy disk and blue-ray disk. Disks usually copy data magnetically, while discs usually copy data optically with lasers. The above combination can also be included in computer readable media.
[0087] The specific implementations described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A non-motor vehicle red light running management method based on multi-camera, characterized in that: The method comprises: The traffic signal detector obtains the real-time status information of the traffic light from the traffic signal machine at the intersection; The edge computing host decodes the video stream in real time and performs non-motor vehicle target detection and recognition based on the decoded video stream, and determines whether there is a non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light; If it exists, the cloud computing server will conduct a secondary recognition and verification of the non-motor vehicle illegal license plate identified by the edge computing host computer for greater accuracy, and send the non-motor vehicle red light violation data after the secondary review to the traffic violation business system of the traffic police department through the data security boundary.
2. The method for managing non-motor vehicles running red lights based on multi-cameras according to claim 1, characterized in that: Before the step of the traffic signal detector acquiring the real-time status information of the traffic light from the traffic signal at the intersection, the method further comprises: Adjust the short-focus camera and long-focus camera in the binocular camera. The short-focus camera can cover the stop line on the non-motorized vehicle lane and the stop line on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection. The long-focus camera's field of view covers a close-up of the middle part of the intersection. Draw lines and calibrate within the field of view of the short-focus camera and the long-focus camera in the binocular camera, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; draw the linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera; The long-focus and short-focus camera video frame times in the binocular camera are synchronized with the edge computing host computer.
3. A non-motor vehicle red light running management method based on multi-camera according to claim 2, characterized in that: The step of the edge computing host computer decoding the video stream in real time and performing non-motor vehicle target detection and recognition according to the decoded video stream includes: The edge computing host obtains the main stream data from the long-focus and short-focus cameras of the binocular camera in real time through the RTSP protocol; The edge computing host performs real-time hardware decoding on the acquired two-channel code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtains the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; The edge computing host compares the image frame PIC-Frame after decoding the two-channel code stream data through the timestamp information extracted from the SEI-Frame, and selects the frame with the smallest timestamp error for paired caching.
4. The method for managing non-motor vehicles running red lights based on multi-cameras according to claim 3 is characterized in that: The step of judging whether there is a non-motor vehicle illegal behavior based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light comprises: When the edge computing host obtains the red light signal status, it decodes the short-focus camera video stream data PIC-Frame in the binocular camera and uses a multi-target detection and tracking algorithm model to perform real-time detection and tracking. When a non-motor vehicle crosses the stop line under the red light state, the illegal capture is activated, and the short-focus lens scene picture evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked. When a non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing host obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle should be between the L33 and L44 lines in the telephoto camera. If it is not between the L33 and L44 lines, the next paired frame is obtained; The edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the acquired paired frame, selects the characters with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4; The edge computing host detects and tracks the non-motor vehicle. When the illegal non-motor vehicle crosses the L4 line, it stops acquiring paired frames. When the illegal non-motor vehicle crosses the opposite stop line L2, it saves a short-focus lens scene picture evidence of the non-motor vehicle crossing the L2 line. The edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
5. A non-motor vehicle red light running management method based on multi-camera according to claim 1 or 4, characterized in that: If so, the cloud computing server performs a secondary recognition and verification on the non-motor vehicle violation license plate identified by the edge computing host computer, and sends the non-motor vehicle red light violation data after the secondary verification to the traffic violation business system of the traffic police department through the data security boundary, including the following steps: The cloud computing server performs secondary recognition and verification of the license plate number on the received non-motor vehicle image; The cloud computing server will send the verified violation data to the traffic police business system through the security boundary.
6. A non-motor vehicle red light running management system based on multi-camera, characterized in that: The system comprises: Traffic signal detector, used to obtain real-time status information of traffic lights from traffic signal machines at intersections; The edge computing host is used to decode the video stream in real time and perform non-motor vehicle target detection and recognition based on the decoded video stream, and determine whether there is a non-motor vehicle violation based on the non-motor vehicle target detection and recognition result and the real-time status information of the traffic light; The cloud computing server is used to perform a secondary recognition and verification of the non-motor vehicle illegal license plate identified by the edge computing host computer if it exists, and send the non-motor vehicle red light violation data after the secondary review to the traffic violation business system of the traffic police department through the data security boundary.
7. The non-motor vehicle red light running management system based on multi-camera according to claim 6 is characterized in that: The system also includes: a binocular camera; The binocular camera is specifically used to adjust the short-focus camera and the long-focus camera in the binocular camera. The short-focus camera image can cover the stop line on the non-motorized vehicle lane side and the stop line range on the opposite side of the intersection. At the same time, the image should also be able to capture the traffic lights on the opposite side of the intersection. The long-focus camera image field of view covers a close-up of the middle part of the intersection. Draw lines and calibrate within the field of view of the short-focus camera and the long-focus camera in the binocular camera, where the position of the stop line on this side is calibrated in the picture and recorded as line segment L1, the position of the stop line on the opposite side is recorded as L2, and the linked capture lines L3 and L4 are located in the middle of the intersection; draw the linked capture lines L33 and L44, where L33 is consistent with the position of L3 of the short-focus camera, and L44 is consistent with the position of L4 of the short-focus camera; The long-focus and short-focus camera video frame times in the binocular camera are synchronized with the edge computing host computer.
8. The non-motor vehicle red light running management system based on multi-camera according to claim 7 is characterized in that: The edge computing main control machine is specifically used to obtain the main code stream data from the long and short focus cameras of the binocular camera in real time through the rtsp protocol; perform real-time hardware decoding on the obtained 2-way code stream data to obtain the decoded image frame and SEI information frame SEI-Frame, and obtain the millisecond-level precision timestamp of the current PIC-Frame from the SEI-Frame; compare the image frame PIC-Frame after the 2-way code stream data is decoded with the timestamp information extracted from the SEI-Frame, and select the frame with the smallest timestamp error for paired caching.
9. The non-motor vehicle red light running management system based on multi-camera according to claim 8, characterized in that: The edge computing host is specifically used to obtain the PIC-Frame data decoding of the short-focus camera video stream in the binocular camera when the red light signal is on, and use the multi-target detection and tracking algorithm model to perform real-time detection and tracking; when the non-motor vehicle crosses the stop line under the red light state, the illegal capture is started, and the short-focus lens scene image evidence before the non-motor vehicle crosses the line is recorded, and the non-motor vehicle is continuously detected and tracked; when the non-motor vehicle crosses the linkage capture line, the linkage capture is started, and the edge computing host obtains the image of the telephoto camera at the same time from the cached paired frame. At this time, the illegal non-motor vehicle in the telephoto camera should be between the L33 and L44 lines. If it is not between L33 and L4 4 lines, obtain the next paired frame; the edge computing host uses the non-motor vehicle license plate recognition algorithm to identify the telephoto camera image in the obtained paired frame, and selects the characters with the most recognition results, and saves a telephoto camera image and a short-focus camera image when the illegal non-motor vehicle is traveling between L3 and L4; the edge computing host detects and tracks the non-motor vehicle, and stops obtaining paired frames when the illegal non-motor vehicle crosses the L4 line. When the illegal non-motor vehicle crosses the opposite stop line L2, a short-focus lens scene image evidence of the non-motor vehicle after crossing the L2 line is saved; the edge computing host sends the generated non-motor vehicle violation data to the cloud computing server.
10. A non-motor vehicle red light running management system based on multi-camera according to claim 6 or 9, characterized in that: The cloud computing server is specifically used to perform secondary recognition and verification of the license plate number of the received non-motor vehicle image; The cloud computing server will send the verified violation data to the traffic police business system through the security boundary.
Citation Information
Patent Citations
Video-based automatic monitoring system and methods for vehicles illegally crossing lanes
CN102289934A
Traffic violation background auditing system and method
CN110969860A
UWB and UTC timestamp synchronization combined positioning method and positioning system
CN111885423A
Method and device for monitoring surrounding vehicles and computer readable storage medium
CN113469105A
Distributed ultra-high-definition video synchronous processing method
CN113873345A
