CN111182214A - Image display method, electronic device, and storage medium - Google Patents
Image display method, electronic device, and storage medium Download PDFInfo
- Publication number
- CN111182214A CN111182214A CN201911423168.2A CN201911423168A CN111182214A CN 111182214 A CN111182214 A CN 111182214A CN 201911423168 A CN201911423168 A CN 201911423168A CN 111182214 A CN111182214 A CN 111182214A
- Authority
- CN
- China
- Prior art keywords
- image
- characteristic information
- identity characteristic
- target
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses an image display method, electronic equipment and a storage medium. The image display method includes: acquiring a first image through a camera; determining first identity feature information of a first portrait in a first image; determining target display parameters according to the first identity characteristic information; and displaying the target image according to the target display parameters, wherein the target image is not the first image. The embodiment of the invention can present the multi-style image display effect.
Description
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to an image display method, electronic equipment and a storage medium.
Background
With the continuous development of electronic devices, electronic devices generally have a shooting function. After shooting, presenting in an image mode; however, when the image is displayed subsequently, the image parameters and the image display effect are fixed, which reduces the user experience.
Therefore, a multi-style image display scheme is urgently required.
Disclosure of Invention
The embodiment of the invention provides an image display method, electronic equipment and a storage medium, and aims to solve the problem that the image display effect is relatively fixed.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image display method, where the image display method includes:
acquiring a first image through a camera;
determining first identity feature information of a first portrait in a first image;
determining a first target display parameter according to the first identity characteristic information;
and displaying the target image according to the first target display parameter, wherein the target image is not the first image.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the acquisition module is used for acquiring a first image through the camera;
the determining module is used for determining first identity characteristic information of a first portrait in a first image;
the determining module is further used for determining a first target display parameter according to the first identity characteristic information;
and the display module is used for displaying the target image according to the first target display parameter, wherein the target image is not the first image.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the image display method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the image display method according to the first aspect.
In the embodiment of the invention, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; then, determining a first target display parameter according to the first identity characteristic information; finally, displaying a target image according to the first target display parameter, wherein the target image is not the first image; and then the target image can be displayed according to the first identity characteristic information, so that the target image better meets the requirement of a first user on image display, and the experience degree of the user is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a flowchart of an image display method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another electronic device according to an embodiment 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.
The electronic devices according to embodiments of the present invention may include various handheld devices, vehicle-mounted devices, Wearable Devices (WD), computing devices or other processing devices connected to a wireless modem, and various User Equipments (UE), Mobile Stations (MS), terminals (terminal), and so on.
Fig. 1 is a flowchart of an image display method according to an embodiment of the present invention. As shown in fig. 1, the image display method includes:
step 101: acquiring a first image through a camera;
step 102: determining first identity feature information of a first portrait in a first image;
step 103: determining a first target display parameter according to the first identity characteristic information;
step 104: and displaying the target image according to the first target display parameter, wherein the target image is not the first image.
In the embodiment of the invention, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; then, determining a first target display parameter according to the first identity characteristic information; finally, displaying a target image according to the first target display parameter, wherein the target image is not the first image; and then the target image can be displayed according to the first identity characteristic information, so that the target image better meets the requirement of a first user on image display, and the experience degree of the user is improved.
In some embodiments of the present invention, the acquiring 101 a first image by a camera includes:
when detecting that a user opens an album on the electronic equipment or opens a picture in an application program, acquiring a first image through the camera.
Specifically, when a user opens an application of an album or opens a picture in the application, a camera of the electronic device is triggered to acquire a first image of the user, for example, a first preview image of the user is acquired through a preview interface, or the first image of the user is captured through the camera. Wherein, the number of the cameras can be a plurality.
In the embodiment of the invention, a viewer, namely a first image of the user, is acquired through a camera; the operation is simple, the user does not need to enter the shooting application program to obtain the first image of the user, and the user experience is good.
In some embodiments of the present invention, the determining the first identity characteristic information of the first portrait in the first image in step 102 includes:
acquiring facial features of the user by performing image recognition on a first portrait in a first image of the user; the facial features include, for example, the pupil, mouth, skin texture, presence of beard, presence of laryngeal prominence, and the like of the eye.
In one example, the first identity characteristic information includes a gender characteristic or an age characteristic.
In one example, the first identity characteristic information includes both a gender characteristic and an age characteristic.
Hereinafter, sex characteristics will be described as an example. For the case of age characteristics, the gender determination in the following example is only changed to the corresponding age group determination, which is not described herein again.
In the embodiment of the invention, the first identity characteristic information of the user can be accurately determined by identifying the facial features of the first portrait in the first image.
In some embodiments of the present invention, the determining the first target display parameter according to the first identity characteristic information in step 103 includes:
under the condition that the first identity characteristic information is inconsistent with the second identity characteristic information, determining a first target display parameter according to the first identity characteristic information;
the second identity characteristic information is preset identity characteristic information or identity characteristic information of a target object in the target image.
Specifically, when the user opens an album application program or opens a picture in a chat application program, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; and when the first identity characteristic information is inconsistent with the preset identity characteristic information or the identity characteristic information of the target object in the target image, determining a first target display parameter according to the first identity characteristic information.
In the embodiment of the invention, the preset identity characteristic information or the identity characteristic information of the target object in the target image is compared with the first identity characteristic information, and when the preset identity characteristic information or the identity characteristic information of the target object in the target image is inconsistent with the first identity characteristic information, the first target display parameter is determined based on the first identity characteristic information, so that the first target display parameter is more in line with the display requirement of the user on the image, and the experience degree of the user is further improved.
In other embodiments of the present invention, the first identity characteristic information includes a gender of the first portrait, and determining the first target display parameter according to the first identity characteristic information in step 103 includes:
if the gender of the first portrait is male, determining the first display parameter as a first target display parameter;
and if the gender of the first portrait is female, determining the second display parameter as the first target display parameter.
Specifically, for the target gender of the first portrait included in the first identity characteristic information, for example, when the user is a male, the first display parameter corresponding to the male is determined as the first target display parameter. The same reason between female and male is not repeated here.
Of course, optionally, there may be other figures in the first image besides the first figure, but when only the first figure can be considered as the main viewer, the above method may be used to determine the display parameters of the target image. For example: the first portrait may be a proportion of the face image in the first image in the entire first image, which is higher than a specific proportion, or the first portrait is a portrait located in a middle position in the first image, or a portrait of a camera of a direct-view electronic device, and the like, which is not specifically limited in this embodiment of the present invention.
Correspondingly, in this example, invoking a gender detection algorithm based on the facial features of the user to determine first target display parameters includes:
carrying out gender identification on the first portrait by adopting a gender detection algorithm, and when the first portrait is identified as a woman, determining display parameters (namely second display parameters) corresponding to the woman as first target display parameters by the electronic equipment; wherein, the display parameters corresponding to the female include but are not limited to a degree of skin abrasion, a degree of whitening, a degree of face thinning; when a male is identified, the electronic device determines to determine the display parameter corresponding to the male (i.e., the first display parameter) as the first target display parameter, and the level of the display parameter corresponding to the male is generally lower than that of the female.
In other embodiments of the present invention, the first identity characteristic information includes a gender of the first portrait, and determining the first target display parameter according to the first identity characteristic information in step 103 includes:
and determining the third display parameter as the first target display parameter when the second portrait is different from the first portrait in gender in the first image.
Specifically, when the first image includes a second portrait except the first portrait and the gender of the second portrait is different from the gender of the first portrait, it may be considered that people with different genders watch the target image at the same time, and the target image may be displayed by using the corresponding third display parameters, so that viewers with different genders all have better viewing experience and cannot be accepted by a viewer with a certain gender.
Alternatively, when the first image includes a plurality of third figures other than the first figure, the target image may be displayed based on the fourth display parameter. The fourth display parameter may be determined based on the sex ratio of all the portraits in the first image, for example, if the male and the female account for half, a neutral display parameter may be considered; if the male is abundant, for example, more than 60% of the male is male, the display parameter of the partial male may be determined as the first target display parameter; if there are many women, for example more than 60% women, the display parameter of vernality may be determined as the first target display parameter.
It should be noted that, the male and female ratio can be divided into a plurality of levels, and each level can correspond to one display parameter, so that the division of image display is more accurate, and the image display requirements of a plurality of people are better met.
Correspondingly, in this example, the respective identity feature information may also include an age feature at the same time. The gender feature and the age feature are complementary, the gender feature primarily determines the first target display parameter, and the age feature may assist in determining the first target display parameter.
It should be noted that the first target display parameters are not limited to the above, and may be differentiated according to age, and the above is only exemplified by gender; the age can be processed in a gender-similar manner, that is, the age of the first user is identified, the age can be an age group, and then the first target display parameter corresponding to each age group is determined, so as to better meet different requirements of the multiple age groups on image display.
In the embodiment of the invention, the first target display parameter is determined according to the sex of the male and female figures in the first image and/or the proportion of the sex of the male and female figures, so that the first target display parameter is more in line with the display requirement of the user on the image, and the experience degree of the user is further improved.
In some embodiments of the present invention, the displaying the target image according to the first target display parameter in step 104, the target image not being the first image, includes:
and processing and displaying the target image according to the first target display parameter, for example, beautifying the image to obtain a beautified target image.
In some embodiments of the present invention, after displaying the target image in step 104, the image display method further comprises:
acquiring a second image through the camera;
determining third identity characteristic information of a fourth portrait in the second image;
under the condition that the third identity characteristic information is inconsistent with the first identity characteristic information, determining a second target display parameter according to the third identity characteristic information;
and displaying the target image according to the second target display parameter.
Specifically, before the target image is displayed, the camera may further acquire the second image, for example, in real time, or periodically, after the second image is acquired, determine third identity characteristic information of a fourth portrait in the second image, where if the third identity characteristic information is not consistent with the first identity characteristic information, it indicates that the viewer has changed, and it is necessary to determine a second target display parameter based on the changed third identity characteristic information of the viewer; finally, the target image is displayed based on the second target display parameter.
In the embodiment of the invention, whether the first target display parameter of the target image needs to be changed or not is determined by continuously detecting whether the user viewing the target image changes or not, so that the displayed target image better meets the display requirement of the viewer on the image, and the experience degree of the user is further improved.
Correspondingly, in this example, the target image may be an image captured according to a target display parameter corresponding to a user of the electronic device, and the target image may also be an image captured according to a target display parameter set when the electronic device is shipped, for example, an image captured according to a target display parameter set when the electronic device is shipped does not have a beauty function.
In some embodiments of the present invention, after displaying the target image in step 104, if the user is not satisfied with the target image, the user may reprocess the target image according to the preferred display parameters of the user, so that the adjusted target image meets the requirement of the user for the image display effect.
According to the embodiment of the invention, after the target image is processed and displayed based on the first target display parameter, if the user is not satisfied with the display effect, the user can set a display parameter by himself, so that the processed target image can better meet the own requirements of the user, and the user experience is improved.
In some embodiments of the present invention, the number of target images may be multiple or one; when the target image is one, the user is required to manually select one target image, which may be performed at the same time or before the user selects one target image, and thus, the detailed description is omitted here.
The embodiment of the invention can realize the real-time adjustment of the image parameters of the images in the album according to the identity characteristic information of the current album viewer (namely the user), so that the viewer can view the images meeting the viewing effect of the viewer, and the user experience is improved.
Fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 2, the electronic device 200 includes:
an obtaining module 201, configured to obtain a first image through a camera;
a determining module 202, configured to determine first identity feature information of a first portrait in a first image;
the determining module 202 is further configured to determine a first target display parameter according to the first identity characteristic information;
and the display module 203 is configured to display a target image according to the first target display parameter, where the target image is not the first image.
In the embodiment of the invention, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; then, determining a first target display parameter according to the first identity characteristic information; finally, displaying a target image according to the first target display parameter, wherein the target image is not the first image; and then the target image can be displayed according to the first identity characteristic information, so that the target image better meets the requirement of a first user on image display, and the experience degree of the user is improved.
Optionally, the determining module 202 is further configured to:
under the condition that the first identity characteristic information is inconsistent with the second identity characteristic information, determining target display parameters according to the first identity characteristic information;
the second identity characteristic information is preset identity characteristic information or identity characteristic information of a target object in the target image.
Optionally, the first identity characteristic information includes a gender of the first portrait, and the determining module 202 is further configured to:
if the gender of the first portrait is male, determining the first display parameter as a target display parameter;
and if the gender of the first portrait is female, determining the second display parameter as a target display parameter.
Optionally, the first identity characteristic information includes a gender of the first portrait, and the determining module 202 is further configured to:
and determining the third display parameter as the target display parameter when the second portrait is different from the first portrait in gender in the first image.
Optionally, after displaying the target image, the electronic device further includes:
the obtaining module 201 is further configured to obtain a second image through the camera;
the determining module 202 is further configured to determine third identity characteristic information of a fourth portrait in the second image;
the determining module 202 is further configured to determine a second target display parameter according to the third identity feature information under the condition that the third identity feature information is inconsistent with the first identity feature information;
the display module 203 is further configured to display the target image according to the second target display parameter.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
In the embodiment of the invention, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; then, determining target display parameters according to the first identity characteristic information; finally, displaying a target image according to the target display parameters, wherein the target image is not a first image; and then the target image can be displayed according to the first identity characteristic information, so that the target image better meets the requirement of a first user on image display, and the experience degree of the user is improved.
Fig. 3 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 3 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device 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.
The input unit 304 is used for acquiring a first image through a camera;
a processor 310 configured to:
determining first identity feature information of a first portrait in a first image;
determining target display parameters according to the first identity characteristic information;
and a display unit 306, configured to display the target image according to the target display parameter, where the target image is not the first image.
In the embodiment of the invention, a first image is acquired through a camera; then, determining first identity characteristic information of a first portrait in the first image; then, determining target display parameters according to the first identity characteristic information; finally, displaying a target image according to the target display parameters, wherein the target image is not a first image; and then the target image can be displayed according to the first identity characteristic information, so that the target image better meets the requirement of a first user on image display, and the experience degree of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 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 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 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. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds 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 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an 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 an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 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 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of 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 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown in fig. 3 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. 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 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage 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 309 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 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 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 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 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 electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program is executed by the processor 310 to implement each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 computer program implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. 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 (10)
1. An image display method applied to an electronic device, the method comprising:
acquiring a first image through a camera;
determining first identity feature information of a first portrait in the first image;
determining target display parameters according to the first identity characteristic information;
and displaying a target image according to the target display parameter, wherein the target image is not the first image.
2. The method of claim 1, wherein determining target display parameters according to the first identity characteristic information specifically comprises:
under the condition that the first identity characteristic information is inconsistent with the second identity characteristic information, determining target display parameters according to the first identity characteristic information;
and the second identity characteristic information is preset identity characteristic information or identity characteristic information of a target object in the target image.
3. The method of claim 1, wherein the first identity characteristic information comprises a gender of the first portrait, and wherein determining target display parameters based on the first identity characteristic information comprises:
if the gender of the first portrait is male, determining a first display parameter as the target display parameter;
and if the gender of the first portrait is female, determining a second display parameter as the target display parameter.
4. The method of claim 1, wherein the first identity characteristic information comprises a gender of the first portrait, and wherein determining target display parameters based on the first identity characteristic information comprises:
and when the first image further comprises a second portrait and the gender of the second portrait is different from that of the first portrait, determining a third display parameter as the target display parameter.
5. The method of any of claims 1-4, wherein after displaying the target image, the method further comprises:
acquiring a second image through the camera;
determining third identity characteristic information of a second portrait in the second image;
under the condition that the third identity characteristic information is inconsistent with the first identity characteristic information, determining a second target display parameter according to the third identity characteristic information;
and displaying the target image according to the second target display parameter.
6. An electronic device, characterized in that the electronic device comprises:
the acquisition module is used for acquiring a first image through the camera;
the determining module is used for determining first identity characteristic information of a first portrait in the first image;
the determining module is further used for determining a first target display parameter according to the first identity characteristic information;
and the display module is used for displaying a target image according to the first target display parameter, wherein the target image is not the first image.
7. The electronic device of claim 6, wherein the determining module is further configured to:
under the condition that the first identity characteristic information is inconsistent with the second identity characteristic information, determining a first target display parameter according to the first identity characteristic information;
and the second identity characteristic information is preset identity characteristic information or identity characteristic information of a target object in the target image.
8. The electronic device of claim 6, wherein the first identity characteristic information comprises a gender of the first portrait, and wherein the determining module is further configured to:
if the gender of the first portrait is male, determining a first display parameter as the first target display parameter;
and if the gender of the first portrait is female, determining a second display parameter as the first target display parameter.
9. The electronic device of claim 6, wherein the first identity characteristic information comprises a gender of the first portrait, and wherein the determining module is further configured to:
and when the first image further comprises a second portrait and the gender of the second portrait is different from that of the first portrait, determining a third display parameter as the first target display parameter.
10. The electronic device of any of claims 6-9,
the acquisition module is also used for acquiring a second image through the camera;
the determining module is further configured to determine third identity feature information of a second portrait in the second image;
under the condition that the third identity characteristic information is determined to be inconsistent with the first identity characteristic information, determining a target display parameter corresponding to the third identity characteristic information according to the third identity characteristic information;
the display module is further configured to display the target image according to the second target display parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911423168.2A CN111182214A (en) | 2019-12-31 | 2019-12-31 | Image display method, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911423168.2A CN111182214A (en) | 2019-12-31 | 2019-12-31 | Image display method, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111182214A true CN111182214A (en) | 2020-05-19 |
Family
ID=70649135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911423168.2A Pending CN111182214A (en) | 2019-12-31 | 2019-12-31 | Image display method, electronic device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111182214A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113010126A (en) * | 2021-02-10 | 2021-06-22 | 维沃移动通信有限公司 | Display control method, display control device, electronic device, and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101099175A (en) * | 2005-03-29 | 2008-01-02 | 富士胶片株式会社 | Album creating apparatus, album creating method, and album creating program |
CN103413270A (en) * | 2013-08-15 | 2013-11-27 | 北京小米科技有限责任公司 | Method and device for image processing and terminal device |
KR20150080280A (en) * | 2013-12-31 | 2015-07-09 | (주)아모레퍼시픽 | Method for diagnosing skin and providing beauty information for skin and system using the same |
CN106855744A (en) * | 2016-12-30 | 2017-06-16 | 维沃移动通信有限公司 | A kind of screen display method and mobile terminal |
CN109639893A (en) * | 2018-12-14 | 2019-04-16 | Oppo广东移动通信有限公司 | Play parameter method of adjustment, device, electronic equipment and storage medium |
CN110287809A (en) * | 2019-06-03 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method and Related product |
-
2019
- 2019-12-31 CN CN201911423168.2A patent/CN111182214A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101099175A (en) * | 2005-03-29 | 2008-01-02 | 富士胶片株式会社 | Album creating apparatus, album creating method, and album creating program |
CN103413270A (en) * | 2013-08-15 | 2013-11-27 | 北京小米科技有限责任公司 | Method and device for image processing and terminal device |
KR20150080280A (en) * | 2013-12-31 | 2015-07-09 | (주)아모레퍼시픽 | Method for diagnosing skin and providing beauty information for skin and system using the same |
CN106855744A (en) * | 2016-12-30 | 2017-06-16 | 维沃移动通信有限公司 | A kind of screen display method and mobile terminal |
CN109639893A (en) * | 2018-12-14 | 2019-04-16 | Oppo广东移动通信有限公司 | Play parameter method of adjustment, device, electronic equipment and storage medium |
CN110287809A (en) * | 2019-06-03 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method and Related product |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113010126A (en) * | 2021-02-10 | 2021-06-22 | 维沃移动通信有限公司 | Display control method, display control device, electronic device, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109381165B (en) | Skin detection method and mobile terminal | |
CN109461117B (en) | Image processing method and mobile terminal | |
CN108989672B (en) | Shooting method and mobile terminal | |
CN108492246B (en) | Image processing method and device and mobile terminal | |
CN110969981A (en) | Screen display parameter adjusting method and electronic equipment | |
CN108427873B (en) | Biological feature identification method and mobile terminal | |
CN108683850B (en) | Shooting prompting method and mobile terminal | |
CN108881782B (en) | Video call method and terminal equipment | |
CN110213485B (en) | Image processing method and terminal | |
CN107734170B (en) | Notification message processing method, mobile terminal and wearable device | |
CN111401463B (en) | Method for outputting detection result, electronic equipment and medium | |
CN109819166B (en) | Image processing method and electronic equipment | |
CN109542321B (en) | Control method and device for screen display content | |
CN109727212B (en) | Image processing method and mobile terminal | |
CN109448069B (en) | Template generation method and mobile terminal | |
CN110928407A (en) | Information display method and device | |
CN107729100B (en) | Interface display control method and mobile terminal | |
CN109639981B (en) | Image shooting method and mobile terminal | |
CN111080747A (en) | Face image processing method and electronic equipment | |
CN108924413B (en) | Shooting method and mobile terminal | |
CN110765170A (en) | User portrait generation method and wearable device | |
CN107563353B (en) | Image processing method and device and mobile terminal | |
CN109819331B (en) | Video call method, device and mobile terminal | |
CN111402157A (en) | Image processing method and electronic equipment | |
CN108089799B (en) | Control method of screen edge control and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200519 |
|
RJ01 | Rejection of invention patent application after publication |