WO2019238001A1 - Photograph capturing control method and related device - Google Patents

Photograph capturing control method and related device Download PDF

Info

Publication number
WO2019238001A1
WO2019238001A1 PCT/CN2019/090491 CN2019090491W WO2019238001A1 WO 2019238001 A1 WO2019238001 A1 WO 2019238001A1 CN 2019090491 W CN2019090491 W CN 2019090491W WO 2019238001 A1 WO2019238001 A1 WO 2019238001A1
Authority
WO
WIPO (PCT)
Prior art keywords
sticker
preview window
background
setting interface
foreground
Prior art date
Application number
PCT/CN2019/090491
Other languages
French (fr)
Chinese (zh)
Inventor
刘博�
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019238001A1 publication Critical patent/WO2019238001A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the display content of the sticker setting interface is captured to obtain a sticker photo.
  • an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the foregoing.
  • the program executes, and the program includes instructions for executing steps in any method in the first aspect of the embodiments of the present application.
  • each preview window can be set in advance. This method is convenient and efficient, but the mode is relatively simple; or,
  • the embodiment of the present application does not limit the specific setting process of the foregoing attributes of the preview window.
  • the electronic device freezes the image in each preview window when it detects a photographing instruction. Specifically, the electronic device can freeze the image according to a timestamp, and the timestamp can correspond to the time when the instruction is detected.
  • the setting operation of the background sticker includes the following operations: obtaining a background sticker configured for the current preview window; and buffering the image data of the background sticker in a texture corresponding to the current preview window.
  • the texture is a container for buffering image data; obtaining a display area label of the current preview window, the display area label is used to identify a display area of the current preview window; and the first texture area is labeled according to the display area.
  • the image data of the stickers uses independent storage and display control logic, which can reduce the coupling between the sticker setting process and the user's facial image setting process. Improve the stability and efficiency of image display in the preview window.
  • the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display of the sticker setting interface when a photographing instruction is detected. Content, get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window.
  • the electronic device obtains facial data of at least one user within a current framing range of a camera of the electronic device;
  • the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display content of the sticker setting interface when a photographing instruction is detected.
  • the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows
  • the sticker setting interface includes multiple preview windows
  • the background sticker is a virtual decoration of the facial image in the preview window.
  • a background sticker setting operation is performed on each of the multiple preview windows in the sticker setting interface.
  • the background sticker setting operation is used to set a background sticker on a facial image of each preview window in multiple preview windows.
  • the sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating a facial image in the preview window;
  • the display content of the sticker setting interface is captured to obtain a sticker photo.
  • the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple
  • the sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
  • the setting operation of the foreground sticker includes the following operations: obtaining image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the sticker setting interface; and in a second texture area Copy the image data in the texture so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface.
  • the program further includes instructions for performing the following operations: before performing a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, obtaining the electronic The face data of at least one user within the current framing range of the device's camera; determining the face shape of each user according to the face data of each user; and determining the each of the faces according to the relationship between the preset face shape and the shape of the preview window.
  • each preview window supports a filter setting function and / or a background picture setting function.
  • the electronic device includes a hardware structure and / or a software module corresponding to each function.
  • this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
  • the device embodiment of the present invention is used to execute the method implemented by the method embodiment of the present invention.
  • the photographing control device 600 shown in FIG. 6 is applied to the electronic device.
  • the photographing control device includes a processing unit 601 and a communication unit 602.
  • the photographing control device may further include a storage unit 603 for storing program codes and data of the electronic device.
  • the processing unit 601 may be a processor
  • the communication unit 602 may be an input device or a transceiver
  • the storage unit 603 may be a memory.
  • the setting operation of the background sticker includes the following operations: obtaining a background sticker configured for the current preview window; and buffering the image data of the background sticker in a texture corresponding to the current preview window.
  • the texture is a container for buffering image data; obtaining a display area label of the current preview window, the display area label is used to identify a display area of the current preview window; and the first area is labeled according to the display area.
  • the texture area copies the image data in the texture so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the display area of the current preview window; Face data, displaying the user's facial image in the display area of the current preview window, and controlling the action of the background sticker to match the facial image; when the motion is detected as a preset motion, freeze the current preview window The picture.
  • the setting operation of the foreground sticker includes the following operations: obtaining image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the sticker setting interface; and in a second texture area Copy the image data in the texture so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface.
  • each preview window supports a filter setting function and / or a background picture setting function.
  • An embodiment of the present invention also provides another electronic device.
  • the electronic device includes an image processing circuit, and the image processing circuit may be implemented by using hardware and / or software components, and may specifically include various processing units.
  • FIG. 7 is an example diagram of an image processing circuit. As shown in FIG. 7, for convenience of explanation, only relevant processing units in the aspect of image processing related to the embodiment of the present application are shown.
  • the image processing circuit may include an image signal processing (ISP) processor 740 and a control logic 750.
  • the image data captured by the imaging device 710 is first processed by the ISP processor 740, and the ISP processor 740 analyzes the image data to capture image statistical information used to determine control parameters of the imaging device 710.
  • the imaging device 710 may be a camera having a lens 712 and an image sensor 714.
  • the image sensor 714 may include a color filter array (such as a Bayer filter). Each imaging pixel of the image sensor 714 may capture light intensity and wavelength information of ambient light.
  • the image sensor 714 transmits the original image data to the ISP processor 740.
  • the sensor 720 may provide the original image data to the ISP processor 740 based on a preset interface.
  • the preset interfaces include a Standard Mobile Imaging Architecture (SMIA) interface, other serial or parallel camera interfaces, or a combination of the foregoing interfaces.
  • SIA Standard Mobile Imaging Architecture
  • the ISP processor 740 processes the original image data pixel by pixel in a variety of formats.
  • each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 740 may perform one or more image processing operations on the original image data and collect statistical information about the image data.
  • the image processing operations may be performed with the same or different bit depth accuracy.
  • the image memory 730 may be configured to implement one or more frame buffers.
  • the output of the ISP processor 740 may be sent to an encoder / decoder 760 to implement encoding / decoding of image data.
  • the encoded image data can be saved and decompressed before being displayed on the display 770 device.
  • the encoder / decoder 760 may be implemented by a CPU or a GPU or a coprocessor.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to perform part or all of the steps of any method described in the foregoing method embodiments
  • the computer includes electronic equipment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

A photograph capturing control method and a related device, applicable in an electronic device, comprising: executing a background sticker configuration operation with respect to each preview window of multiple preview windows in a sticker configuration interface, the background sticker configuration operation being used for configuring a background sticker for a facial image in each preview window of the multiple preview windows, the sticker configuration interface comprising the multiple preview windows, and the background sticker being a virtual decoration for decorating the facial images in the preview windows; when a photograph capturing instruction is detected, capturing a display content of the sticker configuration interface to produce a sticker photograph. The photograph capturing control method and the related device favor an increase in the flexibility and convenience of a sticker configuration in an electronic device photograph capturing scenario.

Description

拍照控制方法及相关装置Photograph control method and related device 技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种拍照控制方法及相关装置。The present application relates to the field of electronic technology, and in particular, to a photographing control method and a related device.
背景技术Background technique
随着智能终端(如智能手机等)技术的迅速发展,以及越来越普及,现已成为用户日常生活中不可缺少的电子产品。智能手机上安装的美图类应用一般支持对照片进行编辑,如对人物照片设置贴纸等,但此种将照片导入到第三方应用的方式难以不能够满足用户实时性和个性化需求。With the rapid development of smart terminals (such as smart phones, etc.) and their increasing popularity, they have become indispensable electronic products in the daily lives of users. The beautiful picture application installed on the smart phone generally supports photo editing, such as setting stickers on people's photos, but this way of importing photos to third-party applications is difficult to meet the user's real-time and personalized needs.
发明内容Summary of the Invention
本申请实施例提供一种拍照控制方法及相关装置,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。The embodiments of the present application provide a photographing control method and a related device, which are beneficial to improving the flexibility and convenience of setting stickers in a photographing scene of an electronic device.
第一方面,本申请实施例提供一种拍照控制方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a photographing control method applied to an electronic device, where the method includes:
对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;A background sticker setting operation is performed on each of the multiple preview windows in the sticker setting interface. The background sticker setting operation is used to set a background sticker on a facial image of each preview window in multiple preview windows. The sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating a facial image in the preview window;
在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the sticker setting interface is captured to obtain a sticker photo.
第二方面,本申请实施例提供一种拍照控制装置,应用于电子设备,所述拍照控制装置包括处理单元和通信单元,其中,In a second aspect, an embodiment of the present application provides a photographing control apparatus, which is applied to an electronic device. The photographing control apparatus includes a processing unit and a communication unit, where:
所述处理单元,用于对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;以及用于通过所述通信单元在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。The processing unit is configured to perform a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and the background sticker setting operation is used to face each of the preview windows in the multiple preview windows. A background sticker is set on the image, and the sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window; When taking a picture instruction, the display content of the sticker setting interface is captured to obtain a sticker photo.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。According to a third aspect, an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the foregoing. The program executes, and the program includes instructions for executing steps in any method in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute a computer program as described in the first embodiment of the present application. Some or all of the steps described in any method in one aspect.
可以看出,在本申请实施例中,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that, in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of a plurality of preview windows in the sticker setting interface, and secondly, when a photographing instruction is detected, the sticker setting interface is captured. Display content and get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly explain the technical solutions in the embodiments of the present application or the background art, the drawings that are needed in the embodiments of the present application or the background art will be described below.
图1A是一种智能手机的程序运行空间的示意图;FIG. 1A is a schematic diagram of a program running space of a smart phone; FIG.
图1B是一种安卓系统的系统架构图;FIG. 1B is a system architecture diagram of an Android system; FIG.
图2A是本申请实施例提供的一种拍照控制方法的流程示意图;2A is a schematic flowchart of a photographing control method according to an embodiment of the present application;
图2B是本申请实施例提供的一种贴纸设置界面的示例图;2B is an example diagram of a sticker setting interface provided by an embodiment of the present application;
图2C是本申请实施例提供的另一种贴纸设置界面的示例图;FIG. 2C is an example diagram of another sticker setting interface provided by an embodiment of the present application; FIG.
图3是本申请实施例公开的另一种拍照控制方法的流程示意图;3 is a schematic flowchart of another photographing control method disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种拍照控制方法的流程示意图;4 is a schematic flowchart of another photographing control method disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种电子设备的结构示意图;5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
图6是本申请实施例公开的一种拍照控制装置的功能单元组成框图;FIG. 6 is a functional block diagram of a photographing control device disclosed in an embodiment of the present application; FIG.
图7是本申请实施例公开的一种图像处理电路的示例图。FIG. 7 is an example diagram of an image processing circuit disclosed in an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are merely Examples are part of this application, but not all examples. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts should fall within the protection scope of this application.
以下分别进行详细说明。Each of them will be described in detail below.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" in the description and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "including" and "having", as well as any of them, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device containing a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is clearly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
如图1A所示,目前智能手机等电子设备一般设置有程序运行空间,该程序运行空间包括用户空间和操作系统空间,其中,用户空间运行有一个或多个应用程序,该一个或多个应用程序为电子设备安装的第三方应用程序,本申请实施例所描述的拍照控制方法对应的软件算法运行在用户空间,操作系统空间运行有电子设备的操作系统。As shown in FIG. 1A, current electronic devices such as smart phones are generally provided with a program running space, and the program running space includes user space and operating system space, wherein the user space runs one or more application programs, and the one or more applications The program is a third-party application installed on the electronic device. The software algorithm corresponding to the photographing control method described in the embodiment of the present application runs in the user space, and the operating system space runs the operating system of the electronic device.
该电子设备具体可以运行安卓Android系统、苹果公司开发的移动操作系统iOS等,此处不做唯一限定。如图1B所示,以所述电子设备运行有Android系统为例,对应的用户空间包括该Android系统中的应用层(Applications),操作系统空间可以包括该Android系统中的应用程序框架层(Application Framework)、系统运行库层(包括系统运行库层Libraries和Android运行时Android Runtime)、Linux内核层(Linux Kernel)。其中,应用层上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序。例如,智能手机上实现的常见基本功能的程序,诸如短消息业务(Short Messaging Service,SMS)短信,电话拨号,图片浏览器,日历,游戏,地图,万维网(World Wide Web,Web)浏览器等程序,以及开发人员开发的其他应用程序。应用程序框架层提供开发Android应用程序所需的一系列类库,能够用于重用组件,也可以通过继承实现个性化的扩展。系统 运行库层是应用程序框架的支撑,为Android系统中的各个组件提供服务。系统运行库层由系统类库和Android运行时构成。Android运行时包含核心库和Dalvik虚拟机两部分。Linux内核层用于实现硬件设备驱动,进程和内存管理,网络协议栈,电源管理,无线通信等核心功能。The electronic device can specifically run Android Android system, mobile operating system iOS developed by Apple, etc., and is not limited here. As shown in FIG. 1B, taking the electronic device running the Android system as an example, the corresponding user space includes the application layer (Applications) in the Android system, and the operating system space may include the application framework layer (Application) in the Android system. Framework), the system runtime library layer (including the system runtime library layer Libraries and Android runtime Android Runtime), the Linux kernel layer (Linux Kernel). Among them, the application layer includes various types of applications that directly interact with users, or service programs running in the background written in the Java language. For example, programs for common basic functions implemented on smartphones, such as Short Messaging Service (SMS) text messages, phone dialing, picture browsers, calendars, games, maps, World Wide Web (Web) browsers, etc. Programs, and other applications developed by developers. The application framework layer provides a series of class libraries required for developing Android applications, which can be used to reuse components, and can also be personalized to extend through inheritance. The system runtime layer is the support of the application framework and provides services for various components in the Android system. The system runtime layer consists of the system class library and the Android runtime. The Android runtime contains two parts, the core library and the Dalvik virtual machine. The Linux kernel layer is used to implement core functions such as hardware device drivers, process and memory management, network protocol stacks, power management, and wireless communications.
电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(例如智能手表、智能手环、计步器等)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。Electronic devices can include various handheld devices with wireless communication capabilities, vehicle-mounted devices, wearable devices (e.g., smart watches, smart bracelets, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, and various User equipment (User Equipment, UE), mobile station (MS), terminal device (terminal) and so on. For ease of description, the devices mentioned above are collectively referred to as electronic devices.
下面对本申请实施例进行详细介绍。The embodiments of the present application are described in detail below.
请参阅图2A,图2A是本申请实施例提供了一种拍照控制方法的流程示意图,应用于电子设备,本拍照控制方法包括:Please refer to FIG. 2A. FIG. 2A is a schematic flowchart of a photographing control method provided by an embodiment of the present application, which is applied to an electronic device. The photographing control method includes:
S201,电子设备对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;S201. The electronic device performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface. The background sticker setting operation is used to set a facial image of each preview window in the multiple preview windows. Scene sticker, the sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window;
其中,该贴纸设置界面的启用方式可以是多种多样的,如在相册或者相机等应用中启用,或者在系统设置选项中启用等,此处不做唯一限定。对面部影像进行装饰的虚拟装置物可以包括但不限于以下:眼镜、帽子、头饰、猫耳朵、桃心等人物装饰类贴纸。The sticker setting interface can be activated in various ways, such as in an application such as a photo album or a camera, or in a system setting option, and is not limited here. The virtual device for decorating the facial image may include, but is not limited to, the following: glasses, hats, headgear, cat ears, peach hearts and other character decoration stickers.
此外,多个预览视窗的数量、位置和样式在本申请示例中可以是多种多样的,如多个预览视窗的数量可以是2个、3个、4个等。下面对预览视窗的位置和样式进行示例说明。In addition, the number, positions, and styles of the multiple preview windows may be various in the examples of the present application. For example, the number of multiple preview windows may be two, three, four, and the like. The position and style of the preview window are described below as examples.
例如,当数量为4个时,该包含4个预览视窗的贴纸设置界面可以是如图2B所示的4宫格样式,其中,第一第二个时长可以是圆形,第三第四个时长可以是矩形,又例如,当数量为2个时,该包含2个预览时长的贴纸设置界面可以是如图2C所示的2宫格样式。For example, when the number is 4, the sticker setting interface including 4 preview windows may be a 4-grid style as shown in FIG. 2B, where the first and second durations may be circular, and the third and fourth The duration may be rectangular. For example, when the number is two, the sticker setting interface including two preview durations may be a 2-grid pattern as shown in FIG. 2C.
上述每个预览视窗的大小、位置和样式可以预先进行设置,此方法便捷高效,但模式较为单一;或者,The size, position, and style of each preview window can be set in advance. This method is convenient and efficient, but the mode is relatively simple; or,
电子设备可以根据用户的视窗设置指令,对当前的贴纸设置界面中的预览视窗的数量、大小和样式进行灵活设置;此方法便捷高效,能够符合用户实时个性化需求,又或者,The electronic device can flexibly set the number, size, and style of the preview windows in the current sticker setting interface according to the user's window setting instructions; this method is convenient and efficient, and can meet the user's real-time personalization needs, or,
电子设备可以通过摄像头捕捉当前取景界面中存在的用户的数量,根据该用户的数量确定对应数量的预览视窗,根据每个用户在当前场景中的相对位置确定对应视窗的位置,以及根据每个用户的脸型确定对应视窗的样式,如圆脸对应圆形,鹅蛋脸对应椭圆形,长脸对应矩形等,此方法更加智能。The electronic device can capture the number of users in the current viewfinder interface through a camera, determine a corresponding number of preview windows according to the number of users, determine the position of the corresponding window according to the relative position of each user in the current scene, and according to each user The face shape is determined to correspond to the style of the window, such as a round face corresponding to a circle, a goose egg face corresponding to an oval, and a long face corresponding to a rectangle. This method is more intelligent.
本申请实施例对预览视窗的上述属性的具体的设置过程不做唯一限定。The embodiment of the present application does not limit the specific setting process of the foregoing attributes of the preview window.
在一个可能的示例中,所述对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作之前,所述方法还包括:所述电子设备获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;根据每个用户的面部数据确定每个用户的脸型;根据预设的脸型与预览视窗的形状之间的关系,确定所述每个用户对应的预览视窗的形状;根据所述形状显示每个用户对应的预览视窗。可见,本示例中,由于电子设备能够根据用户的脸型智能匹配预览视窗,提高贴纸设置的趣味性和与用户的关联性,从而提高电子设备进行拍照的智能性。In a possible example, before performing the background sticker setting operation on each of the multiple preview windows in the sticker setting interface, the method further includes: the electronic device obtaining a current camera of the electronic device. Face data of at least one user in the framing range; determining the face shape of each user according to the face data of each user; and determining the preview window corresponding to each user according to the relationship between the preset face shape and the shape of the preview window A shape; a preview window corresponding to each user is displayed according to the shape. It can be seen that, in this example, because the electronic device can intelligently match the preview window according to the user's face shape, the fun of sticker setting and the relevance with the user is improved, thereby improving the intelligence of the electronic device for taking pictures.
在一个可能的示例中,所述每个预览视窗还支持滤镜设置功能和/或背景画面设置功能。进一步增强预览视窗的功能性,提升拍照效果和多样性。In a possible example, each preview window further supports a filter setting function and / or a background picture setting function. The functionality of the preview window is further enhanced to enhance the photo effect and diversity.
S202,所述电子设备在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。S202. When the electronic device detects a photographing instruction, capture the display content of the sticker setting interface to obtain a sticker photo.
其中,电子设备在检测到拍照指令时,会定格每个预览视窗中的影像,具体可以按照时间戳来定格,该时间戳可以对应检测到指令的时间。The electronic device freezes the image in each preview window when it detects a photographing instruction. Specifically, the electronic device can freeze the image according to a timestamp, and the timestamp can correspond to the time when the instruction is detected.
可以看出,本申请实施例中,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that, in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display of the sticker setting interface when a photographing instruction is detected. Content, get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
在一个可能的示例中,所述电子设备对贴纸设置界面执行后景贴纸设置操作,包括:所述电子设备对所述贴纸设置界面中的所述每个预览视窗执行所述后景贴纸设置操作。In a possible example, the performing a background sticker setting operation on the sticker setting interface by the electronic device includes: performing, by the electronic device, the background sticker setting operation on each preview window in the sticker setting interface. .
其中,每个预览视窗所设置的贴纸可以相同,也可以不同,对应的,每个预览视窗中的用户的面部影像可以相同,也可以不同,就是说,该多个预览视窗可以支持单个用户进行贴纸设置,也可以支持多个用户分别进行贴纸设置。The sticker set in each preview window can be the same or different. Correspondingly, the face image of the user in each preview window can be the same or different, that is, the multiple preview windows can support a single user to perform Sticker settings can also support multiple users to set stickers individually.
可以理解的是,上述多个预览视窗的设置过程可以是逐个录入和设置,也可以是交互录入和设置,此处不做唯一限定。It can be understood that the setting process of the multiple preview windows described above can be entered and set one by one, or can be entered and set interactively, which is not limited here.
可见,本示例中,由于预览视窗包括多个,且视窗之间没有贴纸设置约束,也没有面部影像录入约束,故而电子设备对每个预览视窗执行相同的后景贴纸设置操作,以完成每个预览视窗的贴纸设置,提高电子设备对多个预览视窗进行贴纸设置的准确度和稳定性。It can be seen that, in this example, because the preview windows include multiple, and there are no constraints for setting stickers on the windows, and no constraints for entering facial images, the electronic device performs the same background sticker setting operation on each preview window to complete each The sticker setting of the preview window improves the accuracy and stability of the sticker setting of multiple preview windows by the electronic device.
在本示例中,所述后景贴纸设置操作包括以下操作:获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理区域拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理区域对应所述当前的预览视窗的显示区域;采集用户的面部数据,在所述当前的预览视窗的显示区域显示用户的面部影像,并控制所述后景贴纸匹配面部影像的动作;在检测到所述动作为预设动作时,定格所述当前预览视窗的画面。In this example, the setting operation of the background sticker includes the following operations: obtaining a background sticker configured for the current preview window; and buffering the image data of the background sticker in a texture corresponding to the current preview window. The texture is a container for buffering image data; obtaining a display area label of the current preview window, the display area label is used to identify a display area of the current preview window; and the first texture area is labeled according to the display area. Copying the image data in the texture so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the display area of the current preview window; collecting user's face data Displaying a user's facial image in the display area of the current preview window, and controlling the action of the background sticker to match the facial image; when detecting that the motion is a preset motion, freeze the screen of the current preview window .
具体实现中,电子设备会连续采集用户的多帧面部数据,并连续加载该多帧面部数据,从而实现在所述当前的预览视窗的显示区域显示用户动态的面部影像。In specific implementation, the electronic device continuously collects multiple frames of facial data of the user, and continuously loads the multiple frames of facial data, so as to display the user's dynamic facial images in the display area of the current preview window.
其中,电子设备显示贴纸和显示用户的面部影像的前后时序不做限定,本示例以电子设备先显示贴纸,再显示用户的面部影像为例进行说明。The sequence before and after the electronic device displays the sticker and the user's facial image is not limited. This example uses the electronic device to display the sticker first, and then displays the user's facial image as an example.
此外,由于电子设备能够控制后景贴纸匹配面部影像的动作,实现增强现实AR贴纸功能,故而可以提高贴纸设置智能性。In addition, since the electronic device can control the action of the background sticker to match the facial image and implement the AR sticker function, it can improve the smartness of sticker setting.
可见,本示例中,由于贴纸是作为独立素材存储在素材库中,故而贴纸的图像数据采用独立的存储和显示控制逻辑,可以降低贴纸设置过程与用户的面部影像的设置过程之间的耦合,提高预览视窗中影像显示的稳定性和效率。It can be seen that in this example, since the stickers are stored in the material library as independent materials, the image data of the stickers uses independent storage and display control logic, which can reduce the coupling between the sticker setting process and the user's facial image setting process. Improve the stability and efficiency of image display in the preview window.
在一个可能的示例中,所述对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,所述方法还包括:所述电子设备对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。In a possible example, after the background sticker setting operation is performed on the sticker setting interface, when a photographing instruction is detected, the display content of the sticker setting interface is captured, and before the sticker photo is obtained, the method further includes: The electronic device performs a foreground sticker setting operation on the sticker setting interface, the foreground setting operation is used to set a foreground sticker on the sticker setting interface, and the foreground sticker is a virtual decoration for decorating the sticker setting interface Thing.
其中,所述对所述贴纸设置界面进行装饰的虚拟装饰物可以包括但不限定于以下:前景相框、前景特效等。The virtual decoration for decorating the sticker setting interface may include, but is not limited to, the following: a foreground photo frame, a foreground special effect, and the like.
可见,本示例中,电子设备不仅支持后景贴纸设置,还可以在所有预览视窗的后景贴纸设置完成后,进一步设置前景贴纸,提高贴纸设置全面性和灵活性。It can be seen that, in this example, the electronic device not only supports the setting of the background sticker, but can also further set the foreground sticker after the setting of the background sticker in all preview windows, improving the comprehensiveness and flexibility of the sticker setting.
在一个可能的示例中,所述前景贴纸设置操作包括以下操作:获取所述前景贴纸的图像数据;在所述贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;在第二纹理区域拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述贴纸设置界面的有效显示区域显示,所述第二纹理区域对应所述贴纸设置界面的所述有效显示区域。In a possible example, the setting operation of the foreground sticker includes the following operations: obtaining image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the sticker setting interface; and in a second texture area Copy the image data in the texture so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface.
可见,本示例中,由于前景贴纸作为独立的素材保存在素材库中,故而该前景贴纸的图像数据采用独立的处理逻辑可以降低数据耦合,提高图像处理和显示效率。It can be seen that, in this example, because the foreground sticker is stored in the material library as an independent material, the image data of the foreground sticker uses independent processing logic to reduce data coupling and improve image processing and display efficiency.
在一个可能的示例中,所述电子设备对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,所述方法还包括:所述电子设备获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;根据每个用户的面部数据确定面部影像,以及所述面部影像所处的预览视窗;控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。In a possible example, after the electronic device performs a background sticker setting operation on the sticker setting interface, when detecting a photographing instruction, capturing the display content of the sticker setting interface to obtain a sticker photo, the method The method further includes: obtaining, by the electronic device, facial data of at least one user within a current framing range of the camera of the electronic device; determining a facial image according to the facial data of each user, and a preview window in which the facial image is located; controlling and determining The background sticker in the preview window matches the action of the corresponding facial image.
可见,本示例中,电子设备执行后景贴纸设置操作之后,可以进一步通过摄像头捕捉用户的面部动作,实时跟随调整对应预览视窗中的面部影像的动作,以及适配调整后景贴纸,实现增强现实AR贴纸功能,提高贴纸设置智能性。It can be seen that, in this example, after the electronic device performs the background sticker setting operation, the user can further capture the user's facial movements through the camera, follow the actions of adjusting the facial image in the corresponding preview window in real time, and adjust and adjust the background sticker to achieve augmented reality. AR sticker function, improve the intelligence of sticker setting.
与所述图2A所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种拍照控制方法的流程示意图,应用于电子设备。如图所示,本拍照控制方法包括:Consistent with the embodiment shown in FIG. 2A, please refer to FIG. 3. FIG. 3 is a schematic flowchart of a photographing control method according to an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the photographing control method includes:
S301,所述电子设备对所述贴纸设置界面中的所述每个预览视窗执行所述后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;S301. The electronic device performs the background sticker setting operation on each of the preview windows in the sticker setting interface, and the background sticker setting operation is used for a face of each of the multiple preview windows. A background sticker is set on the image, and the sticker setting interface includes the multiple preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window;
S302,所述电子设备对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。S302. The electronic device performs a foreground sticker setting operation on the sticker setting interface. The foreground setting operation is used to set a foreground sticker on the sticker setting interface. The foreground sticker is a virtual decoration of the sticker setting interface. decorations.
S303,所述电子设备在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。S303. When the electronic device detects a photographing instruction, capture the display content of the sticker setting interface to obtain a sticker photo.
可以看出,本申请实施例中,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that, in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display of the sticker setting interface when a photographing instruction is detected. Content, get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
此外,由于预览视窗包括多个,且视窗之间没有贴纸设置约束,也没有面部影像录入约束,故而电子设备对每个预览视窗执行相同的后景贴纸设置操作,以完成每个预览视窗的贴纸设置,提高电子设备对多个预览视窗进行贴纸设置的准确度和稳定性。In addition, since there are multiple preview windows, and there are no constraints on the setting of stickers between the windows, and there are no constraints on the input of facial images, the electronic device performs the same background sticker setting operation on each preview window to complete the stickers of each preview window. Settings, improving the accuracy and stability of the electronic device's setting of stickers on multiple preview windows.
与所述图2A所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种拍照控制方法的流程示意图,应用于电子设备。如图所示,本拍照控制方法包括:Consistent with the embodiment shown in FIG. 2A, please refer to FIG. 4. FIG. 4 is a schematic flowchart of a photographing control method according to an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the photographing control method includes:
S401,所述电子设备对所述贴纸设置界面中的所述每个预览视窗执行所述后景贴纸设 置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;S401. The electronic device performs the background sticker setting operation on each of the preview windows in the sticker setting interface, and the background sticker setting operation is used for a face of each of the multiple preview windows. A background sticker is set on the image, and the sticker setting interface includes the multiple preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window;
S402,所述电子设备对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。S402. The electronic device performs a foreground sticker setting operation on the sticker setting interface. The foreground setting operation is used to set a foreground sticker on the sticker setting interface. The foreground sticker is a virtual decoration of the sticker setting interface. decorations.
S403,所述电子设备获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;S403. The electronic device obtains facial data of at least one user within a current framing range of a camera of the electronic device;
S404,所述电子设备根据每个用户的面部数据确定面部影像,以及所述面部影像所处的预览视窗;S404. The electronic device determines a facial image according to the facial data of each user, and a preview window where the facial image is located.
S405,所述电子设备控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。S405. The electronic device controls the determined action that the background sticker in the preview window matches the corresponding facial image.
S406,所述电子设备在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。S406. When the electronic device detects a photographing instruction, capture the display content of the sticker setting interface to obtain a sticker photo.
可以看出,本申请实施例,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display content of the sticker setting interface when a photographing instruction is detected. To get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
此外,由于预览视窗包括多个,且视窗之间没有贴纸设置约束,也没有面部影像录入约束,故而电子设备对每个预览视窗执行相同的后景贴纸设置操作,以完成每个预览视窗的贴纸设置,提高电子设备对多个预览视窗进行贴纸设置的准确度和稳定性。In addition, since there are multiple preview windows, and there are no constraints on the setting of stickers between the windows, and there are no constraints on the input of facial images, the electronic device performs the same background sticker setting operation on each preview window to complete the stickers of each preview window. Settings, improving the accuracy and stability of the electronic device's setting of stickers on multiple preview windows.
此外,电子设备执行后景贴纸设置操作之后,可以进一步通过摄像头捕捉用户的面部动作,实时跟随调整对应预览视窗中的面部影像的动作,以及适配调整后景贴纸,实现增强现实AR贴纸功能,提高贴纸设置智能性。In addition, after the electronic device performs the background sticker setting operation, it can further capture the user's facial movements through the camera, follow the actions of adjusting the facial image in the corresponding preview window in real time, and adapt the background sticker to adjust the AR sticker function. Improved sticker setting intelligence.
与所述图2A、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,该电子设备500运行有一个或多个应用程序和操作系统,如图所示,该电子设备500包括处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在所述存储器520中,并且被配置由所述处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 2A, FIG. 3, and FIG. 4, please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present application. As shown in the figure, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 521. The one or more programs 521 are stored in the The memory 520 is described above and configured to be executed by the processor 510, and the one or more programs 521 include instructions for performing the following steps;
对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;A background sticker setting operation is performed on each of the multiple preview windows in the sticker setting interface. The background sticker setting operation is used to set a background sticker on a facial image of each preview window in multiple preview windows. The sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating a facial image in the preview window;
在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the sticker setting interface is captured to obtain a sticker photo.
可以看出,本申请实施例中,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影 像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that, in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display of the sticker setting interface when a photographing instruction is detected. Content, get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
在一个可能的示例中,在所述对贴纸设置界面执行后景贴纸设置操作方面,所述程序中的指令具体用于执行以下操作:对所述贴纸设置界面中的所述每个预览视窗执行所述后景贴纸设置操作。In a possible example, in terms of performing a background sticker setting operation on the sticker setting interface, the instructions in the program are specifically used to perform the following operations: executing on each preview window in the sticker setting interface The background sticker setting operation.
在一个可能的示例中,所述后景贴纸设置操作包括以下操作:获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理区域拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理区域对应所述当前的预览视窗的显示区域;采集用户的面部数据,在所述当前的预览视窗的显示区域显示用户的面部影像,并控制所述后景贴纸匹配面部影像的动作;在检测到所述动作为预设动作时,定格所述当前预览视窗的画面。In a possible example, the setting operation of the background sticker includes the following operations: obtaining a background sticker configured for the current preview window; and buffering the image data of the background sticker in a texture corresponding to the current preview window. The texture is a container for buffering image data; obtaining a display area label of the current preview window, the display area label is used to identify a display area of the current preview window; and the first area is labeled according to the display area. The texture area copies the image data in the texture so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the display area of the current preview window; Face data, displaying the user's facial image in the display area of the current preview window, and controlling the action of the background sticker to match the facial image; when the motion is detected as a preset motion, freeze the current preview window The picture.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。In a possible example, the program further includes instructions for performing the following operations: after performing a background sticker setting operation on the sticker setting interface, and capturing the sticker setting interface when a photographing instruction is detected Before displaying a sticker photo, perform a foreground sticker setting operation on the sticker setting interface, and the foreground setting operation is used to set a foreground sticker on the sticker setting interface, and the foreground sticker is a sticker setting interface Decorative dummy.
在一个可能的示例中,所述前景贴纸设置操作包括以下操作:获取所述前景贴纸的图像数据;在所述贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;在第二纹理区域拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述贴纸设置界面的有效显示区域显示,所述第二纹理区域对应所述贴纸设置界面的所述有效显示区域。In a possible example, the setting operation of the foreground sticker includes the following operations: obtaining image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the sticker setting interface; and in a second texture area Copy the image data in the texture so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;根据每个用户的面部数据确定面部影像,以及所述面部影像所处的预览视窗;控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。In a possible example, the program further includes instructions for performing the following operations: after performing a background sticker setting operation on the sticker setting interface, and capturing the sticker setting interface when a photographing instruction is detected Before displaying the sticker content, obtain facial data of at least one user within the current framing range of the camera of the electronic device; determine a facial image according to the facial data of each user, and a preview window where the facial image is located; Controlling the determined action of the background sticker in the preview window to match the corresponding facial image.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作之前,获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;以及根据每个用户的面部数据确定每个用户的脸型;以及根据预设的脸型与预览视窗的形状之间的关系,确定所述每个用户对应的预览视窗的形状;以及根据所述形状显示每个用户对应的预览视窗。In a possible example, the program further includes instructions for performing the following operations: before performing a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, obtaining the electronic The face data of at least one user within the current framing range of the device's camera; determining the face shape of each user according to the face data of each user; and determining the each of the faces according to the relationship between the preset face shape and the shape of the preview window. The shape of the preview window corresponding to each user; and displaying the preview window corresponding to each user according to the shape.
在一个可能的示例中,所述每个预览视窗支持滤镜设置功能和/或背景画面设置功能。In a possible example, each preview window supports a filter setting function and / or a background picture setting function.
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing embodiment mainly introduces the solution of the embodiment of the present application from the perspective of a method-side execution process. It can be understood that, in order to implement the above functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, with reference to the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the functional units of the electronic device according to the method example. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。如图6所示的拍照控制装置600,应用于该电子设备,所述拍照控制装置包括处理单元601和通信单元602,其中,The following is a device embodiment of the present invention. The device embodiment of the present invention is used to execute the method implemented by the method embodiment of the present invention. The photographing control device 600 shown in FIG. 6 is applied to the electronic device. The photographing control device includes a processing unit 601 and a communication unit 602.
所述处理单元601,用于对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;以及用于通过所述通信单元在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。The processing unit 601 is configured to perform a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and the background sticker setting operation is used to perform a A background image is provided with a background sticker, and the sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window; When the photo instruction is obtained, the display content of the sticker setting interface is captured to obtain a sticker photo.
其中,所述拍照控制装置还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是输入设备或者收发器,存储单元603可以是存储器。The photographing control device may further include a storage unit 603 for storing program codes and data of the electronic device. The processing unit 601 may be a processor, the communication unit 602 may be an input device or a transceiver, and the storage unit 603 may be a memory.
可以看出,本申请实施例中,电子设备首先对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,其次,在检测到拍照指令时,捕捉贴纸设置界面的显示内容,得到贴纸照片。由于后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,贴纸设置界面包括多个预览视窗,后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物,可见,电子设备能够对同一界面中的多个预览视窗中的多个面部影像分别进行虚拟装饰物的设置,从而实现一种对多格视窗的贴纸的快捷设置,相对于传统多个面部影像的贴纸设置过程,能够避免因需要界面切换和复杂交互而耗时较长,有利于提高电子设备拍照场景中进行贴纸设置的灵活性和便捷性。It can be seen that, in the embodiment of the present application, the electronic device first performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and secondly, captures the display of the sticker setting interface when a photographing instruction is detected. Content, get sticker photos. Since the background sticker setting operation is used to set a background sticker on the face image of each preview window in multiple preview windows, the sticker setting interface includes multiple preview windows, and the background sticker is a virtual decoration of the facial image in the preview window. It can be seen that the electronic device can set virtual decorations on multiple facial images in multiple preview windows in the same interface, thereby achieving a quick setting of stickers in multi-windows, compared to traditional multiple The sticker setting process of the facial image can avoid long time consuming due to the need for interface switching and complex interaction, which is conducive to improving the flexibility and convenience of sticker setting in the photographing scene of the electronic device.
在一个可能的示例中,在所述对贴纸设置界面执行后景贴纸设置操作方面,所述处理单元601具体用于:对所述贴纸设置界面中的所述每个预览视窗执行所述后景贴纸设置操作。In a possible example, in terms of performing a background sticker setting operation on the sticker setting interface, the processing unit 601 is specifically configured to execute the background scenery on each preview window in the sticker setting interface. Sticker setting operation.
在一个可能的示例中,所述后景贴纸设置操作包括以下操作:获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理区域拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理区域对应所述当前的预览视窗的显示区域;采集用户的面部数据,在所述当前的预览视窗的显示区域显示用户的面部影像,并控制所述后景贴纸匹配面部影像的动作;在检测到所述动作为预设动作时,定格所述当前预览视窗的画面。In a possible example, the setting operation of the background sticker includes the following operations: obtaining a background sticker configured for the current preview window; and buffering the image data of the background sticker in a texture corresponding to the current preview window. The texture is a container for buffering image data; obtaining a display area label of the current preview window, the display area label is used to identify a display area of the current preview window; and the first area is labeled according to the display area. The texture area copies the image data in the texture so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the display area of the current preview window; Face data, displaying the user's facial image in the display area of the current preview window, and controlling the action of the background sticker to match the facial image; when the motion is detected as a preset motion, freeze the current preview window The picture.
在一个可能的示例中,所述处理单元在所述对贴纸设置界面执行后景贴纸设置操作之后,在通过所述通信单元602检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,还用于:对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。In a possible example, after performing a background sticker setting operation on the sticker setting interface by the processing unit, when detecting a photographing instruction through the communication unit 602, capturing the display content of the sticker setting interface to obtain Before the sticker photo, it is also used to perform a foreground sticker setting operation on the sticker setting interface. The foreground setting operation is used to set a foreground sticker on the sticker setting interface. The foreground sticker is to decorate the sticker setting interface. Virtual ornament.
在一个可能的示例中,所述前景贴纸设置操作包括以下操作:获取所述前景贴纸的图像数据;在所述贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;在第二纹理区域拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述贴纸设置界面的有效显示区域 显示,所述第二纹理区域对应所述贴纸设置界面的所述有效显示区域。In a possible example, the setting operation of the foreground sticker includes the following operations: obtaining image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the sticker setting interface; and in a second texture area Copy the image data in the texture so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface.
在一个可能的示例中,所述处理单元在所述对贴纸设置界面执行后景贴纸设置操作之后,在通过所述通信单元602检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,还用于:通过所述通信单元602获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;以及根据每个用户的面部数据确定面部影像,以及所述面部影像所处的预览视窗;以及控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。In a possible example, after performing a background sticker setting operation on the sticker setting interface by the processing unit, when detecting a photographing instruction through the communication unit 602, capturing the display content of the sticker setting interface to obtain Before the sticker photo, it is further configured to: obtain, through the communication unit 602, facial data of at least one user within a current framing range of the camera of the electronic device; and determine a facial image according to the facial data of each user, and the facial image The preview window in which it is located; and controlling the determined action of the background sticker in the preview window to match the corresponding facial image.
在一个可能的示例中,所述处理单元601对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作之前,还用于:通过所述通信单元602获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;以及根据每个用户的面部数据确定每个用户的脸型;以及根据预设的脸型与预览视窗的形状之间的关系,确定所述每个用户对应的预览视窗的形状;以及根据所述形状显示每个用户对应的预览视窗。In a possible example, before the processing unit 601 performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, the processing unit 601 is further configured to: obtain the electronic device through the communication unit 602 The face data of at least one user in the current framing range of the camera; and determine the face shape of each user according to the face data of each user; and determine each of them according to the relationship between the preset face shape and the shape of the preview window The shape of the preview window corresponding to the user; and displaying the preview window corresponding to each user according to the shape.
在一个可能的示例中,所述每个预览视窗支持滤镜设置功能和/或背景画面设置功能。In a possible example, each preview window supports a filter setting function and / or a background picture setting function.
本发明实施例还提供另一种电子设备。上述电子设备中包括图像处理电路,该图像处理电路可以利用硬件和/或软件组件实现,具体可以包括各种处理单元。图7为一种图像处理电路的示例图。如图7所示,为便于说明,仅示出与本申请实施例相关的图像处理方面的相关处理单元。An embodiment of the present invention also provides another electronic device. The electronic device includes an image processing circuit, and the image processing circuit may be implemented by using hardware and / or software components, and may specifically include various processing units. FIG. 7 is an example diagram of an image processing circuit. As shown in FIG. 7, for convenience of explanation, only relevant processing units in the aspect of image processing related to the embodiment of the present application are shown.
如图7所示,该图像处理电路可以包括图像信号处理(Image Signal Processing,ISP)处理器740和控制逻辑器750。成像设备710捕捉的图像数据首先由ISP处理器740处理,ISP处理器740对图像数据进行分析,以捕捉用于确定成像设备710的控制参数的图像统计信息。成像设备710可以是具有透镜712和图像传感器714的照相机。图像传感器714可包括色彩滤镜阵列(如Bayer滤镜),图像传感器714的每个成像像素可以捕捉环境光的光强和波长信息,该图像传感器714向ISP处理器740传输原始图像数据。传感器720可基于预设接口把原始图像数据提供给ISP处理器740。预设接口包括标准移动成像架构(Standard Mobile Imaging Architecture,SMIA)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 7, the image processing circuit may include an image signal processing (ISP) processor 740 and a control logic 750. The image data captured by the imaging device 710 is first processed by the ISP processor 740, and the ISP processor 740 analyzes the image data to capture image statistical information used to determine control parameters of the imaging device 710. The imaging device 710 may be a camera having a lens 712 and an image sensor 714. The image sensor 714 may include a color filter array (such as a Bayer filter). Each imaging pixel of the image sensor 714 may capture light intensity and wavelength information of ambient light. The image sensor 714 transmits the original image data to the ISP processor 740. The sensor 720 may provide the original image data to the ISP processor 740 based on a preset interface. The preset interfaces include a Standard Mobile Imaging Architecture (SMIA) interface, other serial or parallel camera interfaces, or a combination of the foregoing interfaces.
ISP处理器740按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器740可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP processor 740 processes the original image data pixel by pixel in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 740 may perform one or more image processing operations on the original image data and collect statistical information about the image data. The image processing operations may be performed with the same or different bit depth accuracy.
ISP处理器740还可从图像存储器730接收像素数据。例如,从预设接口将原始像素数据发送给图像存储器730,图像存储器730中的原始像素数据再提供给ISP处理器740以供处理。图像存储器730可为存储器的部分存储空间、或者独立的专用存储器,其类型可以是直接存储器存取(Direct Memory Access,DMA)。The ISP processor 740 may also receive pixel data from the image memory 730. For example, the original pixel data is sent to the image memory 730 from a preset interface, and the original pixel data in the image memory 730 is then provided to the ISP processor 740 for processing. The image memory 730 may be a partial storage space of the memory, or an independent dedicated memory, and its type may be a direct memory access (DMA).
当接收到来自预设接口或来自图像存储器730的原始图像数据时,ISP处理器740可进行图像处理操作,如滤波处理。处理后的图像数据可发送给图像存储器730,以便在显示之前进行其他处理。ISP处理器740从图像存储器730接收处理数据,并对该处理数据进行原始域以及RGB和YCbCr颜色空间中的图像数据处理。处理后的图像数据可输出给显示器770,以供用户观看和/或由图形引擎或图形处理器(Graphics Processing Unit,GPU)进一步处理。此外,ISP处理器740的输出还可发送给图像存储器730,且显示器770可从图像存储器730读取图像数据。在一个实施例中,图像存储器730可被配置为实现一个或多个帧缓冲器。此外,ISP处理器740的输出可发送给编码器/解码器760,以实现编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器770设备上之前解压缩。编码器/ 解码器760可由CPU或GPU或协处理器实现。When receiving raw image data from a preset interface or from the image memory 730, the ISP processor 740 may perform image processing operations, such as filtering processing. The processed image data may be sent to the image memory 730 for further processing before display. The ISP processor 740 receives the processing data from the image memory 730, and performs image data processing on the processing data in the original domain and in the RGB and YCbCr color spaces. The processed image data may be output to a display 770 for viewing by a user and / or further processed by a graphics engine or a graphics processing unit (Graphics Processing Unit, GPU). In addition, the output of the ISP processor 740 may also be sent to the image memory 730, and the display 770 may read image data from the image memory 730. In one embodiment, the image memory 730 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 740 may be sent to an encoder / decoder 760 to implement encoding / decoding of image data. The encoded image data can be saved and decompressed before being displayed on the display 770 device. The encoder / decoder 760 may be implemented by a CPU or a GPU or a coprocessor.
ISP处理器740确定的统计数据可发送给控制逻辑器750单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜712阴影校正等图像传感器714统计信息。控制逻辑器750可以是处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定成像设备710的控制参数。例如,控制参数可包括传感器720控制参数(例如增益、曝光控制的积分时间)、照相机闪光控制参数、透镜712控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜712阴影校正参数。The statistical data determined by the ISP processor 740 may be sent to the control logic 750 unit. For example, the statistical data may include image sensor 714 statistical information such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, and lens 712 shading correction. The control logic 750 may be a processor and / or a microcontroller, and one or more routines may determine control parameters of the imaging device 710 according to the received statistical data. For example, the control parameters may include sensor 720 control parameters (such as gain, integration time for exposure control), camera flash control parameters, lens 712 control parameters (such as focal length for focusing or zooming), or a combination of these parameters. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), and lens 712 shading correction parameters.
以下为运用图7中图像处理技术实现前述方法实施例中图像显示相关的步骤。The following are steps for implementing image display in the foregoing method embodiment by using the image processing technology in FIG. 7.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to perform part or all of the steps of any method described in the foregoing method embodiments The computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application further provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any of the methods described in the foregoing method embodiments. Some or all steps of a method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for simplicity of description, they are all described as a series of action combinations, but those skilled in the art should know that this application is not limited by the described action order. Because according to the present application, certain steps may be performed in another order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not described in detail in one embodiment, reference may be made to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. To another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, the indirect coupling or communication connection of the device or unit, and may be electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above method in each embodiment of the present application. The foregoing memories include: U disks, Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disks, magnetic disks, or optical disks and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art may understand that all or part of the steps in the various methods of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as ROM), random access device (English: Random Access Memory, referred to as RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been described in detail above. Specific examples have been used in this document to explain the principles and implementation of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. Persons of ordinary skill in the art may change the specific implementation and application scope according to the idea of the present application. In summary, the content of this description should not be construed as a limitation on the present application.

Claims (20)

  1. 一种拍照控制方法,其特征在于,应用于电子设备,所述方法包括:A photographing control method, which is characterized in that the method is applied to an electronic device, and the method includes:
    对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;A background sticker setting operation is performed on each of the multiple preview windows in the sticker setting interface. The background sticker setting operation is used to set a background sticker on a facial image of each preview window in multiple preview windows. The sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating a facial image in the preview window;
    在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the sticker setting interface is captured to obtain a sticker photo.
  2. 根据权利要求1所述的方法,其特征在于,所述后景贴纸设置操作包括以下操作:The method according to claim 1, wherein the setting operation of the background sticker includes the following operations:
    获取为当前的预览视窗配置的后景贴纸,所述当前的预览视窗为所述电子设备当前处理的预览视窗;Obtaining a background sticker configured for a current preview window, where the current preview window is a preview window currently processed by the electronic device;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理区域拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理区域对应所述当前的预览视窗的显示区域;Copy the image data in the texture according to the display area marked in the first texture area, so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the current The display area of the preview window;
    采集用户的面部数据,在所述当前的预览视窗的显示区域显示用户的面部影像,并控制所述后景贴纸匹配面部影像的动作;Collecting user's face data, displaying the user's face image in the display area of the current preview window, and controlling the action of the background sticker to match the face image;
    在检测到所述动作为预设动作时,定格所述当前预览视窗的画面。When it is detected that the motion is a preset motion, the screen of the current preview window is freezed.
  3. 根据权利要求1或2所述的方法,其特征在于,所述对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,所述方法还包括:The method according to claim 1 or 2, wherein after performing a background sticker setting operation on the sticker setting interface, when a photographing instruction is detected, capturing a display content of the sticker setting interface to obtain a sticker Before the photo, the method also includes:
    对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。A foreground sticker setting operation is performed on the sticker setting interface. The foreground setting operation is used to set a foreground sticker on the sticker setting interface. The foreground sticker is a virtual decoration that decorates the sticker setting interface.
  4. 根据权利要求3所述的方法,其特征在于,所述对所述贴纸设置界面进行装饰的虚拟装饰物包括以下至少一种:前景相框、前景特效。The method according to claim 3, wherein the virtual decoration for decorating the sticker setting interface comprises at least one of the following: a foreground photo frame and a foreground special effect.
  5. 根据权利要求4所述的方法,其特征在于,所述前景贴纸设置操作包括以下操作:The method according to claim 4, wherein the setting operation of the foreground sticker comprises the following operations:
    获取所述前景贴纸的图像数据;Obtaining image data of the foreground sticker;
    在所述贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;Buffering image data of the foreground sticker in a texture corresponding to the sticker setting interface;
    在第二纹理区域拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述贴纸设置界面的有效显示区域显示,所述第二纹理区域对应所述贴纸设置界面的所述有效显示区域。Copying the image data in the texture in a second texture area so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface .
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein after performing a background sticker setting operation on the sticker setting interface, the captured content of the sticker setting interface is captured when a photographing instruction is detected. Before the sticker photo is obtained, the method further includes:
    获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;Acquiring facial data of at least one user within a current framing range of a camera of the electronic device;
    根据每个用户的面部数据确定面部影像,以及所述面部影像所处的预览视窗;Determining a facial image according to the facial data of each user, and a preview window where the facial image is located;
    控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。Controlling the determined action of the background sticker in the preview window to match the corresponding facial image.
  7. 根据权利要求6所述的方法,其特征在于,所述对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作之前,所述方法还包括:The method according to claim 6, wherein before performing the background sticker setting operation on each of the multiple preview windows in the sticker setting interface, the method further comprises:
    获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;Acquiring facial data of at least one user within a current framing range of a camera of the electronic device;
    根据每个用户的面部数据确定每个用户的脸型;Determine the face shape of each user according to the face data of each user;
    根据预设的脸型与预览视窗的形状之间的关系,确定所述每个用户对应的预览视窗的 形状;Determining the shape of the preview window corresponding to each user according to the relationship between the preset face shape and the shape of the preview window;
    根据所述形状显示每个用户对应的预览视窗。A preview window corresponding to each user is displayed according to the shape.
  8. 根据权利要求7所述的方法,其特征在于,所述每个预览视窗支持滤镜设置功能和/或背景画面设置功能。The method according to claim 7, wherein each preview window supports a filter setting function and / or a background picture setting function.
  9. 根据权利要求8所述的方法,其特征在于,所述对预览视窗中的面部影像进行装饰的虚拟装饰物包括以下至少一种:眼镜、帽子、头饰、猫耳朵、桃心。The method according to claim 8, wherein the virtual decoration for decorating the facial image in the preview window comprises at least one of the following: glasses, hat, headgear, cat ears, and peach heart.
  10. 一种拍照控制装置,其特征在于,应用于电子设备,所述拍照控制装置包括处理单元和通信单元,其中,A photographing control device, which is characterized in that it is applied to an electronic device. The photographing control device includes a processing unit and a communication unit.
    所述处理单元,用于对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作,所述后景贴纸设置操作用于对多个预览视窗中每个预览视窗的面部影像设置后景贴纸,所述贴纸设置界面包括所述多个预览视窗,所述后景贴纸为对预览视窗中的面部影像进行装饰的虚拟装饰物;以及用于通过所述通信单元在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片。The processing unit is configured to perform a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, and the background sticker setting operation is used to face each of the preview windows in the multiple preview windows. A background sticker is set on the image, and the sticker setting interface includes the plurality of preview windows, and the background sticker is a virtual decoration for decorating the facial image in the preview window; When taking a picture instruction, the display content of the sticker setting interface is captured to obtain a sticker photo.
  11. 根据权利要求10所述的装置,其特征在于,所述后景贴纸设置操作包括以下操作:The device according to claim 10, wherein the setting operation of the background sticker includes the following operations:
    获取为当前的预览视窗配置的后景贴纸,所述当前的预览视窗为所述电子设备当前处理的预览视窗;Obtaining a background sticker configured for a current preview window, where the current preview window is a preview window currently processed by the electronic device;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理区域拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理区域对应所述当前的预览视窗的显示区域;Copy the image data in the texture according to the display area marked in the first texture area, so that the background sticker is displayed in the display area of the current preview window, and the first texture area corresponds to the current The display area of the preview window;
    采集用户的面部数据,在所述当前的预览视窗的显示区域显示用户的面部影像,并控制所述后景贴纸匹配面部影像的动作;Collecting user's face data, displaying the user's face image in the display area of the current preview window, and controlling the action of the background sticker to match the face image;
    在检测到所述动作为预设动作时,定格所述当前预览视窗的画面。When it is detected that the motion is a preset motion, the screen of the current preview window is freezed.
  12. 根据权利要求10或11所述的装置,其特征在于,所述处理单元对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,还用于:对所述贴纸设置界面执行前景贴纸设置操作,所述前景设置操作用于对所述贴纸设置界面设置前景贴纸,所述前景贴纸为对所述贴纸设置界面进行装饰的虚拟装饰物。The device according to claim 10 or 11, wherein after the processing unit performs a background sticker setting operation on the sticker setting interface, and when a photographing instruction is detected, the display content of the sticker setting interface is captured, Before the sticker photo is obtained, it is also used to perform a foreground sticker setting operation on the sticker setting interface. The foreground setting operation is used to set a foreground sticker on the sticker setting interface. Decorative dummy.
  13. 根据权利要求12所述的装置,其特征在于,所述对所述贴纸设置界面进行装饰的虚拟装饰物包括以下至少一种:前景相框、前景特效。The device according to claim 12, wherein the virtual decoration for decorating the sticker setting interface comprises at least one of the following: a foreground photo frame and a foreground special effect.
  14. 根据权利要求13所述的装置,其特征在于,所述前景贴纸设置操作包括以下操作:The device according to claim 13, wherein the setting operation of the foreground sticker comprises the following operations:
    获取所述前景贴纸的图像数据;Obtaining image data of the foreground sticker;
    在所述贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;Buffering image data of the foreground sticker in a texture corresponding to the sticker setting interface;
    在第二纹理区域拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述贴纸设置界面的有效显示区域显示,所述第二纹理区域对应所述贴纸设置界面的所述有效显示区域。Copying the image data in the texture in a second texture area so that the foreground sticker is displayed in an effective display area of the sticker setting interface, and the second texture area corresponds to the effective display area of the sticker setting interface .
  15. 根据权利要求10-14任一项所述的装置,其特征在于,所述处理单元对贴纸设置界面执行后景贴纸设置操作之后,所述在检测到拍照指令时,捕捉所述贴纸设置界面的显示内容,得到贴纸照片之前,还用于:通过所述通信单元获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;以及用于根据每个用户的面部数据确定面部影像, 以及所述面部影像所处的预览视窗;以及用于控制确定的所述预览视窗中的后景贴纸匹配对应的面部影像的动作。The device according to any one of claims 10 to 14, wherein after the processing unit performs a background sticker setting operation on the sticker setting interface, the device captures the sticker setting interface when a photographing instruction is detected. Before displaying the content and obtaining the sticker photo, the method is further configured to: obtain, through the communication unit, facial data of at least one user within a current framing range of the camera of the electronic device; and determine a facial image based on the facial data of each user, And a preview window where the facial image is located; and a motion for controlling a determined background sticker in the preview window to match a corresponding facial image.
  16. 根据权利要求15所述的装置,其特征在于,所述处理单元对贴纸设置界面中的多个预览视窗中每个预览视窗执行后景贴纸设置操作之前,还用于:通过所述通信单元获取所述电子设备的摄像头当前取景范围内的至少一个用户的面部数据;以及用于根据每个用户的面部数据确定每个用户的脸型;以及用于根据预设的脸型与预览视窗的形状之间的关系,确定所述每个用户对应的预览视窗的形状;以及用于根据所述形状显示每个用户对应的预览视窗。The device according to claim 15, wherein before the processing unit performs a background sticker setting operation on each of the multiple preview windows in the sticker setting interface, the processing unit is further configured to: obtain through the communication unit Facial data of at least one user within the current framing range of the camera of the electronic device; and for determining the face shape of each user according to the face data of each user; and for between the preset face shape and the shape of the preview window To determine the shape of the preview window corresponding to each user; and to display the preview window corresponding to each user according to the shape.
  17. 根据权利要求16所述的装置,其特征在于,所述每个预览视窗支持滤镜设置功能和/或背景画面设置功能。The device according to claim 16, wherein each preview window supports a filter setting function and / or a background picture setting function.
  18. 根据权利要求17所述的装置,其特征在于,所述对预览视窗中的面部影像进行装饰的虚拟装饰物包括以下至少一种:眼镜、帽子、头饰、猫耳朵、桃心。The device according to claim 17, wherein the virtual decoration for decorating the facial image in the preview window comprises at least one of the following: glasses, hat, headgear, cat ears, and peach heart.
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, comprising a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The program includes instructions for performing the steps in the method according to any one of claims 1-9.
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
PCT/CN2019/090491 2018-06-15 2019-06-10 Photograph capturing control method and related device WO2019238001A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810621290.XA CN108924410B (en) 2018-06-15 2018-06-15 Photographing control method and related device
CN201810621290.X 2018-06-15

Publications (1)

Publication Number Publication Date
WO2019238001A1 true WO2019238001A1 (en) 2019-12-19

Family

ID=64419769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090491 WO2019238001A1 (en) 2018-06-15 2019-06-10 Photograph capturing control method and related device

Country Status (2)

Country Link
CN (1) CN108924410B (en)
WO (1) WO2019238001A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924410B (en) * 2018-06-15 2021-01-29 Oppo广东移动通信有限公司 Photographing control method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713687A (en) * 2004-06-15 2005-12-28 乐金电子(中国)研究开发中心有限公司 Device and method for making paper pasted pictures with portable terminal
US20130021281A1 (en) * 2010-02-05 2013-01-24 Smart Technologies Ulc Interactive input system displaying an e-book graphic object and method of manipulating a e-book graphic object
CN104079824A (en) * 2014-06-27 2014-10-01 宇龙计算机通信科技(深圳)有限公司 Displaying method, device and terminal for view-finding image
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time
CN105678686A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN105812650A (en) * 2015-06-29 2016-07-27 维沃移动通信有限公司 Image obtaining method and electronic device
CN106373170A (en) * 2016-08-31 2017-02-01 北京云图微动科技有限公司 Video making method and video making device
CN106998423A (en) * 2016-01-26 2017-08-01 宇龙计算机通信科技(深圳)有限公司 Image processing method and device
CN107817939A (en) * 2017-10-27 2018-03-20 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium
CN108924410A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 Camera control method and relevant apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102045957B1 (en) * 2013-01-18 2019-11-18 삼성전자 주식회사 Method and apparatus for photographing of a portable terminal
CN105323456B (en) * 2014-12-16 2018-11-30 维沃移动通信有限公司 For the image preview method of filming apparatus, image capturing device
CN106412458A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 Image processing method and apparatus
CN106156313B (en) * 2016-06-30 2019-12-31 维沃移动通信有限公司 Method for checking photo in photo album and mobile terminal
CN106210526A (en) * 2016-07-29 2016-12-07 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN106357971A (en) * 2016-08-25 2017-01-25 维沃移动通信有限公司 Virtual decoration method and mobile terminal
EP3291533A1 (en) * 2016-09-06 2018-03-07 LG Electronics Inc. Terminal and controlling method thereof
CN107395957B (en) * 2017-06-30 2019-12-10 Oppo广东移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN107249100A (en) * 2017-06-30 2017-10-13 北京金山安全软件有限公司 Photographing method and device, electronic equipment and storage medium
CN107909629A (en) * 2017-11-06 2018-04-13 广东欧珀移动通信有限公司 Recommendation method, apparatus, storage medium and the terminal device of paster
CN107896306A (en) * 2017-12-11 2018-04-10 深圳市欧唯科技有限公司 The method and system that a kind of filter is taken pictures
CN107995429B (en) * 2017-12-22 2020-03-03 维沃移动通信有限公司 Shooting method and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713687A (en) * 2004-06-15 2005-12-28 乐金电子(中国)研究开发中心有限公司 Device and method for making paper pasted pictures with portable terminal
US20130021281A1 (en) * 2010-02-05 2013-01-24 Smart Technologies Ulc Interactive input system displaying an e-book graphic object and method of manipulating a e-book graphic object
CN104079824A (en) * 2014-06-27 2014-10-01 宇龙计算机通信科技(深圳)有限公司 Displaying method, device and terminal for view-finding image
CN105812650A (en) * 2015-06-29 2016-07-27 维沃移动通信有限公司 Image obtaining method and electronic device
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time
CN105678686A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN106998423A (en) * 2016-01-26 2017-08-01 宇龙计算机通信科技(深圳)有限公司 Image processing method and device
CN106373170A (en) * 2016-08-31 2017-02-01 北京云图微动科技有限公司 Video making method and video making device
CN107817939A (en) * 2017-10-27 2018-03-20 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium
CN108924410A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 Camera control method and relevant apparatus

Also Published As

Publication number Publication date
CN108924410A (en) 2018-11-30
CN108924410B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
US11800221B2 (en) Time-lapse shooting method and device
JP7226851B2 (en) Image processing method, apparatus and device
CN108810277B (en) Photographing preview method and device
CN112150399B (en) Image enhancement method based on wide dynamic range and electronic equipment
WO2019237982A1 (en) Sticker setting method and apparatus
US9451173B2 (en) Electronic device and control method of the same
CN110198417A (en) Image processing method, device, storage medium and electronic equipment
WO2020207261A1 (en) Image processing method and apparatus based on multiple frames of images, and electronic device
WO2021143269A1 (en) Photographic method in long focal length scenario, and mobile terminal
KR102207633B1 (en) Image photographing apparatus and control methods thereof
WO2018098677A1 (en) Video stream processing method and terminal
CN105516610A (en) Method and device for shooting local dynamic image
US10769416B2 (en) Image processing method, electronic device and storage medium
CN108898650B (en) Human-shaped material creating method and related device
EP3836532A1 (en) Control method and apparatus, electronic device, and computer readable storage medium
US20240223911A1 (en) Video processing method and apparatus
CN116868574A (en) Low latency frame transmission
US20220301278A1 (en) Image processing method and apparatus, storage medium, and electronic device
US20220414847A1 (en) High dynamic range image processing
WO2019238001A1 (en) Photograph capturing control method and related device
CN108874343B (en) Preview window sharing method and device
CN115460343A (en) Image processing method, apparatus and storage medium
CN111371998B (en) Camera starting control method and related device
CN118540599A (en) Image processing method and electronic equipment
WO2024082863A1 (en) Image processing method and electronic device

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: 19819764

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: 19819764

Country of ref document: EP

Kind code of ref document: A1