CN115424324A - Street lamp energy-saving control method and device based on edge calculation and storage medium - Google Patents

Street lamp energy-saving control method and device based on edge calculation and storage medium Download PDF

Info

Publication number
CN115424324A
CN115424324A CN202211045614.2A CN202211045614A CN115424324A CN 115424324 A CN115424324 A CN 115424324A CN 202211045614 A CN202211045614 A CN 202211045614A CN 115424324 A CN115424324 A CN 115424324A
Authority
CN
China
Prior art keywords
information
image
vehicle
street lamp
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211045614.2A
Other languages
Chinese (zh)
Inventor
陈荣斌
吕君杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Tianhong Technology Development Co ltd
Jiangmen Polytechnic
Original Assignee
Anhui Tianhong Technology Development Co ltd
Jiangmen Polytechnic
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Tianhong Technology Development Co ltd, Jiangmen Polytechnic filed Critical Anhui Tianhong Technology Development Co ltd
Priority to CN202211045614.2A priority Critical patent/CN115424324A/en
Publication of CN115424324A publication Critical patent/CN115424324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/08Detecting or categorising vehicles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides a street lamp energy-saving control method and device based on edge calculation, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring a video image based on a camera; preprocessing the video image to obtain a face image and a vehicle image; carrying out first recognition processing on the face image based on the pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on the pre-trained vehicle recognition network model to obtain vehicle recognition information; analyzing the face identification information and the vehicle identification information based on the edge computing gateway to obtain brightness control information; and controlling and processing the brightness of the street lamp based on the brightness control information. According to the scheme of the embodiment of the invention, the energy-saving control process of the street lamp can be more simple, convenient and faster.

Description

Street lamp energy-saving control method and device based on edge calculation and storage medium
Technical Field
The invention relates to the technical field of street lamp control, in particular to a street lamp energy-saving control method and device based on edge calculation, electronic equipment and a computer readable storage medium.
Background
The street lamp can provide illumination for urban, rural and township roads, and provides great convenience for life of people; with the continuous development of social economy, the current street lamp not only needs to bear the illumination task but also has the function of video monitoring, and the video monitoring function ensures that the street lamp can control the output illumination brightness according to the flow of people and the flow of vehicles, so that the street lamp is more energy-saving and environment-friendly in illumination; however, the video monitoring function needs to send the acquired video data to the central controller for analysis and processing, so that time delay exists in the energy-saving control process of the street lamp, and the control response process is not fast and convenient enough.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art.
Therefore, the invention provides the street lamp energy-saving control method based on the edge calculation, which can enable the energy-saving control process of the street lamp to be simpler, more convenient and faster.
The invention also provides a device applying the street lamp energy-saving control method based on the edge calculation.
The invention also provides electronic equipment applying the street lamp energy-saving control method based on the edge calculation.
The invention also provides a computer readable storage medium applying the street lamp energy-saving control method based on the edge calculation.
According to the embodiment of the first aspect of the invention, the street lamp energy-saving control method based on the edge calculation comprises the following steps:
acquiring a video image based on a camera;
preprocessing the video image to obtain a face image and a vehicle image;
carrying out first recognition processing on the face image based on a pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on a pre-trained vehicle recognition network model to obtain vehicle recognition information;
analyzing the face recognition information and the vehicle recognition information based on an edge computing gateway to obtain brightness control information;
and controlling and processing the brightness of the street lamp based on the brightness control information.
The street lamp energy-saving control method based on the edge calculation has the following beneficial effects: firstly, acquiring a video image based on a camera; then preprocessing the video image to obtain a face image and a vehicle image; then, carrying out first recognition processing on the face image based on a pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on a pre-trained vehicle recognition network model to obtain vehicle recognition information; then, analyzing the face identification information and the vehicle identification information based on the edge computing gateway to obtain brightness control information; and finally, controlling and processing the luminous brightness of the street lamp based on the brightness control information. By the technical scheme, the edge computing gateway is used for analyzing and processing the face identification information and the vehicle identification information, so that the problem of data transmission delay is solved, and the energy-saving control process of the street lamp is simpler, more convenient and faster.
According to some embodiments of the invention, the preprocessing the video image to obtain a face image and a vehicle image comprises:
carrying out graying processing on the video image to obtain a grayscale image;
carrying out geometric transformation processing on the gray level image to obtain a transformed image;
carrying out image enhancement processing on the transformed image to obtain an enhanced image;
and carrying out segmentation processing on the enhanced image to obtain the face image and the vehicle image.
According to some embodiments of the invention, the segmenting the enhanced image into the face image and the vehicle image comprises:
and carrying out segmentation processing on the enhanced image based on a pre-trained image segmentation network model to obtain the face image and the vehicle image.
According to some embodiments of the invention, the analyzing the face recognition information and the vehicle recognition information by the edge-based computing gateway to obtain brightness control information comprises:
performing first quantity analysis on the face recognition information based on the edge computing gateway to obtain number information of people, and performing second quantity analysis on the vehicle recognition information based on the edge computing gateway to obtain vehicle quantity information;
and obtaining the brightness control information according to the information of the number of people and the information of the number of vehicles.
According to some embodiments of the invention, the deriving the brightness control information from the information on the number of people and the information on the number of vehicles comprises:
comparing the number information with a preset number threshold to obtain number comparison information, and comparing the vehicle number information with a preset vehicle number threshold to obtain vehicle number comparison information;
and obtaining the brightness control information based on the number of people comparison information, the number of vehicles comparison information and a preset brightness regulation rule.
According to some embodiments of the invention, the controlling the light emitting brightness of the street lamp based on the brightness control information comprises:
converting the brightness control information into current information;
and controlling the luminous intensity of the street lamp according to the current information.
According to some embodiments of the invention, the camera-based capturing of video images comprises:
and carrying out image acquisition processing on a target illumination area of the street lamp based on the camera to obtain the video image.
The street lamp energy-saving control device based on the edge calculation according to the embodiment of the second aspect of the invention comprises:
the first processing module is used for acquiring a video image based on the camera;
the second processing module is used for preprocessing the video image to obtain a face image and a vehicle image;
the third processing module is used for carrying out first recognition processing on the face image based on the pre-trained face recognition network model to obtain face recognition information and carrying out second recognition processing on the vehicle image based on the pre-trained vehicle recognition network model to obtain vehicle recognition information;
the fourth processing module is used for analyzing the face identification information and the vehicle identification information based on an edge computing gateway to obtain brightness control information;
and the fifth processing module is used for controlling and processing the luminance of the street lamp based on the luminance control information.
An electronic device according to an embodiment of the third aspect of the invention includes:
the street lamp energy-saving control system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the street lamp energy-saving control method based on the edge calculation.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions, and when the computer-executable instructions are executed by a control processor, the method for controlling street lamp energy saving based on edge calculation as described above is implemented.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a flowchart of a street lamp energy saving control method based on edge calculation according to an embodiment of the present invention;
fig. 2 is a specific flowchart of a street lamp energy-saving control method based on edge calculation according to an embodiment of the present invention for obtaining a face image and a vehicle image;
fig. 3 is a detailed image segmentation flowchart of a street lamp energy saving control method based on edge calculation according to an embodiment of the present invention;
fig. 4 is a detailed flowchart of obtaining brightness control information of the street lamp energy-saving control method based on edge calculation according to an embodiment of the present invention;
fig. 5 is a detailed flowchart of obtaining brightness control information of a street lamp energy-saving control method based on edge calculation according to another embodiment of the present invention;
fig. 6 is a specific flowchart of street lamp luminous intensity control of the street lamp energy saving control method based on edge calculation according to an embodiment of the present invention;
fig. 7 is a detailed flowchart of a video image acquisition method for street lamp energy saving control based on edge calculation according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a street lamp energy-saving control device based on edge calculation according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
The invention provides a street lamp energy-saving control method and device based on edge calculation, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring a video image based on a camera; preprocessing the video image to obtain a face image and a vehicle image; carrying out first recognition processing on the face image based on the pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on the pre-trained vehicle recognition network model to obtain vehicle recognition information; analyzing the face recognition information and the vehicle recognition information based on the edge computing gateway to obtain brightness control information; and controlling and processing the brightness of the street lamp based on the brightness control information. According to the scheme of the embodiment of the invention, the edge computing gateway is used for analyzing and processing the face identification information and the vehicle identification information, so that the problem of data transmission delay is solved, and the energy-saving control process of the street lamp is simpler, more convenient and faster.
The embodiments of the present invention will be further explained with reference to the drawings.
As shown in fig. 1, fig. 1 is a flowchart of a street lamp energy saving control method based on edge calculation according to an embodiment of the present invention. The method includes but is not limited to step S100, step S200, step S300, step 400 and step S500:
step S100, acquiring a video image based on a camera;
step S200, preprocessing a video image to obtain a face image and a vehicle image;
step S300, carrying out first recognition processing on a face image based on a pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on a vehicle image based on a pre-trained vehicle recognition network model to obtain vehicle recognition information;
step S400, analyzing the face recognition information and the vehicle recognition information based on the edge computing gateway to obtain brightness control information;
and step S500, controlling and processing the light emitting brightness of the street lamp based on the brightness control information.
It is noted that, first, a video image is obtained based on a camera; then preprocessing the video image to obtain a face image and a vehicle image; then, carrying out first recognition processing on the face image based on the pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on the pre-trained vehicle recognition network model to obtain vehicle recognition information; then, analyzing the face recognition information and the vehicle recognition information based on the edge computing gateway to obtain brightness control information; and finally, controlling and processing the luminous brightness of the street lamp based on the brightness control information. Through the technical scheme, the edge computing gateway is used for analyzing and processing the face identification information and the vehicle identification information, data do not need to be transmitted to the central controller for analysis and processing, the problem of data transmission delay is solved, and the energy-saving control process of the street lamp is simpler, more convenient and faster.
It is worth noting that the camera can be used for shooting and acquiring video images; the video image of the preset area of the street lamp is used for controlling and processing the luminous brightness of the street lamp, so that the control process of the street lamp is more intelligent.
It should be noted that, the face recognition information can be obtained by performing a first recognition process on the face image based on the pre-trained face recognition network model, and the vehicle recognition information can be obtained by performing a second recognition process on the vehicle image based on the pre-trained vehicle recognition network; the pre-training is a network model which is trained and can be directly identified.
It can be understood that the face recognition information and the vehicle recognition information are transmitted to the edge computing gateway for analysis and processing, and data do not need to be transmitted to the central controller as in the past, so that the time delay of data transmission can be reduced, and the energy-saving control process of the street lamp is simpler, more convenient and faster.
In addition, in an embodiment, as shown in fig. 2, the step S200 may include, but is not limited to, step S210, step S220, step S230, and step S240.
Step S210, carrying out graying processing on the video image to obtain a grayscale image;
step S220, carrying out geometric transformation processing on the gray level image to obtain a transformed image;
step S230, performing image enhancement processing on the transformed image to obtain an enhanced image;
and step S240, carrying out segmentation processing on the enhanced image to obtain a face image and the vehicle image.
It should be noted that, in the process of preprocessing a video image, a video image is grayed to obtain a grayscale image; then, carrying out geometric transformation processing on the gray level image to obtain a transformed image; then, the transformed image is subjected to image enhancement processing to obtain an enhanced image; and finally, segmenting the enhanced image to obtain a face image and a vehicle image so as to prepare for the subsequent image people number identification and vehicle number identification.
It is worth noting that the video image is subjected to graying, geometric transformation, image enhancement and segmentation processing in sequence, so that clear face images and vehicle images can be obtained, and preparation is made for subsequent identification processing.
In addition, in an embodiment, as shown in fig. 3, the step S240 may include, but is not limited to, the step S241.
And step S241, segmenting the enhanced image based on the pre-trained image segmentation network model to obtain a face image and a vehicle image.
It should be noted that, the face image and the vehicle image can be obtained by performing segmentation processing on the enhanced image based on the pre-trained image segmentation network model. The image segmentation network model is an existing image segmentation model, and is not described herein again. The image segmentation network model can be used for carrying out segmentation processing on the enhanced image so as to obtain a face image and a vehicle image.
In addition, in an embodiment, as shown in fig. 4, the step S400 may include, but is not limited to, step S410 and step S420.
Step S410, carrying out first quantity analysis on the face recognition information based on the edge computing gateway to obtain the number information of people, and carrying out second quantity analysis on the vehicle recognition information based on the edge computing gateway to obtain the number information of vehicles;
and step S420, obtaining brightness control information according to the information of the number of people and the information of the number of vehicles.
It should be noted that the information of the number of people can be obtained by performing a first quantity analysis process on the face identification information based on the edge computing gateway, and the information of the number of vehicles can be obtained by performing a second quantity analysis on the vehicle identification information based on the edge computing gateway; and finally, obtaining the brightness control information according to the information of the number of people and the information of the number of vehicles.
It can be understood that the brightness control information can be obtained by performing comprehensive judgment according to the information of the number of people and the information of the number of vehicles.
In addition, in an embodiment, as shown in fig. 5, the step S420 may include, but is not limited to, the step S421 and the step S422.
Step S421, comparing the information of the number of people with a preset threshold value of the number of people to obtain information of the number of people, and comparing the information of the number of vehicles with a preset threshold value of the number of vehicles to obtain information of the number of vehicles;
and step S422, obtaining brightness control information based on the number of people comparison information, the number of vehicles comparison information and a preset brightness regulation rule.
It should be noted that the number comparison information can be obtained by comparing the number information with a preset number threshold, and the vehicle number comparison information can be obtained by comparing the vehicle number information with a preset vehicle number threshold; and then, the brightness control information can be obtained according to the people number comparison information, the vehicle number comparison information and a preset brightness regulation rule.
Illustratively, the number of people is 7, the preset number of people threshold is 5, the number of vehicles information is 4, and the preset number of vehicles threshold is 3; therefore, the number of people information is larger than the number of people threshold, the number of vehicles is larger than the number of vehicles threshold, and the brightness regulation rule is set to determine that the street lamp is in a busy state when the number of people information is larger than the number of people threshold and the number of vehicles is larger than the number of vehicles threshold, so that the street lamp can be driven to emit strong bright light.
In addition, in an embodiment, as shown in fig. 6, the step S500 may include, but is not limited to, step S510 and step S520.
Step S510, converting the luminance control information into current information;
and S520, controlling the luminous intensity of the street lamp according to the current information.
The method includes the steps that firstly, brightness control information is converted into current information, and then the luminous intensity of the street lamp is controlled according to the current information; the luminous brightness of the street lamp is controlled by controlling the current, so that the control process of the luminous brightness of the street lamp is simpler, more convenient and faster.
In addition, in an embodiment, as shown in fig. 7, the step S100 includes, but is not limited to, the step S110.
And step S110, carrying out image acquisition processing on the target illumination area of the street lamp based on the camera to obtain a video image.
It should be noted that, image acquisition processing is performed on a target illumination area of the street lamp based on the camera, and shooting processing is performed on a designated area, so that a video image can be obtained, and a precondition is prepared for subsequent intelligent energy-saving control processing.
In addition, as shown in fig. 8, an embodiment of the present invention further provides an edge calculation-based street lamp energy saving control device 10, which includes:
a first processing module 100, configured to obtain a video image based on a camera;
the second processing module 200 is configured to pre-process the video image to obtain a face image and a vehicle image;
the third processing module 300 is configured to perform a first recognition process on a face image based on a pre-trained face recognition network model to obtain face recognition information, and perform a second recognition process on a vehicle image based on a pre-trained vehicle recognition network model to obtain vehicle recognition information;
the fourth processing module 400 is configured to analyze the face recognition information and the vehicle recognition information based on the edge computing gateway to obtain brightness control information;
and a fifth processing module 500, configured to perform control processing on the light emitting brightness of the street lamp based on the brightness control information.
It should be noted that, since the street lamp energy saving control device 10 based on edge calculation in the present embodiment is based on the same inventive concept as the street lamp energy saving control method based on edge calculation in the foregoing embodiment, the corresponding contents in the method embodiment are also applicable to the system embodiment, and are not described in detail here.
Further, as shown in fig. 9, an embodiment of the present invention also provides an electronic device 700 including: the processor 710 executes the computer program to implement the street lamp energy saving control method based on edge calculation in the above embodiments, for example, the method steps S100 to S500 in fig. 1, the method steps S210 to S240 in fig. 2, the method step S241 in fig. 3, the method steps S410 to S420 in fig. 4, the method steps S421 to S422 in fig. 5, the method steps S510 to S520 in fig. 6, and the method step S110 in fig. 7, which are described above, are executed.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, which are executed by a processor or a controller, for example, by a processor in the above-mentioned device embodiment, and can enable the above-mentioned processor to execute the street lamp energy saving control method based on edge calculation in the above-mentioned embodiment, for example, to execute the above-mentioned method steps S100 to S500 in fig. 1, method steps S210 to S240 in fig. 2, method step S241 in fig. 3, method steps S410 to S420 in fig. 4, method steps S421 to S422 in fig. 5, method steps S510 to S520 in fig. 6, and method step S110 in fig. 7.
It will be understood by those of ordinary skill in the art that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (10)

1. A street lamp energy-saving control method based on edge calculation is characterized by comprising the following steps:
acquiring a video image based on a camera;
preprocessing the video image to obtain a face image and a vehicle image;
carrying out first recognition processing on the face image based on a pre-trained face recognition network model to obtain face recognition information, and carrying out second recognition processing on the vehicle image based on a pre-trained vehicle recognition network model to obtain vehicle recognition information;
analyzing the face recognition information and the vehicle recognition information based on an edge computing gateway to obtain brightness control information;
and controlling and processing the brightness of the street lamp based on the brightness control information.
2. The street lamp energy-saving control method based on edge calculation of claim 1, wherein the preprocessing the video image to obtain a face image and a vehicle image comprises:
carrying out graying processing on the video image to obtain a gray image;
carrying out geometric transformation processing on the gray level image to obtain a transformed image;
carrying out image enhancement processing on the transformed image to obtain an enhanced image;
and carrying out segmentation processing on the enhanced image to obtain the face image and the vehicle image.
3. The street lamp energy-saving control method based on edge calculation as claimed in claim 2, wherein the segmenting the enhanced image to obtain the face image and the vehicle image comprises:
and carrying out segmentation processing on the enhanced image based on a pre-trained image segmentation network model to obtain the face image and the vehicle image.
4. The street lamp energy-saving control method based on edge computing as claimed in claim 1, wherein the analyzing the face recognition information and the vehicle recognition information by the edge-based computing gateway to obtain the brightness control information comprises:
performing first quantity analysis on the face recognition information based on the edge computing gateway to obtain number information of people, and performing second quantity analysis on the vehicle recognition information based on the edge computing gateway to obtain vehicle quantity information;
and obtaining the brightness control information according to the information of the number of people and the information of the number of vehicles.
5. The energy-saving control method for street lamps based on edge calculation as claimed in claim 4, wherein the obtaining the brightness control information according to the information of the number of people and the information of the number of vehicles comprises:
comparing the number of people information with a preset number of people threshold value to obtain number of people comparison information, and comparing the vehicle number information with a preset vehicle number threshold value to obtain vehicle number comparison information;
and obtaining the brightness control information based on the number of people comparison information, the number of vehicles comparison information and a preset brightness regulation rule.
6. The energy-saving control method for street lamps based on edge computing as claimed in claim 1, wherein the controlling the brightness of the street lamps based on the brightness control information comprises:
converting the brightness control information into current information;
and controlling the luminous intensity of the street lamp according to the current information.
7. The street lamp energy-saving control method based on edge calculation as claimed in claim 1, wherein the camera-based video image acquisition includes:
and carrying out image acquisition processing on a target illumination area of the street lamp based on the camera to obtain the video image.
8. An energy-saving control device for street lamps based on edge calculation, which is characterized by comprising:
the first processing module is used for acquiring a video image based on the camera;
the second processing module is used for preprocessing the video image to obtain a face image and a vehicle image;
the third processing module is used for carrying out first recognition processing on the face image based on the pre-trained face recognition network model to obtain face recognition information and carrying out second recognition processing on the vehicle image based on the pre-trained vehicle recognition network model to obtain vehicle recognition information;
the fourth processing module is used for analyzing the face identification information and the vehicle identification information based on an edge computing gateway to obtain brightness control information;
and the fifth processing module is used for controlling and processing the luminance of the street lamp based on the luminance control information.
9. An electronic device, comprising:
the street lamp energy-saving control method based on the edge calculation comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the street lamp energy-saving control method based on the edge calculation according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a control processor, implement the street lamp energy saving control method based on edge calculation according to any one of claims 1 to 7.
CN202211045614.2A 2022-08-30 2022-08-30 Street lamp energy-saving control method and device based on edge calculation and storage medium Pending CN115424324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211045614.2A CN115424324A (en) 2022-08-30 2022-08-30 Street lamp energy-saving control method and device based on edge calculation and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211045614.2A CN115424324A (en) 2022-08-30 2022-08-30 Street lamp energy-saving control method and device based on edge calculation and storage medium

Publications (1)

Publication Number Publication Date
CN115424324A true CN115424324A (en) 2022-12-02

Family

ID=84199502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211045614.2A Pending CN115424324A (en) 2022-08-30 2022-08-30 Street lamp energy-saving control method and device based on edge calculation and storage medium

Country Status (1)

Country Link
CN (1) CN115424324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152746A (en) * 2023-04-04 2023-05-23 山东工程职业技术大学 Equipment energy-saving control method, device, equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152746A (en) * 2023-04-04 2023-05-23 山东工程职业技术大学 Equipment energy-saving control method, device, equipment and readable storage medium
CN116152746B (en) * 2023-04-04 2023-06-30 山东工程职业技术大学 Equipment energy-saving control method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN112418268B (en) Target detection method and device and electronic equipment
US11700457B2 (en) Flicker mitigation via image signal processing
CN108734107B (en) Multi-target tracking method and system based on human face
CN110223284B (en) Detection method and detection device for pinhole camera based on intelligent terminal
JP2012173879A (en) Traffic signal detection apparatus and program therefor
CN103646392A (en) A backlight detection method and a device
CN114143940B (en) Tunnel illumination control method, device, equipment and storage medium
CN104869321A (en) Method and control unit for controlling exposure of camera
CN111835961B (en) Information processing method and device for automatic exposure of camera and storage medium
CN115424324A (en) Street lamp energy-saving control method and device based on edge calculation and storage medium
US20200020114A1 (en) Image-processing method for removing light zones
CN112949578B (en) Vehicle lamp state identification method, device, equipment and storage medium
CN109215364A (en) Traffic signals recognition methods, system, equipment and storage medium
CN109996377B (en) Street lamp control method and device and electronic equipment
US20240013453A1 (en) Image generation method and apparatus, and storage medium
CN112040198A (en) Intelligent water meter reading identification system and method based on image processing
CN109684900B (en) Method and apparatus for outputting color information
CN112818853A (en) Traffic element identification method, device, equipment and storage medium
CN114500865A (en) Method and device for regulating and controlling light supplement lamp, electronic equipment and storage medium
US9747511B2 (en) Image recognition device, image recognition method, program, and recording medium
CN106682590A (en) Processing method and server for monitoring service
CN110210401B (en) Intelligent target detection method under weak light
CN104778473A (en) Image binarization method, device and video analysis system
CN113808117B (en) Lamp detection method, device, equipment and storage medium
CN115334250B (en) Image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20221202