Method and system for generating multi-traffic intersection real-time video through stratosphere space monitoring
By deploying drone monitoring equipment in the stratosphere and using rotating cameras and satellite map data to generate real-time video streams of multiple traffic intersections, the problem of monitoring scope and data sharing in urban traffic flow monitoring is solved, and the monitoring of multiple intersections is realized. Real-time monitoring and traffic flow prediction reduce equipment costs and personnel dependence.
Patent Information
- Application Number
- CN202410711392.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-27
AI Technical Summary
Existing technologies have problems with limited monitoring range and untimely data sharing in urban traffic flow monitoring, making it difficult to effectively deal with urban intersection congestion.
Deploy UAV monitoring equipment in the stratosphere space, capture high-precision images by rotating cameras, perform image space transformation and feature extraction, combine with satellite map data to build an intersection network topology map, and generate real-time video streams of multiple traffic intersections.
It realizes real-time monitoring and traffic flow prediction of multiple intersections over a wide range, reduces the number and cost of equipment, improves the monitoring capabilities of the traffic management department, and provides support for urban transportation planning.
Smart Images

Figure CN118553091A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent traffic control and relates to a method and system for generating real-time videos of multiple traffic intersections through stratospheric space monitoring. Background Art
[0002] In recent years, the increase in urban traffic has led to increasingly severe congestion at urban intersections. To address this problem, real-time monitoring of intersection conditions is necessary to provide accurate traffic flow information for traffic management and scheduling. Currently, cameras monitoring intersections is a common method, but they suffer from issues such as limited monitoring range and delayed data sharing.
[0003] With the advancement of modern science and technology, the unique resource advantages of the stratosphere have become a global focus. Based on the distribution of atmospheric thermal structure at altitude, the atmosphere can be divided into five layers: the troposphere, stratosphere, mesosphere, thermosphere, and exosphere. The stratosphere (the airspace between 20km and 50km above sea level) experiences almost no condensation, no thunderstorms, and no vertical convection. It boasts excellent stability, with parameters like temperature and humidity changing slowly. Furthermore, it is unaffected by cloud cover above the clouds, allowing for abundant and stable solar power generation during the day. The stratosphere lies below the ionosphere, unaffected by the ionosphere's influence on information transmission, providing favorable external conditions for drones to maintain stable and long-term presence in this space. Stratospheric spacecraft equipped with remote sensing imaging systems are highly sought after for their rich information and clear images. Compared with satellite images that require fixed-point and timed shooting and have poor timeliness, and ordinary aerial images that are limited by flight altitude and have a small field of view and narrow image format, ultra-high altitude UAV remote sensing imaging systems can realize real-time road condition monitoring of multiple traffic intersections, avoiding problems such as ground cameras being easily blocked and obstructed, and improving the accuracy and stability of image capture.
[0004] Therefore, using drones and other equipment to install cameras and transmission equipment in the stratosphere can achieve real-time image monitoring of traffic intersections. By deploying stratospheric space monitoring equipment, real-time monitoring and traffic flow forecasting can be achieved across a large area and at multiple intersections. Although stratospheric space monitoring equipment is expensive in some aspects, its ability to monitor more intersections reduces its overall cost compared to cameras that can only monitor a single intersection. Moreover, as technology continues to advance, the cost of stratospheric space monitoring equipment will gradually decrease, making it more practical.
[0005] Furthermore, multiple intersections within the same stratospheric space monitoring system can utilize a unified control model, reducing equipment requirements and costs. This emerging intersection monitoring method offers significant advantages and potential, helping to improve traffic management agencies' ability to understand intersection conditions and providing strong support for urban traffic planning and management. Summary of the Invention
[0006] In response to the limitations of existing technologies, the present invention proposes a method and system for generating real-time videos of multiple traffic intersections through stratospheric space monitoring. This method maps several layers of images taken at a rotational angle into an image set at the same angle, calibrates the image set with the coordinate data of the target area satellite map, and crops the image set at the coordinate points to form a collection of traffic intersection images. Finally, the image data of different intersections are converted into a video stream in chronological order.
[0007] The technical solution of the present invention is achieved as follows: A method for generating real-time video of multiple traffic intersections using stratospheric space monitoring includes: 10. The camera pan / tilt rotates to capture high-precision images and obtain a high-precision image set; The initial state of the camera is vertical downward, that is, θ=0. The camera head rotates at an angle θ to capture high-precision images. The shooting area range is recorded in chronological order in the set Q with the camera device shooting angle θ. t θ .
[0008] 20. Perform spatial transformation of images according to the rotation angle; Take the image with rotation angle θ=0 as the reference image and calculate the set Q t θ The image with rotation angle θ≠0 is transformed by the affine transformation formula Perform image space transformation, where (u, v) is the original image pixel coordinate, and (x, y) is the image pixel coordinate after transformation. is the perspective transformation matrix; the image set Q with rotation angle θ=0 is obtained t 0.
[0009] 30. Construct the target intersection ground grid coordinate set; Obtain satellite map data of the target area, extract all traffic intersection information from the satellite map data, build a network topology graph G = (V, E) with all intersections in the target area as vertices, and build the target intersection ground network coordinate set I.
[0010] 40. Feature extraction, obtaining feature maps; 41. The high-precision image captured by the camera carried by the drone is used as the input image. The input image is preprocessed to have the same contrast, brightness, etc. as the target intersection ground network coordinate set I, so as to better match it with the network topology map; 42. The preprocessed image is subjected to feature extraction through the feature pyramid network to obtain the feature map F.
[0011] 50. The feature map is fused with the target intersection ground grid coordinate set to obtain a high-precision image with network coordinates; Set the target intersection coordinate x i , integrate the feature map F and the node I of the target intersection ground grid coordinate set i to obtain F i , and judge the coordinate information x of the next intersection through the iterative matching formula , until the current intersection is the last intersection; where π is the iterative matching strategy, and π is optimized through the optimization formula i+1 , and finally obtain a high-precision image with network coordinates.
[0012] 60. Expand and crop the high-precision image with network coordinates with the intersection coordinates as vertices and incorporate it into the corresponding traffic intersection image set; 61. Crop the entire image into several individual intersection coordinate images A t i , where i = (x, y) is the number of traffic intersections with coordinate data obtained by cropping, and t is the timestamp of the current input image; classify the traffic intersection images according to the traffic intersection coordinate data to obtain the set A t i t ={A i t 丨t>0}; Among them, according to the position and size of the intersection, image processing technology can be used to process the cropped multiple individual intersection images into a unified size of a*b, where the size of a*b is the frame size of the finally formed video image; 62. Repeat step 61 to enrich the set A t i ={A t i 丨t>0}.
[0013] 70. Convert the image sets of different intersections into a video stream in chronological order; 71. Perform secondary image processing on the set A t i to obtain the expected image data; 72. Input the expected image data of different intersections into the video encoder in chronological order, and the video encoder converts the image sequence into a video stream.
[0014] Stratospheric space monitoring generates a multi-traffic intersection real-time video system, including Unmanned aerial vehicle: Determine the target intersection, and the position of the unmanned aerial vehicle remains unchanged; The unmanned aerial vehicle must select an unmanned aerial vehicle suitable for working in the stratospheric space. The unmanned aerial vehicle needs to have height, stability and safety to ensure that it can fly in the stratospheric space for a long time and carry corresponding equipment.
[0015] Control equipment: Determine the target intersection and select the next target intersection location based on the intersection ground grid coordinates; calculate the rotation angle and rotation direction of the camera pan / tilt head to capture high-precision images.
[0016] Camera equipment: Installed on the drone, select a high-definition and high-frame-rate camera, preferably a professional-grade drone camera or a high-resolution video camera; the camera equipment should be able to adapt to changes in atmospheric conditions and be able to capture real-time images of traffic intersections.
[0017] Ground server: Establish a ground-side server system to receive, store, and process image data transmitted by drones; the server should have high performance and large-capacity storage capabilities to meet the processing needs of real-time image data.
[0018] Transmission equipment: installed on the drone. The drone needs to be equipped with transmission equipment to transmit the captured images in real time to the ground server for processing and analysis; wireless signal transmission equipment or satellite communication equipment can be used to achieve data transmission.
[0019] The working principle and beneficial effects of the present invention are: By deploying stratospheric space monitoring equipment, real-time monitoring and traffic flow forecasting can be achieved across large areas and at multiple intersections. Compared to traditional intersection monitoring cameras, which require one to four cameras to fully monitor an intersection, stratospheric space monitoring equipment can monitor the same number of intersections as thousands of cameras, resulting in a lower overall cost. Furthermore, as technology continues to advance, the cost of stratospheric space monitoring equipment will gradually decrease, making it more practical.
[0020] Multiple intersections under the same stratospheric monitoring system can use a unified control mode, reducing the number of equipment and costs. When congestion or other traffic problems occur at a certain intersection, the entire stratospheric monitoring system can automatically adjust to better meet the needs of traffic management. The use of this control mode can also improve the efficiency and reliability of the system while reducing dependence on personnel.
[0021] The method of generating real-time videos of multiple traffic intersections through stratospheric space monitoring helps improve the ability of traffic management departments to grasp and cover the situation at all intersections, providing strong support for urban traffic planning and management. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] Figure 1 Overall flow chart of the method for generating real-time video of multiple traffic intersections for stratospheric space monitoring; Figure 2 A method for generating real-time video of multiple traffic intersections for stratospheric space monitoring and a schematic diagram of the system's shooting range; Figure 3 Schematic diagram of the method and system for generating real-time video of multiple traffic intersections for stratospheric space monitoring; Figure 4 Method for generating real-time video of multiple traffic intersections for stratospheric spatial monitoring Target intersection ground grid coordinates Local network topology map; Figure 5 Schematic diagram of the matching of characteristic maps and ground grid coordinates for generating real-time videos of multiple traffic intersections for stratospheric spatial monitoring; Figure 6 Schematic diagram of the system components for generating real-time video of multiple traffic intersections for stratospheric space monitoring; 1. Drone; 2. Control equipment; 3. Camera equipment; 4. Transmission equipment; 5. Ground server; DETAILED DESCRIPTION
[0024] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present invention.
[0025] It is important to note that before conducting any flight operations, relevant laws, regulations, and aviation management regulations must be complied with, and operational safety must be ensured. Furthermore, the specific implementation of stratospheric space monitoring technology and equipment selection require further evaluation and selection based on specific project needs and technical requirements.
[0026] A method for generating real-time video of multiple traffic intersections using stratospheric space monitoring includes: 10. The camera pan / tilt rotates to capture high-precision images and obtain a high-precision image set; The initial state of the camera is vertically downward, that is, θ=0. The camera head rotates at an angle θ to capture high-precision images. Image processing operations such as denoising, image enhancement, and edge detection are performed on the captured high-precision images to improve image quality and visibility of traffic elements. The captured images are recorded in chronological order into a set Q with the camera device shooting angle θ. t θ .
[0027] 20. Perform spatial transformation of images according to the rotation angle; Take the image with rotation angle θ=0 as the reference image and calculate the set Q t θ The image with rotation angle θ≠0 is transformed by the affine transformation formula Perform image space transformation, where (u, v) is the original image pixel coordinate, and (x, y) is the image pixel coordinate after transformation. is the perspective transformation matrix; the image set Q with rotation angle θ=0 is obtained t 0.
[0028] 30. Construct the target intersection ground grid coordinate set; Obtain satellite map data of the target area, extract all traffic intersection information from the satellite map data, construct a network topology graph G = (V, E) with all intersections in the target area as vertices, and construct the target intersection ground network coordinate set I; Figure 4 As shown, a local network topology diagram of satellite map data of the target area is illustrated; Among them, the Dijkstra algorithm can be used to complete the regional network topology graph G = (V, E), the steps are as follows: 1. Initialize the distance of all vertices to infinity, but set the distance of the source vertex to 0; 2. Create an empty priority queue and put the source vertex into the queue; 3. Take the vertex closest to the source vertex from the queue and remove it from the queue; 4. For all adjacent nodes of the vertex, if the distance to the adjacent node through the edge is shorter than the previously calculated distance, update the distance of the adjacent node; 5. Repeat steps 3 and 4 until the queue is empty.
[0029] 40. Feature extraction, obtaining feature maps; 41. The high-precision image captured by the camera carried by the drone is used as the input image. The input image is pre-processed to have the same contrast, brightness, etc. as the satellite map of the target area, so as to better match it with the regional network topology map, such as Figure 5 As shown, a matching schematic diagram is illustrated; 42. The pre-processed image is subjected to feature extraction through a feature pyramid network to obtain a feature map F. Feature extraction generally includes extraction of sidewalks, zebra crossings, road boundaries, center lines, stop lines, lanes, and ground markings. 50. The feature map is fused with the target intersection ground grid coordinate set to obtain a high-precision image with network coordinates; Set the target intersection coordinate x i , the feature graph F and the node I of the target intersection ground grid coordinate set i Integrate to get F i , through iterative matching formula Determine the coordinate information x of the next intersection i+1, until the current intersection is the last intersection; where π is the iterative matching strategy, and π is optimized through the optimization formula to finally obtain a high-precision image with network coordinates.
[0030] 60. Expand and crop the high-precision image with network coordinates with intersection coordinates as vertices and incorporate it into the corresponding traffic intersection image set; 61. Crop the entire image into several individual intersection coordinate images A with intersection coordinates as vertices t i , where i = (x, y) is the number of traffic intersections with coordinate data obtained by cropping, and t is the timestamp of the current input image; classify the traffic intersection images according to the traffic intersection coordinate data to obtain the set A t i ={A t i 丨t>0}; Among them, according to the position and size of the intersection, image processing technology can be used to process multiple cropped individual intersection images into a unified size of a*b, where the size of a*b is the frame size of the finally formed video image; 62. Repeat step 61 to enrich the set A t i ={A t i 丨t>0}.
[0031] 70. Convert the image sets of different intersections into a video stream in chronological order; 71. Perform secondary image processing on the set A t i to obtain the expected image data; 72. Input the image sets of different intersections into the video encoder in chronological order, select appropriate video coding algorithms and parameters to balance the relationship between video quality and file size; at the same time, set parameters such as frame rate, resolution, and compression ratio according to requirements; generate a real-time video stream through the video encoder, and display and play back the generated video stream in real-time in the monitoring center, traffic management system or other related application programs.
[0032] As Figure 6 shown, the stratospheric space monitoring generates a multi-traffic intersection real-time video system, including UAV 1: Determine the target intersection, and the position of UAV 1 remains unchanged; UAV 1 must select a UAV 1 suitable for working in the stratospheric space, and UAV 1 needs to have height, stability and safety to ensure that it can fly in the stratospheric space for a long time and carry corresponding equipment.
[0033] Control device 2: Determine the target intersection and select the next target intersection location based on the intersection ground grid coordinates; calculate the rotation angle and rotation direction of the camera pan / tilt head to capture high-precision images.
[0034] Camera device 3: Installed on the drone 1, select a high-definition and high-frame-rate camera 3, preferably a professional-grade drone 1 camera or a high-resolution video camera; the camera device 3 should be able to adapt to changes in atmospheric conditions and be able to capture real-time images of traffic intersections.
[0035] Transmission device 4: Installed on the drone 1. The drone 1 needs to be equipped with transmission device 4 to transmit the captured images in real time to the ground server 5 for processing and analysis; wireless signal transmission device 4 or satellite communication equipment can be used to achieve data transmission.
[0036] Ground server 5: A ground-side server system is established to receive, store, and process image data transmitted by UAV 1. The server should have high performance and large-capacity storage capabilities to meet the processing needs of real-time image data.
[0037] It is worth noting that this embodiment only shows a simple data example of the method and system for generating real-time videos of multiple traffic intersections through stratospheric space monitoring. This is only for the convenience of demonstrating the principles of this method. People in this field should understand that the timing of the method steps provided in the above embodiment can be adaptively adjusted according to actual conditions, and can also be performed concurrently according to actual conditions.
[0038] It is important to note that when processing images and generating video streams, data security and privacy protection should be taken into consideration. Ensure that appropriate measures are taken to encrypt, store, and transmit image and video data to avoid any potential leakage or misuse.
[0039] All or part of the steps in the methods involved in the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a storage medium readable by a computer device to execute all or part of the steps described in the methods of the above embodiments.
[0040] Finally, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, product or apparatus that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or apparatus, and does not exclude the presence of other identical elements in the process, method, product or apparatus that includes the elements.
Claims
1. A method for generating real-time video of multiple traffic intersections by stratospheric space monitoring, characterized in that: include 10. The camera head rotates to capture high-precision images and obtain a high-precision image set; 20. Perform spatial transformation of images according to the rotation angle; 30. Construct the target intersection ground network coordinate set; 40. Feature extraction, obtaining feature maps; 50. The feature map is fused with the target intersection ground network coordinate set to obtain a high-precision image with network coordinates; 60. Expand and crop the high-precision image with network coordinates with the intersection coordinates as the vertex and merge it into the corresponding traffic intersection image set; 70. Convert image collections from different intersections into video streams in chronological order.
2. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 10 includes: the initial state of the camera is vertical downward, that is, θ=0, the camera head rotates at an angle θ to capture high-precision images, and the shooting area range is recorded in chronological order into a set Q with the camera device shooting angle θ t θ .
3. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 20 includes, using the image with rotation angle θ=0 as a reference image, t θ The image with rotation angle θ≠0 is transformed by the affine transformation formula Perform image space transformation, where (u, v) is the original image pixel coordinate, (x, y) is the image pixel coordinate after transformation, is the perspective transformation matrix; we get the image set Q with rotation angle θ=0 t 0.
4. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 30 includes obtaining satellite map data of the target area, extracting all traffic intersection information from the satellite map data, constructing a network topology graph G = (V, E) with all intersections in the target area as vertices, and constructing a ground network coordinate set I of the target intersection.
5. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 40 includes 41. The high-precision image taken by the camera carried by the drone is used as the input image, and the feature map F is obtained by extracting features through the feature pyramid network; 42. Perform image preprocessing on the input image to make it have the same contrast, brightness, etc. as the target intersection grid coordinate set I.
6. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 50 includes Set the target intersection coordinate x i , the feature graph F and the node I of the target intersection ground grid coordinate set i Integrate to get F i , through iterative matching formula Determine the coordinate information x of the next intersection i+1 , until the current intersection is the last intersection; Where π is the iterative matching strategy, π is optimized by formula Optimize and finally obtain a high-precision image with network coordinates.
7. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 60 includes 61. Crop the entire image into several individual intersection coordinate images A with the intersection coordinates as vertices t i , where i = (x, y) is the number of traffic intersections with coordinate data obtained by cropping, and t is the timestamp of the current input image; classify the traffic intersection images according to the traffic intersection coordinate data to obtain the set A t i ={A t i 丨t > 0}; 62. Repeat step 61 to enrich set A t i ={A t i 丨t > 0}.
8. The method for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 1, characterized in that: Step 70 includes 71. For set A t i Perform secondary image processing to obtain expected image data; 72. The expected image data of different intersections are input into the video encoder in time sequence, and the video encoder converts the image sequence into a video stream.
9. A real-time video system for generating multiple traffic intersections by stratospheric space monitoring, characterized in that: include Drone: Determine the target intersection, and the drone position will no longer change; Control equipment: determine the target intersection and select the next target intersection position according to the intersection ground grid coordinates; calculate the rotation angle and rotation direction of the camera pan / tilt to capture high-precision images; Camera equipment: installed on the UAV, with high definition and high frame rate, the camera equipment should be able to adapt to changes in atmospheric conditions and be able to capture real-time images of traffic intersections; Ground server: Establish a ground-side server system to receive, store and process image data transmitted by the drone. The ground server should have high performance and large-capacity storage capabilities to cope with the processing requirements of real-time image data; Transmission equipment: installed on the drone, the drone needs to be equipped with transmission equipment so that the captured images can be transmitted to the ground server in real time for processing and analysis. Wireless signal transmission equipment or satellite communication equipment can be used to achieve data transmission.
10. The system for generating real-time video of multiple traffic intersections by stratospheric space monitoring according to claim 9 is characterized in that: This includes selecting a drone suitable for working in the stratosphere. The drone needs to have height, stability and safety to ensure that it can fly for a long time in the stratosphere and carry corresponding equipment.
