CN112509069B - Remote-controllable light source control method and device - Google Patents

Remote-controllable light source control method and device Download PDF

Info

Publication number
CN112509069B
CN112509069B CN202011299658.9A CN202011299658A CN112509069B CN 112509069 B CN112509069 B CN 112509069B CN 202011299658 A CN202011299658 A CN 202011299658A CN 112509069 B CN112509069 B CN 112509069B
Authority
CN
China
Prior art keywords
light source
image
source body
gray
value
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.)
Active
Application number
CN202011299658.9A
Other languages
Chinese (zh)
Other versions
CN112509069A (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.)
Jianghan University
Original Assignee
Jianghan University
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 Jianghan University filed Critical Jianghan University
Priority to CN202011299658.9A priority Critical patent/CN112509069B/en
Publication of CN112509069A publication Critical patent/CN112509069A/en
Application granted granted Critical
Publication of CN112509069B publication Critical patent/CN112509069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/243Aligning, centring, orientation detection or correction of the image by compensating for image skew or non-uniform image deformations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • 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
    • 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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • 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

Abstract

The invention provides a light source control method and a device capable of being controlled remotely, wherein the method comprises the following steps: scanning face information of a user from a remote control device and confirming the identity of the user based on the face information; if the confirmation is successful, receiving a color image from the surrounding environment of the light source body, and determining the brightness of the surrounding environment of the light source body; providing different lighting schemes for a user to select based on the ambient brightness; based on the selection result, remotely controlling the light source body to illuminate according to the selected illumination scheme; the device comprises: the remote-controllable light source control method and device comprises a scanning module, an identification module, a receiving module, a detection module, a calling module and an executing module; the invention realizes the remote control of the light source, can provide a proper illumination scheme and improves the use effect of the light source.

Description

Remote-controllable light source control method and device
Technical Field
The present invention relates to the field of light source control, and in particular, to a method and apparatus for controlling a light source capable of being remotely controlled.
Background
The visual detector for welding spots of welding parts is used for detecting whether welding spots of manual suspension spot welding produced on line in a stamping and welding factory leak welding or not and counting and analyzing corresponding data, can adapt to detection of parts of workpieces with the same specification and different shapes, and has the characteristics of high efficiency and high recognition rate.
In the detection process of the welding spot vision detector for the welding piece, the light source is required to carry out auxiliary illumination, so that the problems of welding missing, cold joint and the like of the welding piece are better observed, the detection accuracy of the welding spot vision detector for the welding piece is improved, the current light source needs to be started to a workbench when in use, the power of the light source needs to be controlled according to experience, and the like, the operation and the use of the light source are inconvenient, and the light source is reasonably used for the convenience of operating the light source, so that the invention provides the light source control method and the light source control device capable of being remotely controlled.
Disclosure of Invention
The invention provides a light source control method and a light source control device capable of being controlled remotely, which are used for realizing remote control of a light source, providing an optional illumination scheme according to the brightness of the surrounding environment of a light source body and conducting remote control illumination.
The invention provides a light source control method capable of being controlled remotely, which comprises the following steps:
scanning face information of a user from a remote control device and confirming the identity of the user based on the face information;
if the confirmation is successful, receiving a color image from the surrounding environment of the light source body, and determining the brightness of the surrounding environment of the light source body;
providing different lighting schemes for a user to select based on the ambient brightness;
based on the selection result, the remote control light source body illuminates according to the selected illumination scheme.
Preferably, scanning facial information of a user from a remote control device includes:
scanning the face of the user to be detected, obtaining a face image of the user to be detected, preprocessing the face image, and extracting face information.
Preferably, the confirming the user identity based on the face information includes:
scanning all faces of a user, obtaining face image samples of all the users, respectively extracting two eyes of the face image samples, determining whether the positions of the two eyes are in a preset position range, and if not, performing inclination correction on the faces in the face image samples;
performing background modeling on the face image sample subjected to inclination correction based on a Gaussian mixture model, and extracting a face map of the face image sample;
detecting key feature points of the facial image based on a regression tree, and integrating information of the key feature points to obtain facial information in the facial image sample;
training a convolutional neural network model by taking the face image sample and the face information in the face image sample as training data until the recognition rate of the convolutional neural network model on the face information in the face image sample is greater than a preset threshold;
inputting the face information of the user to be detected into a convolutional neural network model, matching with the face information in the face image sample,
if the matching is successful, indicating that the identity of the user to be detected is normal, and obtaining the use right of the remote control device;
otherwise, indicating that the identity of the user to be detected is abnormal, and the remote control device cannot be used.
Preferably, receiving a color image from the surrounding of the light source body and determining the brightness of the surrounding of the light source body comprises:
acquiring a color image around a light source body acquired by an acquisition module based on a light source assembly;
extracting the brightest area and the darkest area in the color image, respectively determining the brightness levels of the brightest area and the darkest area according to preset brightness levels, and determining the ratio of the brightness levels of the brightest area and the darkest area as the contrast ratio of the color image;
performing preliminary graying on the color image to obtain a preliminary graying result, combining the contrast of the color image with the preliminary graying result, constructing an error energy function, and performing decoloring treatment on the preliminary graying result based on the error energy function to finally obtain a gray image;
dividing the gray level image to obtain n sub-images, setting gray level weight values for each sub-image, respectively determining pixel values of each pixel point in each sub-image, taking the average value of pixels of all pixel points in each sub-image as the gray level value of the sub-image, and carrying out weighted summation on the gray level values of each sub-image based on the gray level weight values to obtain a first gray level value of the gray level image;
determining a sub-image with the gray value of each sub-image being larger than a preset gray value as a first area, and determining a sub-image with the gray value of each sub-image being smaller than or equal to the preset gray value as a second area;
calculating a gray average value of all sub-images included in the first area as a gray value of the first area, calculating a gray average value of all sub-images included in the second area as a gray value of the second area, and adding the gray value of the first area and the gray value of the second area as a second gray value of the gray image;
based on a preset mapping relation, a first brightness value and a second brightness value which are respectively corresponding to the first gray value and the second gray value are obtained;
and calculating the average value of the first brightness value and the second brightness value, namely the brightness value of the surrounding environment of the light source body.
Preferably, providing different lighting schemes for user selection based on the ambient brightness comprises:
acquiring the material, volume and light reflectivity parameters of an illumination target;
determining the illumination power of the light source body based on the brightness value of the surrounding environment of the light source body and the parameter of the illumination target;
the light source body is provided with different spectrums, and different illumination effects of the light source body under the illumination of each spectrum are provided;
and taking the lighting power of the light source body, each spectrum and the lighting effect corresponding to each spectrum as different lighting schemes and providing the different lighting schemes for users.
Preferably, based on the selection result, controlling the light source body to illuminate according to the selected illumination scheme includes: and the user selects a lighting scheme containing the lighting effect as a selection result according to the actually-expected lighting effect, and sends the selection result to the light source body to control the light source body to perform lighting according to the lighting scheme.
Preferably, sending the selection result to a light source body, and controlling the light source body to illuminate according to the illumination scheme includes:
and encoding the selection result, transmitting the encoded selection result to a light source body through WIFI communication, receiving the encoded selection result by the light source body, decoding the selection result to obtain a lighting scheme of the selection result, and controlling the light source body to light according to the lighting scheme.
Preferably, a remotely controllable light source control device includes:
a scanning module for scanning face information of a user from a remote control device;
the identification module is used for confirming the identity of the user based on the face information;
the receiving module is connected with the light source body through WIFI communication and receives color images from the surrounding environment of the light source body;
the detection module is used for determining the brightness of the surrounding environment of the light source body based on the color image;
the calling module is used for providing different illumination schemes based on the ambient brightness for a user to select;
and the execution module is used for remotely controlling the light source body to illuminate according to the selected illumination scheme based on the selection result.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a method for remotely controllable light source control according to an embodiment of the invention;
fig. 2 is a block diagram of a remote controllable light source control device according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The invention provides a light source control method capable of being controlled remotely, which is shown in fig. 1:
scanning face information of a user from a remote control device and confirming the identity of the user based on the face information;
if the confirmation is successful, receiving a color image from the surrounding environment of the light source body, and determining the brightness of the surrounding environment of the light source body;
providing different lighting schemes for a user to select based on the ambient brightness;
based on the selection result, the remote control light source body illuminates according to the selected illumination scheme.
In this embodiment, the face information of the user is information containing key feature points about eyes, nose, mouth, and the like.
In this embodiment, the color information of the color image may be transferred to the gray scale image, and then the brightness of the surrounding environment of the light source body may be calculated according to the pixel values of the pixel points in the gray scale image.
The beneficial effects of the technical scheme are as follows: the method is used for realizing remote control of the light source, providing an alternative illumination scheme according to the brightness of the surrounding environment of the light source body and improving the use effect of the light source.
The embodiment of the invention provides a light source control method capable of being controlled remotely, which scans facial information of a user from a remote control device and comprises the following steps: scanning the face of the user to be detected, obtaining a face image of the user to be detected, preprocessing the face image, and extracting face information.
In this embodiment, preprocessing the facial image includes digitizing, geometrically transforming, normalizing, smoothing, restoring, enhancing, etc., the facial image.
The beneficial effects of the technical scheme are as follows: by preprocessing the face image, irrelevant information in the face image is eliminated, useful real information is recovered, the detectability of related information is enhanced, data is simplified to the maximum extent, and the accuracy of the extracted face information is more reliable.
The embodiment of the invention provides a light source control method capable of being controlled remotely, which is used for confirming the identity of a user based on facial information and comprises the following steps:
scanning all faces of a user, obtaining face image samples of all the users, respectively extracting two eyes of the face image samples, determining whether the positions of the two eyes are in a preset position range, and if not, performing inclination correction on the faces in the face image samples;
performing background modeling on the face image sample subjected to inclination correction based on a Gaussian mixture model, and extracting a face map of the face image sample;
detecting key feature points of the facial image based on a regression tree, and integrating information of the key feature points to obtain facial information in the facial image sample;
training a convolutional neural network model by taking the face image sample and the face information in the face image sample as training data until the recognition rate of the convolutional neural network model on the face information in the face image sample is greater than a preset threshold;
inputting the face information of the user to be detected into a convolutional neural network model, matching with the face information in the face image sample,
if the matching is successful, indicating that the identity of the user to be detected is normal, and obtaining the use right of the remote control device;
otherwise, indicating that the identity of the user to be detected is abnormal, and the remote control device cannot be used.
In this embodiment, the mixed gaussian model refers to a model formed by precisely quantizing objects with gaussian probability density functions and decomposing one object into several gaussian probability density functions.
In this embodiment, the key feature points are points that feature the face of eyes, nose, mouth, etc.
In this embodiment, the preset threshold is 90%, that is, the recognition rate of the convolutional neural network model on the face information in the face image sample is up to 90% or more.
The working principle and the beneficial effects of the technical scheme are as follows: background modeling is conducted by using a Gaussian mixture model, a face image of the face image sample is extracted, background points and face points can be distinguished more accurately, the obtained face image is more accurate, the convolutional neural network model is trained for multiple times, the accuracy of identifying the convolutional neural network model is improved, face information of a user to be detected is input into the convolutional neural network model, the identity of the user to be detected is detected, the user without using permission is limited, and the safety in a remote control process can be effectively improved.
The embodiment of the invention provides a light source control method capable of being controlled remotely, which is used for receiving a color image from the surrounding environment of a light source body and determining the brightness of the surrounding environment of the light source body, and comprises the following steps:
acquiring a color image around a light source body acquired by an acquisition module based on a light source assembly;
extracting the brightest area and the darkest area in the color image, respectively determining the brightness levels of the brightest area and the darkest area according to preset brightness levels, and determining the ratio of the brightness levels of the brightest area and the darkest area as the contrast ratio of the color image;
performing preliminary graying on the color image to obtain a preliminary graying result, combining the contrast of the color image with the preliminary graying result, constructing an error energy function, and performing decoloring treatment on the preliminary graying result based on the error energy function to finally obtain a gray image;
dividing the gray level image to obtain n sub-images, setting gray level weight values for each sub-image, respectively determining pixel values of each pixel point in each sub-image, taking the average value of pixels of all pixel points in each sub-image as the gray level value of the sub-image, and carrying out weighted summation on the gray level values of each sub-image based on the gray level weight values to obtain a first gray level value of the gray level image;
determining a sub-image with the gray value of each sub-image being larger than a preset gray value as a first area, and determining a sub-image with the gray value of each sub-image being smaller than or equal to the preset gray value as a second area;
calculating a gray average value of all sub-images included in the first area as a gray value of the first area, calculating a gray average value of all sub-images included in the second area as a gray value of the second area, and adding the gray value of the first area and the gray value of the second area as a second gray value of the gray image;
based on a preset mapping relation, a first brightness value and a second brightness value which are respectively corresponding to the first gray value and the second gray value are obtained;
and calculating the average value of the first brightness value and the second brightness value, namely the brightness value of the surrounding environment of the light source body.
In this embodiment, the preset mapping relationship means that the gray values of the gray image have brightness values of the color image corresponding to the gray values, and each gray value has a corresponding brightness value.
In this embodiment, the brightest region refers to a region in the color image where the reflected light can be emitted most, and the darkest region refers to a region in the color image where the reflected light can be emitted least.
In this embodiment, the setting of the gray weight value is related to the position of the region in the gray image, for example, the region in the image where the workbench is located has a high requirement for brightness, and the gray weight value is set to be large, and the region around the workbench has a low requirement for brightness, and the gray weight value is set to be small.
In this embodiment, the gray value refers to the shade degree of the color, the larger the gray value is, the more intense the color is, the preset gray value has a value of 155, the first area is an area larger than the preset gray value, that is, an area with stronger color, and the second area is an area smaller than or equal to the preset gray value, that is, an area with weaker color.
The beneficial effects of above-mentioned design scheme are: the method comprises the steps of dividing the brightest area and the darkest area in a color image, determining the ratio of the brightness levels of the bright area and the darkest area as the contrast of the color image, combining the contrast of the color image with a preliminary graying result, constructing an error energy function, considering the influence of the brightest area and the darkest area, eliminating the problem of poor applicability of a gray level image, dividing the gray level image to obtain n sub-images, setting a gray level weight value for each sub-image, eliminating the interference of various factors on the sub-images, enabling the gray level value of each sub-image to better reflect the characteristics of the image, obtaining the brightness value of the surrounding environment of the light source body through the average value of the first brightness value and the second brightness value, and fusing the obtained brightness value through two detection methods.
The embodiment of the invention provides a light source control method capable of being controlled remotely, which provides different lighting schemes for users to select based on the ambient brightness, and comprises the following steps:
acquiring the material, volume and light reflectivity parameters of an illumination target;
determining the illumination power of the light source body based on the brightness value of the surrounding environment of the light source body and the parameter of the illumination target;
the light source body is provided with different spectrums, and different illumination effects of the light source body under the illumination of each spectrum are provided;
and taking the lighting power of the light source body, each spectrum and the lighting effect corresponding to each spectrum as different lighting schemes and providing the different lighting schemes for users.
The beneficial effects of the above-mentioned design scheme are: the power can provide good detection environment with enough brightness through the brightness value of the surrounding environment of the light source body and the parameters of the illumination target, meanwhile, the brightness is not too bright, the purpose of saving energy is achieved, and the purpose of observing clearly and protecting eyes is achieved by selecting a proper light source spectrum according to the parameters of the illumination target.
The embodiment of the invention provides a light source control method capable of being controlled remotely, which is used for controlling a light source body to illuminate according to a selected illumination scheme based on a selection result and comprises the following steps: the method comprises the steps that a user selects a lighting scheme containing the lighting effect as a selection result according to the actually-expected lighting effect, codes the selection result and sends the selection result to a light source body through WIFI communication, the light source body receives the coded selection result and decodes the selection result to obtain the lighting scheme of the selection result, and the light source body is controlled to perform lighting according to the lighting scheme.
In this embodiment, the user may determine the lighting scheme by selecting an appropriate light source power and spectrum according to actual requirements, such as sensitivity of a worker to the light source, reflectivity of an object to be detected to the light source, and the like.
The beneficial effects of above-mentioned design scheme are: by encoding and decoding the selection result, an efficient, flexible and safe transmission mode can be provided, and the high efficiency and safety of information transmission in the remote control process are improved.
The embodiment of the invention provides a light source control device capable of being controlled remotely, which is shown in fig. 2:
a scanning module for scanning face information of a user from a remote control device;
the identification module is used for confirming the identity of the user based on the face information;
the receiving module is connected with the light source body through WIFI communication and receives color images from the surrounding environment of the light source body;
the detection module is used for determining the brightness of the surrounding environment of the light source body based on the color image;
the calling module is used for providing different illumination schemes based on the ambient brightness for a user to select;
and the execution module is used for remotely controlling the light source body to illuminate according to the selected illumination scheme based on the selection result.
The working principle and the beneficial effects of the design scheme are as follows: the scanning module sends the scanned face information to the recognition module, and the recognition module confirms the identity of the user based on the face information. After the success of the confirmation, the detection module detects the brightness of the surrounding environment of the light source body based on the color image received by the receiving module, the invoking module provides different illumination schemes based on the environment brightness for the user to select, and the executing module receives and executes the selection result; the device realizes remote control of the light source and provides a reasonable lighting scheme.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (7)

1. A remotely controllable light source control method, comprising:
scanning face information of a user from a remote control device and confirming the identity of the user based on the face information;
if the confirmation is successful, the color image from the surrounding environment of the light source body is received, the brightness of the surrounding environment of the light source body is determined,
wherein, receive the color image from the surrounding environment of the light source body, and confirm the luminance of the surrounding environment of the light source body, include:
acquiring a color image around a light source body acquired by an acquisition module based on a light source assembly;
extracting the brightest area and the darkest area in the color image, respectively determining the brightness levels of the brightest area and the darkest area according to preset brightness levels, and determining the ratio of the brightness levels of the brightest area and the darkest area as the contrast ratio of the color image;
performing preliminary graying on the color image to obtain a preliminary graying result, combining the contrast of the color image with the preliminary graying result, constructing an error energy function, and performing decoloring treatment on the preliminary graying result based on the error energy function to finally obtain a gray image;
dividing the gray level image to obtain n sub-images, setting gray level weight values for each sub-image, respectively determining pixel values of each pixel point in each sub-image, taking the average value of pixels of all pixel points in each sub-image as the gray level value of the sub-image, and carrying out weighted summation on the gray level values of each sub-image based on the gray level weight values to obtain a first gray level value of the gray level image;
determining a sub-image with the gray value of each sub-image being larger than a preset gray value as a first area, and determining a sub-image with the gray value of each sub-image being smaller than or equal to the preset gray value as a second area;
calculating a gray average value of all sub-images included in the first area as a gray value of the first area, calculating a gray average value of all sub-images included in the second area as a gray value of the second area, and adding the gray value of the first area and the gray value of the second area as a second gray value of the gray image;
based on a preset mapping relation, a first brightness value and a second brightness value which are respectively corresponding to the first gray value and the second gray value are obtained;
calculating the average value of the first brightness value and the second brightness value, namely the brightness value of the surrounding environment of the light source body;
providing different lighting schemes for a user to select based on the ambient brightness;
based on the selection result, the remote control light source body illuminates according to the selected illumination scheme.
2. A method of remotely controllable light source control as claimed in claim 1, characterized in that scanning facial information from a user of the remote control device comprises:
scanning the face of the user to be detected, obtaining a face image of the user to be detected, preprocessing the face image, and extracting face information.
3. The method of claim 1, wherein the user identity is confirmed based on facial information Comprising the following steps:
scanning all faces of a user, obtaining face image samples of all the users, respectively extracting two eyes of the face image samples, determining whether the positions of the two eyes are in a preset position range, and if not, performing inclination correction on the faces in the face image samples;
performing background modeling on the face image sample subjected to inclination correction based on a Gaussian mixture model, and extracting a face map of the face image sample;
detecting key feature points of the facial image based on a regression tree, and integrating information of the key feature points to obtain facial information in the facial image sample;
training a convolutional neural network model by taking the face image sample and the face information in the face image sample as training data until the recognition rate of the convolutional neural network model on the face information in the face image sample is greater than a preset threshold;
inputting the face information of the user to be detected into a convolutional neural network model, matching with the face information in the face image sample,
if the matching is successful, indicating that the identity of the user to be detected is normal, and obtaining the use right of the remote control device;
otherwise, indicating that the identity of the user to be detected is abnormal, and the remote control device cannot be used.
4. A method of remotely controllable light source control as claimed in claim 1, wherein providing different lighting schemes for user selection based on said ambient brightness comprises:
acquiring the material, volume and light reflectivity parameters of an illumination target;
determining the illumination power of the light source body based on the brightness value of the surrounding environment of the light source body and the parameter of the illumination target;
the light source body is provided with different spectrums, and different illumination effects of the light source body under the illumination of each spectrum are provided;
and taking the lighting power of the light source body, each spectrum and the lighting effect corresponding to each spectrum as different lighting schemes and providing the different lighting schemes for users.
5. A remotely controllable light source control method as claimed in claim 1, wherein controlling the light source body to illuminate according to the selected illumination scheme based on the selection result comprises: and the user selects a lighting scheme containing the lighting effect as a selection result according to the actually-expected lighting effect, and sends the selection result to the light source body to control the light source body to perform lighting according to the lighting scheme.
6. The method of claim 5, wherein transmitting the selection result to a light source body, and wherein controlling the light source body to illuminate according to the illumination scheme comprises:
and encoding the selection result, transmitting the encoded selection result to a light source body through WIFI communication, receiving the encoded selection result by the light source body, decoding the selection result to obtain a lighting scheme of the selection result, and controlling the light source body to light according to the lighting scheme.
7. A remotely controllable light source control device, comprising:
a scanning module for scanning face information of a user from a remote control device;
the identification module is used for confirming the identity of the user based on the face information;
the receiving module is connected with the light source body through WIFI communication and receives color images from the surrounding environment of the light source body;
a detection module for determining the brightness of the surrounding environment of the light source body based on the color image,
wherein determining the brightness of the surrounding environment of the light source body based on the color image comprises:
acquiring a color image around a light source body acquired by an acquisition module based on a light source assembly;
extracting the brightest area and the darkest area in the color image, respectively determining the brightness levels of the brightest area and the darkest area according to preset brightness levels, and determining the ratio of the brightness levels of the brightest area and the darkest area as the contrast ratio of the color image;
performing preliminary graying on the color image to obtain a preliminary graying result, combining the contrast of the color image with the preliminary graying result, constructing an error energy function, and performing decoloring treatment on the preliminary graying result based on the error energy function to finally obtain a gray image;
dividing the gray level image to obtain n sub-images, setting gray level weight values for each sub-image, respectively determining pixel values of each pixel point in each sub-image, taking the average value of pixels of all pixel points in each sub-image as the gray level value of the sub-image, and carrying out weighted summation on the gray level values of each sub-image based on the gray level weight values to obtain a first gray level value of the gray level image;
determining a sub-image with the gray value of each sub-image being larger than a preset gray value as a first area, and determining a sub-image with the gray value of each sub-image being smaller than or equal to the preset gray value as a second area;
calculating a gray average value of all sub-images included in the first area as a gray value of the first area, calculating a gray average value of all sub-images included in the second area as a gray value of the second area, and adding the gray value of the first area and the gray value of the second area as a second gray value of the gray image;
based on a preset mapping relation, a first brightness value and a second brightness value which are respectively corresponding to the first gray value and the second gray value are obtained;
calculating the average value of the first brightness value and the second brightness value, namely the brightness value of the surrounding environment of the light source body;
the calling module is used for providing different illumination schemes based on the ambient brightness for a user to select;
and the execution module is used for remotely controlling the light source body to illuminate according to the selected illumination scheme based on the selection result.
CN202011299658.9A 2020-11-18 2020-11-18 Remote-controllable light source control method and device Active CN112509069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011299658.9A CN112509069B (en) 2020-11-18 2020-11-18 Remote-controllable light source control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011299658.9A CN112509069B (en) 2020-11-18 2020-11-18 Remote-controllable light source control method and device

Publications (2)

Publication Number Publication Date
CN112509069A CN112509069A (en) 2021-03-16
CN112509069B true CN112509069B (en) 2023-11-14

Family

ID=74958164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011299658.9A Active CN112509069B (en) 2020-11-18 2020-11-18 Remote-controllable light source control method and device

Country Status (1)

Country Link
CN (1) CN112509069B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060092658A (en) * 2005-02-18 2006-08-23 삼성전자주식회사 Image apparatus for controlling white-balance automatically and method for controlling white-balance thereof
CN107688774A (en) * 2017-07-10 2018-02-13 国网江苏省电力公司盐城供电公司 A kind of remote interlocking control system illuminated with IMAQ

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060092658A (en) * 2005-02-18 2006-08-23 삼성전자주식회사 Image apparatus for controlling white-balance automatically and method for controlling white-balance thereof
CN107688774A (en) * 2017-07-10 2018-02-13 国网江苏省电力公司盐城供电公司 A kind of remote interlocking control system illuminated with IMAQ

Also Published As

Publication number Publication date
CN112509069A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN107992794A (en) A kind of biopsy method, device and storage medium
CN102542299B (en) Face recognition method, device and mobile terminal capable of recognizing face
CN108573203A (en) Identity identifying method and device and storage medium
CN107862350A (en) Test paper detecting method, apparatus and system
CN112509069B (en) Remote-controllable light source control method and device
CN110287787A (en) Image-recognizing method, device and computer readable storage medium
CN106845312A (en) A kind of pre- determination methods of image in 2 D code quality
WO2005043295A2 (en) Systems and methods relating to afis recognition, extraction, and 3-d analysis strategies
CN115187927A (en) Remote monitoring management method and system for viewing seat
CN106445084A (en) Positioning method and acquisition equipment
CN114943841A (en) Method and device for assisting operation safety control based on image recognition
CN111387932B (en) Vision detection method, device and equipment
CN110717397A (en) Online translation system based on mobile phone camera
KR20210041330A (en) Fastening tool system and control method thereof
US20080075378A1 (en) Method and apparatus for informing user of image recognition error in imaging system
US20060161787A1 (en) Authentication key and apparatus, method, and computer program for authentication
CN112651279A (en) 3D face recognition method and system based on short-distance application
CN114004893B (en) Detection method and device of infrared thermal image fish finder
Boittiaux et al. SUCRe: Leveraging scene structure for underwater color restoration
CN109187585A (en) Laser icon information acquisition methods and device
CN210776750U (en) Wireless code scanning gun for vein identification
CN115866384A (en) Collation device, storage medium, and collation method
CN107392072B (en) Bill two-dimensional code image acquisition method and device based on multiple wavelengths and multiple light sources
CN110991234A (en) Face recognition equipment and auxiliary authentication method
CN113469169B (en) Steel cylinder perforation code positioning and identifying system and identifying method

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