Smart street light adjustment control system based on video analysis

Through video analysis technology, the brightness and blur degree of the environment are calculated in real time, and the switching status and brightness of smart street lights are adaptively adjusted, solving the shortcomings of relying on weather forecasts in the existing technology and achieving more efficient lighting and energy-saving effects.

CN116017816BActive Publication Date: 2024-09-03ZHENGZHOU YINFENG ELECTRONIC TECHNOLOGY CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202211669690.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-25
Publication Date
2024-09-03
Estimated Expiration
2042-12-25

AI Technical Summary

Technical Problem

Existing smart street light adjustment methods rely on weather forecasts and cannot accurately and adaptively adjust brightness and color temperature according to actual weather conditions and regional differences, resulting in poor lighting effects, high power consumption, and the need for manual intervention.

Method used

A smart street light adjustment control system based on video analysis is used to obtain surveillance video through the image acquisition module. The environmental brightness and blur degree acquisition module calculates the environmental brightness and blur degree, and determines the reliability based on the video frame serial number, thereby adjusting the street light's switching status, color temperature and temperature. brightness.

Benefits of technology

It realizes adaptive adjustment of smart street lights according to actual environmental conditions, improves lighting effects, reduces power usage, reduces manual participation, and improves the flexibility of adjustment control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017816B
    Figure CN116017816B
Patent Text Reader

Abstract

The present invention relates to the field of image processing, and specifically to a smart street light adjustment and control system based on video analysis, including an image acquisition module, an environment brightness acquisition module, an environment blur degree acquisition module, and a smart street light adjustment and control module: obtaining a reference image and each environment image; obtaining the environment brightness of each environment image according to the first grayscale difference and stability of each pixel point; obtaining the environment blur degree of each environment image according to the texture information amount of each pixel point and the second reference weight; obtaining the reliability of each environment image, combining the environment brightness and the environment blur degree of each environment image to obtain the overall environment brightness and the overall environment blur degree, and obtaining the switch state, color temperature, and brightness value of the smart street light according to the overall environment brightness and the overall environment blur degree. The present invention can automatically adjust the switch, color temperature, and brightness value of the smart street light according to the environmental quality, which is simple and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to an intelligent street lamp adjustment and control system based on video analysis. Background Art

[0002] Smart street lights are based on road lighting poles, integrating public security, traffic signals, communications, traffic signs, etc. into one, realizing multiple poles in one. However, in order to obtain good lighting effects, white light is generally used for lighting when the weather conditions are good; when the weather conditions are poor, such as foggy days, warm yellow light with strong penetrating ability is required, that is, the smart street lights need to be set to different color temperatures according to the weather conditions to obtain good lighting effects.

[0003] Most of the existing methods judge the weather conditions through sensors or weather forecasts, and then adjust the smart street lights according to the judgment results. For example, patent CN104329628A designs a foggy spectrum-adjustable LED smart street light. Although it can provide good lighting effects in different weather conditions, its adjustment method for the smart street light is based on the visibility forecast of foggy and hazy weather given by relevant departments such as meteorological forecasts and road traffic. The management personnel input the forecast information into the remote control device, so that the smart street light can automatically switch between white light and yellow light and adjust the intensity of yellow light at a certain moment, that is, human participation in the regulation of the smart street light is required. However, due to the large geographical span of a city, the weather in different regions often varies, and human understanding and mastery of the laws of atmospheric movement are still limited. Due to the limitations of scientific and technological development, weather forecasts still have certain errors. It is impossible to accurately judge the actual weather conditions in each region based on weather conditions alone, and it is impossible to adaptively adjust the smart street lights accurately. In addition, the brightness requirements of smart street lights vary depending on the degree of fog. Therefore, it is very necessary to design a system that can adaptively adjust the brightness and color temperature of smart street lights according to the actual weather conditions. Summary of the invention

[0004] The present invention provides a smart street lamp adjustment and control system based on video analysis to solve the existing problems.

[0005] The intelligent street light adjustment and control system based on video analysis of the present invention adopts the following technical solutions:

[0006] An embodiment of the present invention provides a smart street light adjustment and control system based on video analysis, which includes the following modules:

[0007] An image acquisition module is used to obtain monitoring videos and reference images around the smart street lamp, and obtain each environmental image and the serial number of each environmental image according to the monitoring video;

[0008] The environment brightness acquisition module is used to obtain the first grayscale difference of each pixel point according to the grayscale value of each pixel point in each environment image and the pixel point at the corresponding position of the reference image; obtain the stability of each pixel point according to the grayscale value of each pixel point in each environment image and the pixel point at the corresponding position in other environment images; obtain the environment brightness of each environment image according to the first grayscale difference and stability of each pixel point in each environment image;

[0009] An environment blur degree acquisition module is used to acquire the texture information of each pixel in each environment image, obtain the second reference weight of each pixel according to the distance from each pixel to the center of the image, and obtain the environment blur degree of each environment image according to the texture information of each pixel and the second reference weight of each pixel;

[0010] The smart street light adjustment control module is used to obtain the reliability of each environmental image according to the serial number of each environmental image; obtain the overall brightness of the environment according to the reliability of each environmental image and the environmental brightness; obtain the overall blur degree of the environment according to the environmental blur degree and reliability of each environmental image; and obtain the switch state, color temperature and brightness value of the smart street light according to the overall brightness and overall blur degree of the environment.

[0011] Preferably, the step of acquiring the first grayscale difference of each pixel point includes:

[0012] The absolute value of the difference between the grayscale value of each pixel in each environment image and the pixel at the corresponding position in the reference image is calculated, and the obtained absolute value is used as the first grayscale difference of each pixel.

[0013] Preferably, the method for acquiring the stability of each pixel point is:

[0014] Take any environmental image as the target environmental image, calculate the absolute value of the difference between the grayscale value of each pixel in the target environmental image and the pixel at the corresponding position in the remaining environmental images, and use the obtained absolute value as the second grayscale difference of each pixel, wherein each environmental image in the remaining environmental images corresponds to a second grayscale difference; perform negative correlation mapping on the second grayscale differences of each pixel, and use the average value of each mapping result as the stability of each pixel.

[0015] Preferably, the method for acquiring the ambient brightness of each ambient image is:

[0016] The initial reference weight of each pixel is obtained according to the Euclidean distance between each pixel and the image center in each environmental image; the product of the initial reference weight of each pixel and the stability of each pixel is used as the first reference weight of each pixel; the product of the first grayscale difference of each pixel and the first reference weight of each pixel is used as the ambient brightness of each pixel, and the average value of the ambient brightness corresponding to all pixels in each environmental image is used as the ambient brightness of each environmental image.

[0017] Preferably, the method for acquiring the degree of environmental blur of each environmental image includes:

[0018] The normalized texture information of each pixel in each environmental image is obtained; the maximum distance between all pixels in each environmental image and the image center is obtained, the ratio between the Euclidean distance of each pixel to the image center and the maximum distance is calculated, and the difference between 1.0 and the obtained ratio is used as the second reference weight of each pixel; the product of the second reference weight of each pixel and the normalized texture information of each pixel is used as the blur degree of each pixel, and the average value of the blur degrees of all pixels in each environmental image is used as the environmental blur degree of each environmental image.

[0019] Preferably, the method for obtaining the reliability of each environmental image is: calculating the cumulative sum of the serial numbers of all environmental images, and taking the ratio between the serial number of each environmental image and the obtained cumulative sum as the reliability of each environmental image.

[0020] Preferably, the brightness value is obtained as follows:

[0021] I=I min +(I max -I min )×exp(-Z 1 / Z 2 ),if W=1

[0022] Where, I is the brightness value; I max is the maximum brightness value allowed by the smart street light, I min Z is the minimum brightness value allowed by the smart street light; 1 ; W is the switch status of the smart street light; Z 1 is the overall brightness of the environment; Z 2 is the overall blur degree of the environment; exp() is an exponential function with a natural constant as the base.

[0023] The beneficial effects of the present invention are as follows: first, a surveillance video within a period of time is acquired to obtain each environmental image; then, the first grayscale difference of each pixel point in each environmental image is acquired, and a higher initial reference weight is set for the pixel point that is farther away from the camera, thereby avoiding the interference of the switch state of the smart street lamp on the environmental brightness assessment; and the grayscale difference formed between the pixel points at the corresponding position in each environmental image and other environmental images is combined to obtain the stability of each pixel point in each environmental image, and the initial reference degree of each pixel point is corrected according to the stability of each pixel point, thereby avoiding the influence of the grayscale change of the moving object in the surveillance video on the environmental brightness assessment;

[0024] The degree of environmental blur of each environmental image is obtained according to the texture information of each pixel point in each environmental image and the second reference weight, which is used to characterize the visibility of the surrounding environment of the smart street lamp. Finally, the reliability of each environmental image is obtained according to the sequence number of each environmental image in the entire monitoring video. According to the reliability of each environmental image, the overall brightness and overall blur of the environment that are more in line with the current moment are obtained, and then a more accurate environmental quality is obtained, so as to determine the switch state, color temperature and brightness value of the smart street lamp, that is, the state parameters of the smart street lamp, so as to realize the adjustment and control of the smart street lamp.

[0025] The present invention can automatically set the smart street lamp to warm yellow light when it is foggy during the day, and adaptively adjust the brightness value of the smart street lamp according to the visibility of the surrounding environment of the smart street lamp, thereby reducing the use of electricity while obtaining a good lighting effect, being more energy-efficient, and reducing manual participation, thereby improving the flexibility of the adjustment and control of the smart street lamp. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 This is a structural block diagram of the intelligent street light adjustment and control system based on video analysis of the present invention. DETAILED DESCRIPTION

[0028] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation method, structure, features and effects of the intelligent street light adjustment and control system based on video analysis proposed by the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0029] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0030] The specific scheme of the intelligent street lamp adjustment and control system based on video analysis provided by the present invention is described in detail below with reference to the accompanying drawings.

[0031] See also Figure 1 , which shows a flow chart of the steps of a smart street light adjustment and control system based on video analysis provided by an embodiment of the present invention, the system includes an image acquisition module, an environment brightness acquisition module, an environment blur degree acquisition module and a smart street light adjustment and control module:

[0032] The image acquisition module is used to obtain the surveillance video around the smart street lamp through the surveillance camera to obtain the reference image and the environmental image.

[0033] Since the smart street lamp not only has the lighting function of an ordinary smart street lamp, but also can be equipped with a surveillance camera and WiFi, etc., the present embodiment uses the surveillance camera on the lamp pole to collect environmental monitoring videos, and uses the images collected by the surveillance camera during the day when the weather is clear as reference images, and the collection time of the reference images is set manually; the surveillance camera is then used to obtain surveillance videos of the surrounding environment within a period of time, and the length of the surveillance video is also set manually. In the present embodiment, surveillance videos within five minutes are obtained; the obtained surveillance video is intercepted for video frames, and each video frame is grayed to obtain each environmental image and the corresponding serial number of each environmental image in the entire surveillance video, wherein the serial number of each environmental image is the frame number of the corresponding video frame, and the total number of environmental images contained in a surveillance video is recorded as N.

[0034] In actual environments, smart street lights are turned on or off at fixed time periods, but due to the differences in the length of day and night in different seasons, there are certain errors even if they are adjusted manually, and the weather conditions at different times are different. When the weather conditions are poor, the smart street lights need to be turned on in advance, and the worse the weather conditions, the higher the brightness of the smart street lights should be; in terms of visual effects, white light is closer to the midday sun and is brighter, but the penetrating ability of white light is weaker, and the lighting effect is poor on foggy or hazy days; although warm yellow light has strong penetrating ability, its color is yellowish, giving people a dark feeling; and because white light has the characteristics of low power consumption, high luminous efficiency, long life and higher lighting efficiency, in real life, people tend to set smart street lights to white light, and then set them to warm yellow light on foggy or hazy days with poor weather quality. However, smart street lights are turned on or off during fixed time periods and cannot adapt to changing weather conditions, and have poor flexibility. Therefore, it is necessary to adaptively adjust the switching of smart street lights and the changes in brightness and color temperature according to the real-time environment in which the smart street lights are located, so as to obtain the best lighting effect.

[0035] Since the reference image is collected during the day with good weather conditions, it contains very rich detail information. When more detail information is lost in the environmental image, it means that the surrounding environment of the smart street lamp is relatively blurred, and it is difficult for the human eye to accurately identify the surrounding environment, and the smart street lamp needs to be turned on. However, the blurred surrounding environment is not necessarily because the collection time is at night, it may also be due to poor weather quality. The former requires the smart street lamp to use white light, and the latter requires the smart street lamp color temperature to be converted to warm yellow light. Regardless of the situation, the smart street lamp needs to be turned on and the appropriate brightness and color temperature must be determined.

[0036] This embodiment expects that when it is daytime and the weather conditions are good, the switch state of the smart street light is set to off; when it is daytime and the weather quality is poor, that is, when it is foggy during the day, the switch state of the smart street light is set to on, the color temperature of the smart street light is warm yellow light, and different smart street light brightnesses are set according to the degree of fog; when it is nighttime and the weather conditions are good, the switch state of the smart street light is on, the color temperature of the smart street light is white light, and the brightness of the smart street light is the default brightness value; when it is nighttime and the weather quality is poor, the switch state of the smart street light is on , the color temperature of the smart street lamp is warm yellow light, and different brightness values ​​are set according to the degree of fogging; in this embodiment, the switch state, color temperature and brightness value of the smart street lamp are called three state parameters of the smart street lamp, and the switch state of the smart street lamp is recorded as W. When W=0, it indicates that the switch state of the smart street lamp is the off state; when W=1, it indicates that the switch state of the smart street lamp is the on state; the color temperature of the smart street lamp is recorded as S, when S=0, it indicates that the color temperature of the smart street lamp is white light; when S=1, it indicates that the color temperature of the smart street lamp is warm yellow light; the brightness of the smart street lamp is recorded as I.

[0037] The environment brightness acquisition module is used to obtain the environment brightness of each environment image according to the first grayscale difference and the second grayscale difference of each pixel point in each environment image.

[0038] In this embodiment, the environmental quality needs to be evaluated from two aspects: the environmental brightness and the degree of environmental blur. Whether the switch state of the smart street light needs to be changed is determined according to the environmental brightness. For example, when the environmental brightness is high, the smart street light needs to be changed from the on state to the off state; when the environmental brightness is low, the smart street light needs to be changed from the off state to the on state; the brightness value of the smart street light is adjusted according to the degree of environmental blur. When the degree of environmental blur is high, it means that the visibility of the surrounding environment is low at this time, and a higher brightness value needs to be set for the smart street light; when the degree of environmental blur is low, it means that the visibility of the surrounding environment is high. At this time, if the smart street light is in the on state, a lower brightness value needs to be set for the smart street light; since the degree of environmental blur can only reflect visibility, but low visibility is not only caused by reduced environmental brightness, but may also be caused by poor weather conditions, such as foggy or hazy days, and in these two cases, the color temperature of the smart street light is also different, so the color temperature of the smart street light also needs to be judged according to the environmental brightness and the degree of environmental blur.

[0039] The process of obtaining the ambient brightness around the smart street lamp is as follows:

[0040] For the ith environmental image in a surveillance video, the absolute value of the difference between the grayscale value of each pixel in the ith environmental image and the pixel at the corresponding position in the reference image is calculated, and the obtained absolute value is used as the first grayscale difference of each pixel. Since the reference image is collected during the day with good weather conditions, the ith environmental image is compared with the reference image to more intuitively reflect the change of environmental brightness, that is, the first grayscale difference of each pixel in the ith environmental image can be used to characterize the environmental brightness;

[0041] However, not all objects in the environmental image are static. As the objects move, the grayscale values ​​of pixels at the same position in different environmental images may be different, and the colors of different objects themselves will also cause large differences between the grayscale values ​​of some pixels and the corresponding pixels in the reference image. That is, the first grayscale difference of each pixel in a single environmental image cannot stably represent the environmental brightness. In order to obtain a more accurate environmental brightness, it is necessary to further correct it according to the stability of the grayscale of each pixel in different environmental images. Therefore, the absolute value of the difference between the grayscale values ​​of each pixel in the i-th environmental image and the pixel at the corresponding position in the t-th environmental image is calculated, and the absolute value obtained at this time is used as the t-th second grayscale difference of each pixel, and then the second grayscale differences of each pixel are obtained. The stability of each pixel is obtained according to the second grayscale differences of each pixel. Then the environmental brightness H of the i-th environmental image is i It can be expressed as:

[0042]

[0043] Where M is the total number of pixels in the i-th environmental image; N is the total number of environmental images contained in the surveillance video; d ij is the Euclidean distance between the jth pixel in the i-th environment image and the image center; D max is the maximum distance between all pixels in the i-th environment image and the image center; Δh ij is the first grayscale difference of the jth pixel in the i-th environment image; g ijt is the t-th second grayscale difference of the j-th pixel in the ith environment image; & is a mathematical symbol, indicating the meaning of “and”; exp() is an exponential function with a natural constant as the base.

[0044] Since smart street lights are often turned on at night, the brightness near the smart street lights is much higher than the surrounding brightness after the smart street lights are turned on. Therefore, in the environmental image, the grayscale value of each pixel close to the surveillance camera is not completely the environmental brightness. That is to say, when evaluating the environmental brightness, the farther away from the surveillance camera, that is, the farther away from the center of the environmental image, the greater the reference weight of the grayscale value corresponding to the pixel. That is, the Euclidean distance between the jth pixel in the ith environmental image and the image center is positively correlated with the reference weight of the first grayscale difference corresponding to the pixel. In this embodiment, the ratio of the Euclidean distance between the jth pixel in the ith environmental image and the image center to the maximum distance is used as the initial reference weight of the jth pixel.

[0045] Indicates the stability of the jth pixel in the ith environmental image. When the grayscale differences between the jth pixel and the pixels at the corresponding positions in different environmental images are small, that is, the second grayscale differences of the pixel are small, it means that the possibility that the pixel is a background pixel is greater, and the pixel can more stably reflect the change of the environmental brightness. Therefore, it is considered that the stability of the jth pixel is higher at this time. Therefore, this embodiment corrects the initial reference weight of the pixel according to the stability of the jth pixel, that is, the product of the initial reference weight of the pixel and the stability of the pixel is used as the first reference weight of each pixel;

[0046] Represents the ambient brightness of the jth pixel in the ith ambient image, thereby obtaining the ambient brightness of the ith ambient image.

[0047] The environment blur degree acquisition module is used to acquire the environment blur degree of each environment image according to the texture information amount of each pixel point in each environment image.

[0048] Taking the i-th environment image as an example, the process of obtaining the environment blur degree of the environment image is as follows:

[0049] When fog appears in the environment, due to the occlusion of fog, different degrees of texture loss will occur at different positions in the environment image. The more serious the fog is, the more serious the texture loss is. Therefore, the degree of environmental blur can be judged according to the texture information of each pixel in the real-time environment. Therefore, the size of the preset sliding window area is 7×7. Each pixel in the i-th environment image is taken as the sliding window center, and the sliding window area corresponding to each pixel is obtained. The grayscale co-occurrence matrix of each sliding window area is obtained, and the grayscale entropy of each grayscale co-occurrence matrix is ​​calculated according to the probability of occurrence of each element in each grayscale co-occurrence matrix. The obtained grayscale entropy is used as the texture information of each pixel. Then, the texture information of each pixel in the i-th environment image is linearly normalized to obtain the normalized texture information of each pixel in the i-th environment image. The acquisition of grayscale entropy is a well-known technology and will not be repeated here. The larger the grayscale entropy of a pixel, the larger the texture information contained in the sliding window area of ​​the pixel, and the clearer the sliding window area corresponding to the pixel in the image.

[0050] Since the surveillance camera has the imaging characteristic of being larger when near and smaller when far, the farther away the location is from the surveillance camera, the more blurred it is in the environmental image. When the texture information of the corresponding pixel points is less for the location closer to the surveillance camera, it means that the location closer to the surveillance camera is less clear. At this time, the visibility of the surrounding environment of the smart street lamp is lower, and the corresponding degree of environmental blur is higher. Therefore, when evaluating the degree of environmental blur according to the texture information of each pixel point in the environmental image, the reference weight of the pixel points corresponding to the location far away from the surveillance camera is also smaller, and the reference weight of the pixel points corresponding to the location close to the surveillance camera is larger. In this embodiment, the reference weight of each pixel point when calculating the degree of environmental blur is called the second reference weight, then the degree of environmental blur C of the i-th environmental image is i It can be expressed as:

[0051]

[0052] Among them, S ij is the normalized texture information of the j-th pixel in the i-th environment image.

[0053] is the second reference weight of the j-th pixel in the i-th environment image; is the blur degree of the jth pixel in the ith environment image. When the texture information of the corresponding pixel at a position closer to the surveillance camera is smaller, it means that the environment blur degree of the environment image is higher and the corresponding visibility is lower; when the texture information of the corresponding pixel at a position farther away from the surveillance camera is larger, it means that the environment blur degree of the environment image is lower and the corresponding visibility is higher. Similarly, the environment blur degree of each environment image is calculated according to the texture information of each pixel in each environment image.

[0054] The smart street light adjustment control module is used to adjust and control the color temperature and brightness of the smart street light according to the ambient brightness and the degree of ambient blur.

[0055] In the whole surveillance video, the smaller the serial number of the environmental image is, the more it belongs to the historical moment. On the contrary, the larger the serial number of the environmental image is, the closer it is to the current moment, and the more it can reflect the current weather conditions. The purpose of adjusting the smart street lamp is to make the smart street lamp obtain better lighting effect at the current moment. Therefore, the reliability of the environmental image with a larger serial number is higher. Therefore, when evaluating the overall brightness of the environment and the overall blur degree of the environment, it is necessary to set the reliability of each environmental image according to the serial number of each environmental image. In order to ensure that the cumulative sum of the corresponding reliabilities of all environmental images is 1, this embodiment first obtains the cumulative sum of the serial numbers of all environmental images, and then uses the ratio between the serial number of each environmental image and the obtained cumulative sum as the reliability of each environmental image. Then, according to the reliability of each environmental image, the environmental brightness and the environmental blur degree, the overall brightness of the environment and the overall blur degree of the environment are obtained. Then:

[0056]

[0057] in, is the reliability of the i-th environment image; Z 1 is the overall brightness of the environment; Z 2 is the overall blur level of the environment.

[0058] The greater the ambient brightness of the i-th ambient image and the smaller the ambient blur, the better the ambient quality of the i-th ambient image and the less need to turn on the smart street lights. Therefore, the ambient quality is positively correlated with the ambient brightness and negatively correlated with the ambient blur. Therefore, this embodiment uses the ratio between the overall ambient brightness and the overall ambient blur as the ambient quality.

[0059] The brightness threshold and visibility threshold are set. The brightness threshold and visibility threshold are set by the management personnel according to the actual situation. In this embodiment, the brightness threshold L is set to 0.5, the visibility threshold G is set to 0.5, and the initial state parameters of the smart street light are set: the switch state W of the smart street light is 0, the color temperature S of the smart street light is 0, and the brightness value I of the smart street light is the default brightness set in real life;

[0060] When the overall brightness of the environment Z 1 When it is less than the brightness threshold L, it means that the ambient brightness is low and the smart street light needs to be turned on, that is, the smart street light switch state W=1 is set, otherwise the smart street light switch state W=0 is set;

[0061] When W = 0, that is, the smart street light is in the off state, if Z 2 ≤G, indicating that the environment is highly blurred and visibility is low. It may be foggy during the day or at night. In this case, the smart street light needs to be turned on, that is, W = 1; otherwise, the smart street light needs to be turned off.

[0062] When W = 1, that is, the smart street light is turned on, if Z 2 ≤G, indicating that the environment is highly blurred and visibility is still low. It is considered that this corresponds to foggy night conditions. At this time, the color temperature of the smart street light needs to be adjusted to warm yellow light, that is, S = 1; otherwise, it is considered that there is no fog at night, and the smart street light needs to be kept turned on and the default color temperature;

[0063] The brightness adjustment of the smart street light when it is turned on needs to be adjusted according to the environmental quality. The brightness value I of the smart street light after adjustment can be expressed as:

[0064] I=I min +(I max -I min )×exp(-Z 1 / Z 2 ),if W=1

[0065] Among them, I max is the maximum brightness value allowed by the smart street light, I min It is the minimum brightness value allowed by the smart street light.

[0066] Through the above steps, the switch status, color temperature and brightness value of the smart street light are determined, and these parameters are input into the smart street light control device to realize the adjustment and control of the smart street light.

[0067] This embodiment first obtains surveillance videos within a period of time to obtain various environmental images; then obtains the first grayscale difference of each pixel in each environmental image, and sets a higher initial reference weight for the pixel that is farther away from the camera, so as to avoid the interference of the switch state of the smart street lamp on the environmental brightness assessment; and combines the grayscale difference formed between the pixels at corresponding positions in each environmental image and other environmental images to obtain the stability of each pixel in each environmental image, and corrects the initial reference degree of each pixel according to the stability of each pixel, so as to avoid the influence of the grayscale change of the moving object in the surveillance video on the environmental brightness assessment;

[0068] The degree of environmental blur of each environmental image is obtained according to the texture information of each pixel point in each environmental image and the second reference weight, which is used to characterize the visibility of the surrounding environment of the smart street lamp. Finally, the reliability of each environmental image is obtained according to the sequence number of each environmental image in the entire monitoring video. According to the reliability of each environmental image, the overall brightness and overall blur of the environment that are more in line with the current moment are obtained, and then a more accurate environmental quality is obtained, so as to determine the switch state, color temperature and brightness value of the smart street lamp, that is, the state parameters of the smart street lamp, so as to realize the adjustment and control of the smart street lamp.

[0069] This embodiment can automatically set the smart street lamp to warm yellow light when it is foggy during the day, and adaptively adjust the brightness value of the smart street lamp according to the visibility of the surrounding environment of the smart street lamp, thereby reducing the use of electricity while obtaining good lighting effects, being more energy-efficient, and reducing manual participation, thereby improving the flexibility of the adjustment and control of the smart street lamp.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. The intelligent street light adjustment and control system based on video analysis is characterized by: The system includes the following modules: An image acquisition module is used to obtain monitoring videos and reference images around the smart street lamp, and obtain each environmental image and the serial number of each environmental image according to the monitoring video; The environment brightness acquisition module is used to obtain the first grayscale difference of each pixel point according to the grayscale value of each pixel point in each environment image and the pixel point at the corresponding position in the reference image; and to obtain the stability of each pixel point according to the grayscale value of each pixel point in each environment image and the pixel point at the corresponding position in other environment images; Obtaining the ambient brightness of each ambient image according to the first grayscale difference and stability of each pixel point in each ambient image; An environment blur degree acquisition module is used to acquire the texture information of each pixel in each environment image, obtain the second reference weight of each pixel according to the distance from each pixel to the center of the image, and obtain the environment blur degree of each environment image according to the texture information of each pixel and the second reference weight of each pixel; The smart street light adjustment control module is used to obtain the reliability of each environmental image according to the serial number of each environmental image; obtain the overall brightness of the environment according to the reliability of each environmental image and the environmental brightness; obtain the overall blur degree of the environment according to the environmental blur degree and reliability of each environmental image, and obtain the switch state, color temperature and brightness value of the smart street light according to the overall brightness and overall blur degree of the environment; The method for obtaining the ambient brightness of each ambient image is as follows: The initial reference weight of each pixel is obtained according to the Euclidean distance between each pixel in each environment image and the image center; The product of the initial reference weight of each pixel and the stability of each pixel is used as the first reference weight of each pixel; The product of the first grayscale difference of each pixel and the first reference weight of each pixel is used as the ambient brightness of each pixel, and the average value of the ambient brightness corresponding to all pixels in each ambient image is used as the ambient brightness of each ambient image; The brightness value is obtained as follows: Where, I is the brightness value; The maximum brightness value allowed by the smart street light. is the minimum brightness value allowed by the smart street light; W is the switch state of the smart street light; is the overall brightness of the environment; is the overall blur degree of the environment; exp() is an exponential function with a natural constant as the base.

2. The intelligent street light adjustment and control system based on video analysis according to claim 1 is characterized in that: The step of acquiring the first grayscale difference of each pixel point comprises: The absolute value of the difference between the grayscale value of each pixel in each environment image and the pixel at the corresponding position in the reference image is calculated, and the obtained absolute value is used as the first grayscale difference of each pixel.

3. The intelligent street light adjustment and control system based on video analysis according to claim 1 is characterized in that: The method for obtaining the stability of each pixel is as follows: Take any environmental image as the target environmental image, calculate the absolute value of the difference between the grayscale value of each pixel in the target environmental image and the pixel at the corresponding position in the remaining environmental images, and use the obtained absolute value as the second grayscale difference of each pixel, wherein each environmental image in the remaining environmental images corresponds to a second grayscale difference; perform negative correlation mapping on the second grayscale differences of each pixel, and use the average value of each mapping result as the stability of each pixel.

4. The intelligent street light adjustment and control system based on video analysis according to claim 1 is characterized in that: The method for obtaining the degree of environmental blur of each environmental image comprises: The normalized texture information of each pixel in each environmental image is obtained; the maximum distance between all pixels in each environmental image and the image center is obtained, the ratio between the Euclidean distance of each pixel to the image center and the maximum distance is calculated, and the difference between 1.0 and the obtained ratio is used as the second reference weight of each pixel; the product of the second reference weight of each pixel and the normalized texture information of each pixel is used as the blur degree of each pixel, and the average value of the blur degrees of all pixels in each environmental image is used as the environmental blur degree of each environmental image.

5. The intelligent street light adjustment and control system based on video analysis according to claim 1 is characterized in that: The method for obtaining the reliability of each environmental image is: calculating the cumulative sum of the serial numbers of all environmental images, and taking the ratio between the serial number of each environmental image and the obtained cumulative sum as the reliability of each environmental image.

Citation Information

Patent Citations

  • LED (Light-emitting Diode) street lamp with adjustable spectrum in foggy days

    CN104329628A

  • Control method of independent intelligent street lamp control system

    CN103052224A

  • Stability testing system and method of lighting source

    CN104596740A

  • Automatic adjusting system for street lamp brightness based on vision technology

    CN104822196A

  • Intelligent street lamp monitoring system

    CN108200709A