CN112333898A - Lamp brightness adjusting method and device, lamp and storage medium - Google Patents

Lamp brightness adjusting method and device, lamp and storage medium Download PDF

Info

Publication number
CN112333898A
CN112333898A CN201910816899.7A CN201910816899A CN112333898A CN 112333898 A CN112333898 A CN 112333898A CN 201910816899 A CN201910816899 A CN 201910816899A CN 112333898 A CN112333898 A CN 112333898A
Authority
CN
China
Prior art keywords
brightness
lamp
exposure information
camera
preset
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.)
Granted
Application number
CN201910816899.7A
Other languages
Chinese (zh)
Other versions
CN112333898B (en
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910816899.7A priority Critical patent/CN112333898B/en
Publication of CN112333898A publication Critical patent/CN112333898A/en
Application granted granted Critical
Publication of CN112333898B publication Critical patent/CN112333898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for adjusting the brightness of a lamp, the lamp and a storage medium, wherein the method comprises the following steps: acquiring exposure information of an image shot by the camera; determining the current environment brightness value according to the exposure information; and comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result. According to the embodiment of the disclosure, the exposure information of the image shot by the camera is analyzed, so that the dynamic adjustment of the brightness of the lamp is realized, the adjustment cost is reduced, and the adjustment efficiency is improved.

Description

Lamp brightness adjusting method and device, lamp and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of light control, in particular to a method and a device for adjusting brightness of a lamp, the lamp and a storage medium.
Background
With the continuous development of social economy, public lighting lamps in cities, roads and squares of enterprises and the like are more and more, and meanwhile, the lighting lamps are also indispensable in household life.
However, most of the public lighting lamps are traditional lamp control lamps, and the brightness of some lamps is fixed and unchanged, so that the power waste is easily caused because the brightness adjustment cannot be realized; some lamps need to realize brightness adjustment, and need to be adjusted manually through several brightness gears on the lamps, or adjust brightness by directly sensing the brightness of the environment through the photosensitive element, so that the adjustment cost is high, and the adjustment speed is low.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The embodiment of the disclosure provides a lamp brightness adjusting method and device, a lamp and a storage medium, so as to solve the technical problems of high adjusting cost and low adjusting speed in the prior art when the lamp brightness is adjusted.
In a first aspect, an embodiment of the present disclosure provides a method for adjusting brightness of a lamp, where the method includes:
acquiring exposure information of an image shot by the camera;
determining the current environment brightness value according to the exposure information;
and comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
In a second aspect, an embodiment of the present disclosure further provides a device for adjusting brightness of a lamp, where the device includes:
the acquisition module is used for acquiring exposure information of the image shot by the camera;
the environment brightness calculation module is used for determining the current environment brightness value according to the exposure information;
and the adjusting module is used for comparing the current environment brightness value with a preset environment brightness threshold value and adjusting the brightness of the lamp according to a comparison result. In a third aspect, an embodiment of the present disclosure further provides a luminaire, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the luminaire brightness adjustment method according to any embodiment of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for adjusting brightness of a lamp according to any one of the embodiments of the present disclosure.
According to the embodiment of the disclosure, exposure information of an image shot by a camera on a lamp is acquired, a current environment brightness value is determined according to the exposure information, the current environment brightness value is compared with a preset environment brightness threshold value, and the brightness of the lamp is adjusted according to a comparison result. Therefore, the exposure information of the image shot by the camera is analyzed, the dynamic adjustment of the brightness of the lamp is realized, the adjustment cost is reduced, and the adjustment efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for adjusting brightness of a lamp in an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for adjusting brightness of a lamp in an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a lamp brightness adjusting device in an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a lamp in an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
It should be noted that the terms "system" and "network" are often used interchangeably in this disclosure. Reference to "and/or" in embodiments of the present disclosure is intended to "include any and all combinations of one or more of the associated listed items. The terms "first", "second", and the like in the description and claims of the present disclosure and in the drawings are used for distinguishing between different objects and not for limiting a particular order.
It should also be noted that the following embodiments of the present disclosure may be implemented individually, or may be implemented in combination with each other, and the embodiments of the present disclosure are not limited specifically.
In addition, in the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Referring to fig. 1, which shows a schematic flow chart of a method for adjusting brightness of a lamp according to an embodiment of the present disclosure, the method disclosed in the embodiment of the present disclosure is mainly applied to a situation that brightness of a lamp is automatically adjusted according to an image captured by a camera on the lamp, for example, to a scene in which a user learns with an intelligent desk lamp having a reading function, in which an image of a desktop or a book is captured by reading the camera on the desk lamp, and a current ambient brightness is determined according to the image of the desktop or the book, so as to adjust brightness of the intelligent desk lamp, so as to ensure that the user learns at a comfortable lighting brightness; the method can also be used in a monitoring camera scene, the environment brightness is determined by the image shot by the monitoring camera, and the brightness of the infrared lamp of the camera is adjusted according to the environment continuous reading, so that the quality of the image shot by the monitoring camera is ensured. The method can be executed by a corresponding lamp brightness adjusting device, the device can be realized in a software and/or hardware mode, and can be configured on a lamp, such as an intelligent reading desk lamp with a camera or a monitoring camera.
As shown in fig. 1, the method specifically includes the following steps:
and S101, acquiring exposure information of the image shot by the camera.
Wherein the exposure information includes at least an exposure time and a sensitivity. Since the image shot by the camera stores basic information of the image, such as format, size, exposure information and the like, the exposure time and sensitivity of the image when the image is shot, which are saved in the image, can be obtained by performing image recognition on the image shot by the camera. Optionally, because the camera device may also store the photographing parameters, such as exposure information, during photographing, the exposure information may also be obtained through a specific interface.
And S102, determining the brightness value of the current environment according to the exposure information.
Illustratively, the environmental brightness value corresponding to the exposure information is determined according to a mapping table of pre-stored exposure information and environmental brightness value, wherein the mapping table stores environmental brightness values corresponding to different exposure times and sensitivities, so that the current environmental brightness value corresponding to the exposure time and the sensitivities of the image can be determined only by acquiring the exposure time and the sensitivities of the image.
The mapping table is determined by counting the exposure information of the images shot by the camera under different environment brightness values. For example, in the light box, the camera is controlled to shoot images under different environment brightness values, and meanwhile, the corresponding exposure time and sensitivity of the images are collected, wherein the different environment brightness values are detected by standard light brightness detection equipment, for example, the standard illuminometer is used for measurement, so that the mapping table can be determined according to the different exposure time and sensitivity and the corresponding environment brightness. Further, in order to ensure the accuracy of the obtained mapping table, the signal-to-noise ratio of the image shot by the camera can be obtained, and the accuracy of the mapping table of the exposure information and the environment brightness value is determined according to the signal-to-noise ratio. Since the more noise of an image, the greater the sensitivity of the corresponding image should be, whether the sensitivity of the image is accurate can be determined by the calculated noise in the image, thereby achieving the purpose of verification.
In another optional implementation, according to the acquired different exposure time and sensitivity and the corresponding environment brightness, fitting operation is performed to obtain a nonlinear equation of the environment brightness, the exposure time and the sensitivity, and then the acquired exposure time and the sensitivity are directly used for calculating the brightness of the current environment according to the obtained nonlinear equation.
S103, comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
For example, the brightness of the lamp may be adjusted according to a difference between the current ambient brightness value and a preset ambient brightness threshold. For example, based on the difference between the current environment brightness value and the preset environment brightness threshold, the current environment brightness value is made to be the same as the preset environment brightness threshold by increasing the brightness of the lamp or decreasing the brightness of the lamp.
According to the embodiment of the disclosure, exposure information of an image shot by a camera on a lamp is acquired, a current environment brightness value is determined according to the exposure information, the current environment brightness value is compared with a preset environment brightness threshold value, and the brightness of the lamp is adjusted according to a comparison result. Therefore, the exposure information of the image shot by the camera is analyzed, the dynamic adjustment of the brightness of the lamp is realized, the adjustment cost is reduced, and the adjustment efficiency is improved.
Referring to fig. 2, which shows a schematic flow chart of another lamp brightness adjusting method provided in the embodiment of the present disclosure, in order to avoid frequently adjusting the lamp brightness, an operation of determining whether lamp brightness adjustment is needed is added, and an operation of verifying an adjustment result is added at the same time. As shown in fig. 2, the method includes:
s201, acquiring exposure information of the image shot by the camera.
S202, judging whether the exposure information meets a preset condition, and if not, executing S203.
The preset condition is used for indicating that brightness adjustment of the lamp is not needed. Since the exposure information at least includes the exposure time and the sensitivity, the preset condition at least includes a preset exposure time interval and a preset sensitivity interval corresponding to the exposure time and the sensitivity, respectively; the preset exposure time interval and the preset sensitivity interval are used for representing the range of exposure time and sensitivity values required by shooting an image meeting the user requirement. Therefore, after the exposure time and the sensitivity of the shot image are obtained in step S201, whether the brightness of the lamp needs to be adjusted can be determined by judging whether the exposure time and the sensitivity are within respective preset intervals.
And S203, determining the brightness value of the current environment according to the exposure information.
S204, comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
The preset environment brightness threshold is an environment brightness value corresponding to whether the exposure time and the sensitivity are within respective preset intervals. Therefore, if the determined current environment brightness value is different from the preset environment brightness threshold value, the current environment brightness value and the preset environment brightness threshold value can be the same through adjusting the brightness of the lamp. For example, when the current ambient brightness value is smaller than the preset ambient brightness threshold, the current ambient brightness may be increased by increasing the brightness of the lamp.
Further, after the brightness of the lamp is adjusted, exposure information of an image newly shot by the camera is obtained, and whether the exposure information meets a preset condition is judged so as to verify whether the light brightness adjustment is accurate. Illustratively, after adjusting the lamp brightness, if the exposure time and the sensitivity of the newly captured image are both within the corresponding preset exposure time interval and preset sensitivity interval, the lamp brightness adjustment is considered to be accurate.
According to the embodiment of the disclosure, whether the exposure time and the light sensitivity of the image shot by the camera on the lamp are in respective preset intervals is judged to judge whether brightness adjustment needs to be performed on the lamp, so that frequent adjustment of the brightness of the lamp is avoided, and after the brightness of the lamp is adjusted each time, whether exposure information of a newly shot image meets preset conditions is judged to verify the accuracy of the adjustment operation.
Fig. 3 is a schematic structural diagram of a lamp brightness adjustment device in an embodiment of the present disclosure, where the device is configured on a lamp with a camera. As shown in fig. 3, the apparatus includes:
an obtaining module 301, configured to obtain exposure information of an image captured by the camera;
an environment brightness calculation module 302, configured to determine a current environment brightness value according to the exposure information;
the adjusting module 303 compares the current environment brightness value with a preset environment brightness threshold, and adjusts the brightness of the lamp according to the comparison result.
According to the embodiment of the disclosure, exposure information of an image shot by a camera on a lamp is acquired, a current environment brightness value is determined according to the exposure information, the current environment brightness value is compared with a preset environment brightness threshold value, and the brightness of the lamp is adjusted according to a comparison result. Therefore, the exposure information of the image shot by the camera is analyzed, the dynamic adjustment of the brightness of the lamp is realized, the adjustment cost is reduced, and the adjustment efficiency is improved.
Optionally, the apparatus further comprises:
and the judging module is used for judging whether the exposure information meets a preset condition, wherein the preset condition is used for judging whether brightness adjustment needs to be carried out on the lamp.
Optionally, the exposure information at least includes exposure time and sensitivity;
correspondingly, the preset condition at least comprises a preset exposure time interval and a preset sensitivity interval corresponding to the exposure time and the sensitivity respectively;
the preset exposure time interval and the preset sensitivity interval are used for representing the range of exposure time and sensitivity values required by shooting the image meeting the user requirement.
Optionally, the ambient brightness calculation module is specifically configured to:
determining an environment brightness value corresponding to exposure information according to a mapping table of the pre-stored exposure information and the environment brightness value;
the mapping table is determined by counting exposure information of images shot by the camera under different environment brightness values.
Optionally, the apparatus further comprises:
and the mapping precision adjusting module is used for acquiring the signal to noise ratio of the image shot by the camera and determining the accuracy of the mapping table of the exposure information and the environment brightness value according to the signal to noise ratio.
Optionally, the apparatus further comprises:
and the verification module is used for acquiring exposure information of the image newly shot by the camera after the brightness of the lamp is adjusted, and judging whether the exposure information meets a preset condition or not so as to verify whether the light brightness adjustment is accurate or not.
The lamp brightness adjusting device provided by the embodiment of the disclosure can execute the lamp brightness adjusting method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the executing method.
Fig. 4 is a schematic structural diagram of a lamp provided in the embodiment of the present disclosure, and as shown in fig. 4, a schematic structural diagram of a lamp suitable for implementing the embodiment of the present disclosure is shown. The luminaire shown in fig. 4 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the luminaire 400 may include a processor (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM)403, for example, implement the luminaire brightness adjusting method provided by the embodiment of the present disclosure, where the luminaire brightness adjusting method includes:
acquiring exposure information of an image shot by the camera;
determining the current environment brightness value according to the exposure information;
and comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
In the RAM 403, various programs and data necessary for the operation of the luminaire 400 are also stored. The processor 401, ROM 402 and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. Communication means 409 may allow light fixture 400 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 4 illustrates a light fixture 400 having various devices, it is to be understood that not all of the illustrated devices are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processor 401, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the light fixture; or may be separate and not assembled into the luminaire.
The computer readable medium carries one or more programs, and when the one or more programs are executed by the luminaire, the server is caused to execute the method for pushing the association information provided by the embodiment, including: reading behavior data of a user for a target article, which is collected by a client, is acquired; acquiring the association relationship between a target article and a target element from a storage module, wherein the target element is associated with at least one piece of target article; acquiring a correlation value between a user and a target element according to reading behavior data of the user for the target article and the correlation relation between the target article and the target element; and pushing recommendation information associated with the target element to the user according to the association value of the user to the target element.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. 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.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation to the module itself, and for example, the ambient brightness calculation module may also be described as a "module that determines a current ambient brightness value from exposure information".
In accordance with one or more embodiments of the present disclosure, the following is also disclosed:
a1, a lamp brightness adjusting method, applied to a lamp with a camera, comprising:
acquiring exposure information of an image shot by the camera;
determining the current environment brightness value according to the exposure information;
and comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
A2, according to the method of A1, before determining a current ambient brightness value from the exposure information, the method further comprising:
and judging whether the exposure information meets a preset condition, wherein the preset condition is used for judging whether brightness adjustment needs to be carried out on the lamp.
A3, according to the method of a2, the exposure information including at least exposure time and sensitivity;
correspondingly, the preset condition at least comprises a preset exposure time interval and a preset sensitivity interval corresponding to the exposure time and the sensitivity respectively;
the preset exposure time interval and the preset sensitivity interval are used for representing the range of exposure time and sensitivity values required by shooting the image meeting the user requirement.
A4, according to the method of A1, determining a current environment brightness value according to the exposure information, including:
determining an environment brightness value corresponding to exposure information according to a mapping table of the pre-stored exposure information and the environment brightness value;
the mapping table is determined by counting exposure information of images shot by the camera under different environment brightness values.
A5, the method of A4, the method further comprising:
and acquiring the signal-to-noise ratio of an image shot by a camera, and determining the accuracy of the mapping table of the exposure information and the environment brightness value according to the signal-to-noise ratio.
A6, the method of A1, the method further comprising:
after the brightness of the lamp is adjusted, acquiring exposure information of an image newly shot by the camera, and judging whether the exposure information meets a preset condition so as to verify whether the light brightness adjustment is accurate.
B1, a lamp luminance adjusting device disposed in a lamp with a camera, the device comprising:
the acquisition module is used for acquiring exposure information of the image shot by the camera;
the environment brightness calculation module is used for determining the current environment brightness value according to the exposure information;
and the adjusting module is used for comparing the current environment brightness value with a preset environment brightness threshold value and adjusting the brightness of the lamp according to a comparison result.
B2, the apparatus of B1, the apparatus further comprising:
and the judging module is used for judging whether the exposure information meets a preset condition, wherein the preset condition is used for judging whether brightness adjustment needs to be carried out on the lamp.
B3, the apparatus according to B2, the exposure information including at least exposure time and sensitivity;
correspondingly, the preset condition at least comprises a preset exposure time interval and a preset sensitivity interval corresponding to the exposure time and the sensitivity respectively;
the preset exposure time interval and the preset sensitivity interval are used for representing the range of exposure time and sensitivity values required by shooting the image meeting the user requirement.
B4, the apparatus of B1, wherein the ambient brightness calculation module is specifically configured to:
determining an environment brightness value corresponding to exposure information according to a mapping table of the pre-stored exposure information and the environment brightness value;
the mapping table is determined by counting exposure information of images shot by the camera under different environment brightness values.
B5, the apparatus of B4, the apparatus further comprising:
and the mapping precision adjusting module is used for acquiring the signal to noise ratio of the image shot by the camera and determining the accuracy of the mapping table of the exposure information and the environment brightness value according to the signal to noise ratio.
B6, the apparatus of B1, the apparatus further comprising:
and the verification module is used for acquiring exposure information of the image newly shot by the camera after the brightness of the lamp is adjusted, and judging whether the exposure information meets a preset condition or not so as to verify whether the light brightness adjustment is accurate or not.
C. A light fixture, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a luminaire brightness adjustment method according to any one of the present disclosure.
D. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements a luminaire brightness adjustment method according to any one of the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A lamp brightness adjusting method is applied to a lamp with a camera, and comprises the following steps:
acquiring exposure information of an image shot by the camera;
determining the current environment brightness value according to the exposure information;
and comparing the current environment brightness value with a preset environment brightness threshold value, and adjusting the brightness of the lamp according to the comparison result.
2. The method of claim 1, wherein prior to determining a current ambient brightness value from the exposure information, the method further comprises:
judging whether the exposure information meets a preset condition or not, wherein the preset condition is used for indicating that the brightness of the lamp is not required to be adjusted;
and if not, executing the operation of determining the brightness value of the current environment according to the exposure information.
3. The method according to claim 2, wherein the exposure information includes at least an exposure time and a sensitivity;
correspondingly, the preset condition at least comprises a preset exposure time interval and a preset sensitivity interval corresponding to the exposure time and the sensitivity respectively;
the preset exposure time interval and the preset sensitivity interval are used for representing the range of exposure time and sensitivity values required by shooting the image meeting the user requirement.
4. The method of claim 1, wherein determining a current ambient brightness value from the exposure information comprises:
determining an environment brightness value corresponding to exposure information according to a mapping table of the pre-stored exposure information and the environment brightness value;
the mapping table is determined by counting exposure information of images shot by the camera under different environment brightness values.
5. The method of claim 4, further comprising:
and acquiring the signal-to-noise ratio of an image shot by a camera, and determining the accuracy of the mapping table of the exposure information and the environment brightness value according to the signal-to-noise ratio.
6. The method of claim 1, further comprising:
after the brightness of the lamp is adjusted, acquiring exposure information of an image newly shot by the camera, and judging whether the exposure information meets a preset condition so as to verify whether the light brightness adjustment is accurate.
7. A device for adjusting brightness of a lamp, configured to a lamp with a camera, the device comprising:
the acquisition module is used for acquiring exposure information of the image shot by the camera;
the environment brightness calculation module is used for determining the current environment brightness value according to the exposure information;
and the adjusting module is used for comparing the current environment brightness value with a preset environment brightness threshold value and adjusting the brightness of the lamp according to a comparison result.
8. The apparatus of claim 7, wherein the ambient brightness calculation module is specifically identical to:
determining an environment brightness value corresponding to the exposure information according to a pre-stored mapping table of the exposure information and the environment brightness value;
the mapping table is determined by counting exposure information of images shot by the camera under different environment brightness values.
9. A light fixture, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the luminaire brightness adjustment method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a luminaire brightness adjustment method according to any one of claims 1 to 6.
CN201910816899.7A 2019-08-30 2019-08-30 Lamp brightness adjusting method and device, lamp and storage medium Active CN112333898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910816899.7A CN112333898B (en) 2019-08-30 2019-08-30 Lamp brightness adjusting method and device, lamp and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910816899.7A CN112333898B (en) 2019-08-30 2019-08-30 Lamp brightness adjusting method and device, lamp and storage medium

Publications (2)

Publication Number Publication Date
CN112333898A true CN112333898A (en) 2021-02-05
CN112333898B CN112333898B (en) 2023-04-25

Family

ID=74319319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910816899.7A Active CN112333898B (en) 2019-08-30 2019-08-30 Lamp brightness adjusting method and device, lamp and storage medium

Country Status (1)

Country Link
CN (1) CN112333898B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954850A (en) * 2021-02-22 2021-06-11 天津久曜灯具制造有限公司 Classroom lamp brightness control method and device and classroom lamp
CN113364993A (en) * 2021-07-23 2021-09-07 北京字节跳动网络技术有限公司 Exposure parameter value processing method and device and electronic equipment
CN113473035A (en) * 2021-07-23 2021-10-01 北京字节跳动网络技术有限公司 Ambient brightness determination method and device and electronic equipment
CN113923828A (en) * 2021-09-16 2022-01-11 深圳世元云标识科技有限公司 Control method and device for identification product, system and storage medium
CN115175416A (en) * 2022-06-24 2022-10-11 淮阴师范学院 Automatic control method for automobile headlamp based on machine vision
WO2023001001A1 (en) * 2021-07-23 2023-01-26 北京字节跳动网络技术有限公司 Light brightness adjustment method and apparatus, and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140184A (en) * 2007-10-30 2008-03-12 北京中星微电子有限公司 Method and device for automatic measuring ambient brightness
CN101534395A (en) * 2008-03-14 2009-09-16 鸿富锦精密工业(深圳)有限公司 System and method for adjusting screen brightness
CN104780323A (en) * 2015-03-04 2015-07-15 广东欧珀移动通信有限公司 Method and device for regulating brightness of soft light
CN105636294A (en) * 2014-10-30 2016-06-01 曾承旺 Illumination energy-saving method
CN105825838A (en) * 2016-04-28 2016-08-03 乐视控股(北京)有限公司 Brightness controlling method and apparatus
WO2018121185A1 (en) * 2016-12-27 2018-07-05 杭州萤石网络有限公司 Method for adjusting power of infrared lamp, and photographic equipment
CN108601139A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light collecting method
CN108600649A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light brightness acquisition and control method
CN109640442A (en) * 2018-12-14 2019-04-16 东南大学 A kind of classroom luminous environment control system based on NB-IOT
WO2019080123A1 (en) * 2017-10-27 2019-05-02 深圳和而泰智能控制股份有限公司 Method for controlling illuminating lamp and device thereof, and illuminating lamp
CN109743825A (en) * 2019-03-12 2019-05-10 深圳市沃特沃德股份有限公司 Light adjusting method, device, storage medium and intelligent arrangement for reading

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140184A (en) * 2007-10-30 2008-03-12 北京中星微电子有限公司 Method and device for automatic measuring ambient brightness
CN101534395A (en) * 2008-03-14 2009-09-16 鸿富锦精密工业(深圳)有限公司 System and method for adjusting screen brightness
CN105636294A (en) * 2014-10-30 2016-06-01 曾承旺 Illumination energy-saving method
CN104780323A (en) * 2015-03-04 2015-07-15 广东欧珀移动通信有限公司 Method and device for regulating brightness of soft light
CN105825838A (en) * 2016-04-28 2016-08-03 乐视控股(北京)有限公司 Brightness controlling method and apparatus
WO2018121185A1 (en) * 2016-12-27 2018-07-05 杭州萤石网络有限公司 Method for adjusting power of infrared lamp, and photographic equipment
WO2019080123A1 (en) * 2017-10-27 2019-05-02 深圳和而泰智能控制股份有限公司 Method for controlling illuminating lamp and device thereof, and illuminating lamp
CN108601139A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light collecting method
CN108600649A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light brightness acquisition and control method
CN109640442A (en) * 2018-12-14 2019-04-16 东南大学 A kind of classroom luminous environment control system based on NB-IOT
CN109743825A (en) * 2019-03-12 2019-05-10 深圳市沃特沃德股份有限公司 Light adjusting method, device, storage medium and intelligent arrangement for reading

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954850A (en) * 2021-02-22 2021-06-11 天津久曜灯具制造有限公司 Classroom lamp brightness control method and device and classroom lamp
CN113364993A (en) * 2021-07-23 2021-09-07 北京字节跳动网络技术有限公司 Exposure parameter value processing method and device and electronic equipment
CN113473035A (en) * 2021-07-23 2021-10-01 北京字节跳动网络技术有限公司 Ambient brightness determination method and device and electronic equipment
WO2023001001A1 (en) * 2021-07-23 2023-01-26 北京字节跳动网络技术有限公司 Light brightness adjustment method and apparatus, and electronic device
CN113364993B (en) * 2021-07-23 2023-04-18 北京字节跳动网络技术有限公司 Exposure parameter value processing method and device and electronic equipment
CN113923828A (en) * 2021-09-16 2022-01-11 深圳世元云标识科技有限公司 Control method and device for identification product, system and storage medium
CN115175416A (en) * 2022-06-24 2022-10-11 淮阴师范学院 Automatic control method for automobile headlamp based on machine vision

Also Published As

Publication number Publication date
CN112333898B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN112333898B (en) Lamp brightness adjusting method and device, lamp and storage medium
US10261393B2 (en) Method for controlling infrared illuminator and related image-recording device
CN111552470A (en) Data analysis task creation method and device in Internet of things and storage medium
US20130128103A1 (en) Real-Time Adjustment Of Illumination Color Temperature For Digital Imaging Applications
WO2017128988A1 (en) Method for measuring ambient brightness value and photographing device
WO2023001001A1 (en) Light brightness adjustment method and apparatus, and electronic device
CN108881875B (en) Image white balance processing method and device, storage medium and terminal
CN113473035A (en) Ambient brightness determination method and device and electronic equipment
CN111402220B (en) Method and device for acquiring information
CN110766780A (en) Method and device for rendering room image, electronic equipment and computer readable medium
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
CN112465940B (en) Image rendering method and device, electronic equipment and storage medium
US20140147052A1 (en) Detecting Broken Lamps In a Public Lighting System Via Analyzation of Satellite Images
CN108760042B (en) Optical sensor calibration method and device, mobile device, medium and electronic device
CN112584057B (en) Illuminance detection method and device
CN110636222B (en) Photographing control method and device, terminal equipment and storage medium
CN113364993B (en) Exposure parameter value processing method and device and electronic equipment
CN112235563B (en) Focusing test method and device, computer equipment and storage medium
CN111062920B (en) Method and device for generating semiconductor detection report
CN111767098A (en) Method and device for adjusting font size
CN113038026B (en) Image processing method and electronic device
CN112770111B (en) Device and method for identifying coincidence of optical axis of lens and center of image sensor
CN113099101B (en) Camera shooting parameter adjusting method and device and electronic equipment
CN111680754B (en) Image classification method, device, electronic equipment and computer readable storage medium
CN113824938A (en) Projection control method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant