CN113965671A - Light supplementing method and device for distance measurement, electronic equipment and storage medium - Google Patents

Light supplementing method and device for distance measurement, electronic equipment and storage medium Download PDF

Info

Publication number
CN113965671A
CN113965671A CN202110170909.1A CN202110170909A CN113965671A CN 113965671 A CN113965671 A CN 113965671A CN 202110170909 A CN202110170909 A CN 202110170909A CN 113965671 A CN113965671 A CN 113965671A
Authority
CN
China
Prior art keywords
light
illumination intensity
intensity value
photosensitive
brightness
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
CN202110170909.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.)
Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd
Original Assignee
Fujian Huichuan Internet Of Things Technology Science And 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 Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd filed Critical Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd
Priority to CN202110170909.1A priority Critical patent/CN113965671A/en
Publication of CN113965671A publication Critical patent/CN113965671A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/4804Auxiliary means for detecting or identifying lidar signals or the like, e.g. laser illuminators
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • 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
    • 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
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Electromagnetism (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application provides a light supplement method, a light supplement device, electronic equipment and a storage medium for ranging, wherein the method comprises the following steps: acquiring an illumination intensity value of the first photosensitive assembly; adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the ranging equipment and the target object; acquiring the illumination intensity value of a second photosensitive assembly according to the brightness of the light-emitting assembly; judging whether a light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly; if so, adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object; and if not, the light supplementing light source is not started. Utilize first photosensitive element, light-emitting component, second photosensitive element and light filling light source interconnect effect, carry out the light filling to the target area according to the demand, accomplish in good time appropriate amount light filling, avoid the waste of energy consumption, can not produce illumination interference to the resident on every side simultaneously.

Description

Light supplementing method and device for distance measurement, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electrical equipment and electrical engineering technologies, and in particular, to a light supplement method and apparatus for ranging, an electronic device, and a storage medium.
Background
The light supplementing device has the functions of adjusting the light brightness, soft starting of light, timing control, scene setting and the like. Currently, displacement monitoring of targets can be performed using measuring devices that include cameras and laser rangefinders. However, the imaging quality of the camera is easily affected by the ambient light, and further the measurement result is affected.
In order to solve the problem that the imaging quality is easily affected by the ambient light, a light supplement lamp is added on the measuring equipment to supplement light to a target area. However, the light supplementing method is mainly direct forced light supplementing, light supplementing can not be conducted timely as required, when the distance needing to be measured is far, a good lighting effect can be achieved only by a high-power light supplementing lamp, a large amount of resources can be wasted by the light supplementing device, energy consumption is high, and strong light continuously emitted can generate serious light interference to surrounding residents at night.
Disclosure of Invention
An object of the embodiments of the present application is to provide a light supplement method, device, electronic device and storage medium for ranging, which can supplement light in good time as required, do not need to be turned on for a long time, save energy and power, reasonably utilize resources, reduce waste, and greatly reduce interference to surrounding residents.
In a first aspect, a light supplement method for ranging is provided, where the method includes:
acquiring an illumination intensity value of the first photosensitive assembly;
adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the ranging equipment and the target object;
acquiring the illumination intensity value of a second photosensitive assembly according to the brightness of the light-emitting assembly;
judging whether a light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly;
if so, adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object;
and if not, the light supplementing light source is not started.
In the above-mentioned realization process, first photosensitive assembly and second photosensitive assembly are used for detecting surrounding environment illumination intensity, judge whether light-emitting component and light filling light source need open according to the illumination intensity value that obtains, and the luminance of further adjustment light-emitting component and light filling light source can be when improving the light filling effect, the rational utilization resource, and it is extravagant to reduce to the interference of the resident on every side greatly reduced.
Further, the step of adjusting the brightness of the light emitting assembly according to the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging device and the target object includes:
adjusting the brightness of the light emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring device and the target object by the following formula:
Tf=min(1,Kf×ln(L)/m);
wherein, TfIs the brightness of the light emitting assembly, L is the initial distance between the distance measuring device and the target object, KfM is the illumination intensity value of the first photosensitive element for the preset constant parameter.
In the implementation process, the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging device and the target object need to be acquired, wherein the initial distance is the distance measured by the ranging device to the target object when no light is supplemented, whether the light-emitting assembly needs to be started or not is judged by using the illumination intensity value of the first photosensitive assembly, and then the brightness of the light-emitting assembly is adjusted according to the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging device and the target object.
Further, the step of judging whether a light supplement light source needs to be turned on according to the illumination intensity value of the second photosensitive assembly includes:
and judging whether the illumination intensity value of the second photosensitive assembly is greater than a second threshold value and a third threshold value. In the implementation process, whether the light-emitting component needs to be started or not is judged by the illumination intensity value of the second photosensitive component, when the illumination intensity is greater than the second threshold value and the third threshold value at the same time, the light supplementing light source is started, and otherwise, the light supplementing light source is kept closed.
Further, the step of adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging device and the target object further includes:
adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object through the following formula:
Tb=min(1,Kb×ln(L)/m);
wherein, TbThe brightness of the supplementary lighting source, L is the initial distance between the distance measuring equipment and the target object, and KbM is the illumination intensity value of the first photosensitive element for the preset constant parameter.
In the above implementation, T is passedb=min(1,KbAnd (4) calculating the brightness of the supplementary light source, and further adjusting the brightness of the supplementary light source, wherein the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object need to be acquired, and the initial distance is the distance measured by the distance measuring equipment on the target object when the light supplement is not needed.
Further, after the step of adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging device and the target object, the method further includes:
recording the starting time of the supplementary lighting;
judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not;
if yes, turning off the light supplementing light source;
if not, keeping the light supplementing light source turned on.
In the implementation process, the light supplement effect of the light supplement light source is further improved, after the light supplement light source is started, the light supplement light source is automatically controlled according to the set time threshold, and in the time range of the time threshold, if the illumination intensity value of the second photosensitive assembly changes, whether the light supplement light source needs to be started or closed is judged again according to the changed illumination intensity condition, so that the brightness of the light supplement light source can be adjusted when the follow-up illumination intensity changes.
In a second aspect, an embodiment of the present application further provides a light supplement device for ranging, where the device includes:
the first photosensitive component is used for acquiring the illumination intensity value of the first photosensitive component;
the light-emitting component adjusting module is used for adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring equipment and the target object;
the second photosensitive assembly is used for acquiring the illumination intensity value of the second photosensitive assembly according to the brightness of the light-emitting assembly;
the starting judgment module is used for judging whether a light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly;
and the light supplementing light source adjusting module is used for adjusting the brightness of the light supplementing light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object when the judgment result of the starting judgment module is yes.
In the above-mentioned realization process, first photosensitive assembly and second photosensitive assembly are used for detecting surrounding environment illumination intensity, judge whether light-emitting component and light filling light source need open according to the illumination intensity value that obtains, and the luminance of further adjustment light-emitting component and light filling light source can be when improving the light filling effect, the rational utilization resource, and it is extravagant to reduce to the interference of the resident on every side greatly reduced.
Further, the light supplement device further includes:
the time recording module is used for recording the starting time of the supplementary lighting;
the time judgment module is used for judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not;
the control module is used for turning off the light supplementing light source when the judgment result of the time judgment module is yes; and when the judgment result of the time judgment module is negative, keeping the light supplementing light source on.
In the implementation process, the light supplement effect of the light supplement light source is further improved, after the light supplement light source is started, the light supplement light source is automatically controlled according to the set time threshold, and in the time range of the time threshold, if the illumination intensity value of the second photosensitive assembly changes, whether the light supplement light source needs to be started or closed is judged again according to the changed illumination intensity condition, so that the brightness of the light supplement light source can be adjusted when the follow-up illumination intensity changes.
In a third aspect, an electronic device provided in an embodiment of the present application includes: memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method according to any of the first aspect when executing the computer program.
In a fourth aspect, a storage medium is provided in an embodiment of the present application, where the storage medium has instructions stored thereon, and when the instructions are executed on a computer, the instructions cause the computer to perform the method according to any one of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform the method according to any one of the first aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
The present invention can be implemented in accordance with the content of the specification, and the following detailed description of the preferred embodiments of the present application is made with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings may be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a light supplement method for ranging according to an embodiment of the present disclosure;
fig. 2 is a schematic structural composition diagram of a light supplement device for distance measurement according to an embodiment of the present disclosure;
fig. 3 is a schematic structural component diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Alternatively, the present application takes the execution subject of each embodiment as an example of a computer, and is effective only for the present application.
Example one
The embodiment of the application provides a light supplement method for ranging, as shown in fig. 1, the method includes:
s1, acquiring the illumination intensity value of the first photosensitive assembly;
s2, adjusting the brightness of the light emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring equipment and the target object;
s3, acquiring the illumination intensity value of the second photosensitive assembly according to the brightness of the light-emitting assembly;
s4, judging whether the light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly; if yes, go to S5; if not, executing S6;
s5, adjusting the brightness of the supplementary lighting source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object;
and S6, not turning on the light supplement light source.
In S1, an illumination intensity value of the first photosensitive element is acquired.
The first photosensitive assembly can sense the change of ambient illumination, after the illumination is dim down or enters night, the first photosensitive assembly can acquire the weakened illumination intensity value, and when the illumination intensity value is lower than a certain critical point, a signal can be transmitted into the light-emitting assembly.
The first photosensitive assembly is arranged near the target area, can sense the illumination change around the target area, and is convenient to judge whether the target area (target object) needs light supplement, and when the first photosensitive assembly senses that the illumination intensity value generated by the ambient illumination change is smaller than or equal to a certain threshold value, the light emitting assembly starts to work.
In S2, the brightness of the light emitting assembly is adjusted according to the illumination intensity value of the first photosensitive assembly and the initial distance between the ranging apparatus and the target object.
Specifically, S2 further includes:
judging whether the illumination intensity value of the first photosensitive assembly is smaller than or equal to a first threshold value or not; if so, starting the light-emitting component, and adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring equipment and the target object; if not, the light-emitting component is not started.
The illumination intensity value is an important basis for judging whether the light-emitting component can be started, when the illumination intensity value is larger than a threshold value, the light-emitting component is not started, and when the illumination intensity value is smaller than or equal to the light-emitting component, the light-emitting component is started.
The light emitting elements form a regular pattern, the pattern may be one of a triangle, a rectangle, a circle, and an ellipse, and the brightness of the light emitting elements may be controlled. After the illumination intensity value is obtained from the first photosensitive assembly, the illumination intensity value is compared with a preset first threshold value, when the illumination intensity value is lower than the first threshold value, the environment illumination is weak, at the moment, the light-emitting assembly is started, and the brightness of the light-emitting assembly is adjusted according to the illumination intensity value and the initial distance. And when the illumination intensity value is larger than the first threshold value, the light-emitting component is closed. Adjusting the brightness of the light-emitting component according to the illumination intensity value and the initial distance between the distance measuring equipment and the target object, and calculating a formula:
Tf=min(1,Kf×ln(L)/m);
in the above formula, TfIs the brightness of the light emitting assembly, L is the initial distance between the distance measuring device and the target, KfM is the illumination intensity value of the first photosensitive element for the preset constant parameter.
The distance measuring device mentioned in the present application may be a distance meter, in particular, a laser distance meter; the Light Emitting component can be Light Emitting Diode (LED).
If the light-emitting component is not started, the illumination intensity of the target area is enough at the moment, and light supplement is not needed.
In S3, an illumination intensity value of the second photosensitive element is obtained according to the brightness of the light emitting element.
In specific implementation, the second photosensitive assembly is located in the center of a pattern formed by the light emitting assembly, when the light emitting assembly is started, the distance measuring equipment can be guided by utilizing a machine vision algorithm to project a laser spot of the distance measuring equipment on the second photosensitive assembly, and the second photosensitive assembly can sense the change of illumination intensity to acquire the illumination intensity value of the second photosensitive assembly.
In S4, it is determined whether the fill-in light source needs to be turned on according to the illumination intensity value of the second photosensitive element.
After the illumination intensity value of the second photosensitive assembly is obtained, the illumination intensity value needs to be further judged, and when the second photosensitive assembly senses that the illumination intensity value is larger than the second threshold value and the third threshold value at the same time, illumination change information is transmitted to the light supplement light source. It should be noted that, if the illumination intensity value is only greater than the second threshold or only greater than the third threshold, or is less than or equal to the second threshold or less than or equal to the third threshold, the light supplement light source will remain off and will not be turned on.
The second threshold is 2 times of the average value of the illumination intensity within a certain time, can be adjusted according to requirements, and can automatically compare the illumination intensity value of the second photosensitive component with the average value of the illumination intensity within a certain time.
In S5, the brightness of the fill-in light source is adjusted according to the illumination intensity value of the first photosensitive element and the initial distance between the distance measuring device and the target object.
Specifically, the luminance of the fill-in light source is calculated according to the following formula:
Tb=min(1,Kb×ln(L)/m);
in the above formula, TbThe brightness of the light source is compensated, L is the initial distance between the distance measuring equipment and the target object, and KbM is the illumination intensity value of the first photosensitive element for the preset constant parameter. Optionally, the light emitting component is an LED.
Further included after S6 is: recording the starting time of the supplementary lighting; judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not; if yes, turning off the light supplementing light source; if not, the light supplementing light source is kept on.
The time threshold of the embodiment of the application may be a preset fixed value, such as 300 seconds, and may also be adjusted as needed.
The light supplementing light source can supplement light to the target area. The supplementary lighting source can be arranged near the target area and faces the target area, and can also be arranged on the back of the target and increases the brightness of the target through the semitransparent plate. The light supplementing light source can be an LED lamp, an incandescent lamp or an energy-saving lamp, and the brightness of the light supplementing light source can be adjusted at will without any limitation.
In specific implementation, light emitted by the light emitting component and the light supplementing light source cannot irradiate the first photosensitive component, so that interference on the photosensitive component cannot be generated, and the illumination change detected by the photosensitive component is only the illumination change of the target area.
The light supplementing light source is arranged near the target area, wherein the second photosensitive assembly and the light emitting assembly face the distance measuring equipment, and the light supplementing light source faces the target area.
When distance measurement is performed based on the above method, the pan head of the distance measuring apparatus is rotated so that the distance measuring apparatus is directed to a target area (target object) and an image of the target area (target object) is acquired. The first photosensitive assembly (sensor) senses the ambient illumination intensity of the target area, and whether the light-emitting assembly needs to be started is further judged. When the light supplementing light source needs to be started, the imaging coordinates of the light emitting components in the image are identified by using a machine vision algorithm, and the pixel coordinates of the center point of the pattern formed by the imaging coordinates of the light emitting components are calculated.
And calculating according to the pixel coordinates of the central point of the pattern to obtain a rotational angle of the holder, and rotating the holder of the distance measuring equipment according to the rotational angle of the holder, so that the laser spot of the distance measuring equipment falls on the second photosensitive assembly of the light supplementing device. The light supplementing device starts the light supplementing light source by judging the change of the illumination intensity value of the second photosensitive assembly. The pan head of the distance measuring device is rotated so that the distance measuring device is directed to the target area (target object) and acquires an image of the target area (target object). And obtaining the pixel coordinates of the target point according to a machine vision algorithm, calculating according to the pixel coordinates of the target point to obtain the rotation angle of the holder, and rotating the holder of the distance measuring equipment according to the rotation angle of the holder so that the laser spot of the distance measuring equipment falls on the target point. And starting the distance measuring equipment to obtain the laser distance, and obtaining the space coordinate of the target point according to the rotating angle of the holder and the laser distance. Therefore, the distance measurement work is completed under the light supplement effect.
In the light supplement method for distance measurement mentioned in the application, the light supplement is completed through the first photosensitive assembly, the light emitting assembly, the second photosensitive assembly and the light supplement light source, the light supplement can be carried out on a target area in a proper and proper time, the energy waste is avoided, the cost can be reduced while the power is saved, and unnecessary light interference to surrounding residents can not be generated.
Example two
In order to implement the method corresponding to the above embodiment to achieve the corresponding functions and technical effects, the following provides a light supplement device for ranging, as shown in fig. 2, the device including:
the first photosensitive component 1 is used for acquiring the illumination intensity value of the first photosensitive component 1;
the light-emitting component adjusting module 2 is used for adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component 1 and the initial distance between the distance measuring equipment and the target object;
the second photosensitive component 3 is used for acquiring the illumination intensity value of the second photosensitive component 3 according to the brightness of the light-emitting component;
the opening judgment module 4 is used for judging whether the light supplementing light source needs to be opened or not according to the illumination intensity value of the second photosensitive assembly 3;
and the light supplementing light source adjusting module 5 is used for adjusting the brightness of the light supplementing light source according to the illumination intensity value of the first photosensitive assembly 1 and the initial distance between the distance measuring equipment and the target object when the judgment result of the starting judgment module 4 is yes.
Further, the light supplement device further includes:
the time recording module is used for recording the starting time of the supplementary lighting;
the time judgment module is used for judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not;
the control module is used for turning off the light supplementing light source when the judgment result of the time judgment module is yes; and when the judgment result of the time judgment module is negative, keeping the light supplementing light source on.
The light supplement device for distance measurement may implement the light supplement method for distance measurement of the first embodiment. The alternatives in the first embodiment are also applicable to the present embodiment, and are not described in detail here.
The rest of the embodiments of the present application may refer to the contents of the first embodiment, and in this embodiment, details are not repeated.
EXAMPLE III
An embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the light supplement method for ranging according to the first embodiment.
Alternatively, the electronic device may be a server.
Referring to fig. 3, fig. 3 is a schematic structural composition diagram of an electronic device according to an embodiment of the present disclosure. The electronic device may include a processor 31, a communication interface 32, a memory 33, and at least one communication bus 34. Wherein the communication bus 34 is used for realizing direct connection communication of these components. The communication interface 32 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The processor 31 may be an integrated circuit chip having signal processing capabilities.
The Processor 31 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 31 may be any conventional processor or the like.
The Memory 33 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 33 has stored therein computer readable instructions which, when executed by the processor 31, enable the apparatus to perform the various steps involved in the method embodiment of fig. 1 described above.
Optionally, the electronic device may further include a memory controller, an input output unit. The memory 33, the memory controller, the processor 31, the peripheral interface, and the input/output unit are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses 34. The processor 31 is adapted to execute executable modules stored in the memory 33, such as software functional modules or computer programs comprised by the device.
The input and output unit is used for providing a task for a user to create and start an optional time period or preset execution time for the task creation so as to realize the interaction between the user and the server. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
It will be appreciated that the configuration shown in fig. 3 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 3 or have a different configuration than shown in fig. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination thereof.
In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for ranging according to the first embodiment is implemented.
Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the method described in the method embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A light supplement method for ranging, the method comprising:
acquiring an illumination intensity value of the first photosensitive assembly;
adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the ranging equipment and the target object;
acquiring the illumination intensity value of a second photosensitive assembly according to the brightness of the light-emitting assembly;
judging whether a light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly;
if so, adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object;
and if not, the light supplementing light source is not started.
2. A fill-in light method for distance measurement according to claim 1, wherein the step of adjusting the brightness of the light emitting device according to the illumination intensity value of the first photosensitive device and the initial distance between the distance measuring device and the target object comprises:
judging whether the illumination intensity value of the first photosensitive assembly is smaller than or equal to a first threshold value or not;
if so, starting the light-emitting assembly, and adjusting the brightness of the light-emitting assembly according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object;
if not, the light-emitting component is not started.
3. A fill-in light method for distance measurement according to claim 2, wherein the step of adjusting the brightness of the light emitting device according to the illumination intensity value of the first photosensitive device and the initial distance between the distance measuring device and the target object comprises:
adjusting the brightness of the light emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring device and the target object by the following formula:
Tf=min(1,Kf×ln(L)/m);
wherein, TfIs the brightness of the light emitting assembly, L is the initial distance between the distance measuring device and the target object, KfM is the illumination intensity value of the first photosensitive element for the preset constant parameter.
4. A light supplement method for distance measurement according to claim 1, wherein the step of determining whether a light supplement light source needs to be turned on according to the illumination intensity value of the second photosensitive element comprises:
and judging whether the illumination intensity value of the second photosensitive assembly is greater than a second threshold value and a third threshold value.
5. A fill-in method for ranging as defined in claim 1, wherein the adjusting the brightness of the fill-in light source according to the illumination intensity value of the first photosensitive element and the initial distance between the ranging device and the target further comprises:
adjusting the brightness of the supplementary lighting light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object through the following formula:
Tb=min(1,Kb×ln(L)/m);
wherein, TbThe brightness of the supplementary lighting source, L is the initial distance between the distance measuring equipment and the target object, and KbM is the illumination intensity value of the first photosensitive element for the preset constant parameter.
6. A fill-in method for ranging as defined in claim 1, further comprising, after the step of adjusting the brightness of the fill-in light source according to the illumination intensity value of the first photosensitive element and the initial distance between the ranging device and the target object:
recording the starting time of the supplementary lighting;
judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not;
if yes, turning off the light supplementing light source;
if not, keeping the light supplementing light source turned on.
7. A light supplementing apparatus for ranging, the apparatus comprising:
the first photosensitive component is used for acquiring the illumination intensity value of the first photosensitive component;
the light-emitting component adjusting module is used for adjusting the brightness of the light-emitting component according to the illumination intensity value of the first photosensitive component and the initial distance between the distance measuring equipment and the target object;
the second photosensitive assembly is used for acquiring the illumination intensity value of the second photosensitive assembly according to the brightness of the light-emitting assembly;
the starting judgment module is used for judging whether a light supplementing light source needs to be started or not according to the illumination intensity value of the second photosensitive assembly;
and the light supplementing light source adjusting module is used for adjusting the brightness of the light supplementing light source according to the illumination intensity value of the first photosensitive assembly and the initial distance between the distance measuring equipment and the target object when the judgment result of the starting judgment module is yes.
8. A light supplementing device for ranging as claimed in claim 7, further comprising:
the time recording module is used for recording the starting time of the supplementary lighting;
the time judgment module is used for judging whether the difference value between the current time and the light supplement starting time is greater than a time threshold value or not;
the control module is used for turning off the light supplementing light source when the judgment result of the time judgment module is yes; and when the judgment result of the time judgment module is negative, keeping the light supplementing light source on.
9. An electronic device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the method for supplemental lighting for ranging according to any one of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the light supplement method for ranging according to any one of claims 1 to 6.
CN202110170909.1A 2021-02-04 2021-02-04 Light supplementing method and device for distance measurement, electronic equipment and storage medium Pending CN113965671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110170909.1A CN113965671A (en) 2021-02-04 2021-02-04 Light supplementing method and device for distance measurement, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110170909.1A CN113965671A (en) 2021-02-04 2021-02-04 Light supplementing method and device for distance measurement, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113965671A true CN113965671A (en) 2022-01-21

Family

ID=79459377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110170909.1A Pending CN113965671A (en) 2021-02-04 2021-02-04 Light supplementing method and device for distance measurement, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113965671A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108270966A (en) * 2017-12-27 2018-07-10 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for adjusting light filling brightness
WO2019192320A1 (en) * 2018-04-04 2019-10-10 杭州海康威视数字技术股份有限公司 Exposure method and device, and camera equipment
WO2020119504A1 (en) * 2018-12-12 2020-06-18 杭州海康威视数字技术股份有限公司 Image processing method and system
CN111835984A (en) * 2020-07-24 2020-10-27 中国平安人寿保险股份有限公司 Intelligent light supplementing method and device, electronic equipment and storage medium
CN112052844A (en) * 2020-08-31 2020-12-08 深圳市商汤科技有限公司 Light supplementing method and device, electronic equipment and storage medium
CN112188112A (en) * 2020-09-28 2021-01-05 苏州臻迪智能科技有限公司 Light supplement control method, light supplement control device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108270966A (en) * 2017-12-27 2018-07-10 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for adjusting light filling brightness
WO2019192320A1 (en) * 2018-04-04 2019-10-10 杭州海康威视数字技术股份有限公司 Exposure method and device, and camera equipment
WO2020119504A1 (en) * 2018-12-12 2020-06-18 杭州海康威视数字技术股份有限公司 Image processing method and system
CN111835984A (en) * 2020-07-24 2020-10-27 中国平安人寿保险股份有限公司 Intelligent light supplementing method and device, electronic equipment and storage medium
CN112052844A (en) * 2020-08-31 2020-12-08 深圳市商汤科技有限公司 Light supplementing method and device, electronic equipment and storage medium
CN112188112A (en) * 2020-09-28 2021-01-05 苏州臻迪智能科技有限公司 Light supplement control method, light supplement control device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
TWI714131B (en) Control method, microprocessor, computer-readable storage medium and computer device
RU2428811C2 (en) Photographic camera and method realised by photographic camera
US9449561B1 (en) Light sensor obstruction detection
CN103548423B (en) A kind of have the LED lamp of power adjustment apparatus and regulate the method for lamp brightness
JP5389274B2 (en) Image processing apparatus, photographing apparatus, image processing method, and white balance adjustment method
CN104111579B (en) Regulate in real time method and the projector of contrast ratio of projector
CN103344563A (en) Vision light source detection apparatus for self-adaptive dimming color-adjusting machine and method
JP2009510685A (en) Method for compensating for aging process of lighting device
JP2011209019A (en) Robot device and method of controlling the same
CN106257916A (en) Information processor and information processing method
WO2020192707A1 (en) Method, device, and apparatus for adjusting lighting device of transportation vehicle, and storage medium
CN112672069A (en) Exposure method and apparatus
US11303817B2 (en) Active sensor, object identification system, vehicle and vehicle lamp
CN105034929A (en) Irradiation apparatus
TWI728026B (en) Three-dimensional imaging using frequency domain-based processing
CN113965671A (en) Light supplementing method and device for distance measurement, electronic equipment and storage medium
JP2014181949A (en) Information acquisition device and object detection device
CN110557571A (en) Image acquisition equipment, equipment control method and device and storage medium
CN114979499A (en) Light adjusting method and device
JP2009238410A (en) Illumination system
KR20120000234A (en) The method of auto-exposure control for white light 3d scanner using an illuminometer
CN109684945A (en) Biopsy method, device, server and storage medium based on pupil
CN109981993B (en) Depth camera projector power consumption control method and application thereof
JP3385475B2 (en) Image monitoring device
JP7276304B2 (en) object detector

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220121