CN109474789B - Method for adjusting field angle of fill-in lamp and mobile terminal - Google Patents

Method for adjusting field angle of fill-in lamp and mobile terminal Download PDF

Info

Publication number
CN109474789B
CN109474789B CN201811278327.XA CN201811278327A CN109474789B CN 109474789 B CN109474789 B CN 109474789B CN 201811278327 A CN201811278327 A CN 201811278327A CN 109474789 B CN109474789 B CN 109474789B
Authority
CN
China
Prior art keywords
mobile terminal
light
fill
lamp
target
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
CN201811278327.XA
Other languages
Chinese (zh)
Other versions
CN109474789A (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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201811278327.XA priority Critical patent/CN109474789B/en
Publication of CN109474789A publication Critical patent/CN109474789A/en
Application granted granted Critical
Publication of CN109474789B publication Critical patent/CN109474789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming

Abstract

The embodiment of the invention discloses a method for adjusting the field angle of a light supplement lamp and a mobile terminal, and aims to solve the problem that the field angle of the light supplement lamp is fixed and cannot be flexibly adjusted in the prior art. The method is applied to a mobile terminal, the mobile terminal comprises a light supplement lamp, and the method comprises the following steps: detecting the distance between a target object and the mobile terminal; determining a target refraction device corresponding to the fill-in lamp based on the distance, wherein the fill-in lamp corresponds to a plurality of refraction devices, the target refraction device is one of the refraction devices, and a field of view (FOV) of each of the refraction devices is different; and starting the light supplement lamp to enable light emitted by the light supplement lamp to be emitted out through the target refraction device.

Description

Method for adjusting field angle of fill-in lamp and mobile terminal
Technical Field
The invention relates to the field of terminals, in particular to a method for adjusting the field angle of a light supplement lamp and a mobile terminal.
Background
Along with the continuous promotion of mobile terminal camera performance, mobile terminal's image acquisition function also is stronger and stronger. In practical applications, a user may use the mobile terminal under different lighting conditions, such as: the user utilizes the camera to carry out the people's face unblock under night or the poor environment of light, however, when these scenes carry out people's face unblock, often can be difficult to obtain ideal unblock effect because of the underexposure.
At present, some mobile terminals can set up the light filling lamp (for example infrared light filling lamp) usually, and the light filling lamp is also called camera lamp, aircraft nose lamp etc. and its primary importance is providing supplementary light for the camera under the lack light condition to promote people's face unblock efficiency under the dark surrounds.
However, in the prior art, the Field Of View (FOV) Of the fill-in light is fixed and cannot be flexibly adjusted, which may cause some problems, for example, when the mobile terminal is close to the face Of a person, the fill-in light range is insufficient; and when the mobile terminal is far away from the face, the light supplement intensity is insufficient, and the like.
Disclosure of Invention
The embodiment of the invention provides a method for adjusting the field angle of a light supplement lamp and a mobile terminal, and aims to solve the problem that the field angle of the light supplement lamp is fixed and cannot be flexibly adjusted in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for adjusting a field angle of a fill-in light is provided, where the method is applied to a mobile terminal, and includes:
detecting the distance between a target object and the mobile terminal;
determining a target refraction device corresponding to the fill-in lamp based on the distance, wherein the fill-in lamp corresponds to a plurality of refraction devices, the target refraction device is one of the refraction devices, and a field of view (FOV) of each of the refraction devices is different;
and starting the light supplement lamp to enable light emitted by the light supplement lamp to be emitted out through the target refraction device.
In a second aspect, a mobile terminal is provided, including:
the distance detection module is used for detecting the distance between a target object and the mobile terminal;
a determining module, configured to determine, based on the distance, a target refracting device corresponding to the fill-in lamp, where the fill-in lamp corresponds to multiple refracting devices, the target refracting device is one of the multiple refracting devices, and a field angle FOV of each of the multiple refracting devices is different;
and the light supplement lamp starting module is used for starting the light supplement lamp so that light emitted by the light supplement lamp is emitted out through the target refraction device.
In a third aspect, a mobile terminal is provided, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the method for adjusting the field angle of the fill-in light according to the first aspect are implemented.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for adjusting the field angle of a fill-in light according to the first aspect.
In the embodiment of the invention, the light supplement lamp of the mobile terminal is provided with the plurality of refraction devices corresponding to different FOVs, so that different refraction devices can be selected based on the distance of the target object in image acquisition scenes such as face recognition unlocking and the like, and the problems that the field angle of the light supplement lamp is fixed and flexible adjustment cannot be performed in the prior art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart illustrating a method for adjusting an angle of view of a fill-in lamp according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a position relationship between a fill-in lamp and a refraction device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method 100 for adjusting an angle of view of a fill-in lamp, where the method 100 may be applied to a mobile terminal including the fill-in lamp and a refraction device.
The fill-in light lamp may be an infrared fill-in light lamp (or referred to as an infrared LED) capable of emitting infrared rays; and the light source can also be a light supplement lamp capable of emitting common visible light rays, such as a flash lamp and the like.
In the embodiment of the present invention, the position of the fill-in light on the mobile terminal is not limited to be disposed on a side facing a user (or referred to as front), but may also be disposed on a side facing away from the user (or referred to as rear).
The refraction device, or a lampshade called a fill-in lamp, is generally installed in the irradiation direction of the fill-in lamp and can be used to adjust the field angle FOV of the fill-in lamp.
As shown in fig. 1, this method embodiment 100 includes the steps of:
s102: and detecting the distance between the target object and the mobile terminal.
The target object in this embodiment may be understood as an object to be photographed by a camera of the mobile terminal, and may specifically be any object in a scene of the camera, for example, furniture, trees, or a human face. Optionally, in a scene of performing face recognition unlocking, the target object is specifically a face.
Generally, a mobile terminal is mounted with a distance sensor therein, which can be used to measure its distance to a target object. Alternatively, the distance sensor may be an optical displacement sensor, a linear proximity sensor, an ultrasonic displacement sensor, or the like.
In this step, the distance between the target object and the mobile terminal can be detected by using the distance sensor in the mobile terminal.
Optionally, the embodiment may be applied in a scene where the human face is unlocked and the ambient light is dark, so that the steps are performed as follows: receiving input operation for face recognition, and detecting the distance between a target object and the mobile terminal when the intensity of ambient light is smaller than a preset light intensity value, wherein the target object comprises a face to be recognized. In this embodiment, the input operation may be an operation of lighting a screen to trigger face recognition, an operation of paying money for right confirmation, or an instruction issued remotely to cause the terminal device to start face recognition. The input operation is not limited to a user input, or a remote control input.
S104: and determining a target refraction device corresponding to the light supplement lamp based on the distance.
In an embodiment of the present invention, a fill-in light of a mobile terminal corresponds to a plurality of refraction devices, a target refraction device is one of the refraction devices, and an FOV of each of the refraction devices is different, or is referred to as: the refraction devices are used for adjusting the light filling lamp to emit light with different field angles FOV.
It should be noted that, the above mentioned plurality of refraction devices may have different structures and shapes, and in fact, the plurality of refraction devices may have different structures and shapes, for example, in one embodiment, the plurality of refraction devices form a whole structure, and each part of the whole structure has different refractive index, so that each part of the whole structure may be called different refraction device; in another embodiment, the plurality of refractive means are positionally isolated from each other.
Optionally, the plurality of refraction devices include a first refraction device and a second refraction device, the field angle of the first refraction device is a first FOV, the field angle of the second refraction device is a second FOV, and the first FOV and the second FOV are different, for example, the first FOV is larger than the second FOV, or the first FOV is smaller than the second FOV.
Optionally, the number of the light supplement lamps is a plurality of, specifically, one light supplement lamp can correspond to one refraction device, and a plurality of light supplement lamps and a plurality of refraction devices are in one-to-one correspondence, so that the plurality of light supplement lamps and the plurality of refraction devices can be fixedly installed in the mobile terminal, and no auxiliary equipment, such as a motor, is needed to move the position of the light supplement lamp or the position of the refraction device, so that the cost is saved.
Optionally, the number of the light supplement lamps is one, and one light supplement lamp corresponds to a plurality of refraction devices, so that after the target refraction device is determined, the light supplement lamp generally needs to be moved to a position matched with the target refraction device; or the target refraction device is moved to a position matched with the light supplement lamp; or the positions of the light supplementing lamp and the target refraction device are moved simultaneously, so that the light supplementing lamp is matched with the position of the target refraction device, and light emitted by the light supplementing lamp is emitted out through the target refraction device so as to supplement light to a target object.
When the step S104 is executed specifically, for example, if it is detected that the distance between the target object and the mobile terminal is within a first preset value range, the first refraction device is selected as the target refraction device; and when the distance of the target object is detected to be in a second preset value range, selecting the second refraction device as the target refraction device, and the like. Before the embodiment is executed, the corresponding relationship between the different preset value intervals and the different refraction devices may be pre-established.
Several specific implementations of the foregoing step S104 are shown herein in accordance with embodiments of the present invention. Of course, it should be understood that step S104 may also be implemented in other ways, and the embodiment of the present invention is not limited thereto.
S106: and starting the light supplement lamp to enable light emitted by the light supplement lamp to be emitted out through the target refraction device.
In the step, the light supplement lamp is started, so that the image information of the target object can be collected in an auxiliary mode.
As described above, if the number of the light supplement lamps in the mobile terminal is one, the light supplement lamp can be directly started in this step; if the number of the light supplement lamps is multiple, the light supplement lamps corresponding to the target refraction device can be started.
Optionally, if the number of the light supplement lamps is multiple, the embodiment may further keep the light supplement lamps except the started light supplement lamp in a turned-off state, so as to reduce energy consumption and increase standby time of the mobile terminal.
This step is through the operation of starting the light filling lamp, and light can be sent to the light filling lamp, and for example, infrared light is sent to infrared light filling lamp, perhaps, the flash light sends visible light etc. to supplementary acquisition target object's image information, and then utilize the image information who gathers to carry out people's face unblock, perhaps autodyne etc..
According to the method for adjusting the field angle of the light supplement lamp, which is provided by the embodiment of the invention, the light supplement lamp of the mobile terminal corresponds to the plurality of refraction devices, and the FOVs of the plurality of refraction devices are different, so that different refraction devices can be selected based on the distance of a target object in image acquisition scenes such as face recognition and the like of a camera, and the problems that the field angle of the light supplement lamp is fixed and flexible adjustment cannot be performed in the prior art are solved.
In the prior art, when a face is unlocked in a dark environment, when a mobile terminal is close to the face, the energy of infrared light irradiated to the face is sufficient, but the problem of insufficient light supplement range generally occurs; when the mobile terminal is far away from the face, the energy (intensity) of infrared light irradiated on the face is small, so that the reflected infrared light received by the camera is less, face feature information cannot be well acquired, the face recognition rate is low, and the face recognition (unlocking) speed is slow.
According to the method for adjusting the field angle of the light supplement lamp provided by the embodiment of the invention, when the face recognition is carried out, if the mobile terminal is close to the face, a refraction device with a larger field angle can be selected, so that the problem of insufficient light supplement range is solved, and the face recognition efficiency is improved.
According to the method for adjusting the field angle of the light supplement lamp provided by the embodiment of the invention, when the face recognition is carried out, if the mobile terminal is far away from the face, a refraction device with a smaller field angle can be selected to collect and emit the light of the light supplement lamp to the face, so that the problem of insufficient light supplement intensity is solved, the face recognition rate is improved, and the unlocking speed of the face recognition is increased.
It should be noted that when a camera in the mobile terminal acquires an image (including face unlocking, self-photographing, and the like), the light supplement lamp is usually turned on under the condition of insufficient light, and therefore before the implementation of each embodiment of the present invention, the light intensity may also be detected by the light sensor, and if the light intensity is lower than a preset value, each step of the embodiment of the present invention is implemented.
As shown in fig. 2, fig. 2 is a schematic structural diagram of a fill-in light and a refraction device in a mobile terminal, in this embodiment, the fill-in light is specifically an infrared LED, and the number of the fill-in light is two, see the LED1 and the LED2 in fig. 2.
The front camera of the mobile terminal may be in a right position, not shown in fig. 2, according to the orientation shown in fig. 2.
The two infrared LED lamps (i.e., the LED1 and the LED2) share a refraction device, or a lampshade, wherein the refraction index of the left half part and the right half part of the refraction device are different, the left half part is referred to as the first refraction device 201, and the right half part is referred to as the second refraction device 202.
As can be seen from fig. 2, the field angle of the first refractive device 201 is the first FOV, that is, the first refractive device 201 adjusts the LED1 to exit the first FOV, see FOV1 in fig. 2; the angle of view of the second refraction device 202 is a second FOV, i.e., the second refraction device 202 adjusts the LED2 to exit at the second FOV, see FOV2 in fig. 2, where FOV1 is greater than FOV2, i.e., the angle of exit angle of FOV1 is greater than the angle of exit angle of FOV 2.
Because the infrared light exit angle FOV2 of the second refraction device 202 is smaller than the infrared light exit angle FOV1 of the first refraction device 201, the more concentrated the emitted infrared light is, when the unlocking distance of the human face is longer, the greater the energy of the infrared light passing through the second refraction device 202 and irradiating the human face is, the clearer the target object image (human face) shot by the front camera is, the more the obtained human face feature information is, and the infrared human face unlocking distance is longer.
Similarly, when the unblock distance is nearer, the infrared light exit angle through second refraction device 202 is little, the region that shines the people face is limited, can not give whole people face "light filling", and the infrared light through first refraction device 201, exit angle is big, can be whole people face "light filling" when closely for leading camera can clearly shoot complete people face, acquires complete people face characteristic information, is fit for using when infrared people face unblock distance is nearer.
In this embodiment, the LED1 and the LED2 may be the same LED lamp or two different LED lamps, for example, the rated power of the LED1 is smaller than the rated power of the LED 2.
The mobile terminal can sense the distance d between a target object (human face) and the mobile terminal through a built-in distance sensor and feed back the distance d to an application processor of the mobile terminal. The infrared LED1 and the infrared LED2 are turned on and off under the control of a control signal sent by an application processor of the mobile terminal; an infrared unlocking camera (a front camera) of the mobile terminal shoots a target object and feeds image information back to the application processor for processing.
Based on the fill-in lamp and the refraction device shown in fig. 2, an embodiment of the present invention provides a method for adjusting an angle of view of a fill-in lamp, which specifically includes the following steps:
when the mobile terminal carries out face recognition unlocking or self-shooting, a light sensor of the mobile terminal detects that the light intensity in the environment is lower than a preset value, a distance sensor in the mobile terminal senses the distance D between a face and the mobile terminal, when the distance D is larger than a set distance D (a threshold value distance D is preset in an application processor of the mobile terminal), the unlocking distance of the face is judged to be far, the application processor of the mobile terminal sends a control signal to control an LED2 to be turned on (an LED1 is kept to be turned off), after the LED2 sends infrared light and passes through a second refraction device 202, the light emergent angle is small, infrared light is gathered, the amount of infrared light hitting on the face is large, a target object shot by an infrared unlocking camera is clearer, and after the application processor of the mobile terminal receives target object information sent by the camera, target characteristic information is extracted and matched with preset unlockable target information, and unlocking is completed, so that the face recognition rate when the infrared face unlocking distance is far is improved.
When a distance D between a human face and the mobile terminal is sensed by a distance sensor in the mobile terminal and is not more than a set distance D, the unlocking distance of the human face is determined to be short, an infrared LED1 is controlled to be turned on by a mobile terminal application processor (LED2 is kept turned off), after infrared light passes through a first refraction device 201, the infrared light emergent angle is large, the whole human face is supplemented with infrared light energy, an infrared unlocking camera shoots an unlocking target human face and feeds image information back to the mobile terminal application processor, and the mobile terminal application processor extracts target characteristic information and matches the target characteristic information with preset unlocking target information to finish unlocking.
According to the method for adjusting the field angle of the light supplement lamp, the light supplement lamp of the mobile terminal is provided with the two refraction devices corresponding to the two refraction devices, and the FOVs of the two refraction devices are different, so that different refraction devices can be selected based on the distance of a target object in the scene of image acquisition such as face recognition of a camera, and the problems that the field angle of the light supplement lamp in the prior art is fixed and flexible adjustment cannot be performed are solved.
According to the method for adjusting the field angle of the light supplement lamp, 2 infrared LED lamps and two-section type refraction devices are arranged, the distance d between a human face and a mobile terminal is pre-identified, different infrared LED lamps and different refraction devices are matched according to different infrared human face unlocking distances, and therefore the problem of low human face identification rate caused by insufficient far infrared light supplement due to too long human face identification distance is solved; meanwhile, the problem of low face recognition rate caused by insufficient field angle due to too short infrared light supplement distance in face recognition is solved.
Alternatively, the embodiment of the invention can be used on any mobile terminal needing to use 2D infrared face recognition.
Optionally, the embodiment of the invention can be used in a dark environment, and when the front camera of the mobile terminal performs self-shooting, the light supplementing effect is improved by identifying different self-shooting distances and controlling different LED lamps to be turned on, so that a better self-shooting effect is achieved.
Alternatively, in other embodiments, two different infrared LED lamps can be used as the LED1 and the LED2, and the distance and the position relation between the infrared LED lamps and the refraction device can be determined according to actual design requirements.
In the embodiment shown in fig. 2, there are two fill-in lamps, optionally, in other embodiments, the number of the fill-in lamps may be one, wherein before the fill-in lamps are started, the fill-in lamps may be further started
The light supplement lamp is moved through motor control and the like to move to a position matched with the target refraction device, so that light supplement is carried out on a target object; alternatively, the first and second electrodes may be,
moving the target refraction device through motor control and the like to move the target refraction device to a position matched with the light supplementing lamp so as to supplement light for a target object; alternatively, the first and second electrodes may be,
and moving the target refraction device through motor control and the like, and simultaneously moving the light supplement lamp to move the target refraction device and the light supplement lamp to matched positions so as to supplement light for a target object.
The method for adjusting the field angle of the fill-in lamp according to the embodiment of the invention is described in detail above with reference to fig. 1 to 2. A mobile terminal according to an embodiment of the present invention will be described in detail with reference to fig. 3, and fig. 3 is a schematic structural diagram of a mobile terminal 300 according to an embodiment of the present invention. The mobile terminal 300 includes a fill-in light, as shown in fig. 3, the mobile terminal 300 further includes:
the distance detection module 302 may be configured to detect a distance between the target object and the mobile terminal, and optionally, the distance detection module 302 may be a distance sensor.
The determining module 304 may be configured to determine a target refracting device corresponding to the fill light based on the distance, where the fill light corresponds to a plurality of refracting devices, the target refracting device is one of the plurality of refracting devices, and a field angle FOV of each of the plurality of refracting devices is different.
A light supplement lamp starting module 306, configured to start the light supplement lamp, so that light emitted by the light supplement lamp is emitted through the target refraction device.
According to the mobile terminal provided by the embodiment of the invention, the light supplement lamp of the mobile terminal is provided with the plurality of refraction devices corresponding to different FOVs, so that different refraction devices can be selected based on the distance of the target object in the scene of image acquisition such as face recognition of a camera, and the problems that the field angle of the light supplement lamp is fixed and flexible adjustment cannot be performed in the prior art are solved.
Optionally, as an embodiment, the plurality of refraction devices includes a first refraction device and a second refraction device, the field angle of the first refraction device is a first FOV, the field angle of the second refraction device is a second FOV, and the determining module 304 may be configured to determine the second FOV
If the distance is smaller than or equal to a preset value, determining that the target refraction device is the first refraction device; or
If the distance is greater than the preset value, determining that the target refraction device is the second refraction device, wherein,
the first FOV is larger than the second FOV.
Optionally, as an embodiment, the supplementary lighting lamp is one, wherein the mobile terminal 300 further includes a moving module (not shown) configured to perform at least one of the following:
moving the light supplement lamp to move to a position matched with the target refraction device; and
and moving the target refraction device to move the target refraction device to a position matched with the light supplement lamp.
Optionally, as an embodiment, the light supplement lamp is multiple, the multiple light supplement lamps correspond to the multiple refraction devices one to one, and the light supplement lamp starting module 306 may be configured to enable the multiple refraction devices to start up
And starting a light supplement lamp corresponding to the target refraction device.
Optionally, as an embodiment, the distance detection module 302 is configured to receive an input operation for face recognition, and detect a distance between a target object and the mobile terminal when the ambient light intensity is smaller than a preset light intensity value, where the target object includes a face to be recognized.
The mobile terminal 300 according to the embodiment of the present invention may refer to the process of the method 100 for adjusting the field angle of a fill-in lamp according to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the mobile terminal 300 are respectively for implementing the corresponding process in the method 100 for adjusting the field angle of a fill-in lamp, and are not repeated herein for brevity.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 410 is configured to detect a distance between a target object and the mobile terminal; determining a target refraction device corresponding to a fill-in lamp based on the distance, wherein the fill-in lamp corresponds to a plurality of refraction devices, the target refraction device is one of the refraction devices, and the FOV of each of the refraction devices is different; and starting the light supplement lamp to enable light emitted by the light supplement lamp to be emitted out through the target refraction device.
In the mobile terminal 400 provided by the embodiment of the present invention, the fill-in light of the mobile terminal corresponds to the plurality of refraction devices, and the FOV of the plurality of refraction devices are different, so that different refraction devices can be selected based on the distance of the target object in shooting scenes such as face recognition, and the problem that the field angle of the fill-in light is fixed and cannot be flexibly adjusted in the prior art is solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 further includes some functional modules that are not shown, and are not described herein again.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above method for adjusting an angle of view of a fill-in light in embodiment 100, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processes of the method for adjusting an angle of view of a fill-in light according to embodiment 100 are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A method for adjusting an angle of view of a fill-in lamp is applied to a mobile terminal, wherein the mobile terminal comprises the fill-in lamp, and the method comprises the following steps:
detecting the distance between a target object and the mobile terminal;
determining a target refraction device corresponding to the fill-in lamp based on the distance, wherein the fill-in lamp corresponds to a plurality of refraction devices, the target refraction device is one of the refraction devices, and a field of view (FOV) of each of the refraction devices is different;
and starting the light supplement lamp to enable light emitted by the light supplement lamp to be emitted out through the target refraction device.
2. The method of claim 1, wherein the plurality of refractive devices comprises a first refractive device and a second refractive device, the first refractive device has a first FOV and the second refractive device has a second FOV, and the determining the target refractive device corresponding to the fill-in lamp based on the distance comprises:
if the distance is smaller than or equal to a preset value, determining that the target refraction device is the first refraction device; or
If the distance is greater than the preset value, determining that the target refraction device is the second refraction device, wherein,
the first FOV is larger than the second FOV.
3. The method of claim 1 or 2, wherein the fill light is one, and wherein before activating the fill light, the method further comprises at least one of:
moving the light supplement lamp to move to a position matched with the target refraction device; and
and moving the target refraction device to move the target refraction device to a position matched with the light supplement lamp.
4. The method according to claim 1 or 2, wherein the fill-in lamp is plural, and the plural fill-in lamps correspond to the plural refraction devices one by one, and wherein the activating the fill-in lamp comprises:
and starting a light supplement lamp corresponding to the target refraction device.
5. The method of claim 4, wherein the detecting the distance between the target object and the mobile terminal comprises:
receiving input operation for face recognition, and detecting the distance between a target object and the mobile terminal when the intensity of ambient light is smaller than a preset light intensity value, wherein the target object comprises a face to be recognized.
6. The utility model provides a mobile terminal, its characterized in that, mobile terminal still includes including the light filling lamp:
the distance detection module is used for detecting the distance between a target object and the mobile terminal;
a determining module, configured to determine, based on the distance, a target refracting device corresponding to the fill-in lamp, where the fill-in lamp corresponds to multiple refracting devices, the target refracting device is one of the multiple refracting devices, and a field angle FOV of each of the multiple refracting devices is different;
and the light supplement lamp starting module is used for starting the light supplement lamp so that light emitted by the light supplement lamp is emitted out through the target refraction device.
7. The mobile terminal of claim 6, wherein the plurality of refractive devices includes a first refractive device and a second refractive device, the first refractive device having a first FOV and the second refractive device having a second FOV, the determining module to determine the second FOV based on the first FOV and the second FOV, and the first FOV, the second FOV, and the second
If the distance is smaller than or equal to a preset value, determining that the target refraction device is the first refraction device; or
If the distance is greater than the preset value, determining that the target refraction device is the second refraction device, wherein,
the first FOV is larger than the second FOV.
8. The mobile terminal according to claim 6 or 7, wherein the fill light is one, and wherein the mobile terminal further comprises a moving module, configured to perform at least one of:
moving the light supplement lamp to move to a position matched with the target refraction device; and
and moving the target refraction device to move the target refraction device to a position matched with the light supplement lamp.
9. The mobile terminal according to claim 6 or 7, wherein the fill-in light is plural, and the plural fill-in lights and the plural refraction devices are in one-to-one correspondence, wherein the fill-in light starting module is configured to start the fill-in light
And starting a light supplement lamp corresponding to the target refraction device.
10. The mobile terminal of claim 9, wherein the distance detection module is configured to detect the distance between the mobile terminal and the mobile terminal
Receiving input operation for face recognition, and detecting the distance between a target object and the mobile terminal when the intensity of ambient light is smaller than a preset light intensity value, wherein the target object comprises a face to be recognized.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201811278327.XA 2018-10-30 2018-10-30 Method for adjusting field angle of fill-in lamp and mobile terminal Active CN109474789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811278327.XA CN109474789B (en) 2018-10-30 2018-10-30 Method for adjusting field angle of fill-in lamp and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811278327.XA CN109474789B (en) 2018-10-30 2018-10-30 Method for adjusting field angle of fill-in lamp and mobile terminal

Publications (2)

Publication Number Publication Date
CN109474789A CN109474789A (en) 2019-03-15
CN109474789B true CN109474789B (en) 2020-09-08

Family

ID=65666365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811278327.XA Active CN109474789B (en) 2018-10-30 2018-10-30 Method for adjusting field angle of fill-in lamp and mobile terminal

Country Status (1)

Country Link
CN (1) CN109474789B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213411B (en) * 2019-05-31 2021-07-06 维沃移动通信有限公司 Light source control method and terminal
CN111343333B (en) * 2020-02-04 2021-05-04 Oppo广东移动通信有限公司 Proximity detection control method and related device
CN111352390B (en) * 2020-03-03 2020-12-08 马鞍山职业技术学院 Visual intelligent robot control system based on real-time analysis
TWI784463B (en) * 2021-04-01 2022-11-21 宏碁股份有限公司 Electronic apparatus and smart lighting method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202720431U (en) * 2012-08-22 2013-02-06 深圳市佶达德科技有限公司 Light supplement apparatus with adjustable illumination angle
CN102984510A (en) * 2012-12-25 2013-03-20 浙江宇视科技有限公司 Light supplement control method and device
CN107071287A (en) * 2017-05-23 2017-08-18 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal taken pictures
CN207831092U (en) * 2017-12-14 2018-09-07 杭州海康威视数字技术股份有限公司 A kind of LED light source and monitoring device and its lens assembly with it
CN108702434A (en) * 2017-03-08 2018-10-23 华为技术有限公司 Flash lamp, flash lamp method of adjustment, optical system and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957539B (en) * 2010-06-09 2012-06-27 杭州海康威视数字技术股份有限公司 Method and device for monitoring and supplementing light
CN102121678B (en) * 2011-01-15 2012-12-12 珠海晟源同泰电子有限公司 Designing method of distribution module of LED lamp
CN104284090B (en) * 2014-09-28 2017-10-27 天津市亚安科技有限公司 The method that varifocal lighting apparatus links with Varifocal zoom lens video camera
CN104391574A (en) * 2014-11-14 2015-03-04 京东方科技集团股份有限公司 Sight processing method, sight processing system, terminal equipment and wearable equipment
CN108234897B (en) * 2018-02-01 2021-03-16 蒋涛 Method and device for controlling night vision system, storage medium and processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202720431U (en) * 2012-08-22 2013-02-06 深圳市佶达德科技有限公司 Light supplement apparatus with adjustable illumination angle
CN102984510A (en) * 2012-12-25 2013-03-20 浙江宇视科技有限公司 Light supplement control method and device
CN108702434A (en) * 2017-03-08 2018-10-23 华为技术有限公司 Flash lamp, flash lamp method of adjustment, optical system and terminal
CN107071287A (en) * 2017-05-23 2017-08-18 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal taken pictures
CN207831092U (en) * 2017-12-14 2018-09-07 杭州海康威视数字技术股份有限公司 A kind of LED light source and monitoring device and its lens assembly with it

Also Published As

Publication number Publication date
CN109474789A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109474789B (en) Method for adjusting field angle of fill-in lamp and mobile terminal
CN109639970B (en) Shooting method and terminal equipment
CN108055402B (en) Shooting method and mobile terminal
CN109788174B (en) Light supplementing method and terminal
CN111246121B (en) Shooting light supplement method, electronic equipment and medium
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN110113528B (en) Parameter obtaining method and terminal equipment
CN110300267B (en) Photographing method and terminal equipment
CN108040209B (en) Shooting method and mobile terminal
CN108710833B (en) User identity authentication method and mobile terminal
CN110290331B (en) Screen control method and terminal
CN108984082A (en) A kind of image display method and mobile terminal
CN109302564B (en) Shooting method and mobile terminal
CN110545387B (en) Shooting method and terminal equipment
CN111246111B (en) Photographing method, electronic device, and medium
CN110197159B (en) Fingerprint acquisition method and terminal
CN108259756B (en) Image shooting method and mobile terminal
CN112733673B (en) Content display method and device, electronic equipment and readable storage medium
CN110300286A (en) A kind of image display method and terminal
CN110420457A (en) A kind of suspension procedure method, apparatus, terminal and storage medium
CN111443764A (en) Separation state processing method and electronic equipment
CN107911585B (en) Image processing method and device of mobile terminal and mobile terminal
CN107888780B (en) Illumination control method of mobile terminal and mobile terminal
CN111294510A (en) Monitoring method and electronic equipment
CN110868528B (en) Light supplement control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant