Intelligent traffic light control method and control platform equipment
By connecting cameras and traffic light control platform equipment at intersections, the traffic light parameters are dynamically adjusted to solve the traffic efficiency and safety problems of traditional traffic lights during peak periods or when concentrated crossing the road, and achieve more efficient and safer traffic management. .
Patent Information
- Application Number
- CN202410691638.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
During rush hours or when crossing the road together, the fixed display of traditional traffic lights leads to congestion and safety problems, making it difficult to ensure the traffic efficiency and safety of intersections.
By connecting cameras and traffic light control platform equipment, we can obtain images of people flow, determine the population and length of zebra crossings, dynamically adjust the working parameters of traffic lights to adapt to the flow of people, and adjust the duration and brightness of traffic lights.
It improves the traffic efficiency and safety of intersections during peak hours or when crossing the road together. By dynamically adjusting traffic light parameters, it reduces congestion and improves the efficiency of traffic order maintenance.
Smart Images

Figure CN118609384A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to an intelligent traffic light control method and control platform device. Background Art
[0002] At present, the display of traffic lights is often fixed. For pedestrians, no matter what time it is, even if there are no cars on the road, the light will still be red. And no matter how many people are crossing the road, the traffic light will still show green for a fixed time. During rush hours or when people cross the road in large numbers, it will cause a certain degree of congestion, which is not conducive to traffic safety. Therefore, how to ensure the efficiency and safety of intersections during rush hours or when people cross the road in large numbers needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide an intelligent traffic light control method and a control platform device, which can ensure the traffic efficiency and safety at the intersection during rush hour or when people are crossing the road in large numbers.
[0004] In a first aspect, an embodiment of the present application provides an intelligent traffic light control method, which is applied to a control platform device, wherein the control platform device is connected to a camera and a traffic light at a preset intersection, and the method includes:
[0005] Acquire a pedestrian flow image in a first direction of the preset intersection;
[0006] determining the number of people based on the human flow image;
[0007] When the population is greater than a preset threshold, determining the length of the crowd flow according to the crowd flow image;
[0008] Determining the zebra crossing length of the preset intersection in the first direction;
[0009] Determine the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing;
[0010] The target indicator light is controlled to operate according to the target operating parameter.
[0011] In a second aspect, an embodiment of the present application provides a control platform device, wherein the control platform device is connected to a camera and a traffic light at a preset intersection, and the control platform device comprises: an acquisition unit, a determination unit, and a control unit, wherein:
[0012] The acquisition unit is used to acquire a pedestrian flow image in a first direction of the preset intersection;
[0013] The determination unit is used to determine the number of people according to the crowd image; when the number of people is greater than a preset threshold, determine the length of the crowd according to the crowd image; determine the length of the zebra crossing at the preset intersection in the first direction; determine the target working parameters of the target indicator light of the traffic light in the first direction according to the length of the crowd and the length of the zebra crossing;
[0014] The control unit is used to control the target indicator light to operate according to the target operating parameters.
[0015] In a third aspect, an embodiment of the present application provides a control platform device, comprising a processor, a memory, a human body communication chip, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0018] The implementation of the embodiments of the present application has the following beneficial effects:
[0019] It can be seen that the intelligent traffic light control method and control platform device described in the embodiments of the present application are applied to a control platform device, which connects the camera and traffic light of a preset intersection, obtains a pedestrian flow image in the first direction of the preset intersection, determines the population size based on the pedestrian flow image, and when the population size is greater than a preset threshold, determines the pedestrian flow length based on the pedestrian flow image, determines the zebra crossing length in the first direction of the preset intersection, determines the target working parameters of the target indicator light of the traffic light in the first direction based on the pedestrian flow length and the zebra crossing length, and controls the target indicator light to work based on the target working parameters. During rush hours or when people cross the road in a concentrated manner, the pedestrian flow image can be used to dynamically adjust the working parameters of the traffic light to ensure traffic efficiency and safety at the intersection. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 It is a structural schematic diagram of a control platform device provided in an embodiment of the present application;
[0022] Figure 2 This is a schematic diagram of a scene demonstration of a control platform device provided in an embodiment of the present application;
[0023] Figure 3 It is a flow chart of an intelligent traffic light control method provided in an embodiment of the present application;
[0024] Figure 4 This is a schematic diagram of a zebra crossing scene demonstration provided by an embodiment of the present application;
[0025] Figure 5 This is another schematic diagram of a zebra crossing scene provided by an embodiment of the present application;
[0026] Figure 6 This is another schematic diagram demonstrating a zebra crossing scenario provided by an embodiment of the present application;
[0027] Figure 7 is another structural schematic diagram of a control platform device provided in an embodiment of the present application;
[0028] Figure 8 It is a block diagram of the functional units of a control platform device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The following introduces the system architecture involved in the embodiments of the present application.
[0033] The present application also provides a control platform device 10, such as Figure 1 As shown, the control platform device 10 may include at least one processor 11 ; a display screen 12 ; and a memory 13 , and may also include a bus 14 and a communication interface 15 .
[0034] The processor 11 , the display screen 12 , the memory 13 and the communication interface 15 can communicate with each other via the bus 14 .
[0035] The processor 11 may call logic instructions in the memory 13 to execute the method in the embodiment of the present application.
[0036] The display screen 12 may be used to implement a display function or a human-computer interaction function, and the display screen 12 may be configured to display a user guidance interface pre-set in an initial setting mode.
[0037] The logic instructions in the memory 13 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0038] The memory 13 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the control platform device 10, etc. The memory 13 may also include a high-speed random access memory and / or a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, may also be a transient storage medium.
[0039] The memory 13 can be used as a computer-readable storage medium, which can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present application. The processor 11 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 13.
[0040] The communication interface 15 can be used to transmit information. The communication interface 15 can also be used to connect to a camera and a traffic light at a preset intersection, and the preset intersection can be preset or set by default.
[0041] In a specific implementation, the control platform device 10 may be a traffic control platform or a video matrix, and no unique limitation is made here.
[0042] In the present application embodiment, Figure 2 As shown, the control platform device can be connected to traffic lights and cameras, obtain crowd images through the cameras, and dynamically adjust the working parameters of traffic lights using crowd images, so as to ensure traffic efficiency and safety at intersections during rush hours or when people cross the road in large numbers.
[0043] The following is a detailed description of the embodiments of the present application.
[0044] See also Figure 3 , Figure 3 : is a flow chart of an intelligent traffic light control method provided by an embodiment of the present application, which is applied to a control platform device, wherein the control platform device is connected to a camera and a traffic light at a preset intersection. The intelligent traffic light control method may include the following steps:
[0045] 301. Obtain a pedestrian flow image in a first direction of the preset intersection.
[0046] In the embodiment of the present application, the preset intersection can be preset or set by system default. The control platform device can be connected to the camera and traffic light of the preset intersection. The number of cameras can be one or more, and the traffic light can include one or more indicator lights.
[0047] The first direction may be preset or set by the system by default. In a specific implementation, different directions may correspond to different traffic lights.
[0048] In a specific implementation, a pedestrian flow image in a first direction of a preset intersection may be obtained. Specifically, pedestrians crossing the road may be photographed to obtain a corresponding pedestrian flow image.
[0049] 302. Determine the population size according to the human flow image.
[0050] In the embodiment of the present application, the crowd flow image can be segmented to obtain the corresponding person area, and the person area is counted to obtain the population number corresponding to the crowd flow image.
[0051] 303. When the population is greater than a preset threshold, determine the length of the crowd flow according to the crowd flow image.
[0052] In an embodiment of the present application, the preset threshold may be pre-set or a system default, the preset threshold may be a fixed threshold, or the preset threshold may be a dynamic threshold, for example, the preset threshold may be related to a time period or the preset threshold may be related to the weather.
[0053] In a specific implementation, when the population is greater than a preset threshold, it means that there are a large number of people crossing the road, and the length of the crowd flow can be determined based on the crowd flow image.
[0054] 304. Determine the zebra crossing length of the preset intersection in the first direction.
[0055] In the embodiment of the present application, the length of the zebra crossing in the first direction of the preset intersection can be determined, such as Figure 4 As shown, the length of the zebra crossing is a fixed value.
[0056] 305. Determine target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing.
[0057] In the embodiment of the present application, the traffic light may include multiple indicator lights, each indicator light is responsible for a different direction, and the target indicator light may be an indicator light of the traffic light in the first direction.
[0058] Among them, the target working parameters may include at least one of the following: red light duration, green light duration, yellow light duration, display brightness, display symbol, etc., which are not limited here.
[0059] In a specific implementation, since the length of the pedestrian flow and the length of the zebra crossing determine the indicator light display to a certain extent, the target working parameters of the target indicator light of the traffic light in the first direction can be determined according to the length of the pedestrian flow and the length of the zebra crossing.
[0060] 306. Control the target indicator light to operate according to the target operating parameter.
[0061] In the embodiment of the present application, the working parameters of the traffic light are dynamically adjusted using the image of the flow of people, that is, the target indicator light can be controlled to work according to the target working parameters.
[0062] Optionally, the above step 305, determining the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing, may include the following steps:
[0063] 51. Determine the total length between the length of the pedestrian flow and the length of the zebra crossing;
[0064] 52. Identify a crowd flow area according to the crowd flow image;
[0065] 53. Divide the pedestrian flow area into three area blocks, each area block includes at least one person, and the three area blocks are located from near to far from the zebra crossing;
[0066] 54. Determine the nearest area block and the farthest area block among the three area blocks;
[0067] 55. Identify first character feature information in the nearest area block, and determine a first travel speed according to the first character feature information;
[0068] 56. Identify the second character feature information of the farthest area block, and determine a second travel speed according to the first travel speed and the second character feature information;
[0069] 57. Determine a target duration according to the total length and the second travel speed;
[0070] 58. Determine target operating parameters of the target indicator light of the traffic light in the first direction according to the target duration.
[0071] The first character feature information may include at least one of the following: age, gender, physical condition, occupation, number of people, etc., which are not limited here. The second character feature information may include at least one of the following: age, gender, physical condition, occupation, number of people, etc., which are not limited here.
[0072] The area of the three area blocks may be the same, or the number of people in the three area blocks may be the same, or the area width or area length of the three area blocks may be the same.
[0073] In the present application embodiment, Figure 5As shown, the total length between the length of the pedestrian flow and the length of the zebra crossing can be determined, that is, the total length = the length of the pedestrian flow + the length of the zebra crossing. The pedestrian flow area can also be identified according to the pedestrian flow image, and then the pedestrian flow area is divided into three area blocks, each area block includes at least one person, and the three area blocks are respectively from near to far from the zebra crossing. Further, as Figure 6 As shown, the nearest area block and the farthest area block among the three area blocks can be determined, the nearest area block is the area block closest to the zebra crossing, and the farthest area block is the area block farthest from the zebra crossing, the first character feature information in the nearest area block is identified, and the first travel speed is determined according to the first character feature information, so that the corresponding travel speed can be determined based on the specific character situation of the nearest area block, and the second character feature information of the farthest area block can also be identified, and the second travel speed can be determined according to the first travel speed and the second character feature information. Since the nearest area block is closest to the zebra crossing, it is also the first group of people who may finish walking across the zebra crossing, and since the people in the nearest area block will block the people behind, therefore, the travel speed of the people in the nearest area block is equivalent to the fastest speed of the people crossing the zebra crossing, and whether the road is successfully crossed, it is necessary to consider the people in the last area of the crowd, that is, the farthest area block, and the travel speed of the people in the farthest area block reflects the actual progress of crossing the zebra crossing to a certain extent. Therefore, considering that the travel speed of the farthest area block is restrained by the nearest area block, the time consumption of the actual flow of people crossing the zebra crossing is accurately evaluated.
[0074] Next, the target duration can be determined based on the total length and the second travel speed, target duration = total length / second travel speed, and then the target operating parameters of the target indicator light of the traffic light in the first direction are determined based on the target duration. For example, the green light duration of the target indicator light can be set to be no less than the target duration. Of course, other indicator lights can also be adjusted in coordination with each other to ensure that vehicles will not affect pedestrians crossing the road.
[0075] Optionally, the above step 55, identifying the first person feature information in the nearest area block, and determining the first travel speed according to the first person feature information, may include the following steps:
[0076] 551. Determine the identity information of the person in the nearest area block to obtain at least one first identity information, where the first identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0077] 552. Determine a travel speed corresponding to each identity information in the at least one first identity information to obtain at least one travel speed;
[0078] 553. Determine the first traveling speed according to the at least one traveling speed.
[0079] The first identity information includes at least one of the following: age, gender, physical condition, and occupation.
[0080] In an embodiment of the present application, image recognition technology can be used to determine the identity information of the person in the nearest area block to obtain at least one first identity information. The mapping relationship between the preset identity information and the travel speed can also be pre-stored, and the travel speed corresponding to each identity information in the at least one first identity information is determined based on the mapping relationship to obtain at least one travel speed. Finally, the first travel speed can be determined based on the at least one travel speed. For example, the first travel speed is equal to the average value of the at least one travel speed. In this way, the travel speed can be dynamically evaluated based on the identity of the person in the crowd, and the precise control and safety of the traffic lights can be guaranteed.
[0081] Optionally, the above step 56, identifying the second character feature information of the farthest area block, and determining the second travel speed according to the first travel speed and the second character feature information, may include the following steps:
[0082] 561. Determine the identity information of the person in the farthest area block to obtain at least one second identity information, where the second identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0083] 562. Determine a travel speed corresponding to each identity information in the at least one second identity information, obtain at least one reference travel speed, and determine a target mean square error of the at least one reference travel speed;
[0084] 563. Determine the second traveling speed according to the target mean square error and the first traveling speed.
[0085] The second identity information may include at least one of the following: age, gender, physical condition, occupation, etc., which are not limited here.
[0086] In an embodiment of the present application, the identity information of the person in the farthest area block can be determined to obtain at least one second identity information. The mapping relationship between the preset identity information and the travel speed can also be pre-stored. The travel speed corresponding to each identity information in the at least one second identity information is determined based on the mapping relationship to obtain at least one reference travel speed, and the target mean square error of the at least one reference travel speed is determined. The mapping relationship between the preset mean square error and the influence coefficient can be pre-stored, and the target influence coefficient corresponding to the target mean square error is determined based on the mapping relationship. The value range of the influence coefficient is 0 to 0.15, and the second travel speed = the first travel speed * (1-target influence coefficient), wherein the smaller the mean square error, the smaller the influence coefficient, and the larger the mean square error, the larger the influence coefficient. The mean square error reflects the difference in the travel speed of the crowd in the farthest area block to a certain extent. In this way, considering that the travel speed of the farthest area block is restrained by the nearest area block, combined with the difference between the travel speeds of the people in the farthest area block, the time consumption of the actual flow of people crossing the zebra crossing is accurately evaluated.
[0087] Optionally, the above step 58, determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the target duration, may include the following steps:
[0088] 581. Obtain target environment parameters;
[0089] 582. Determine a first adjustment parameter corresponding to the target environmental parameter;
[0090] 583. Adjust the target duration according to the first adjustment parameter to obtain a first duration, wherein the first adjustment parameter is used to extend the target duration;
[0091] 584. Determine a target green light display duration of the target indicator light corresponding to the first duration.
[0092] In the embodiment of the present application, the environmental parameters may include at least one of the following: weather, temperature, humidity, visibility, PM2.5, atmospheric pressure, ambient brightness, etc., which are not limited here.
[0093] In a specific implementation, the target environmental parameters can be obtained, and the mapping relationship between the preset environmental parameters and the adjustment parameters can be pre-stored. The value range of the adjustment parameter can be 0 to 0.2. The first adjustment parameter corresponding to the target environmental parameter is determined based on the mapping relationship, and then the target duration is adjusted according to the first adjustment parameter to obtain the first duration. The first adjustment parameter is used to extend the target duration, that is, the first duration = (1 + first adjustment parameter) * target duration, and then the target green light display duration of the target indicator light corresponding to the first duration is determined. The target green light display duration is greater than or equal to the first duration. In this way, the green light duration can be dynamically adjusted based on the actual environmental conditions to ensure that pedestrians can cross the road smoothly, which helps to ease the flow of people and improve the efficiency and safety of maintaining traffic order.
[0094] Furthermore, the above step 584, determining the target green light display duration of the target indicator light corresponding to the first duration, may include the following steps:
[0095] S1, determining the target traffic congestion state value corresponding to the zebra crossing;
[0096] S2. determining a second adjustment parameter corresponding to the target traffic congestion state value;
[0097] S3. Adjust the first duration according to the second adjustment parameter to obtain a second duration, wherein the second adjustment parameter is used to shorten the first duration;
[0098] S4. Determine the target green light display duration of the target indicator light corresponding to the second duration.
[0099] In an embodiment of the present application, a traffic image in a first direction can be obtained, and a target traffic congestion status value corresponding to the zebra crossing can be determined based on the traffic image. For example, the traffic length can be determined based on the traffic image, and the corresponding traffic congestion status value can be determined based on different traffic lengths. Alternatively, the current time can be obtained, and the target traffic congestion status value corresponding to the current time can be determined according to the mapping relationship between a preset time point and the traffic congestion status value.
[0100] Furthermore, a mapping relationship between a preset traffic congestion state value and an adjustment parameter can be pre-stored, and the value range of the adjustment parameter can be 0 to 0.15. Then, a second adjustment parameter corresponding to the target traffic congestion state value can be determined based on the mapping relationship, and then the first duration is adjusted according to the second adjustment parameter to obtain a second duration. The second adjustment parameter is used to shorten the first duration, that is, the second duration = first duration * (1-second adjustment parameter), and then the target green light display duration of the target indicator light corresponding to the second duration is determined, that is, the target green light display duration can be set greater than or equal to the second duration. In this way, the green light display duration can be dynamically optimized considering the actual traffic congestion situation. Not only the actual environmental conditions are considered to dynamically adjust the green light duration, but also the actual traffic congestion conditions are considered and feedback is adjusted to adjust the green light duration to ensure normal guidance of traffic flow. Not only pedestrians can be ensured to cross the road smoothly, which helps to ease the flow of people, but also traffic diversion is ensured to avoid traffic congestion, thereby improving the efficiency and safety of traffic order maintenance.
[0101] Optionally, the following steps may also be included:
[0102] A1. When the population is less than or equal to the preset threshold, determining the default operating parameters of the target indicator light of the traffic light in the first direction according to the length of the zebra crossing;
[0103] A2. Control the target indicator light to operate according to the default operating parameters.
[0104] Among them, the default working parameters may include at least one of the following: red light duration, green light duration, yellow light duration, display brightness, display symbol, etc., which are not limited here.
[0105] In the embodiment of the present application, when the population is less than or equal to the preset threshold, it means that the flow of people crossing the road is normal. The default operating parameters of the target indicator light of the traffic light in the first direction can be determined according to the length of the zebra crossing, and then the target indicator light can be controlled to work according to the default operating parameters. In this way, when the flow of people is normal, the corresponding green light display time can be configured based on the length of the zebra crossing, and the traffic lights can be reasonably controlled, which not only ensures that pedestrians can cross the road smoothly, but also avoids congestion to a certain extent and ensures the normalization of traffic order.
[0106] It can be seen that the intelligent traffic light control method described in the embodiment of the present application is applied to a control platform device, which connects the camera and traffic light of a preset intersection, obtains a pedestrian flow image in the first direction of the preset intersection, determines the population size based on the pedestrian flow image, and when the population size is greater than a preset threshold, determines the pedestrian flow length based on the pedestrian flow image, determines the zebra crossing length in the first direction of the preset intersection, determines the target working parameters of the target indicator light of the traffic light in the first direction based on the pedestrian flow length and the zebra crossing length, and controls the target indicator light to work based on the target working parameters. During rush hours or when people cross the road in a concentrated manner, the pedestrian flow image can be used to dynamically adjust the working parameters of the traffic light to ensure traffic efficiency and safety at the intersection.
[0107] In accordance with the above embodiment, please refer to Figure 7 , Figure 7 : is a structural diagram of a control platform device provided in an embodiment of the present application. As shown in the figure, the control platform device includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and are configured to be executed by the processor. In the embodiment of the present application, the control platform device is connected to a camera and a traffic light at a preset intersection. The program includes instructions for executing the following steps:
[0108] Acquire a pedestrian flow image in a first direction of the preset intersection;
[0109] determining the number of people based on the human flow image;
[0110] When the population is greater than a preset threshold, determining the length of the crowd flow according to the crowd flow image;
[0111] Determining the zebra crossing length of the preset intersection in the first direction;
[0112] Determine the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing;
[0113] The target indicator light is controlled to operate according to the target operating parameter.
[0114] Optionally, in determining the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing, the above-mentioned program includes instructions for executing the following steps:
[0115] Determine the total length between the length of the pedestrian flow and the length of the zebra crossing;
[0116] identifying a crowd flow area according to the crowd flow image;
[0117] Divide the pedestrian flow area into three area blocks, each area block includes at least one person, and the three area blocks are located from near to far from the zebra crossing in sequence;
[0118] Determine a nearest area block and a farthest area block among the three area blocks;
[0119] Identifying first character feature information in the nearest area block, and determining a first traveling speed according to the first character feature information;
[0120] Identifying second character feature information of the farthest area block, and determining a second travel speed according to the first travel speed and the second character feature information;
[0121] determining a target duration according to the total length and the second travel speed;
[0122] The target operating parameter of the target indicator light of the traffic light in the first direction is determined according to the target duration.
[0123] Optionally, in the aspect of identifying the first person feature information in the nearest area block and determining the first travel speed according to the first person feature information, the program includes instructions for executing the following steps:
[0124] Determine the identity information of the person in the nearest area block to obtain at least one first identity information, wherein the first identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0125] Determine a travel speed corresponding to each identity information in the at least one first identity information to obtain at least one travel speed;
[0126] The first travel speed is determined based on the at least one travel speed.
[0127] Optionally, in the aspect of identifying the second character feature information of the farthest area block and determining the second travel speed according to the first travel speed and the second character feature information, the program includes instructions for executing the following steps:
[0128] Determine the identity information of the person in the farthest area block to obtain at least one second identity information, wherein the second identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0129] Determine a travel speed corresponding to each identity information in the at least one second identity information, obtain at least one reference travel speed, and determine a target mean square error of the at least one reference travel speed;
[0130] The second traveling speed is determined according to the target mean square error and the first traveling speed.
[0131] Optionally, in determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the target duration, the program includes instructions for executing the following steps:
[0132] Get target environment parameters;
[0133] Determining a first adjustment parameter corresponding to the target environmental parameter;
[0134] Adjust the target duration according to the first adjustment parameter to obtain a first duration, wherein the first adjustment parameter is used to extend the target duration;
[0135] A target green light display duration of the target indicator light corresponding to the first duration is determined.
[0136] Optionally, in determining the target green light display duration of the target indicator light corresponding to the first duration, the program includes instructions for executing the following steps:
[0137] Determine a target traffic congestion state value corresponding to the zebra crossing;
[0138] determining a second adjustment parameter corresponding to the target traffic congestion state value;
[0139] Adjust the first duration according to the second adjustment parameter to obtain a second duration, wherein the second adjustment parameter is used to shorten the first duration;
[0140] The target green light display duration of the target indicator light corresponding to the second duration is determined.
[0141] Optionally, the program further includes instructions for executing the following steps:
[0142] When the population is less than or equal to the preset threshold, determining the default operating parameters of the target indicator light of the traffic light in the first direction according to the length of the zebra crossing;
[0143] The target indicator light is controlled to operate according to the default operating parameters.
[0144] It can be seen that the control platform device described in the embodiment of the present application is connected to the camera and traffic light of the preset intersection, obtains the pedestrian flow image in the first direction of the preset intersection, determines the population size based on the pedestrian flow image, and when the population size is greater than the preset threshold, determines the pedestrian flow length based on the pedestrian flow image, determines the zebra crossing length in the first direction of the preset intersection, determines the target working parameters of the target indicator light of the traffic light in the first direction based on the pedestrian flow length and the zebra crossing length, controls the target indicator light to work based on the target working parameters, and can use the pedestrian flow image to dynamically adjust the working parameters of the traffic light during rush hours or when people cross the road in a concentrated manner to ensure traffic efficiency and safety at the intersection.
[0145] Figure 8 800 is a functional unit composition block diagram of a control platform device 800 involved in an embodiment of the present application. The control platform device 800 is connected to a camera and a traffic light at a preset intersection. The control platform device 800 includes: an acquisition unit 801, a determination unit 802 and a control unit 803, wherein:
[0146] The acquisition unit 801 is used to acquire a pedestrian flow image in a first direction of the preset intersection;
[0147] The determination unit 802 is used to determine the number of people according to the crowd image; when the number of people is greater than a preset threshold, determine the length of the crowd according to the crowd image; determine the length of the zebra crossing at the preset intersection in the first direction; determine the target working parameters of the target indicator light of the traffic light in the first direction according to the length of the crowd and the length of the zebra crossing;
[0148] The control unit 803 is used to control the target indicator light to work according to the target working parameters.
[0149] Optionally, in determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing, the determining unit 802 is specifically used to:
[0150] Determine the total length between the length of the pedestrian flow and the length of the zebra crossing;
[0151] identifying a crowd flow area according to the crowd flow image;
[0152] Divide the pedestrian flow area into three area blocks, each area block includes at least one person, and the three area blocks are located from near to far from the zebra crossing in sequence;
[0153] Determine a nearest area block and a farthest area block among the three area blocks;
[0154] Identifying first character feature information in the nearest area block, and determining a first traveling speed according to the first character feature information;
[0155] Identifying second character feature information of the farthest area block, and determining a second travel speed according to the first travel speed and the second character feature information;
[0156] determining a target duration according to the total length and the second travel speed;
[0157] The target operating parameter of the target indicator light of the traffic light in the first direction is determined according to the target duration.
[0158] Optionally, in the step of identifying the first person feature information in the nearest area block and determining the first moving speed according to the first person feature information, the determining unit 802 is specifically configured to:
[0159] Determine the identity information of the person in the nearest area block to obtain at least one first identity information, wherein the first identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0160] Determine a travel speed corresponding to each identity information in the at least one first identity information to obtain at least one travel speed;
[0161] The first travel speed is determined based on the at least one travel speed.
[0162] Optionally, in the aspect of identifying the second character feature information of the farthest area block and determining the second travel speed according to the first travel speed and the second character feature information, the determining unit 802 is specifically configured to:
[0163] Determine the identity information of the person in the farthest area block to obtain at least one second identity information, wherein the second identity information includes at least one of the following: age, gender, physical condition, and occupation;
[0164] Determine a travel speed corresponding to each identity information in the at least one second identity information, obtain at least one reference travel speed, and determine a target mean square error of the at least one reference travel speed;
[0165] The second traveling speed is determined according to the target mean square error and the first traveling speed.
[0166] Optionally, in determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the target duration, the determining unit 802 is specifically configured to:
[0167] Get target environment parameters;
[0168] Determining a first adjustment parameter corresponding to the target environmental parameter;
[0169] Adjust the target duration according to the first adjustment parameter to obtain a first duration, wherein the first adjustment parameter is used to extend the target duration;
[0170] A target green light display duration of the target indicator light corresponding to the first duration is determined.
[0171] Optionally, in determining the target green light display duration of the target indicator light corresponding to the first duration, the determining unit 802 is specifically configured to:
[0172] Determine a target traffic congestion state value corresponding to the zebra crossing;
[0173] determining a second adjustment parameter corresponding to the target traffic congestion state value;
[0174] Adjust the first duration according to the second adjustment parameter to obtain a second duration, wherein the second adjustment parameter is used to shorten the first duration;
[0175] The target green light display duration of the target indicator light corresponding to the second duration is determined.
[0176] Optionally, the control platform device 800 is further specifically used for:
[0177] When the population is less than or equal to the preset threshold, determining the default operating parameters of the target indicator light of the traffic light in the first direction according to the length of the zebra crossing;
[0178] The target indicator light is controlled to operate according to the default operating parameters.
[0179] It can be seen that the control platform device described in the embodiment of the present application is connected to the camera and traffic light of the preset intersection, obtains the pedestrian flow image in the first direction of the preset intersection, determines the population size based on the pedestrian flow image, and when the population size is greater than the preset threshold, determines the pedestrian flow length based on the pedestrian flow image, determines the zebra crossing length in the first direction of the preset intersection, determines the target working parameters of the target indicator light of the traffic light in the first direction based on the pedestrian flow length and the zebra crossing length, controls the target indicator light to work based on the target working parameters, and can use the pedestrian flow image to dynamically adjust the working parameters of the traffic light during rush hours or when people cross the road in a concentrated manner to ensure traffic efficiency and safety at the intersection.
[0180] It can be understood that the functions of each program module of the control platform device of this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0181] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0182] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the above method embodiment. The computer program product may be a software installation package.
[0183] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0184] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0185] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0186] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0187] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0188] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0189] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0190] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An intelligent traffic light control method, characterized in that: Applied to a control platform device, the control platform device is connected to a camera and a traffic light at a preset intersection, and the method includes: Acquire a pedestrian flow image in a first direction of the preset intersection; determining the number of people based on the human flow image; When the population is greater than a preset threshold, determining the length of the crowd flow according to the crowd flow image; Determining the zebra crossing length of the preset intersection in the first direction; Determine the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing; The target indicator light is controlled to operate according to the target operating parameter.
2. The method according to claim 1, characterized in that The step of determining the target operating parameters of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing includes: Determine the total length between the length of the pedestrian flow and the length of the zebra crossing; identifying a crowd flow area according to the crowd flow image; Divide the pedestrian flow area into three area blocks, each area block includes at least one person, and the three area blocks are located from near to far from the zebra crossing in sequence; Determine a nearest area block and a farthest area block among the three area blocks; Identifying first character feature information in the nearest area block, and determining a first traveling speed according to the first character feature information; Identifying second character feature information of the farthest area block, and determining a second travel speed according to the first travel speed and the second character feature information; determining a target duration according to the total length and the second travel speed; The target operating parameter of the target indicator light of the traffic light in the first direction is determined according to the target duration.
3. The method according to claim 2, characterized in that The identifying first person feature information in the nearest area block and determining a first travel speed according to the first person feature information includes: Determine the identity information of the person in the nearest area block to obtain at least one first identity information, wherein the first identity information includes at least one of the following: age, gender, physical condition, and occupation; Determine a travel speed corresponding to each identity information in the at least one first identity information to obtain at least one travel speed; The first travel speed is determined based on the at least one travel speed.
4. The method according to claim 2 or 3, characterized in that: The identifying the second character feature information of the farthest area block, and determining the second travel speed according to the first travel speed and the second character feature information, comprises: Determine the identity information of the person in the farthest area block to obtain at least one second identity information, wherein the second identity information includes at least one of the following: age, gender, physical condition, and occupation; Determine a travel speed corresponding to each identity information in the at least one second identity information, obtain at least one reference travel speed, and determine a target mean square error of the at least one reference travel speed; The second traveling speed is determined according to the target mean square error and the first traveling speed.
5. The method according to claim 2 or 3, characterized in that: The step of determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the target duration includes: Get target environment parameters; Determining a first adjustment parameter corresponding to the target environmental parameter; Adjust the target duration according to the first adjustment parameter to obtain a first duration, wherein the first adjustment parameter is used to extend the target duration; A target green light display duration of the target indicator light corresponding to the first duration is determined.
6. The method according to claim 5, characterized in that The step of determining a target green light display duration of the target indicator light corresponding to the first duration includes: Determine a target traffic congestion state value corresponding to the zebra crossing; determining a second adjustment parameter corresponding to the target traffic congestion state value; Adjust the first duration according to the second adjustment parameter to obtain a second duration, wherein the second adjustment parameter is used to shorten the first duration; The target green light display duration of the target indicator light corresponding to the second duration is determined.
7. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the population is less than or equal to the preset threshold, determining the default operating parameters of the target indicator light of the traffic light in the first direction according to the length of the zebra crossing; The target indicator light is controlled to operate according to the default operating parameters.
8. A control platform device, characterized in that: The control platform device is connected to the camera and traffic lights at the preset intersection, and the control platform device includes: an acquisition unit, a determination unit and a control unit, wherein: The acquisition unit is used to acquire a pedestrian flow image in a first direction of the preset intersection; The determination unit is used to determine the number of people according to the crowd image; when the number of people is greater than a preset threshold, determine the length of the crowd according to the crowd image; determine the length of the zebra crossing at the preset intersection in the first direction; determine the target working parameters of the target indicator light of the traffic light in the first direction according to the length of the crowd and the length of the zebra crossing; The control unit is used to control the target indicator light to operate according to the target operating parameters.
9. The control platform device according to claim 8, characterized in that: In determining the target operating parameter of the target indicator light of the traffic light in the first direction according to the length of the pedestrian flow and the length of the zebra crossing, the determining unit is specifically used for: Determine the total length between the length of the pedestrian flow and the length of the zebra crossing; identifying a crowd flow area according to the crowd flow image; Divide the pedestrian flow area into three area blocks, each area block includes at least one person, and the three area blocks are located from near to far from the zebra crossing in sequence; Determine a nearest area block and a farthest area block among the three area blocks; Identifying first character feature information in the nearest area block, and determining a first traveling speed according to the first character feature information; Identifying second character feature information of the farthest area block, and determining a second travel speed according to the first travel speed and the second character feature information; determining a target duration according to the total length and the second travel speed; The target operating parameter of the target indicator light of the traffic light in the first direction is determined according to the target duration.
10. The control platform device according to claim 9, characterized in that: In the aspect of identifying the first person feature information in the nearest area block and determining the first moving speed according to the first person feature information, the determining unit is specifically used for: Determine the identity information of the person in the nearest area block to obtain at least one first identity information, wherein the first identity information includes at least one of the following: age, gender, physical condition, and occupation; Determine a travel speed corresponding to each identity information in the at least one first identity information to obtain at least one travel speed; The first travel speed is determined based on the at least one travel speed.
