CN115968082A - LED self-adaptive control method, system and readable storage medium - Google Patents

LED self-adaptive control method, system and readable storage medium Download PDF

Info

Publication number
CN115968082A
CN115968082A CN202211191777.1A CN202211191777A CN115968082A CN 115968082 A CN115968082 A CN 115968082A CN 202211191777 A CN202211191777 A CN 202211191777A CN 115968082 A CN115968082 A CN 115968082A
Authority
CN
China
Prior art keywords
license plate
led
real
time
road surface
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
CN202211191777.1A
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.)
Shenzhen Shenghong Photoelectric Technology Co ltd
Original Assignee
Shenzhen Shenghong Photoelectric Technology Co ltd
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 Shenzhen Shenghong Photoelectric Technology Co ltd filed Critical Shenzhen Shenghong Photoelectric Technology Co ltd
Priority to CN202211191777.1A priority Critical patent/CN115968082A/en
Publication of CN115968082A publication Critical patent/CN115968082A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Traffic Control Systems (AREA)

Abstract

The application relates to an LED self-adaptive control method, a system and a readable storage medium, wherein the method comprises the following steps: setting the illumination intensity of the LED and the irradiation range of the road surface based on the ambient brightness; controlling the LED to irradiate the road surface based on the illumination intensity and the irradiation range, and detecting whether the license plate reflects light or not; when the detection result is yes, positioning the license plate based on reflection to obtain the real-time moving speed of the license plate; and carrying out self-adaptive control on the LED based on the real-time moving speed of the license plate, so that the LED continuously illuminates the license plate until the license plate is identified. When the vehicle runs to the road section where the LED is located, when the ambient light is weak, the LED can continuously illuminate the license plate along with the movement of the vehicle, so that the license plate can be conveniently identified in the running process of the vehicle.

Description

LED self-adaptive control method, system and readable storage medium
Technical Field
The present application relates to the field of LED control, and in particular, to an LED adaptive control method, system and readable storage medium.
Background
The LED (Emitting Diode) is a commonly used light Emitting device, emits light by Emitting energy according to the coincidence of electrons and holes, has the advantages of energy saving, environmental protection, long service life, convenience in modulation and the like compared with the traditional incandescent lamp and fluorescent lamp, and is widely applied to illumination in various fields.
When the LED light source is applied to the light supplement lamp, the LED light source can be used in the fields of camera light supplement, plant growth light supplement, license plate automatic identification light supplement and the like. When carrying out the photographic light filling, supplementary light is provided to the shooting time under lacking the light condition to the main effect that the light filling lamp needs of making a video recording to obtain reasonable picture material.
Generally, when an automobile stops at an intersection in the driving process, the identity of a driver is recognized by monitoring the license plate of the automobile, however, the license plate is sometimes recognized to judge the direction of the automobile in the driving process of the automobile, and when the ambient light is weak, the recognition effect on the license plate of the automobile in the driving process is poor.
Disclosure of Invention
In order to facilitate the recognition of the license plate of the automobile in the driving process of the automobile, the application provides an LED self-adaptive control method, an LED self-adaptive control system and a readable storage medium.
The LED self-adaptive control method, the LED self-adaptive control system and the readable storage medium adopt the following technical scheme:
an LED adaptive control method, system and readable storage medium, comprising:
setting the illumination intensity of the LED and the irradiation range of the road surface based on the ambient brightness;
controlling the LED to irradiate the road surface based on the illumination intensity and the irradiation range, and detecting whether the license plate reflects light;
when the detection result is yes, positioning the license plate based on the reflected light to obtain the real-time moving speed of the license plate;
and carrying out self-adaptive control on the LED based on the real-time moving speed of the license plate, so that the LED continuously illuminates the license plate until the license plate is identified.
By adopting the technical scheme, when the vehicle runs on the road surface, the illumination intensity of the LED and the irradiation range of the LED to the road surface are set based on the ambient brightness, so that the illumination of the LED is increased, the irradiation range of the LED to the road surface is increased in a targeted manner, when the movement of the license plate is detected, the LED is subjected to self-adaptive control, when the vehicle runs to the road section where the LED is located, when the ambient illumination is weak, the LED can continuously illuminate the license plate along with the movement of the vehicle, and the license plate is conveniently identified in the running process of the vehicle.
Optionally, the setting of the illumination intensity of the LED and the irradiation range of the road surface based on the ambient brightness includes:
detecting ambient brightness through a plurality of ambient light sensors to obtain ambient brightness corresponding to the plurality of LEDs, and obtaining average ambient brightness based on the plurality of ambient brightness;
setting the irradiation range of the LED to the road surface based on the average ambient brightness;
setting the illumination intensity of the LED based on the average ambient brightness.
By adopting the technical scheme, the average ambient brightness is obtained by obtaining the ambient brightness corresponding to the LEDs according to the ambient light sensors, so that the shielded error of the ambient light sensors is reduced in the measurement of the ambient brightness.
Optionally, the setting of the irradiation range of the road surface by the LED based on the average ambient brightness includes:
acquiring the number of lanes on the current road surface and dividing each lane;
and setting the irradiation range of the LED to the road surface based on the divided lanes and the traffic flow number.
Optionally, the irradiating the road surface based on the illumination intensity and the irradiation range to detect whether there is reflection of the license plate includes:
irradiating the road surface based on the illumination intensity and the irradiation range; detecting whether a glitter with brightness different from that of the surrounding environment exists in the current illumination environment;
and identifying the shape of the flash body to judge whether the flash body is the light reflection of the license plate.
Through adopting above-mentioned technical scheme, make and shine the road surface, discern whether the glitter appears when appearing the glitter, discern the glitter when appearing the glitter to whether the messenger can judge the reflection of light of license plate.
Optionally, the positioning of the license plate based on the reflection to obtain the license plate moving speed and the real-time license plate position includes:
locating the license plate based on the flash body at a first time to obtain a first area of the license plate and obtain a first distance between the license plate and the LED at the first time;
positioning the license plate based on the twinkling bodies in real time to obtain the real-time area of the license plate and obtain the real-time distance between the license plate and the LED within the running time of the vehicle;
acquiring the real-time position of the license plate based on the first distance and the real-time distance;
and acquiring the real-time moving speed of the license plate based on the vehicle running time and the real-time position of the license plate.
By adopting the technical scheme, the first time, the first distance, the real-time and the real-time distance can be obtained according to the reflector of the license plate, so that the real-time moving speed of the license plate can be obtained according to the first time, the first distance, the real-time and the real-time distance.
Optionally, the adaptively controlling the LED based on the real-time moving speed of the license plate to continuously illuminate the license plate by the LED includes:
setting the rotation speed of the LED based on the license plate moving speed;
and controlling the LED to rotate according to the rotating speed so as to track the license plate, so that the LED can continuously illuminate the license plate.
By adopting the technical scheme, the LED can be adaptively controlled, the license plate can be automatically tracked, and the license plate can be illuminated in real time.
Optionally, the controlling the LED to rotate according to the rotation speed to track the license plate includes:
performing first prediction on the movement of the license plate according to the real-time movement speed of the license plate;
and controlling the LED to rotate according to the first predicted rotation speed based on the first prediction so as to track the license plate.
By adopting the technical scheme, the movement of the license plate is subjected to the first prediction according to the real-time movement speed of the license plate, so that the license plate can be tracked according to the first prediction.
Optionally, the controlling the LEDs to rotate according to the rotation speed to track the license plate further includes:
performing second prediction on the movement of the license plate according to the current road condition;
and controlling the LED to track the license plate based on the second prediction.
By adopting the technical scheme, the second prediction can be carried out on the current road condition, so that the LED is controlled to track the license plate according to the second prediction.
In a third aspect, the present application provides a terminal device, which adopts the following technical solution:
a terminal device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and when the processor loads and executes the computer program, the LED self-adaptive control method is adopted.
By adopting the technical scheme, the computer program is generated by the LED self-adaptive control method and stored in the memory so as to be loaded and executed by the processor, so that the terminal equipment is manufactured according to the memory and the processor, and the use is convenient.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, employs one of the LED adaptive control methods described above.
By adopting the technical scheme, the LED self-adaptive control method generates the computer program, the computer program is stored in the computer readable storage medium to be loaded and executed by the processor, and the computer program can be conveniently read and stored through the computer readable storage medium.
In summary, the present application includes at least one of the following beneficial technical effects:
1. when the vehicle runs to the road section where the LED is located, when the ambient light is weak, the LED can continuously illuminate the license plate along with the movement of the vehicle so as to conveniently identify the license plate in the running process of the vehicle;
2. whether the vehicle moves in real time can be judged by detecting whether the license plate reflects light;
3. the first prediction and the second prediction can be respectively recorded to predict the moving track of the vehicle, so that the LED can be controlled to move along with the movement of the license plate.
Drawings
Fig. 1 is a block flow diagram of an adaptive LED control method according to an embodiment of the present disclosure;
FIG. 2 is a block flow diagram of one embodiment of a method for adaptive control of an LED according to an embodiment of the present disclosure;
FIG. 3 is a block flow diagram of one implementation manner of an adaptive control method for an LED according to an embodiment of the present application;
FIG. 4 is a block flow diagram of one embodiment of a method for adaptive control of an LED according to an embodiment of the present disclosure;
FIG. 5 is a block flow diagram of one implementation manner of an adaptive LED control method according to an embodiment of the present application;
FIG. 6 is a block flow diagram of one embodiment of a method for adaptive control of an LED according to an embodiment of the present disclosure;
FIG. 7 is a block flow diagram of one embodiment of a method for adaptive control of an LED according to an embodiment of the present disclosure;
FIG. 8 is a block flow diagram of one embodiment of a method for adaptive control of an LED according to an embodiment of the present disclosure;
FIG. 9 is a schematic control diagram of an LED adaptive control system according to an embodiment of the present application;
fig. 10 is a control schematic diagram of an LED adaptive control system according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
In order to facilitate the recognition of a vehicle license plate in the driving process of a vehicle, the embodiment of the application discloses an LED adaptive control method, a system and a readable storage medium, with reference to fig. 1 and 9, including:
and S110, setting the illumination intensity of the LED and the illumination range of the road surface based on the ambient brightness.
The environment brightness is different in different time periods and different weather, for example, when the environment brightness is different in the daytime and the environment brightness is different in the nighttime, the environment brightness is different in the cloudy time period and the environment brightness is different in the sunny time period, and when the environment brightness is low, light is supplemented through an LED. Meanwhile, the LEDs also need to be set based on the illumination range of the road surface, for example, when the illumination range of the road surface is large, if the number of the LEDs is small, the illumination range is large, the illumination effect is poor, and therefore, a corresponding number of LEDs need to be set for the illumination range of the road surface for supplementary lighting. Simultaneously, in this application embodiment, LED shines angle, luminance to and the distance of the lens of setting and LED lamp pearl body all can correspond and adjust, so that carry out adaptive control to LED.
And S120, controlling the LED to irradiate the road surface based on the illumination intensity and the irradiation range, and detecting whether the license plate reflects light.
The number plate is also referred to as a vehicle number plate, and is a plate suspended at the front and rear of the vehicle, and is usually made of aluminum, iron sheet, plastic, paper, or the like, and a registration number, a registration area, or other relevant information of the vehicle is engraved on the number plate. The region of the vehicle can be known through the license plate, and the owner of the vehicle and the registration information of the vehicle can be checked according to the license plate. The license plate does not reflect light under direct sunlight and reflects light under direct light, so that the LED is controlled to irradiate the whole road surface based on the illumination intensity and the irradiation range, and whether the vehicle exists or not is identified by detecting whether the license plate reflects light or not. In this embodiment, since the vehicle lamp is correspondingly turned on if the ambient light is dark during the driving process of the vehicle, the light of the vehicle lamp and the reflected light of the license plate need to be distinguished.
S130, when the detection result is yes, positioning the license plate based on the reflection light, and acquiring the real-time moving speed of the license plate.
The shape of the license plate is different from the shapes of luminous bodies such as vehicle lamps and the like, and the natural installation position of the license plate is different from the positions of the vehicle lamps and the like, so that the license plate can be positioned based on the shape and the position of the license plate, the real-time moving speed of the license plate is obtained, and the moving speed of the license plate is the same as the moving speed of the vehicle. Before license plate recognition is carried out through the LED, the LED is controlled to enlarge the light-emitting range, namely, the luminous flux of the LED in the range of the road surface is increased, so that all lanes on the road surface are covered. In this embodiment, when detecting whether there is light reflection of the license plate, if the detection result is negative, the detection is continuously maintained until the detection result is positive, and the license plate is repeatedly positioned to obtain the real-time moving speed of the license plate.
S140, self-adaptive control is carried out on the LED based on the real-time moving speed of the license plate, so that the LED continuously illuminates the license plate until the license plate is identified.
The embodiment of the application detects the normal running process of an automobile, for example, the illumination measures of road sections existing in an expressway are poor, when the track of the automobile needs to be acquired, the license plate is located at a position close to the lower end of the automobile, and the license plate is inconvenient to recognize due to the illumination of automobile lamps. The self-adaptive control means that the illumination direction of the LED is positioned, so that the illumination of the LED can move along with the movement of the license plate, and the license plate can be continuously illuminated as far as possible when the vehicle runs to a recognition area, so that the license plate can be recognized in the running process of the vehicle.
The implementation principle of the LED self-adaptive control method in the embodiment of the application is as follows: when a vehicle runs on a road surface, the illumination intensity of the LED and the irradiation range of the LED to the road surface are set based on the ambient brightness, so that the illumination of the LED is increased, the irradiation range of the LED to the road surface is increased in a targeted manner, when the movement of a license plate is detected, the LED is subjected to self-adaptive control, when the vehicle runs on the road section, when the ambient illumination is weak, the LED can continuously illuminate the license plate along with the movement of the vehicle, and the license plate can be conveniently identified in the running process of the vehicle.
Because illumination environment can change along with the sheltering from of barrier, for the messenger to ambient brightness's measurement more accurate, refer to fig. 2, set up LED's illumination intensity and the irradiation range to the road surface based on ambient brightness, include:
s210, detecting the ambient brightness through a plurality of ambient light sensors to obtain the ambient brightness corresponding to a plurality of LEDs, and obtaining the average ambient brightness based on a plurality of ambient brightness.
Wherein, a plurality of ambient light sensor through setting up detect the environment continuous reading, acquire average ambient brightness based on a plurality of ambient brightness, when one of them ambient light sensor receives the sheltering object that flies to shelter from like leaf, plastic bag etc. when, the ambient brightness that this ambient light sensor detected is great than other ambient light sensor fluctuation range, then does not adopt the ambient brightness that this ambient light sensor gathered to report an emergency and ask for help or increased vigilance the operation, in order to warn this ambient light sensor by sheltering from or breaking down. For example, in this embodiment, three ambient light sensors facing different angles may be adopted, and the light sensing devices of the three ambient light sensors are not directly irradiated by sunlight, and the sensed light corresponding to the ambient brightness is reflected light in the environment, so as to increase the measurement accuracy.
And S220, setting the irradiation range of the LED to the road surface based on the average ambient brightness.
Wherein, when the average ambient brightness is larger, the range of light supplement by the LED is smaller, therefore, a larger irradiation range can be set for overall light supplement to the road surface, when the average ambient brightness is smaller, if the form of whole light filling is adopted, because the quantity of LED is comparatively limited, consequently for make LED's setting comparatively reasonable, need shine to the lane of difference on the road surface to increase irradiation efficiency.
And S230, setting the illumination intensity of the LED based on the average ambient brightness.
Similarly, when average ambient brightness is smaller, the degree that the correspondence needs to carry out the light filling through LED is bigger to make the discernment to the license plate clearer, when average ambient brightness is bigger, the degree that the correspondence needs to carry out the light filling through LED is smaller.
Referring to fig. 3 and fig. 9, in order to further illustrate the influence of the average ambient brightness on the irradiation range of the LED on the road surface, in this embodiment, the setting of the irradiation range of the LED on the road surface based on the average ambient brightness includes:
and S310, acquiring the number of lanes on the current road surface and dividing each lane.
In the embodiment, the lanes of the road surface are divided by identifying the traffic markings on the road surface, and since the color of the traffic markings is different from the colors of other positions of the road surface, the lanes of the road surface are divided by the traffic markings, so that the range and the number of the corresponding lanes are distinguished. For example, when a traffic marking dividing lanes exists in a certain identified road, the road can be considered as a dual lane.
And S320, setting the irradiation range of the LED to the road surface based on the divided lanes and the number of traffic flows.
In this embodiment, when the number of lanes is large, the corresponding illumination ranges are respectively set for the lanes, so as to avoid as much as possible the phenomenon that the LEDs are not illuminated timely when the number of lanes is large, for example, when the number of lanes is four, if the number of LED light sources is set to one, if there are a plurality of vehicles running side by side at the same time, when license plates are recognized, the illumination of one LED light source to the plurality of license plates may be too late for illumination, and thus the corresponding LEDs are set for the corresponding lanes, so as to illuminate each license plate respectively when license plate recognition is performed. In other embodiments, the lane dividing method can also divide the lanes according to the traffic flow, because the vehicles on different lanes go to different directions, such as a turning lane, a straight lane and the like, and because different lanes go to different positions, for example, when a lane is in a peak period of getting on or off duty, the number of the vehicles on the straight lane is large, the number of the vehicles on the turning lane is small, and when the lane is in a working time, the number of the vehicles on the turning lane is large, and the number of the vehicles on the straight lane is small. Therefore, the irradiation range of the LEDs on the road surface needs to be set according to the traffic flow number of the corresponding lane, if the vehicle is in a working peak, the number of the LEDs for supplementing light to the straight lane with a large number of vehicles is set to be plural, such as two or three, and the number of the LEDs for supplementing light to the turning-around lane with a small number of vehicles is set to be one, and the setting is performed according to the actual traffic flow.
Referring to fig. 4, irradiating the road surface based on the illumination intensity and the irradiation range, and detecting whether there is reflection of the license plate, includes:
s410, the road surface is irradiated based on the illumination intensity and the irradiation range, and whether the glitter different from the brightness of the surrounding environment exists in the current irradiation environment or not is detected.
And S420, identifying the shape of the glittering body to judge whether the glittering body is the light reflection of the license plate.
In the embodiment, in the case that the judgment and recognition are performed in a case where the ambient illumination is weak, for example, at night, in the early morning or in the evening, when it is detected whether there is a flash body having a brightness different from that of the surrounding environment in the current illumination environment to detect whether there is a vehicle running, when the license plate of the vehicle is illuminated, the reflection may occur by removing the license plate, and when the ambient brightness of the road surface is low, the vehicle lamp of the vehicle may be turned on, so that the illumination of the vehicle lamp and the reflection of the license plate need to be distinguished. In this embodiment, the flash body is subjected to shape recognition to determine whether the flash body is a light reflection of a license plate, and the flash body can be subjected to shape recognition to determine whether the flash body is a license plate. The shape of the license plate needs to be carried out according to the national standard, and whether the license plate is judged by identifying the shape of the glittering body.
After the luminous body is identified as the license plate, because the license plate moves in real time along with the vehicle, in order to illuminate the license plate, the license plate is convenient to identify, the position of the license plate needs to be acquired in real time, and referring to fig. 5, the license plate moving speed and the real-time position of the license plate are acquired, which comprises the following steps:
s510, positioning the license plate based on the flash body at the first time to obtain a first area of the license plate.
The first time is the time when the flash body is recognized as the license plate, when shooting and recognizing are carried out, the whole viewing frame is made to be a plane to establish a plane rectangular coordinate system, and the first area of the license plate is obtained by analyzing the ratio of the area occupied by the flash body to the whole area through the coordinate system.
S520, positioning the license plate based on the flash body in real time within the vehicle running time to obtain the real-time area of the license plate so as to obtain the real-time distance between the license plate and the LED.
S530, acquiring the real-time position of the license plate based on the first distance and the real-time distance.
And S540, acquiring the real-time moving speed of the license plate based on the vehicle running time and the real-time position of the license plate.
According to the national traffic regulation, the size of a license plate of a vehicle with the same specification is constant, the license plate is positioned to obtain the real-time area of the license plate, namely the real-time area of the license plate on a coordinate system, for example, when the size of the area of a license plate body of a certain vehicle is 480mm 140mm, the first area of the license plate shot at the first time in a view-finding frame is 24mm 7mm, the area of the license plate in the view-finding frame is continuously measured for a period of time to obtain the area conversion of the license plate, the real-time moving distance of the license plate is calculated according to the area conversion of the license plate in unit time, and the real-time moving speed of the license plate is calculated and obtained on the basis of the real-time moving distance and the moving time. In this embodiment, the real-time moving speed of the license plate is calculated without integrating other light sources such as the car light, so in other embodiments, the real-time moving speed can be calculated by considering the integration factors of the car light and the license plate, for example, a triangle is defined between the car light and the license plate, and the real-time area transformation of the triangle is calculated.
Referring to fig. 6 and 9, after the real-time moving speed of the license plate is obtained, the license plate needs to be illuminated in a following manner according to the moving speed of the license plate, so that the license plate can be identified conveniently. Self-adaptive control is carried out to LED based on real-time moving speed of license plate, makes LED carry out the continuous illumination to the license plate, includes:
s610, setting the rotation speed of the LED based on the moving speed of the license plate.
The LED license plate comprises a base, wherein a stepping motor or a servo motor is arranged on the base, a driving signal is output to the stepping motor through the real-time moving speed and the real-time position of the license plate, and the size of a light spot irradiated on the license plate by the LED is usually larger than that of the license plate, so that a certain irradiation error can be allowed to exist, the stepping motor with a lower price can be preferentially selected to control the rotation of the LED, and the use cost is saved.
S620, controlling the LEDs to rotate according to the rotating speed so as to track the license plate, and enabling the LEDs to continuously illuminate the license plate.
After the existence of the license plate is recognized, the rotation speed of the LED is set based on the license plate moving speed so as to track the license plate, light spots irradiated to the license plate move along with the movement of the license plate, in other embodiments, the license plate also moves along with the movement of the vehicle, the distance between the license plate and the LED also moves along with the movement of the license plate, the distances between the convex lens in front of the LED, the lamp holder and the LED inner lamp bead are adjusted in real time, so that the light path is adjusted in real time, the light emitted from the LED is parallel light, the LED is subjected to self-adaptive control, the scattering of the light in the LED is reduced, and the luminous flux irradiated to the license plate is increased, so that the brightness of the license plate is increased, and the light supplementing effect of the license plate is increased.
In the application, the license plate at the head position of the vehicle is usually recognized, in order to enable the recognized license plate to be more accurate, the license plate at the rear end of the vehicle can be recognized, and whether the situation that the front license plate and the rear license plate are inconsistent exists is judged through comparison, so that the license plate at the rear of the vehicle needs to be irradiated by the LED when the vehicle passes through the lower end of the LED.
When adopting LED to shine the license plate, when the supplementary discernment goes the license plate of in-process vehicle, if the vehicle takes place to change the lane, then need judge whether to change the lane and track the license plate, refer to the figure, control LED rotates according to slew velocity in order to track the license plate, include:
s710, performing first prediction on the movement of the license plate according to the real-time movement speed of the license plate.
S720, controlling the LED to rotate according to the first predicted rotating speed based on the first prediction so as to track the license plate.
In the embodiment, the moving speed of the vehicle at the next time is predicted according to the real-time moving speed of the vehicle through the deep learning model, and the prediction process is the first prediction and is also the prediction during the driving process of the vehicle.
Since the first prediction through the real-time moving speed needs to consider a specific road condition, in this embodiment, referring to fig. 8 and 10, the controlling the LEDs to rotate according to the rotating speed to track the license plate further includes:
s810, second prediction is carried out on the movement of the license plate according to the current road condition;
and S820, controlling the LED to track the license plate based on the second prediction.
The second prediction in the embodiment of the present application is performed by combining the real-time moving speed with the road condition, the first prediction is performed by combining the real-time moving speed in step S710, the second prediction is performed by combining the road condition in step S810 of the embodiment, the vehicle trajectory prediction is also performed on the vehicle by the second prediction, the operation of the vehicle is more accurate by combining the first prediction and the second prediction, the destination trajectory of the vehicle is predicted, and further, the LED can track the license plate conveniently.
The embodiment of the application also discloses a terminal device, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein when the processor executes the computer program, the LED self-adaptive control method in the embodiment is adopted.
The terminal device may adopt a computer device such as a desktop computer, a notebook computer, or a cloud server, and the terminal device includes but is not limited to a processor and a memory, for example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the present application does not limit the present invention.
The memory may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device, or an external storage device of the terminal device, for example, a plug-in hard disk, a Smart Memory Card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, and the memory may also be a combination of the internal storage unit of the terminal device and the external storage device, and the memory is used for storing a computer program and other programs and data required by the terminal device, and the memory may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
The LED self-adaptive control method in the embodiment is stored in a memory of the terminal equipment through the terminal equipment, and is loaded and executed on a processor of the terminal equipment, so that the terminal equipment is convenient to use.
The embodiment of the application also discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the LED adaptive control method in the above embodiment is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, and the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like.
The LED adaptive control method in the above embodiments is stored in a computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on a processor, so as to facilitate storage and application of the method.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. An adaptive control method for an LED, comprising:
setting the illumination intensity of the LED and the irradiation range of the LED to the road surface based on the ambient brightness;
controlling the LED to irradiate the road surface based on the illumination intensity and the irradiation range, and detecting whether the license plate reflects light;
when the detection result is yes, positioning the license plate based on the reflected light to obtain the real-time moving speed of the license plate;
and carrying out self-adaptive control on the LED based on the real-time moving speed of the license plate, so that the LED continuously illuminates the license plate until the license plate is identified.
2. The adaptive LED control method according to claim 1, wherein the setting of the illumination intensity of the LED and the illumination range of the road surface based on the ambient brightness comprises:
detecting ambient brightness through a plurality of ambient light sensors to obtain ambient brightness corresponding to the plurality of LEDs, and obtaining average ambient brightness based on the plurality of ambient brightness;
setting the irradiation range of the LED to the road surface based on the average ambient brightness;
setting the illumination intensity of the LED based on the average ambient brightness.
3. The LED self-adaptive control method according to claim 2, wherein the setting of the irradiation range of the LED to the road surface based on the average ambient brightness comprises:
acquiring the number of lanes on the current road surface and dividing each lane;
and setting the irradiation range of the LED to the road surface based on the divided lanes and the traffic flow number.
4. The adaptive LED control method according to claim 1, wherein the step of detecting whether the reflection of the license plate exists or not by irradiating the road surface based on the illumination intensity and the irradiation range comprises:
irradiating the road surface based on the illumination intensity and the irradiation range; detecting whether a glitter with brightness different from that of the surrounding environment exists in the current illumination environment;
and identifying the shape of the glittering body to judge whether the glittering body is the light reflection of the license plate.
5. The LED self-adaptive control method according to claim 4, wherein the positioning of the license plate based on the reflection light to obtain the moving speed and the real-time position of the license plate comprises:
locating the license plate based on the flash body at a first time to obtain a first area of the license plate and obtain a first distance between the license plate and the LED at the first time;
positioning the license plate based on the twinkling bodies in real time to obtain the real-time area of the license plate and obtain the real-time distance between the license plate and the LED within the running time of the vehicle;
acquiring the real-time position of the license plate based on the first distance and the real-time distance;
and acquiring the real-time moving speed of the license plate based on the vehicle running time and the real-time position of the license plate.
6. The adaptive LED control method according to claim 1, wherein the adaptive LED control based on the real-time moving speed of the license plate to continuously illuminate the license plate comprises:
setting the rotation speed of the LED based on the license plate moving speed;
and controlling the LED to rotate according to the rotating speed so as to track the license plate, so that the LED can continuously illuminate the license plate.
7. The adaptive LED control method according to claim 6, wherein the controlling the LEDs to rotate according to the rotation speed to track the license plate comprises:
performing first prediction on the movement of the license plate according to the real-time movement speed of the license plate;
and controlling the LED to rotate according to the first predicted rotation speed based on the first prediction so as to track the license plate.
8. The adaptive LED control method according to claim 6, wherein the controlling the LEDs to rotate according to the rotation speed to track the license plate further comprises:
performing second prediction on the movement of the license plate according to the current road condition;
and controlling the LED to track the license plate based on the second prediction.
9. An adaptive LED control system comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the method of any one of claims 1 to 8 is employed when the computer program is loaded and executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, carries out the method of any one of claims 1 to 8.
CN202211191777.1A 2022-09-28 2022-09-28 LED self-adaptive control method, system and readable storage medium Pending CN115968082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211191777.1A CN115968082A (en) 2022-09-28 2022-09-28 LED self-adaptive control method, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211191777.1A CN115968082A (en) 2022-09-28 2022-09-28 LED self-adaptive control method, system and readable storage medium

Publications (1)

Publication Number Publication Date
CN115968082A true CN115968082A (en) 2023-04-14

Family

ID=87362369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211191777.1A Pending CN115968082A (en) 2022-09-28 2022-09-28 LED self-adaptive control method, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115968082A (en)

Similar Documents

Publication Publication Date Title
CN103402819B (en) For affecting method and the control convenience of vehicle front lit scene
CN109572535A (en) The automobile-used projection lighting display system of view-based access control model processing and sensor technology
CN108131642B (en) Position lighting apparatus and vehicle
EP2172873A2 (en) Bundling of driver assistance systems
CN102902952A (en) Onboard environment recognition system
US20110228089A1 (en) Method for detecting vehicle lights and retroreflectors with a camera system
CN103477347A (en) Method for evaluating an image captured by a camera of a vehicle and image processing device
CN108737992A (en) Pass through the diagnosis for the vehicle car light that the video camera of inter-vehicular communication assists
CN105593875A (en) Method and control device for recognizing weather conditions in the surroundings of vehicle
KR20190115503A (en) Lane for autonomous driving and lane keeping assist system using this same
JP2012240530A (en) Image processing apparatus
CN113853049B (en) Robot auxiliary light control method, robot and system
JP7237472B2 (en) autonomous vehicle navigation
US9376052B2 (en) Method for estimating a roadway course and method for controlling a light emission of at least one headlight of a vehicle
CN108973841A (en) Vehicular exterior lighting is interrupted
CN109976348A (en) A kind of vehicle and its motion control method, equipment, storage medium
CN117676997A (en) Intelligent street lamp control method, system and medium based on energy function algorithm
CN115968082A (en) LED self-adaptive control method, system and readable storage medium
CN117238170A (en) Vehicle monitoring method, device and storage medium
CN116249248A (en) Intelligent illumination control method and system
CN103112391A (en) Method and device for classifying a light object located in front of a vehicle
US7777621B2 (en) Automatic illuminating apparatus and method for motor vehicles
CN111243310B (en) Traffic sign recognition method, system, medium, and apparatus
CN112926476B (en) Vehicle identification method, device and storage medium
WO2022192338A1 (en) Systems and methods for vehicle information capture using white light

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