WO2022188763A1 - Imaging method and apparatus, and electronic device and storage medium - Google Patents

Imaging method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2022188763A1
WO2022188763A1 PCT/CN2022/079659 CN2022079659W WO2022188763A1 WO 2022188763 A1 WO2022188763 A1 WO 2022188763A1 CN 2022079659 W CN2022079659 W CN 2022079659W WO 2022188763 A1 WO2022188763 A1 WO 2022188763A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
image
target area
area
determined
Prior art date
Application number
PCT/CN2022/079659
Other languages
French (fr)
Chinese (zh)
Inventor
王安琪
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022188763A1 publication Critical patent/WO2022188763A1/en

Links

Images

Classifications

    • 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/62Control of parameters via user interfaces
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical 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

Definitions

  • the present application belongs to the field of imaging technologies, and in particular relates to an imaging method, an apparatus and a storage medium.
  • the purpose of the embodiments of the present application is to provide an imaging method, an apparatus, and a storage medium, so as to solve the inconvenience that exists when a user uses the front camera of an electronic device to make up or check his appearance.
  • an embodiment of the present application provides an imaging method, the method comprising:
  • the target preview image including a face image and a target object
  • the facial image includes the first image.
  • an imaging device comprising:
  • a preview image display module for displaying a target preview image, the target preview image including a face image and a target object;
  • a target area acquisition module configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap
  • a first display module configured to display the first image determined by the target area in a target manner
  • embodiments of the present application provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor
  • the steps of the imaging method according to the first aspect are realized when the device is executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the imaging method according to the first aspect is implemented. step.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The steps of the imaging method.
  • FIG. 1 is a schematic flowchart of an imaging method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a display interface in an electronic device cosmetic mirror mode provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface for displaying a target area in a target manner in a cosmetic mirror mode of an electronic device provided by an embodiment of the present application;
  • FIG. 4 is a schematic structural diagram of an imaging device provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of implementing an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure for implementing an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of an imaging method provided by an embodiment of the present application. As shown in Figure 1, the method includes:
  • Step 101 displaying a target preview image, where the target preview image includes a face image and a target object.
  • FIG. 2 is a schematic diagram of a display interface in a vanity mirror mode of an electronic device provided by an embodiment of the application.
  • a user can turn on the vanity mirror function of the front camera mode by performing a corresponding operation on the electronic device, That is to enter the vanity mirror mode.
  • the camera turns on the object tracking mode by default.
  • the camera captures the image and displays the preview image on the display interface of the electronic device through the imaging device.
  • the target preview image includes the face image and the preview image of the target object.
  • two sub-modes can be included, namely, the viewing sub-mode and the makeup sub-mode, the viewing sub-mode is used for checking makeup, and the makeup sub-mode is used for makeup.
  • the target objects corresponding to the viewing sub-mode are facial features, including eyebrows, eyelashes, eyes, lips, nose, cheeks, etc.; the target objects corresponding to the makeup sub-mode are makeup tools, including eyebrow pencil, eyeliner, lipstick, mascara, etc. .
  • the two sub-modes may be switched through active operation by the user, or the switching of the sub-modes may be automatically performed by an imaging device, which is not specifically limited in this embodiment of the present application.
  • Step 102 in the case that the target object and the facial image at least partially overlap, acquire a target area determined by the target object.
  • the imaging device is based on the The target object determines and acquires the target area.
  • the target area is the face area that the user wants to check or touch up on.
  • Step 103 Display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
  • the imaging device displays the first image determined by the target area in a target manner, so as to ensure that the user can check the makeup more conveniently. and make-up.
  • a target preview image including a face image and a target object is displayed, and when the target object and the face image at least partially overlap, a target area determined by the target object is acquired and a target area determined by the target object is obtained.
  • the first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
  • the target area is an area where the target object and the facial image overlap.
  • the target object is the facial features
  • the target object and the facial image overlap
  • the imaging device determines the area where the target object and the facial image overlap as the target area (that is, determine the area where the facial features are located), and display the first image determined by the target area in a target manner (that is, display an image of the facial facial area in a target manner) for the user to view.
  • the camera captures an image and inputs it to the sensor.
  • the sensor detects one of the eyebrows, eyelashes, eyes, and lips in the screen, it intelligently selects that area to focus, and automatically performs a 2x zoom operation. , so that users can view the makeup of the corresponding area.
  • the imaging device can directly detect the part.
  • the corresponding area is determined as the target area and focused and zoomed in.
  • the picture may include eyelashes, eyebrows and eyes at the same time, or when the user wants to view the overall facial makeup, the picture may also include multiple
  • the imaging device can select an object located in the center of the screen to focus and zoom in, so as to ensure the clarity of the area that the user wants to view as much as possible.
  • the target area (that is, the area that the user wants to view) can also be determined according to the preset priority of the parts or the proportion of the corresponding part in the face image in the screen.
  • focus and zoom in, for example, when looking at eyelashes and the screen includes eyelashes, eyebrows and eyes, if the priority of eyelashes is higher, the area around the eyelashes with a preset size is used as the target area for focus and zoom;
  • the proportion of the part in the face image in the screen the user will hold the electronic device closer in order to see more clearly. Therefore, the proportion of the eyelashes in the face image in the screen will be larger than that of other parts.
  • the target area can also accurately determine the target area and focus and zoom in.
  • the determination of the target area may also be implemented in any other feasible manner, which is not specifically limited in this embodiment of the present invention. It is worth noting that the enlargement refers to the enlargement of the image in the entire screen.
  • the area where the target object overlaps with the facial image is used as the target area, which can accurately display the area that the user wants to view, which is convenient for the user to view the makeup.
  • the target area is an area determined by the movement trajectory of the target object.
  • the target object is a makeup tool, and at this time, the target object and the facial image at least partially overlap, and at the same time, the target object will move according to the user's wishes to perform makeup makeup .
  • the imaging device determines a target area according to the movement track of the target object (that is, determines the area where the user wants to touch up makeup), and displays the first image determined by the target area in a target manner (that is, displays the area where the user wants to touch up makeup in a target manner). image of the face area) for the user to touch up makeup.
  • the camera captures an image and inputs it to the sensor. When the sensor detects one of eyebrow pencil, eyeliner, lipstick and mascara in the picture, it intelligently selects the moving area of the target object to focus, and The 2x zoom operation is automatically performed so that the user can touch up the corresponding area.
  • the imaging device can select an object located in the center of the screen to focus and zoom in, so as to ensure the clarity of the area the user wants to make up as much as possible.
  • the determination of the target area may also be implemented in any other feasible manner, which is not specifically limited in this embodiment of the present invention. It is worth noting that after determining the target area, focusing and zooming in, the imaging device always keeps the target area in focus during the user's movement.
  • the target area is determined to be the lip area (that is, the user is making up on the lips)
  • the user will move relative to the electronic device during the retouching process, so the preview image will change, but during the relative movement, the imaging device will always Keep the lip area in focus for the user to touch up makeup.
  • the determination of the target area can be determined according to the user's active operation in addition to being automatically determined by the imaging device based on different sub-modes.
  • the user wants to lock the focus object (that is, determine the target area by himself)
  • the user can lock the focus object by double-clicking the face image in the preview image.
  • the imaging device determines the lip area as the target area, and automatically performs focusing and 2x zooming operations.
  • the user operation is not limited to a double-click operation, and may also be gesture input such as long-pressing, sliding, etc., which is not specifically limited in this embodiment of the present application.
  • the target area may be determined based on the part corresponding to the input position, or may be determined based on other feasible methods, which are not specifically limited in this embodiment of the present application.
  • the target area is the area determined by the movement trajectory of the target object, which can accurately display the area where the user wants to touch up the makeup, which is convenient for the user to touch up the makeup.
  • the displaying the first image determined by the target area in a target manner includes:
  • the first image is displayed in suspension on the target preview image.
  • the imaging device in order to facilitate the user to further carefully check the details of the makeup, the imaging device has the function of displaying the current image in a freeze frame.
  • the preview image keeps changing, which will undoubtedly bring inconvenience when the user wants to carefully check the makeup details of a certain part.
  • set the freeze-frame display function After focusing and zooming in on the target area, when the user wants to further check the makeup details, the current image can be frozen through a corresponding input operation.
  • the camera captures the current image, and the imaging device obtains the first image determined by the target area.
  • the first image is displayed in suspension on the target preview image, and the user can check the makeup through the first image without worrying about the picture shaking or change caused by relative motion.
  • the user input it can be a click operation on a corresponding functional control, or can be any gesture input on a display interface of an electronic device, which is not specifically limited in this embodiment of the present application.
  • the first image determined by the target area is acquired, and the first image is suspended and displayed on the target preview image, which can facilitate the user to further check the makeup details.
  • the method before the first image determined by the target area is displayed in a target manner, the method further includes:
  • the displaying the first image determined by the target area in a target manner includes:
  • the first image determined by the target area is displayed with a preset focal length.
  • FIG. 3 is a schematic diagram of an interface for displaying a target area in a target manner in the cosmetic mirror mode of an electronic device provided by an embodiment of the present application.
  • the output The zoom signal is used to zoom and enlarge the screen by 2 times based on the focused object, and the screen automatically presents the enlarged image (that is, the first image determined by the target area is displayed at the preset focal length).
  • the preset focal length can be adjusted according to actual application needs, thereby realizing the adjustment of the magnification, which is not specifically limited in the embodiment of the present application.
  • the first image determined by the target area is displayed with a preset focal length, so that the user can clearly view the local details of the face at a normal Selfie distance, so as to conveniently check the makeup and make-up, etc. operate.
  • FIG. 4 is a schematic structural diagram of an imaging device provided by an embodiment of the present invention. As shown in FIG. 4 , the imaging device includes:
  • a preview image display module 401 configured to display a target preview image, where the target preview image includes a face image and a target object;
  • a target area acquisition module 402 configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap
  • the first display module 403 is configured to display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
  • the imaging device provided in the embodiment of the present application is used to execute the method in the above-mentioned corresponding embodiment, and the specific steps of executing the method in the above-mentioned corresponding embodiment by using the imaging device provided in this embodiment are the same as those in the above-mentioned corresponding embodiment. , and will not be repeated here.
  • the target area is an area where the target object and the facial image overlap.
  • the target area is an area determined by a movement trajectory of the target object.
  • the displaying the first image determined by the target area in a target manner includes:
  • the first image is displayed in suspension on the target preview image.
  • a focusing module for focusing on the target area
  • the displaying the first image determined by the target area in a target manner includes:
  • the first image determined by the target area is displayed with a preset focal length.
  • the imaging device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the imaging device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the imaging apparatus provided by the embodiments of the present application can implement each process implemented by the imaging apparatus in the method embodiments of FIGS. 1-3 , and to avoid repetition, details are not described herein again.
  • the imaging device provided by the embodiment of the present application displays a target preview image including a facial image and a target object, and in the case that the target object and the facial image at least partially overlap, acquires a target area determined by the target object and uses The first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
  • an embodiment of the present application further provides an electronic device, including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501, the When the program or instruction is executed by the processor 501, each process of the above imaging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
  • the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072 .
  • the touch panel 6071 is also called a touch screen.
  • the touch panel 6071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 609 may be used to store software programs as well as various data.
  • the memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, image playback function, etc.), etc.
  • memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous random access memory) DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • Synchronous random access memory double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM, DDRSDRAM
  • enhanced SDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • the processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs or instructions, etc. Modem processors mainly deal with wireless communications, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
  • the display unit 606 is configured to display a target preview image, and the target preview image includes a face image and a target object;
  • a processor 610 configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap
  • the display unit 606 is further configured to display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
  • the electronic device provided by the embodiment of the present application displays a target preview image including a facial image and a target object, and in the case that the target object and the facial image at least partially overlap, acquires a target area determined by the target object and uses The first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
  • the display unit 606 is further configured to acquire the first image determined by the target area
  • the first image is displayed in suspension on the target preview image.
  • the electronic device provided by the embodiment of the present application acquires the first image determined by the target area, and displays the first image in suspension on the target preview image, which can facilitate the user to further check makeup details.
  • the display unit 606 is further configured to display the first image determined by the target area with a preset focal length.
  • the electronic device provided by the embodiment of the present application displays the first image determined by the target area at a preset focal length, so that the user can clearly view the local details of the face at a normal selfie distance, so as to conveniently check makeup and make-up, etc. operate.
  • An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing imaging method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed in the present application are an imaging method and apparatus, and a storage medium, which belong to the technical field of imaging. The method comprises: displaying a target preview image, wherein the target preview image comprises a facial image and a target object; when the target object and the facial image at least partially overlap with each other, acquiring a target area determined by means of the target object; and displaying, in a target manner, a first image determined by means of the target area, wherein the facial image comprises the first image.

Description

成像方法、装置、电子设备及存储介质Imaging method, apparatus, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年03月08日提交的申请号为2021102522491,发明名称为“成像方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。This application claims the priority of the Chinese patent application with the application number 2021102522491 filed on March 08, 2021 and the invention title is "imaging method, device, electronic device and storage medium", which is fully incorporated into this application by reference.
技术领域technical field
本申请属于成像技术领域,具体涉及一种成像方法、装置及存储介质。The present application belongs to the field of imaging technologies, and in particular relates to an imaging method, an apparatus and a storage medium.
背景技术Background technique
随时随地检查仪容和补妆是现代人的社交需求,大多数人选择用电子设备摄像头作为随身化妆镜。It is a social need of modern people to check the appearance and touch up makeup anytime and anywhere, and most people choose to use the camera of electronic equipment as a portable makeup mirror.
目前用户利用电子设备前置摄像头进行补妆或者检查仪容时存在这样的不便利:用户需要手持电子设备,当需要用双手补妆时,操作不便,另外,当需要查看面部细节时,需要把电子设备拿得很近,不方便进行补妆和调整。At present, it is inconvenient for users to use the front camera of the electronic device to touch up makeup or check their appearance: the user needs to hold the electronic device. The device is held so close that it is inconvenient for touch-ups and adjustments.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种成像方法、装置及存储介质,以解决用户利用电子设备前置摄像头进行补妆或者检查仪容时存在的不便利。The purpose of the embodiments of the present application is to provide an imaging method, an apparatus, and a storage medium, so as to solve the inconvenience that exists when a user uses the front camera of an electronic device to make up or check his appearance.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种成像方法,该方法包括:In a first aspect, an embodiment of the present application provides an imaging method, the method comprising:
显示目标预览图像,所述目标预览图像包括面部图像和目标对象;displaying a target preview image, the target preview image including a face image and a target object;
在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;obtaining a target area determined by the target object under the condition that the target object is at least partially coincident with the facial image;
以目标方式显示所述目标区域确定的第一图像;displaying the first image determined by the target area in a target manner;
其中,所述面部图像包括所述第一图像。Wherein, the facial image includes the first image.
第二方面,本申请实施例提供了一种成像装置,该装置包括:In a second aspect, an embodiment of the present application provides an imaging device, the device comprising:
预览图像显示模块,用于显示目标预览图像,所述目标预览图像包括面部图像和目标对象;a preview image display module for displaying a target preview image, the target preview image including a face image and a target object;
目标区域获取模块,用于在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;a target area acquisition module, configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap;
第一显示模块,用于以目标方式显示所述目标区域确定的第一图像;a first display module, configured to display the first image determined by the target area in a target manner;
其中,所述面部图像包括所述第一图像。Wherein, the facial image includes the first image.
第三方面,本申请实施例提供了一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的成像方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor The steps of the imaging method according to the first aspect are realized when the device is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的成像方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the imaging method according to the first aspect is implemented. step.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的成像方法的步骤。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The steps of the imaging method.
在本申请实施例提供的成像方法、装置及存储介质,显示包括面部图像和目标对象的目标预览图像,在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域并以目标方式显示所述目标区域确定的第一图像,能够使用户利用电子设备前置摄像头进行补妆或者检查仪容时更加便利。In the imaging method, device, and storage medium provided by the embodiments of the present application, a target preview image including a facial image and a target object is displayed, and in the case that the target object and the facial image at least partially overlap, the image obtained by the target object is obtained. Determining the target area and displaying the first image determined by the target area in a target manner can make it more convenient for the user to use the front camera of the electronic device to touch up makeup or check his appearance.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在 不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的成像方法的流程示意图;1 is a schematic flowchart of an imaging method provided by an embodiment of the present application;
图2是本申请实施例提供的电子设备化妆镜模式下的显示界面的示意图;2 is a schematic diagram of a display interface in an electronic device cosmetic mirror mode provided by an embodiment of the present application;
图3是本申请实施例提供的电子设备化妆镜模式下以目标方式对目标区域进行显示的界面示意图;3 is a schematic diagram of an interface for displaying a target area in a target manner in a cosmetic mirror mode of an electronic device provided by an embodiment of the present application;
图4是本申请发明实施例提供的成像装置的结构示意图;4 is a schematic structural diagram of an imaging device provided by an embodiment of the present invention;
图5为实现本申请实施例提供的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of implementing an electronic device provided by an embodiment of the present application;
图6为实现本申请实施例提供的电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure for implementing an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein.
应理解,说明书中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It is to be understood that reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
在本申请的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, it should be understood that the size of the sequence numbers of the following processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be implemented in the present application. The implementation of the examples constitutes no limitation.
此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一, 字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, "and/or" in the description and the claims indicates at least one of the connected objects, and the character "/" generally indicates that the contextual objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的成像方法、装置及存储介质进行详细地说明。The imaging method, device, and storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1为本申请实施例提供的成像方法的流程示意图。如图1所示,所述方法包括:FIG. 1 is a schematic flowchart of an imaging method provided by an embodiment of the present application. As shown in Figure 1, the method includes:
步骤101,显示目标预览图像,所述目标预览图像包括面部图像和目标对象。 Step 101, displaying a target preview image, where the target preview image includes a face image and a target object.
具体来说,图2为本申请实施例提供的电子设备化妆镜模式下的显示界面的示意图,如图2所示,用户可通过对电子设备进行相应操作打开前置相机模式的化妆镜功能,即进入化妆镜模式,在该模式下,摄像头默认开启物体追焦模式,摄像头捕捉图像并通过成像装置在电子设备显示界面显示预览图像,所述目标预览图像即包括面部图像和目标对象的预览图像。在化妆镜模式下可包括两种子模式,即查看子模式和补妆子模式,查看子模式用于检查妆容,补妆子模式用于补妆。查看子模式对应的目标对象为面部五官,包括眉毛、睫毛、眼睛、唇部、鼻子、脸颊等;补妆子模式对应的目标对象为化妆工具,包括眉笔、眼线笔、口红、睫毛膏等。可以通过用户主动操作切换两种子模式,也可以通过成像装置自动进行子模式的切换,本申请实施例对此不作具体限定。Specifically, FIG. 2 is a schematic diagram of a display interface in a vanity mirror mode of an electronic device provided by an embodiment of the application. As shown in FIG. 2 , a user can turn on the vanity mirror function of the front camera mode by performing a corresponding operation on the electronic device, That is to enter the vanity mirror mode. In this mode, the camera turns on the object tracking mode by default. The camera captures the image and displays the preview image on the display interface of the electronic device through the imaging device. The target preview image includes the face image and the preview image of the target object. . In the vanity mirror mode, two sub-modes can be included, namely, the viewing sub-mode and the makeup sub-mode, the viewing sub-mode is used for checking makeup, and the makeup sub-mode is used for makeup. The target objects corresponding to the viewing sub-mode are facial features, including eyebrows, eyelashes, eyes, lips, nose, cheeks, etc.; the target objects corresponding to the makeup sub-mode are makeup tools, including eyebrow pencil, eyeliner, lipstick, mascara, etc. . The two sub-modes may be switched through active operation by the user, or the switching of the sub-modes may be automatically performed by an imaging device, which is not specifically limited in this embodiment of the present application.
步骤102,在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域。 Step 102, in the case that the target object and the facial image at least partially overlap, acquire a target area determined by the target object.
具体来说,在用户进行查看妆容或补妆操作(对应于查看子模式或补妆子模式)时,所述目标对象与所述面部图像至少部分重合,在该情况下,成像装置基于所述目标对象确定并获取目标区域。所述目标区域即用户想要查看或补妆的面部区域。Specifically, when the user performs an operation of viewing makeup or repairing makeup (corresponding to the viewing sub-mode or the makeup sub-mode), the target object and the facial image at least partially overlap, in this case, the imaging device is based on the The target object determines and acquires the target area. The target area is the face area that the user wants to check or touch up on.
步骤103,以目标方式显示所述目标区域确定的第一图像;其中,所述面部图像包括所述第一图像。Step 103: Display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
具体来说,在确定了目标区域(即用户想要查看或补妆的面部区域)之 后,成像装置以目标方式显示所述目标区域确定的第一图像,以保证用户能够更加方便地进行妆容查看和补妆。Specifically, after determining the target area (that is, the facial area that the user wants to view or make up), the imaging device displays the first image determined by the target area in a target manner, so as to ensure that the user can check the makeup more conveniently. and make-up.
本申请实施例提供的成像方法,显示包括面部图像和目标对象的目标预览图像,在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域并以目标方式显示所述目标区域确定的第一图像,能够使用户利用电子设备前置摄像头进行补妆或者检查仪容时更加便利。In the imaging method provided by the embodiment of the present application, a target preview image including a face image and a target object is displayed, and when the target object and the face image at least partially overlap, a target area determined by the target object is acquired and a target area determined by the target object is obtained. The first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
基于上述实施例,所述目标区域为所述目标对象与所述面部图像重合的区域。Based on the above embodiment, the target area is an area where the target object and the facial image overlap.
具体来说,在查看子模式下,所述目标对象为面部五官,此时所述目标对象与所述面部图像重合,成像装置将所述目标对象与所述面部图像重合的区域确定为目标区域(即确定五官所在的区域),并用目标方式显示所述目标区域确定的第一图像(即以目标方式显示面部五官区域的图像),以便用户进行查看。例如,在查看子模式下,摄像头捕捉图像并输入到传感器,传感器在画面中检测到眉毛、睫毛、眼睛、唇部其中之一的时候,智能选择该区域进行对焦,并自动进行2倍变焦操作,以便用户查看对应区域的妆容。Specifically, in the viewing sub-mode, the target object is the facial features, and at this time, the target object and the facial image overlap, and the imaging device determines the area where the target object and the facial image overlap as the target area (that is, determine the area where the facial features are located), and display the first image determined by the target area in a target manner (that is, display an image of the facial facial area in a target manner) for the user to view. For example, in the viewing sub-mode, the camera captures an image and inputs it to the sensor. When the sensor detects one of the eyebrows, eyelashes, eyes, and lips in the screen, it intelligently selects that area to focus, and automatically performs a 2x zoom operation. , so that users can view the makeup of the corresponding area.
一般情况下,用户为了仔细查看某个部位的妆容时,会将电子设备拿的较近,此时,画面中一般只会检测到一个部位,例如嘴唇,此时,成像装置可以直接将该部位对应的区域确定为目标区域并进行对焦和放大。但是对于某些情况,例如查看部位比较集中的区域,如查看眼睫毛时,此时画面中可能会同时包括睫毛、眉毛和眼睛,或是用户想要查看整体面部妆容时,画面中也可能包括多个部位,在该情况下,成像装置可选择位于画面居中位置的物体进行对焦和放大,以尽可能保证用户想要查看区域的清晰度。Under normal circumstances, in order to carefully check the makeup of a certain part, the user will hold the electronic device closer. At this time, only one part, such as the lips, is generally detected in the screen. At this time, the imaging device can directly detect the part. The corresponding area is determined as the target area and focused and zoomed in. However, in some cases, such as viewing a concentrated area, such as eyelashes, the picture may include eyelashes, eyebrows and eyes at the same time, or when the user wants to view the overall facial makeup, the picture may also include multiple In this case, the imaging device can select an object located in the center of the screen to focus and zoom in, so as to ensure the clarity of the area that the user wants to view as much as possible.
当然,对于画面中包含多个部位的情况,也可以根据预设的部位优先级或是根据相应部位在画面中占面部图像的比例大小进行判断以确定目标区域(即用户想要查看的区域)并进行对焦和放大,例如当查看眼睫毛,画面中同时包括睫毛、眉毛和眼睛时,若睫毛的优先级较高,则以睫毛周围预设大小的区域作为目标区域进行对焦和放大;对于根据相应部位在画面中占面部 图像的比例大小进行判断的情形,用户为了看得更清楚,会将电子设备拿的较近,因此,睫毛在画面中占面部图像的比例大小会大于其它部位,基于此,也可以准确确定目标区域并进行对焦和放大。当然,也可以其它任意可行方式实现目标区域的确定,本发明实施例对此不作具体限定。值得注意的是,所述放大是指对整个画面中的图像进行放大。Of course, in the case where the screen contains multiple parts, the target area (that is, the area that the user wants to view) can also be determined according to the preset priority of the parts or the proportion of the corresponding part in the face image in the screen. And focus and zoom in, for example, when looking at eyelashes and the screen includes eyelashes, eyebrows and eyes, if the priority of eyelashes is higher, the area around the eyelashes with a preset size is used as the target area for focus and zoom; In the case of judging the proportion of the part in the face image in the screen, the user will hold the electronic device closer in order to see more clearly. Therefore, the proportion of the eyelashes in the face image in the screen will be larger than that of other parts. Based on this , can also accurately determine the target area and focus and zoom in. Certainly, the determination of the target area may also be implemented in any other feasible manner, which is not specifically limited in this embodiment of the present invention. It is worth noting that the enlargement refers to the enlargement of the image in the entire screen.
本申请实施例提供的成像方法,将所述目标对象与所述面部图像重合的区域作为目标区域,能够准确对用户想要查看的区域进行显示,方便用户查看妆容。In the imaging method provided by the embodiment of the present application, the area where the target object overlaps with the facial image is used as the target area, which can accurately display the area that the user wants to view, which is convenient for the user to view the makeup.
基于上述实施例,在所述目标对象移动的情况下,所述目标区域为所述目标对象的移动轨迹确定的区域。Based on the above embodiment, when the target object moves, the target area is an area determined by the movement trajectory of the target object.
具体来说,在补妆子模式下,所述目标对象为化妆工具,此时所述目标对象与所述面部图像至少部分重合,同时,所述目标对象会根据用户意愿进行移动以进行补妆。成像装置根据所述目标对象的移动轨迹确定目标区域(即确定用户想要补妆的区域),并用目标方式显示所述目标区域确定的第一图像(即以目标方式显示用户想要补妆的面部区域的图像),以便用户进行补妆。例如,在补妆子模式下,摄像头捕捉图像并输入到传感器,传感器在画面中检测到眉笔、眼线笔、口红、睫毛膏其中之一的时候,智能选择该目标对象移动区域进行对焦,并自动进行2倍变焦操作,以便用户对对应区域进行补妆。Specifically, in the makeup sub-mode, the target object is a makeup tool, and at this time, the target object and the facial image at least partially overlap, and at the same time, the target object will move according to the user's wishes to perform makeup makeup . The imaging device determines a target area according to the movement track of the target object (that is, determines the area where the user wants to touch up makeup), and displays the first image determined by the target area in a target manner (that is, displays the area where the user wants to touch up makeup in a target manner). image of the face area) for the user to touch up makeup. For example, in the makeup sub-mode, the camera captures an image and inputs it to the sensor. When the sensor detects one of eyebrow pencil, eyeliner, lipstick and mascara in the picture, it intelligently selects the moving area of the target object to focus, and The 2x zoom operation is automatically performed so that the user can touch up the corresponding area.
在补妆子模式下,若未检测到化妆工具(即目标对象),成像装置可选择位于画面居中位置的物体进行对焦和放大,以尽可能保证用户想要补妆区域的清晰度。当然,也可以其它任意可行方式实现目标区域的确定,本发明实施例对此不作具体限定。值得注意的是,当确定目标区域并进行对焦和放大之后,用户在移动过程中,成像装置始终保持目标区域对焦清晰。例如,确定目标区域为嘴唇区域(即用户正在对嘴唇进行补妆),用户在补妆过程中与电子设备会存在相对移动,因此预览图像会发生变化,但在相对移动过程中,成像装置始终保持嘴唇区域对焦清晰,以便用户进行补妆。In the makeup sub-mode, if no makeup tool (ie, target object) is detected, the imaging device can select an object located in the center of the screen to focus and zoom in, so as to ensure the clarity of the area the user wants to make up as much as possible. Certainly, the determination of the target area may also be implemented in any other feasible manner, which is not specifically limited in this embodiment of the present invention. It is worth noting that after determining the target area, focusing and zooming in, the imaging device always keeps the target area in focus during the user's movement. For example, if the target area is determined to be the lip area (that is, the user is making up on the lips), the user will move relative to the electronic device during the retouching process, so the preview image will change, but during the relative movement, the imaging device will always Keep the lip area in focus for the user to touch up makeup.
可以理解的是,在化妆镜模式下,目标区域的确定除了可通过成像装置基于不同子模式自动确定之外,还可以根据用户的主动操作确定。当用户想要自行锁定对焦对象(即自行确定目标区域)时,用户可通过对预览图像中的面部图像进行双击操作锁定对焦物体,例如,当用户想要查看嘴唇妆容或进行补妆时,可通过在面部图像的嘴唇区域进行双击操作,此时成像装置确定嘴唇区域为目标区域,并自动进行对焦和2倍变焦放大操作。值得注意的是,所述用户操作并不局限于双击操作,也可以是长按、滑动等手势输入,本申请实施例对此不作具体限定。同时,接收用户的输入之后,所述目标区域可以是基于输入位置对应的部位确定,也可以基于其它可行方式确定,本申请实施例对此不作具体限定。It can be understood that, in the vanity mirror mode, the determination of the target area can be determined according to the user's active operation in addition to being automatically determined by the imaging device based on different sub-modes. When the user wants to lock the focus object (that is, determine the target area by himself), the user can lock the focus object by double-clicking the face image in the preview image. For example, when the user wants to check the lip makeup or touch up makeup, he can By performing a double-click operation on the lip area of the face image, the imaging device determines the lip area as the target area, and automatically performs focusing and 2x zooming operations. It is worth noting that the user operation is not limited to a double-click operation, and may also be gesture input such as long-pressing, sliding, etc., which is not specifically limited in this embodiment of the present application. Meanwhile, after receiving the user's input, the target area may be determined based on the part corresponding to the input position, or may be determined based on other feasible methods, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的成像方法,将所述目标区域为所述目标对象的移动轨迹确定的区域,能够准确对用户想要补妆的区域进行显示,方便用户进行补妆。In the imaging method provided by the embodiment of the present application, the target area is the area determined by the movement trajectory of the target object, which can accurately display the area where the user wants to touch up the makeup, which is convenient for the user to touch up the makeup.
基于上述实施例,所述以目标方式显示所述目标区域确定的第一图像,包括:Based on the foregoing embodiment, the displaying the first image determined by the target area in a target manner includes:
获取所述目标区域确定的第一图像;acquiring the first image determined by the target area;
在所述目标预览图像上悬浮显示所述第一图像。The first image is displayed in suspension on the target preview image.
具体来说,在查看子模式下,出于方便用户进一步仔细检查妆容细节的考虑,成像装置具备定格显示当前图像的功能。在化妆镜功能的实际使用过程中,由于用户与电子设备的相对移动,导致预览图像一直在变化,当用户想要仔细检查某个部位的妆容细节时,这无疑会带来不便。基于此,设置定格显示功能。在对目标区域进行对焦和放大之后,当用户想要进一步仔细检查妆容细节时,可通过相应输入操作冻结当前画面,此时摄像头捕捉当前图像,成像装置获取所述目标区域确定的第一图像,并在所述目标预览图像上悬浮显示所述第一图像,用户便可通过所述第一图像查看妆容,而不用担心相对运动导致的画面抖动或变化。Specifically, in the viewing sub-mode, in order to facilitate the user to further carefully check the details of the makeup, the imaging device has the function of displaying the current image in a freeze frame. During the actual use of the vanity mirror function, due to the relative movement of the user and the electronic device, the preview image keeps changing, which will undoubtedly bring inconvenience when the user wants to carefully check the makeup details of a certain part. Based on this, set the freeze-frame display function. After focusing and zooming in on the target area, when the user wants to further check the makeup details, the current image can be frozen through a corresponding input operation. At this time, the camera captures the current image, and the imaging device obtains the first image determined by the target area. The first image is displayed in suspension on the target preview image, and the user can check the makeup through the first image without worrying about the picture shaking or change caused by relative motion.
至于所述用户输入可以为对相应功能控件的点击操作,也可以为对电子 设备显示界面的任意手势输入,本申请实施例对此不作具体限定。As for the user input, it can be a click operation on a corresponding functional control, or can be any gesture input on a display interface of an electronic device, which is not specifically limited in this embodiment of the present application.
本申请实施例提供的成像方法,获取所述目标区域确定的第一图像,在所述目标预览图像上悬浮显示所述第一图像,能够方便用户进一步仔细检查妆容细节。In the imaging method provided by the embodiment of the present application, the first image determined by the target area is acquired, and the first image is suspended and displayed on the target preview image, which can facilitate the user to further check the makeup details.
基于上述实施例,在所述以目标方式显示所述目标区域确定的第一图像之前,所述方法还包括:Based on the above embodiment, before the first image determined by the target area is displayed in a target manner, the method further includes:
对焦所述目标区域;focusing the target area;
所述以目标方式显示所述目标区域确定的第一图像,包括:The displaying the first image determined by the target area in a target manner includes:
以预设焦距显示所述目标区域确定的第一图像。The first image determined by the target area is displayed with a preset focal length.
具体来说,图3是本申请实施例提供的电子设备化妆镜模式下以目标方式对目标区域进行显示的界面示意图,如图3所示,当传感器锁定对焦物体(即目标区域)时,输出变焦信号,基于对焦物体对画面进行2倍变焦放大,屏幕自动呈现放大后的图像(即以预设焦距显示所述目标区域确定的第一图像)。出于查看方便的考虑,放大之后的目标区域图像可以居中显示。值得注意的是,所述预设焦距可以根据实际应用需要进行调整,进而实现放大倍数的调整,本申请实施例对此不作具体限定。Specifically, FIG. 3 is a schematic diagram of an interface for displaying a target area in a target manner in the cosmetic mirror mode of an electronic device provided by an embodiment of the present application. As shown in FIG. 3 , when the sensor locks the focused object (ie, the target area), the output The zoom signal is used to zoom and enlarge the screen by 2 times based on the focused object, and the screen automatically presents the enlarged image (that is, the first image determined by the target area is displayed at the preset focal length). For the convenience of viewing, the enlarged image of the target area can be displayed in the center. It is worth noting that the preset focal length can be adjusted according to actual application needs, thereby realizing the adjustment of the magnification, which is not specifically limited in the embodiment of the present application.
本申请实施例提供的成像方法,以预设焦距显示所述目标区域确定的第一图像使用户可在正常自拍距离下清晰地查看到面部的局部细节,从而方便地进行查看妆容和补妆等操作。In the imaging method provided by the embodiment of the present application, the first image determined by the target area is displayed with a preset focal length, so that the user can clearly view the local details of the face at a normal Selfie distance, so as to conveniently check the makeup and make-up, etc. operate.
图4为本申请发明实施例提供的成像装置的结构示意图,如图4所示,所述成像装置包括:FIG. 4 is a schematic structural diagram of an imaging device provided by an embodiment of the present invention. As shown in FIG. 4 , the imaging device includes:
预览图像显示模块401,用于显示目标预览图像,所述目标预览图像包括面部图像和目标对象;A preview image display module 401, configured to display a target preview image, where the target preview image includes a face image and a target object;
目标区域获取模块402,用于在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;a target area acquisition module 402, configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap;
第一显示模块403,用于以目标方式显示所述目标区域确定的第一图像;其中,所述面部图像包括所述第一图像。The first display module 403 is configured to display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
具体来说,本申请实施例提供的成像装置,用于执行上述相应实施例中的方法,通过本实施例提供的成像装置执行上述相应实施例中所述方法的具体步骤与上述相应实施例相同,此处不再赘述。Specifically, the imaging device provided in the embodiment of the present application is used to execute the method in the above-mentioned corresponding embodiment, and the specific steps of executing the method in the above-mentioned corresponding embodiment by using the imaging device provided in this embodiment are the same as those in the above-mentioned corresponding embodiment. , and will not be repeated here.
基于上述任一实施例,所述目标区域为所述目标对象与所述面部图像重合的区域。Based on any of the above embodiments, the target area is an area where the target object and the facial image overlap.
基于上述任一实施例,在所述目标对象移动的情况下,所述目标区域为所述目标对象的移动轨迹确定的区域。Based on any of the foregoing embodiments, in the case that the target object moves, the target area is an area determined by a movement trajectory of the target object.
基于上述任一实施例,所述以目标方式显示所述目标区域确定的第一图像,包括:Based on any of the foregoing embodiments, the displaying the first image determined by the target area in a target manner includes:
获取所述目标区域确定的第一图像;acquiring the first image determined by the target area;
在所述目标预览图像上悬浮显示所述第一图像。The first image is displayed in suspension on the target preview image.
基于上述任一实施例,还包括:Based on any of the above embodiments, it also includes:
对焦模块,用于对焦所述目标区域;a focusing module for focusing on the target area;
所述以目标方式显示所述目标区域确定的第一图像,包括:The displaying the first image determined by the target area in a target manner includes:
以预设焦距显示所述目标区域确定的第一图像。The first image determined by the target area is displayed with a preset focal length.
本申请实施例中的成像装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The imaging device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的成像装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The imaging device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的成像装置能够实现图1-3的方法实施例中成像装置 实现的各个过程,为避免重复,这里不再赘述。The imaging apparatus provided by the embodiments of the present application can implement each process implemented by the imaging apparatus in the method embodiments of FIGS. 1-3 , and to avoid repetition, details are not described herein again.
本申请实施例提供的成像装置,显示包括面部图像和目标对象的目标预览图像,在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域并以目标方式显示所述目标区域确定的第一图像,能够使用户利用电子设备前置摄像头进行补妆或者检查仪容时更加便利。The imaging device provided by the embodiment of the present application displays a target preview image including a facial image and a target object, and in the case that the target object and the facial image at least partially overlap, acquires a target area determined by the target object and uses The first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
可选的,如图5所示,本申请实施例还提供一种电子设备,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述成像方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 5 , an embodiment of the present application further provides an electronic device, including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501, the When the program or instruction is executed by the processor 501, each process of the above imaging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输 入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts, a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器609可以包括易失性存储器或非易失性存储器,或者,存储器609可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器609包括但不限于这些和任意其它适合类型的存储器。The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, image playback function, etc.), etc. Further, memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous random access memory) DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 609 in this embodiment of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器610可包括一个或多个处理单元;可选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序或指令等,调制解调处理器主要处理无线通信,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs or instructions, etc. Modem processors mainly deal with wireless communications, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
其中,显示单元606,用于显示目标预览图像,所述目标预览图像包括面部图像和目标对象;Wherein, the display unit 606 is configured to display a target preview image, and the target preview image includes a face image and a target object;
处理器610,用于在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;a processor 610, configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap;
显示单元606,还用于以目标方式显示所述目标区域确定的第一图像;其 中,所述面部图像包括所述第一图像。The display unit 606 is further configured to display the first image determined by the target area in a target manner; wherein, the facial image includes the first image.
本申请实施例提供的电子设备,显示包括面部图像和目标对象的目标预览图像,在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域并以目标方式显示所述目标区域确定的第一图像,能够使用户利用电子设备前置摄像头进行补妆或者检查仪容时更加便利。The electronic device provided by the embodiment of the present application displays a target preview image including a facial image and a target object, and in the case that the target object and the facial image at least partially overlap, acquires a target area determined by the target object and uses The first image determined by the target area is displayed in the target mode, which can make it more convenient for the user to use the front camera of the electronic device to make up or check the appearance.
可选的,显示单元606,还用于获取所述目标区域确定的第一图像;Optionally, the display unit 606 is further configured to acquire the first image determined by the target area;
在所述目标预览图像上悬浮显示所述第一图像。The first image is displayed in suspension on the target preview image.
本申请实施例提供的电子设备,获取所述目标区域确定的第一图像,在所述目标预览图像上悬浮显示所述第一图像,能够方便用户进一步仔细检查妆容细节。The electronic device provided by the embodiment of the present application acquires the first image determined by the target area, and displays the first image in suspension on the target preview image, which can facilitate the user to further check makeup details.
可选的,显示单元606,还用于以预设焦距显示所述目标区域确定的第一图像。Optionally, the display unit 606 is further configured to display the first image determined by the target area with a preset focal length.
本申请实施例提供的电子设备,以预设焦距显示所述目标区域确定的第一图像使用户可在正常自拍距离下清晰地查看到面部的局部细节,从而方便地进行查看妆容和补妆等操作。The electronic device provided by the embodiment of the present application displays the first image determined by the target area at a preset focal length, so that the user can clearly view the local details of the face at a normal selfie distance, so as to conveniently check makeup and make-up, etc. operate.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述成像方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above imaging method embodiment can be implemented, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述成像方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing imaging method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、 芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. In addition, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

  1. 一种成像方法,包括:An imaging method comprising:
    显示目标预览图像,所述目标预览图像包括面部图像和目标对象;displaying a target preview image, the target preview image including a face image and a target object;
    在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;obtaining a target area determined by the target object under the condition that the target object is at least partially coincident with the facial image;
    以目标方式显示所述目标区域确定的第一图像;displaying the first image determined by the target area in a target manner;
    其中,所述面部图像包括所述第一图像。Wherein, the facial image includes the first image.
  2. 根据权利要求1所述的成像方法,其中,所述目标区域为所述目标对象与所述面部图像重合的区域。The imaging method according to claim 1, wherein the target area is an area where the target object and the facial image overlap.
  3. 根据权利要求1所述的成像方法,其中,在所述目标对象移动的情况下,所述目标区域为所述目标对象的移动轨迹确定的区域。The imaging method according to claim 1, wherein, when the target object moves, the target area is an area determined by a movement trajectory of the target object.
  4. 根据权利要求1所述的成像方法,其中,所述以目标方式显示所述目标区域确定的第一图像,包括:The imaging method according to claim 1, wherein the displaying the first image determined by the target area in a target manner comprises:
    获取所述目标区域确定的第一图像;acquiring the first image determined by the target area;
    在所述目标预览图像上悬浮显示所述第一图像。The first image is displayed in suspension on the target preview image.
  5. 根据权利要求1所述的成像方法,其中,在所述以目标方式显示所述目标区域确定的第一图像之前,所述方法还包括:The imaging method according to claim 1, wherein, before said displaying the first image determined by the target area in a target manner, the method further comprises:
    对焦所述目标区域;focusing the target area;
    所述以目标方式显示所述目标区域确定的第一图像,包括:The displaying the first image determined by the target area in a target manner includes:
    以预设焦距显示所述目标区域确定的第一图像。The first image determined by the target area is displayed with a preset focal length.
  6. 一种成像装置,包括:An imaging device, comprising:
    预览图像显示模块,用于显示目标预览图像,所述目标预览图像包括面部图像和目标对象;a preview image display module for displaying a target preview image, the target preview image including a face image and a target object;
    目标区域获取模块,用于在所述目标对象与所述面部图像至少部分重合的情况下,获取由所述目标对象确定的目标区域;a target area acquisition module, configured to acquire a target area determined by the target object when the target object and the facial image at least partially overlap;
    第一显示模块,用于以目标方式显示所述目标区域确定的第一图像;a first display module, configured to display the first image determined by the target area in a target manner;
    其中,所述面部图像包括所述第一图像。Wherein, the facial image includes the first image.
  7. 根据权利要求6所述的成像装置,其中,所述目标区域为所述目标对象与所述面部图像重合的区域。The imaging device of claim 6, wherein the target area is an area where the target object and the face image overlap.
  8. 根据权利要求6所述的成像装置,其中,在所述目标对象移动的情况下,所述目标区域为所述目标对象的移动轨迹确定的区域。The imaging device according to claim 6, wherein, when the target object moves, the target area is an area determined by a movement trajectory of the target object.
  9. 根据权利要求6所述的成像装置,其中,所述以目标方式显示所述目标区域确定的第一图像,包括:The imaging device according to claim 6, wherein the displaying the first image determined by the target area in a target manner comprises:
    获取所述目标区域确定的第一图像;acquiring the first image determined by the target area;
    在所述目标预览图像上悬浮显示所述第一图像。The first image is displayed in suspension on the target preview image.
  10. 根据权利要求6所述的成像装置,其中,还包括:The imaging device of claim 6, further comprising:
    对焦模块,用于对焦所述目标区域;a focusing module for focusing on the target area;
    所述以目标方式显示所述目标区域确定的第一图像,包括:The displaying the first image determined by the target area in a target manner includes:
    以预设焦距显示所述目标区域确定的第一图像。The first image determined by the target area is displayed with a preset focal length.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的成像方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 5 The steps of any one of the imaging methods.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的成像方法的步骤。A readable storage medium, on which a program or an instruction is stored, the program or instruction implements the steps of the imaging method according to any one of claims 1 to 5 when the program or the instruction is executed by a processor.
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项所述的成像方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to implement the imaging method according to any one of claims 1 to 5 .
  14. 一种计算机程序产品,所述计算机程序产品上存储程序或指令,所述程序或指令被计算机执行时实现如权利要求1至5中任一项所述的成像方法的步骤。A computer program product having programs or instructions stored thereon, the program or instructions implementing the steps of the imaging method according to any one of claims 1 to 5 when executed by a computer.
  15. 一种电子设备,包括电子设备用于执行如权利要求1-5中任一项所述的成像方法的步骤。An electronic device comprising the electronic device for performing the steps of the imaging method of any one of claims 1-5.
PCT/CN2022/079659 2021-03-08 2022-03-08 Imaging method and apparatus, and electronic device and storage medium WO2022188763A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110252249.1 2021-03-08
CN202110252249.1A CN113038008A (en) 2021-03-08 2021-03-08 Imaging method, imaging device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022188763A1 true WO2022188763A1 (en) 2022-09-15

Family

ID=76466932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/079659 WO2022188763A1 (en) 2021-03-08 2022-03-08 Imaging method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113038008A (en)
WO (1) WO2022188763A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038008A (en) * 2021-03-08 2021-06-25 维沃移动通信有限公司 Imaging method, imaging device, electronic equipment and storage medium
CN113542598B (en) * 2021-07-02 2023-11-21 维沃移动通信(杭州)有限公司 Image processing method, device, electronic equipment and readable storage medium
CN114500855A (en) * 2022-02-28 2022-05-13 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium
CN114554098A (en) * 2022-02-28 2022-05-27 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791016A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of photographic method and terminal
WO2018166069A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Photographing preview method, graphical user interface, and terminal
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
CN111541845A (en) * 2020-04-30 2020-08-14 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN113038008A (en) * 2021-03-08 2021-06-25 维沃移动通信有限公司 Imaging method, imaging device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106942878A (en) * 2017-03-17 2017-07-14 合肥龙图腾信息技术有限公司 Partial enlargement make up system, apparatus and method
CN108965793B (en) * 2018-04-28 2022-01-25 耀灵人工智能(浙江)有限公司 Self-adaptive adjustment makeup auxiliary method and system
CN111093034B (en) * 2019-12-31 2021-08-31 维沃移动通信有限公司 Article searching method and electronic equipment
CN112333386A (en) * 2020-10-29 2021-02-05 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791016A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of photographic method and terminal
WO2018166069A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Photographing preview method, graphical user interface, and terminal
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
CN111541845A (en) * 2020-04-30 2020-08-14 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN113038008A (en) * 2021-03-08 2021-06-25 维沃移动通信有限公司 Imaging method, imaging device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113038008A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2022188763A1 (en) Imaging method and apparatus, and electronic device and storage medium
US11367307B2 (en) Method for processing images and electronic device
US11640235B2 (en) Additional object display method and apparatus, computer device, and storage medium
US9430045B2 (en) Special gestures for camera control and image processing operations
US20160180801A1 (en) Method and apparatus for controlling an electronic device
US10885322B2 (en) Hand-over-face input sensing for interaction with a device having a built-in camera
WO2019206243A1 (en) Material display method, terminal, and computer storage medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN113840070A (en) Shooting method, shooting device, electronic equipment and medium
WO2022156703A1 (en) Image display method and apparatus, and electronic device
WO2022206586A1 (en) Image processing method and apparatus, and device and storage medium
WO2022135260A1 (en) Photographing method and apparatus, electronic device and readable storage medium
WO2022111458A1 (en) Image capture method and apparatus, electronic device, and storage medium
CN112153281A (en) Image processing method and device
WO2023083279A1 (en) Photographing method and apparatus
WO2022257889A1 (en) Display method and related apparatus
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
WO2022083257A1 (en) Multimedia resource generation method and terminal
CN114245017A (en) Shooting method and device and electronic equipment
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN115914442A (en) Image display method and device
CN114339050B (en) Display method and device and electronic equipment
WO2021218118A1 (en) Image processing method and apparatus
Kurauchi et al. Towards wearable gaze supported augmented cognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22766286

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22766286

Country of ref document: EP

Kind code of ref document: A1