Spatiotemporal lighting control method and system based on video image data processing
Through video image data processing, pedestrian characteristics and human flow information are extracted, and lighting control instructions are generated, which solves the problem that the existing lighting control system cannot accurately judge the human flow and energy saving, and achieves adaptive adjustment and efficient energy saving of the lighting system.
Patent Information
- Application Number
- CN202311586594.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-11-24
AI Technical Summary
The existing lighting control system has a low level of intelligence in public places, cannot accurately judge the flow of people, is prone to malfunctions, and has no obvious energy-saving effect.
A spatiotemporal lighting control method based on video image data processing is used to obtain video image data through the camera, extract pedestrian coordinate frame information and target feature information, input the traffic prediction model, generate lighting control instructions, and adaptively adjust lighting brightness.
It achieves accurate judgment of the flow of people, improves the energy-saving effect and user experience of the lighting system, and can adjust the lighting brightness according to the real-time flow of people, ensuring safety and saving energy.
Smart Images

Figure CN117545145B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting control technology, and in particular to a spatiotemporal lighting control method and system based on video image data processing. Background Art
[0002] The activities of people in public places are relatively complex. The existing lighting control system has a low level of intelligence and cannot meet both lighting function requirements and maximum energy saving requirements. Most of the existing lighting control technologies use voice control technology and infrared technology to determine whether there are people in the lighting area, thereby controlling whether the lighting fixtures are turned on. These lighting control methods are relatively simple, cannot accurately determine the flow of people, are prone to misoperation, and have little energy-saving effect. Summary of the invention
[0003] In view of the defects in the prior art, the present invention provides a spatiotemporal lighting control method and system based on video image data processing, which can accurately judge the flow of people, has good energy-saving effect and good user experience.
[0004] In a first aspect, an embodiment of the present invention provides a spatiotemporal lighting control method based on video image data processing, comprising the following steps:
[0005] S1, divide the lighting area, and obtain the video image data of each lighting area at the current time through the camera;
[0006] S2, processing the video image data, extracting pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction;
[0007] S3, inputting the pedestrian feature information into a pre-built traffic flow prediction model to obtain the pedestrian flow information of each lighting area at the next time;
[0008] S4, generating a lighting control instruction according to the pedestrian flow information, and performing lighting control according to the lighting control instruction.
[0009] Preferably, in step S1, the lighting areas are divided, and video image data of each lighting area at the current time is obtained through a camera, including:
[0010] S21, obtaining division parameters, where the division parameters include a standard width and a standard length;
[0011] S22, when the area to be divided is a corridor-type area, dividing the area to be divided according to the standard length;
[0012] S23: When the area to be divided is a room-type area, the area to be divided is divided according to the standard length and the standard width.
[0013] Preferably, in step S2, the video image data is processed to extract pedestrian coordinate frame information and pedestrian target feature information in the video image data, including:
[0014] S21, preprocessing the video image data;
[0015] S22, inputting the preprocessed video image data into a pre-built human body segmentation model to obtain a plurality of human body coordinate frames;
[0016] S23, when the human body coordinate frames overlap, calculating the IoU value of the overlapping human body coordinate frames, and determining whether the IoU value is less than a preset threshold;
[0017] S24, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames;
[0018] S25, if not, determining an overlap parameter according to the minimum circumscribed rectangle between the overlapping human body coordinate frames and the center point of the overlapping human body coordinate frames, and judging whether the overlap parameter is less than a preset overlap threshold;
[0019] S26, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames;
[0020] S27, if not, retain the human body coordinate frame with the most complete human body outline, delete the remaining human body coordinate frames, and obtain human body coordinate frame information.
[0021] Preferably, the formula for determining the overlap parameter according to the minimum circumscribed rectangle between the overlapping human body coordinate frames and the center point is:
[0022]
[0023] Among them, P(A, B) is the overlap parameter, β is the Euclidean distance between the human coordinate frame A and the human coordinate frame B, c is the diagonal length of the minimum circumscribed rectangle between the human coordinate frame A and the human coordinate frame B, IoU(A, B) is the IoU value of the human coordinate frame A and the human coordinate frame B, and the human coordinate frame A overlaps with the human coordinate frame B.
[0024] Preferably, in step S2, the video image data is processed to extract the pedestrian coordinate frame information and pedestrian target feature information in the video image data, and further includes:
[0025] S28, extracting pedestrian features according to the human body coordinate frame information and identifying movement trajectories;
[0026] S29, obtaining the state of the pedestrian entering and exiting the lighting area and the direction of the pedestrian entering and exiting the lighting area according to the motion trajectory.
[0027] Preferably, step S28, extracting pedestrian features and identifying motion trajectories according to the human body coordinate frame information, includes:
[0028] S201, extracting pedestrian features according to the human body coordinate frame information, wherein the pedestrian features include facial features;
[0029] S202, calculating the similarity of facial features in adjacent time series, and determining whether the similarity is greater than a preset similarity;
[0030] S203, if yes, recognize the facial features in the adjacent time series as the facial features of the same pedestrian; if no, recognize the pedestrian flow features in the adjacent time series as the facial features of different pedestrians;
[0031] S204, identifying the motion trajectory according to multiple facial features of the same pedestrian.
[0032] Preferably, the pedestrian feature also includes a pedestrian sparsity feature, and the pedestrian sparsity feature is determined according to the overlap of human body coordinate frames.
[0033] Preferably, S4, generating a lighting control instruction according to the pedestrian flow information, includes:
[0034] S41, obtaining ambient lighting information;
[0035] S42, determining lighting brightness according to the pedestrian flow information and ambient light information;
[0036] S43: Generate a lighting control instruction according to the lighting brightness.
[0037] In a second aspect, an embodiment of the present invention provides a spatiotemporal lighting control system based on video image data processing, comprising:
[0038] An area division module is used to divide the lighting area, configure multiple lighting groups and multiple cameras for each lighting area, and obtain video image data corresponding to the current time through the camera;
[0039] A feature extraction module processes the video image data to extract pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction;
[0040] A traffic prediction module, used to input the pedestrian feature information into a pre-built traffic prediction model to obtain the pedestrian flow information of each lighting area at the next time;
[0041] The lighting control module is used to generate a lighting control instruction according to the pedestrian flow information, and perform lighting control according to the lighting control instruction.
[0042] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any method described in the above embodiments are implemented.
[0043] The beneficial effects of the present invention are embodied in:
[0044] The present invention provides a spatiotemporal lighting control system and method based on video image data processing, the method comprising the following steps: S1, dividing the lighting area, obtaining the video image data of each lighting area at the current time through a camera; S2, processing the video image data, extracting the pedestrian coordinate frame information and pedestrian target feature information in the video image data, the pedestrian target feature information including pedestrian features, pedestrian entry and exit lighting area status and pedestrian entry and exit lighting area direction; S3, inputting the pedestrian target feature information into a pre-built traffic prediction model to obtain the pedestrian flow information of each lighting area at the next time; S4, generating a lighting control instruction according to the pedestrian flow information, and performing lighting control according to the lighting control instruction. The method of the present invention can accurately measure the pedestrian flow information through video image processing, generate a lighting control instruction according to the real-time measured pedestrian flow information, and realize the adaptive adjustment of the lighting system. When the pedestrian flow is large, the lighting brightness can be increased to ensure safety; and when the pedestrian flow is small or no one is there, the lighting brightness can be reduced to save energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0046] Figure 1 A flow chart of a spatiotemporal lighting control method based on video image data processing provided by an embodiment of the present invention;
[0047] Figure 2 A flow chart of step S2 of a spatiotemporal lighting control method based on video image data processing is provided for an embodiment of the present invention;
[0048] Figure 3 Another flow chart of step S2 of a spatiotemporal lighting control method based on video image data processing is provided for an embodiment of the present invention;
[0049] Figure 4 A schematic diagram of overlapping human body coordinate frames provided by an embodiment of the present invention;
[0050] Figure 5 A sub-flow chart of step S2 of a spatiotemporal lighting control method based on video image data processing is provided for an embodiment of the present invention;
[0051] Figure 6 Another sub-flow chart of step S2 of a spatiotemporal lighting control method based on video image data processing is provided for an embodiment of the present invention;
[0052] Figure 7 A flowchart of step S4 of a spatiotemporal lighting control method based on video image data processing is provided for an embodiment of the present invention;
[0053] Figure 8 A schematic structural diagram of a spatiotemporal lighting control system based on video image data processing is provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0055] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0056] Example 1
[0057] Please refer to Figure 1 The embodiment of the present invention provides a spatiotemporal lighting control method based on video image data processing, comprising the following steps:
[0058] S1, divide the lighting area, and obtain the video image data of each lighting area at the current time through the camera.
[0059] Please refer to Figure 2 In the embodiment of the present invention, in step S1, the lighting area is divided, and the video image data of each lighting area at the current time is obtained through the camera, including:
[0060] S21, obtaining division parameters, where the division parameters include a standard width and a standard length;
[0061] S22, when the area to be divided is a corridor-type area, dividing the area to be divided according to the standard length;
[0062] S23: When the area to be divided is a room-type area, the area to be divided is divided according to the standard length and the standard width.
[0063] The division parameter may also be a radius, diameter, etc. When the area to be divided is an irregular shape, it is divided by the closest regular shape, and the irregular part after division is merged into the adjacent regular part. Each lighting area can be configured with the same or different number of lighting groups, and cameras with the same or different data can be configured.
[0064] For example, suppose that a lighting system of a large office building needs to be divided and controlled. First, it is necessary to obtain the division parameters, that is, the standard width and the standard length, assuming that the standard width is 3 meters and the standard length is 10 meters.
[0065] For corridors, suppose there is a 30-meter-long corridor. According to the standard length of 10 meters, the corridor can be divided into 3 equal-length sections, each of which is 10 meters long. For rooms, suppose there is a room with a width of 6 meters and a length of 12 meters. According to the standard width of 3 meters and the standard length of 10 meters, the room can be divided into 4 equal-width sections, each of which is 3 meters wide and 10 meters long.
[0066] The embodiment of the present invention can realize lighting control of different areas by acquiring video image data of each lighting area at the current time through a camera. According to the division result, each area can be independently controlled for lighting, and the brightness, color and other parameters of the lighting can be adjusted as needed to meet the needs and scenes of different areas.
[0067] S2, processing the video image data, extracting pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction.
[0068] Please refer to Figure 3 In the embodiment of the present invention, in step S2, the video image data is processed to extract the pedestrian coordinate frame information and pedestrian target feature information in the video image data, including:
[0069] S21, preprocessing the video image data; specifically, the preprocessing of the video data includes: image denoising: using denoising algorithms, such as Gaussian filtering, median filtering, etc., to remove noise in the image to improve the accuracy and effect of subsequent processing; image enhancement: using image enhancement algorithms, such as histogram equalization, contrast enhancement, etc., to enhance the brightness, contrast and other features of the image to improve the visual effect of the image; facilitating the subsequent tracking of pedestrians to obtain accurate pedestrian flow information.
[0070] S22, inputting the preprocessed video image data into a pre-built human body segmentation model to obtain a plurality of human body coordinate frames;
[0071] S23, when the human body coordinate frames overlap, calculating the IoU value of the overlapping human body coordinate frames, and determining whether the IoU value is less than a preset threshold;
[0072] S24, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames;
[0073] S25, if not, determining an overlap parameter according to the minimum circumscribed rectangle between the overlapping human body coordinate frames and the center point of the overlapping human body coordinate frames, and judging whether the overlap parameter is less than a preset overlap threshold;
[0074] S26, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames;
[0075] S27, if not, retain the human body coordinate frame with the most complete human body outline, delete the remaining human body coordinate frames, and obtain human body coordinate frame information.
[0076] When processing video images, the position of the human body in the image may shift due to changes in the camera's viewing angle, resulting in overlapping coordinate frames. When multiple human bodies block each other during the shooting process, the coordinate frames may overlap. For example, if a person stands behind another person, the coordinate frame of the former may overlap with the coordinate frame of the latter, resulting in over-counting, under-counting, etc.
[0077] In the prior art, when confirming the human body coordinate frame, generally only the IoU value method is used for judgment. Although the IoU value method can greatly reduce the redundancy of the human body coordinate frame, it is easy to cause different target human body coordinate frames with a high overlap rate to be mistakenly deleted, making some adjacent objects of the same type easily regarded as a pedestrian. To address this problem, the present application introduces a new concept, namely the overlap parameter, based on the prior art.
[0078] Specifically, the calculation formula of the overlap parameter is:
[0079]
[0080] Among them, P(A, B) is the overlap parameter, β is the Euclidean distance between the human coordinate frame A and the human coordinate frame B, c is the diagonal length of the minimum circumscribed rectangle between the human coordinate frame A and the human coordinate frame B, IoU(A, B) is the IoU value of the human coordinate frame A and the human coordinate frame B, and the human coordinate frame A overlaps with the human coordinate frame B.
[0081] Please refer to Figure 4 , Figure 4A method of overlapping human coordinate frames is given. In this figure, even if the IoU values of two human coordinate frames are the same, their corresponding overlapping parameters are different. The candidate frames with closer center points and smaller circumscribed rectangles are easier to be judged as the human coordinate frames of the same pedestrian, and the corresponding overlapping parameters are also larger. This data can be used to accurately delete redundant human coordinate frames, further improve the recognition accuracy of pedestrians, and thus improve the recognition accuracy of pedestrian flow.
[0082] Please refer to Figure 5 In the embodiment of the present invention, in step S2, the video image data is processed to extract the pedestrian coordinate frame information and pedestrian target feature information in the video image data, and further includes:
[0083] S28, extracting pedestrian features according to the human body coordinate frame information and identifying movement trajectories;
[0084] S29, obtaining the state of the pedestrian entering and exiting the lighting area and the direction of the pedestrian entering and exiting the lighting area according to the motion trajectory.
[0085] Among them, step S28, extracting pedestrian features according to the human body coordinate frame information and identifying the motion trajectory, includes: S201, extracting pedestrian features according to the human body coordinate frame information, the pedestrian features including facial features; S202, calculating the similarity of facial features in adjacent time sequences, and judging whether the similarity is greater than a preset similarity; S203, if so, identifying the facial features in adjacent time sequences as facial features of the same pedestrian, if not, identifying the crowd features in adjacent time sequences as facial features of different pedestrians; S204, identifying the motion trajectory according to multiple facial features of the same pedestrian.
[0086] S3, inputting the pedestrian feature information into a pre-built traffic prediction model to obtain the pedestrian traffic information of each lighting area at the next time.
[0087] S4, generating a lighting control instruction according to the pedestrian flow information, and performing lighting control according to the lighting control instruction.
[0088] In an embodiment of the present invention, the preset similarity can be set according to user needs to determine similar images in adjacent time sequences as facial features of the same pedestrian, so as to achieve the association of facial features in adjacent time sequences. In one example, the preset similarity is 0.7, and facial feature B is the adjacent facial feature after facial feature A. If the similarity between face B and facial feature A is 0.8, which is greater than 0.7, facial feature B and facial feature A can be determined as the same pedestrian, thereby obtaining the pedestrian's movement trajectory, the state of the lighting area, and the direction of the pedestrian entering and exiting the lighting area.
[0089] It should be noted that the preset similarity cannot be set too small, as it will increase the time complexity. The preset similarity can generally be set to a value between 0.6 and 0.7.
[0090] In an embodiment of the present invention, the pedestrian feature further includes a pedestrian sparsity feature, and the pedestrian sparsity feature is determined according to the overlap of human body coordinate frames.
[0091] The traffic prediction model of the embodiment of the present invention not only takes into account the pedestrian characteristics, the status of the pedestrian lighting area and the direction of pedestrians entering and exiting the lighting area at the current time, but also takes into account the pedestrian sparsity characteristics. The pedestrian sparsity characteristics are used to indicate the pedestrian coefficient. If the facial coordinate frame corresponding to a pedestrian overlaps with the facial coordinate frame corresponding to another pedestrian within the current time period (calculated as the mean here), the two pedestrians are regarded as close pedestrians, and their corresponding pedestrian coefficients will increase. Exemplarily, the pedestrian coefficient can increase by 0.1, 0.2, 0.3, etc., which is determined according to the degree of overlap. If it increases by 0.1, then when counting pedestrians, close pedestrians will be regarded as 1.1 pedestrians. This is because the prediction accuracy of the motion trajectory of a group of pedestrians will be higher.
[0092] Please refer to Figure 7 In an embodiment of the present invention, S4, generating a lighting control instruction according to the pedestrian flow information, includes: S41, acquiring ambient lighting information; S42, determining the lighting brightness according to the pedestrian flow information and the ambient lighting information; S43, generating a lighting control instruction according to the lighting brightness.
[0093] Specifically, when there is less traffic and the ambient light is dim, the lighting brightness can be increased to provide better lighting effects; when there is more traffic and the ambient light is brighter, the lighting brightness can be reduced to save energy. When there is less traffic, a command can be sent to turn on lower brightness lighting; when there is more traffic, a command can be sent to turn on higher brightness lighting.
[0094] In summary, an embodiment of the present invention provides a spatiotemporal lighting control method based on video image data processing, which can obtain video image data of each lighting area at the current time through a camera, process the video image data, extract pedestrian coordinate frame information and pedestrian target feature information in the video image data, and the pedestrian target feature information includes pedestrian characteristics, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction; input the pedestrian target feature information into a pre-constructed traffic prediction model to obtain pedestrian flow information of each lighting area at the next time; generate lighting control instructions according to the pedestrian flow information, and perform lighting control according to the lighting control instructions.
[0095] Example 2
[0096] Please refer to Figure 8, the embodiment of the present invention provides a spatiotemporal lighting control system based on video image data processing, including: an area division module 100, used to divide the lighting area, configure multiple lighting groups and multiple cameras for each lighting area, and obtain the video image data corresponding to the current time through the camera; a feature extraction module 200, which processes the video image data and extracts the pedestrian coordinate frame information and pedestrian target feature information in the video image data, and the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status and pedestrian entry and exit lighting area direction; a flow prediction module 300, which is used to input the pedestrian target feature information into a pre-built flow prediction model to obtain the pedestrian flow information of each lighting area at the next time; a lighting control module, which is used to generate a lighting control instruction according to the pedestrian flow information, and perform lighting control 400 according to the lighting control instruction. The method of the present invention can accurately measure the pedestrian flow information through video image processing, generate lighting control instructions according to the real-time measured pedestrian flow information, and realize the adaptive adjustment of the lighting system. When the pedestrian flow is large, the lighting brightness can be increased to ensure safety; and when the pedestrian flow is small or no one is present, the lighting brightness can be reduced to save energy. The spatiotemporal lighting control method based on video image data processing can improve the efficiency and accuracy of the lighting system, achieve adaptive adjustment and energy saving and environmental protection, and has broad application prospects.
[0097] Example 3
[0098] An embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the following method are implemented:
[0099] S1, divide the lighting area, and obtain the video image data of each lighting area at the current time through the camera;
[0100] S2, processing the video image data, extracting pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction;
[0101] S3, inputting the pedestrian feature information into a pre-built traffic flow prediction model to obtain the pedestrian flow information of each lighting area at the next time;
[0102] S4, generating a lighting control instruction according to the pedestrian flow information, and performing lighting control according to the lighting control instruction.
[0103] The storage medium is a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A spatiotemporal lighting control method based on video image data processing, characterized in that: The following steps are involved: S1, divide the lighting area, and obtain the video image data of each lighting area at the current time through the camera; S2, processing the video image data, extracting pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction; S3, inputting the pedestrian target feature information into a pre-built traffic prediction model to obtain pedestrian traffic information of each lighting area at the next time; S4, generating a lighting control instruction according to the pedestrian flow information, and performing lighting control according to the lighting control instruction; Wherein, in step S2, the video image data is processed to extract the pedestrian coordinate frame information and pedestrian target feature information in the video image data, including: S21, preprocessing the video image data; S22, inputting the preprocessed video image data into a pre-built human body segmentation model to obtain a plurality of human body coordinate frames; S23, when the human body coordinate frames overlap, calculating the IoU value of the overlapping human body coordinate frames, and determining whether the IoU value is less than a preset threshold; S24, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames; S25, if not, determining an overlap parameter according to the minimum circumscribed rectangle between the overlapping human body coordinate frames and the center point of the overlapping human body coordinate frames, and judging whether the overlap parameter is less than a preset overlap threshold; S26, if yes, determining the overlapping human body coordinate frames as different human body coordinate frames; S27, if not, retain the human body coordinate frame with the most complete human body outline, delete the remaining human body coordinate frames, and obtain human body coordinate frame information.
2. The spatiotemporal lighting control method based on video image data processing according to claim 1, characterized in that: In step S1, the lighting areas are divided, and video image data of each lighting area at the current time is obtained through a camera, including: S21, obtaining division parameters, where the division parameters include a standard width and a standard length; S22, when the area to be divided is a corridor-type area, dividing the area to be divided according to the standard length; S23: When the area to be divided is a room-type area, the area to be divided is divided according to the standard length and the standard width.
3. The spatiotemporal lighting control method based on video image data processing according to claim 2, characterized in that: The formula for determining the overlap parameter according to the minimum bounding rectangle between the overlapping human body coordinate frames and the center point is: Among them, P(A, B) is the overlap parameter, β is the Euclidean distance between the human coordinate frame A and the human coordinate frame B, c is the diagonal length of the minimum circumscribed rectangle between the human coordinate frame A and the human coordinate frame B, IoU(A, B) is the IoU value of the human coordinate frame A and the human coordinate frame B, and the human coordinate frame A overlaps with the human coordinate frame B.
4. The spatiotemporal lighting control method based on video image data processing according to claim 2, characterized in that: In step S2, the video image data is processed to extract pedestrian coordinate frame information and pedestrian target feature information in the video image data, and further includes: S28, extracting pedestrian features according to the human body coordinate frame information and identifying movement trajectories; S29, obtaining the state of the pedestrian entering and exiting the lighting area and the direction of the pedestrian entering and exiting the lighting area according to the motion trajectory.
5. The spatiotemporal lighting control method based on video image data processing according to claim 4, characterized in that: Step S28, extracting pedestrian features and identifying motion trajectories according to the human body coordinate frame information, includes: S201, extracting pedestrian features according to the human body coordinate frame information, wherein the pedestrian features include facial features; S202, calculating the similarity of facial features in adjacent time series, and determining whether the similarity is greater than a preset similarity; S203, if yes, recognize the facial features in the adjacent time series as the facial features of the same pedestrian; if no, recognize the pedestrian flow features in the adjacent time series as the facial features of different pedestrians; S204, identifying the motion trajectory according to multiple facial features of the same pedestrian.
6. The spatiotemporal lighting control method based on video image data processing according to claim 5, characterized in that: The pedestrian features also include pedestrian sparsity features, and the pedestrian sparsity features are determined according to the overlap of human body coordinate frames.
7. The spatiotemporal lighting control method based on video image data processing according to claim 1, characterized in that: S4, generating a lighting control instruction according to the pedestrian flow information, including: S41, obtaining ambient lighting information; S42, determining lighting brightness according to the pedestrian flow information and ambient light information; S43: Generate a lighting control instruction according to the lighting brightness.
8. A spatiotemporal lighting control system based on video image data processing, applicable to the steps of the method according to any one of claims 1 to 7, characterized in that: include: An area division module is used to divide the lighting area, configure multiple lighting groups and multiple cameras for each lighting area, and obtain video image data corresponding to the current time through the camera; A feature extraction module processes the video image data to extract pedestrian coordinate frame information and pedestrian target feature information in the video image data, wherein the pedestrian target feature information includes pedestrian features, pedestrian entry and exit lighting area status, and pedestrian entry and exit lighting area direction; A traffic prediction module, used to input the pedestrian target feature information into a pre-built traffic prediction model to obtain the pedestrian flow information of each lighting area at the next time; The lighting control module is used to generate a lighting control instruction according to the pedestrian flow information, and perform lighting control according to the lighting control instruction.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
