WO2019061542A1 - Video capturing method and device, and computer readable storage medium - Google Patents

Video capturing method and device, and computer readable storage medium Download PDF

Info

Publication number
WO2019061542A1
WO2019061542A1 PCT/CN2017/105162 CN2017105162W WO2019061542A1 WO 2019061542 A1 WO2019061542 A1 WO 2019061542A1 CN 2017105162 W CN2017105162 W CN 2017105162W WO 2019061542 A1 WO2019061542 A1 WO 2019061542A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
area
video
portrait
user
Prior art date
Application number
PCT/CN2017/105162
Other languages
French (fr)
Chinese (zh)
Inventor
杨玉琳
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/105162 priority Critical patent/WO2019061542A1/en
Priority to CN201780097112.5A priority patent/CN111543047A/en
Publication of WO2019061542A1 publication Critical patent/WO2019061542A1/en

Links

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

Definitions

  • the present invention relates to the field of image imaging, and more particularly to a video capture method, apparatus, and computer readable storage medium.
  • a main object of the present invention is to provide a video capture method, apparatus, and computer readable storage medium, which are directed to solving the problem of insufficient portrait exposure caused by the automatic portrait highlighting function when recording video.
  • the present invention provides a video capture method, the video capture method comprising the following steps:
  • Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
  • the target image parameter value corresponding to the user facial image includes: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an image area of the portrait area in the view frame area.
  • the preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ⁇ FT ⁇ b.
  • the step of performing a corresponding image exposure process on the image of the framing frame area according to the logical comparison relationship between the specified target image parameter value and the preset image parameter value comprises:
  • the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
  • the step of comparing the value of the FV with the value of the effective interval of the FT further includes:
  • the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value b.
  • the step of comparing the value of the FV with the value of the effective interval of the FT further includes:
  • the image of the framing area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the FT.
  • the step of acquiring the target image parameter value corresponding to the user facial image comprises:
  • the target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
  • the present invention further provides a video photographing apparatus, comprising: a camera, a memory, a processor, and being stored on the memory and operable on the processor Video capture device, where:
  • the camera is used for video shooting
  • the steps of the video capture method as described above are implemented when the video capture device is executed by the processor.
  • the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a video capture program, and the video capture program is executed by a processor as described above. The steps of the video capture method described.
  • a video shooting method, device and computer readable storage medium provided by embodiments of the present invention
  • the framing area By performing face recognition on the image of the framing frame area when starting the video shooting, when the image of the user is recognized, the corresponding image parameter value is acquired; after the image parameter value is compared with the target image parameter value, the framing area is The target area image performs corresponding image brightening processing, thereby realizing automatic brightening of the image during the shooting of the video, improving the portrait brightness of the video, and optimizing the video quality.
  • FIG. 1 is a schematic structural diagram of a video capture apparatus according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a first embodiment of a video capturing method according to the present invention
  • FIG. 3 is a schematic flow chart of a second embodiment of a video capturing method according to the present invention.
  • FIG. 4 is a schematic flow chart of a third embodiment of a video capturing method according to the present invention.
  • FIG. 5 is a schematic diagram of an example of a second embodiment of a video capture method according to the present invention.
  • the main solution of the embodiment of the present invention is: performing facial recognition on the image of the framing frame area at the beginning of the video shooting; and acquiring the target image parameter value corresponding to the user facial image when the user facial image is recognized; And a logical comparison relationship between the target image parameter value and the preset image parameter value, and performing corresponding image exposure processing on the image of the framing frame area.
  • the present invention provides a solution that enables automatic portrait highlighting during video shooting when the subject's skin color is deep.
  • FIG. 1 is a schematic structural diagram of a terminal of a video capturing apparatus according to an embodiment of the present invention.
  • the video capturing device of the embodiment of the present invention may be a mobile terminal device having a video capturing and displaying function, such as a smart phone, a digital camera, a video recorder, a tablet computer, a portable computer, or the like.
  • the video capture device can include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the video capture device can include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the video capturing device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • a network communication module may be included in the memory 1005 as a computer storage medium.
  • a user interface module may be included in the memory 1005 as a computer storage medium.
  • a video capture program may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call a video capture program stored in the memory 1005 and perform the following operations:
  • Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
  • the image target parameter value may include a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an area ratio R of the image area in the image frame area of the view frame area;
  • the preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ⁇ FT ⁇ b.
  • processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
  • exposure compensation is performed on the target area image of the framing frame area such that the portrait area screen brightness FV is equal to the value a.
  • processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
  • exposure compensation is performed on the target area image of the framing frame area such that the portrait area picture brightness FV is equal to the value b.
  • processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
  • processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
  • the target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
  • a first embodiment of the present invention provides a video capture method, where the video capture method includes:
  • Step S10 performing facial recognition on the image of the framing frame area when the video shooting is started
  • Step S20 when the user facial image is recognized, acquiring a target image parameter value corresponding to the user facial image;
  • a video camera having a video camera function such as a smart phone or a digital camera
  • face recognition is performed on the image of the framing frame area; and the function of face recognition is also selected at a certain time of shooting the video.
  • the facial recognition method may include, but is not limited to, a feature face recognition method, a reference template method, and a portrait rule method; in the embodiment of the present invention, an ISP is preferably used.
  • ISP is preferably used.
  • FD Fullier Descriptors, Fourier descriptors
  • the target image parameter value corresponding to the facial image is further obtained, which may specifically include: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and the portrait area is The area of the image area of the view frame area occupies a ratio R.
  • Step S30 performing corresponding image exposure processing on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
  • the target image parameter value for performing the logical comparison is the portrait area screen brightness FV
  • the preset image parameter value includes the portrait area target brightness FT in the user face image, wherein the effective range of the portrait area target brightness FT is a ⁇ FT ⁇ b.
  • the framing area image may further include one or more portrait areas for performing image brightening processing when there are multiple portraits, and may also include area image images other than the user's facial image, for example, when the video shooting environment is used. When it is dark, similar exposure compensation processing is performed on the environment screen.
  • the logical comparison relationship of the image parameter values performs corresponding image exposure processing on the image of the framing frame area, thereby solving the problem of insufficient brightness of the captured image (especially the dark-skinned portrait), improving the video quality, and prompting the user experience.
  • a second embodiment of the present invention provides a video capturing method.
  • the logical comparison relationship between a specified target image parameter value and a preset image parameter value is performed.
  • the step of performing corresponding image exposure processing on the image of the framing frame area includes:
  • Step S31 comparing the value of the FV with the value of the effective interval of the FT;
  • Step S33 performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area picture brightness FV is equal to the value a.
  • Step S35 performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the value b.
  • Step S37 performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the FT.
  • the portrait of the currently captured video is darker, that is, FV ⁇ a.
  • the FT is taken as the lower limit value a of the original effective interval, and the framing is performed according to the FT.
  • the image of the frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
  • the portrait can be correspondingly brightened, and the contrast and display effect of the portrait image is enhanced.
  • the brightness of the portrait can be appropriately reduced by exposure compensation to coordinate the portrait with the environmental background.
  • the image of the framing frame area is subjected to exposure compensation processing, thereby increasing or decreasing the brightness of the portrait, so that the portrait in the video picture is more clear and clear, and the environment background is more clear. coordination.
  • a third embodiment of the present invention provides a video capturing method.
  • the target image parameter value corresponding to the user facial image is acquired.
  • the steps include:
  • Step S21 numbering each portrait corresponding to the recognized facial image of the user
  • Step S22 Acquire a target image parameter value of the portrait corresponding to the selected number in the image according to the number selected by the user.
  • each portrait corresponding to the recognized user's facial image may be numbered according to the face recognition technology, and the user may select one or more portraits and further acquire the target image parameter values of the corresponding portrait. It should be noted that when a plurality of portraits are selected, the target image parameter value finally used for the image exposure processing may be a weighted average of the target image parameter values of the respective selected portraits.
  • an embodiment of the present invention further provides a computer readable storage medium, where the video photographic storage program stores a video capture program, and when the video capture program is executed by the processor, the following operations are implemented:
  • Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
  • the target image parameter value corresponding to the user facial image includes: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an image area of the portrait area in the view frame area.
  • the preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ⁇ FT ⁇ b.
  • the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
  • the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value b.
  • the image of the framing area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the FT.
  • the target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.

Landscapes

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

Abstract

Disclosed is a video capturing method, the video capturing method comprising the following steps: performing a face recognition on an image in a viewing frame area when video capturing is enabled; acquiring target image parameter values corresponding to a user facial image when the user facial image is recognized; and carrying out a corresponding image exposure processing on the image in the viewing frame area according to a logical comparison relationship between designated target image parameter values and preset image parameter values. Further disclosed are a video capturing device and a computer readable storage medium. The present invention realizes automatic image brightening during a process of capturing a video, thereby improving the person image brightness of the video, and optimizing video quality.

Description

视频拍摄方法、装置及计算机可读存储介质  Video shooting method, device and computer readable storage medium
技术领域Technical field
本发明涉及图像成像领域,尤其涉及视频拍摄方法、装置及计算机可读存储介质。The present invention relates to the field of image imaging, and more particularly to a video capture method, apparatus, and computer readable storage medium.
背景技术Background technique
现在人们对手机拍照及录制视频的成像质量要求不断提升。目前手机拍照已实现人像提亮,但是录制视频时不具备自动人像提亮功能,导致视频中的人像亮度不足,尤其当被拍摄对象肤色较深时,会出现明显的人像曝光不足的情况;在背光及较暗环境下,还会出现被拍摄对象的人像漆黑一片的情况。Nowadays, the imaging quality requirements for mobile phone photographing and recorded video are constantly increasing. At present, the mobile phone has been photographed to enhance the portrait, but the automatic portrait highlighting function is not available when recording the video, resulting in insufficient brightness of the portrait in the video, especially when the subject is darker, there will be obvious underexposure of the portrait; In the case of backlights and darker environments, there is also a situation in which the subject of the subject is dark.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于提供一种视频拍摄方法、装置及计算机可读存储介质,旨在解决录制视频时不具备自动人像提亮功能导致人像曝光不足的问题。A main object of the present invention is to provide a video capture method, apparatus, and computer readable storage medium, which are directed to solving the problem of insufficient portrait exposure caused by the automatic portrait highlighting function when recording video.
为实现上述目的,本发明提供一种视频拍摄方法,所述视频拍摄方法包括以下步骤:To achieve the above object, the present invention provides a video capture method, the video capture method comprising the following steps:
在启动视频拍摄时,对取景框区的图像进行面部识别;Perform face recognition on the image of the framing area when starting video shooting;
当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;Obtaining a target image parameter value corresponding to the user facial image when the user facial image is recognized;
根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
优选地,所述用户面部图像对应的目标图像参数值包括:用户面部图像中的人像区域画面亮度FV、用户面部图像以外的区域画面亮度BV、所述人像区域在所述取景框区的图像区域的面积占比R;Preferably, the target image parameter value corresponding to the user facial image includes: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an image area of the portrait area in the view frame area. Area ratio R;
所述预设图像参数值包括用户面部图像中的人像区域目标亮度FT,其中,所述人像区域目标亮度FT的有效区间为a≤FT≤b。The preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ≤ FT ≤ b.
优选地,所述根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理的步骤包括:Preferably, the step of performing a corresponding image exposure process on the image of the framing frame area according to the logical comparison relationship between the specified target image parameter value and the preset image parameter value comprises:
将所述FV的数值与所述FT的有效区间取值进行比较;Comparing the value of the FV with the value of the effective interval of the FT;
当FV<a时,令FT=a;When FV < a, let FT = a;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a。According to the FT, the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
优选地,所述将所述FV的数值与所述FT的有效区间取值进行比较的步骤还包括:Preferably, the step of comparing the value of the FV with the value of the effective interval of the FT further includes:
当FV>b时,令FT=b;When FV>b, let FT=b;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值b。According to the FT, the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value b.
优选地,所述将所述FV的数值与所述FT的有效区间取值进行比较的步骤还包括:Preferably, the step of comparing the value of the FV with the value of the effective interval of the FT further includes:
当a≤FV≤b时,令FT=R*FV+(1-R)*BV;When a ≤ FV ≤ b, let FT = R * FV + (1-R) * BV;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于所述FT。According to the FT, the image of the framing area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the FT.
优选地,所述当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值的步骤包括:Preferably, when the user facial image is recognized, the step of acquiring the target image parameter value corresponding to the user facial image comprises:
对已识别的用户面部图像对应的每张人像进行编号;Numbering each portrait corresponding to the recognized user's face image;
根据用户选择的编号,获取图像中已被选择的编号对应的人像的目标图像参数值。The target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
此外,为实现上述目的,本发明还提供一种视频拍摄装置,其特征在于,所述视频拍摄装置包括:摄像头、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的视频拍摄装置,其中:In addition, in order to achieve the above object, the present invention further provides a video photographing apparatus, comprising: a camera, a memory, a processor, and being stored on the memory and operable on the processor Video capture device, where:
所述摄像头,用于进行视频拍摄;The camera is used for video shooting;
所述视频拍摄装置被所述处理器执行时实现如上所述的视频拍摄方法的步骤。The steps of the video capture method as described above are implemented when the video capture device is executed by the processor.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有视频拍摄程序,所述视频拍摄程序被处理器执行时实现如上所述的视频拍摄方法的步骤。In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a video capture program, and the video capture program is executed by a processor as described above. The steps of the video capture method described.
本发明实施例提出的一种视频拍摄方法、装置及计算机可读存储介质,A video shooting method, device and computer readable storage medium provided by embodiments of the present invention,
通过在启动视频拍摄时对取景框区的图像进行面部识别,当识别到用户的图像时,获取对应的图像参数值;将图像参数值与目标图像参数值进行比对后,对取景框区的目标区域图像执行对应的图像提亮处理,从而实现在拍摄视频过程中的图像自动提亮,提升视频的人像亮度,优化视频质量。By performing face recognition on the image of the framing frame area when starting the video shooting, when the image of the user is recognized, the corresponding image parameter value is acquired; after the image parameter value is compared with the target image parameter value, the framing area is The target area image performs corresponding image brightening processing, thereby realizing automatic brightening of the image during the shooting of the video, improving the portrait brightness of the video, and optimizing the video quality.
附图说明DRAWINGS
图1是本发明实施例方案涉及的视频拍摄装置结构示意图;1 is a schematic structural diagram of a video capture apparatus according to an embodiment of the present invention;
图2为本发明一种视频拍摄方法第一实施例的流程示意图;2 is a schematic flow chart of a first embodiment of a video capturing method according to the present invention;
图3为本发明一种视频拍摄方法第二实施例的流程示意图;3 is a schematic flow chart of a second embodiment of a video capturing method according to the present invention;
图4为本发明一种视频拍摄方法第三实施例的流程示意图;4 is a schematic flow chart of a third embodiment of a video capturing method according to the present invention;
图5为本发明一种视频拍摄方法第二实施例的实例效果图。FIG. 5 is a schematic diagram of an example of a second embodiment of a video capture method according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:在视频拍摄开始时,对取景框区的图像进行面部识别;当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。The main solution of the embodiment of the present invention is: performing facial recognition on the image of the framing frame area at the beginning of the video shooting; and acquiring the target image parameter value corresponding to the user facial image when the user facial image is recognized; And a logical comparison relationship between the target image parameter value and the preset image parameter value, and performing corresponding image exposure processing on the image of the framing frame area.
由于现有录制视频时无法对人像自动提亮,导致人像曝光容易不足,本发明提供一种解决方案,使得在被拍摄对象的肤色较深时,视频拍摄过程中可以实现自动人像提亮。Since the existing portrait video cannot be automatically brightened, the portrait exposure is easily insufficient, and the present invention provides a solution that enables automatic portrait highlighting during video shooting when the subject's skin color is deep.
如图1所示,图1是本发明实施例方案涉及的视频拍摄装置的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal of a video capturing apparatus according to an embodiment of the present invention.
本发明实施例视频拍摄装置可以是智能手机、数码相机、录像机、平板电脑、便携计算机等具有视频拍摄和显示功能的可移动式终端设备。The video capturing device of the embodiment of the present invention may be a mobile terminal device having a video capturing and displaying function, such as a smart phone, a digital camera, a video recorder, a tablet computer, a portable computer, or the like.
如图1所示,该视频拍摄装置可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the video capture device can include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
该视频拍摄装置可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,当然,视频拍摄装置还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The video capture device can include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. Among them, sensors such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. Of course, the video capturing device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及视频拍摄程序。As shown in FIG. 1, an operating system, a network communication module, a user interface module, and a video capture program may be included in the memory 1005 as a computer storage medium.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的视频拍摄程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 can be used to call a video capture program stored in the memory 1005 and perform the following operations:
在启动视频拍摄时,对取景框区的图像进行面部识别;Perform face recognition on the image of the framing area when starting video shooting;
当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;Obtaining a target image parameter value corresponding to the user facial image when the user facial image is recognized;
根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
其中,所述图像目标参数值可包括用户面部图像中的人像区域画面亮度FV、用户面部图像以外的区域画面亮度BV、所述人像区域在所述取景框区的图像区域的面积占比R;The image target parameter value may include a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an area ratio R of the image area in the image frame area of the view frame area;
所述预设图像参数值包括用户面部图像中的人像区域目标亮度FT,其中,所述人像区域目标亮度FT的有效区间为a≤FT≤b。The preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ≤ FT ≤ b.
进一步地,处理器1001可以调用存储器1005中存储的视频拍摄程序,还执行以下操作:Further, the processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
当FV<a时,令FT=a;When FV < a, let FT = a;
根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a。According to the FT, exposure compensation is performed on the target area image of the framing frame area such that the portrait area screen brightness FV is equal to the value a.
进一步地,处理器1001可以调用存储器1005中存储的视频拍摄程序,还执行以下操作:Further, the processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
当FV>b时,令FT=b;When FV>b, let FT=b;
根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于值b。According to the FT, exposure compensation is performed on the target area image of the framing frame area such that the portrait area picture brightness FV is equal to the value b.
进一步地,处理器1001可以调用存储器1005中存储的视频拍摄程序,还执行以下操作:Further, the processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
当a≤FV≤b时,令FT=R*FV+(1-R)*BV;When a ≤ FV ≤ b, let FT = R * FV + (1-R) * BV;
根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于所述FT。And performing exposure compensation on the target area image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the FT.
进一步地,处理器1001可以调用存储器1005中存储的视频拍摄程序,还执行以下操作:Further, the processor 1001 can call the video capture program stored in the memory 1005, and also performs the following operations:
对已识别的用户面部图像对应的每张人像进行编号;Numbering each portrait corresponding to the recognized user's face image;
根据用户选择的编号,获取图像中已被选择的编号对应的人像的目标图像参数值。The target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
参照图2,本发明第一实施例提供一种视频拍摄方法,所述视频拍摄方法包括:Referring to FIG. 2, a first embodiment of the present invention provides a video capture method, where the video capture method includes:
步骤S10,在启动视频拍摄时,对取景框区的图像进行面部识别;Step S10, performing facial recognition on the image of the framing frame area when the video shooting is started;
步骤S20,当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;Step S20, when the user facial image is recognized, acquiring a target image parameter value corresponding to the user facial image;
在具体实施中,使用智能手机、数码相机等具有视频摄像功能的设备进行视频拍摄时,先对取景框区的图像进行面部识别;还可以在拍摄视频的某一个时刻进行面部识别的功能选择。面部识别方法可包括但不限于:特征脸识别方法、参考模板法、人像规则法;本发明实施例中优选使用ISP (Image Signal Processing,图像信号处理)技术通过FD(Fourier descriptors,傅立叶描述子)检测图像中的面部及面部在图像中的位置。傅立叶描述子方法是本领域的常规手段,这里就不作赘述。In a specific implementation, when a video camera having a video camera function such as a smart phone or a digital camera is used for video shooting, face recognition is performed on the image of the framing frame area; and the function of face recognition is also selected at a certain time of shooting the video. The facial recognition method may include, but is not limited to, a feature face recognition method, a reference template method, and a portrait rule method; in the embodiment of the present invention, an ISP is preferably used. (Image Signal Processing) technology by FD (Fourier Descriptors, Fourier descriptors) detect the position of the face and face in the image in the image. The Fourier descriptor method is a conventional means in the art and will not be described here.
在识别用户面部图像后,进一步获取与面部图像对应的目标图像参数值,具体可以包括:用户面部图像中的人像区域画面亮度FV、用户面部图像以外的区域画面亮度BV,以及所述人像区域在所述取景框区的图像区域的面积占比R。After the image of the user's face is recognized, the target image parameter value corresponding to the facial image is further obtained, which may specifically include: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and the portrait area is The area of the image area of the view frame area occupies a ratio R.
步骤S30,根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。Step S30, performing corresponding image exposure processing on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
具体地,用于进行逻辑比较的目标图像参数值为人像区域画面亮度FV,预设图像参数值包括用户面部图像中的人像区域目标亮度FT,其中,所述人像区域目标亮度FT的有效区间为a≤FT≤b。通过比较FV与FT的有效区间值,可以得到对应的针对取景框区的目标区域图像进行图像提亮处理,从而实现人像自动提亮。例如,当FV<a时,令FT=a,根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a;换言之,当人像区域实际亮度低于目标亮度时,人像亮度偏暗,此时可以执行对人像的曝光补偿以提亮人像亮度。需要说明的是,所述取景框区图像还可以包括存在多个人像时指定一个或者多个进行图像提亮处理的人像区域,还可以包括用户面部图像以外的区域画面图像,例如当视频拍摄环境较暗时,对环境画面进行类似的曝光补偿处理。Specifically, the target image parameter value for performing the logical comparison is the portrait area screen brightness FV, and the preset image parameter value includes the portrait area target brightness FT in the user face image, wherein the effective range of the portrait area target brightness FT is a ≤ FT ≤ b. By comparing the effective interval values of FV and FT, the corresponding image enhancement process for the target area image of the framing frame area can be obtained, thereby realizing automatic portrait brightening. For example, when FV<a, let FT=a, according to the FT, perform exposure compensation on the target area image of the framing frame area, so that the portrait area picture brightness FV is equal to the value a; in other words, when the portrait area When the actual brightness is lower than the target brightness, the portrait brightness is dark, and the exposure compensation for the portrait can be performed to brighten the portrait brightness. It should be noted that the framing area image may further include one or more portrait areas for performing image brightening processing when there are multiple portraits, and may also include area image images other than the user's facial image, for example, when the video shooting environment is used. When it is dark, similar exposure compensation processing is performed on the environment screen.
在本实施例中,通过在启动视频拍摄时,对取景框区的图像进行面部识别,在识别到用户面部图像时,获取对应的目标参数值;并根据根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理,从而解决拍摄视频(尤其是拍摄深肤色人像)人像亮度不足的问题,提高视频质量,提示用户体验。In this embodiment, by performing facial recognition on the image of the framing frame area when starting the video shooting, when the user facial image is recognized, the corresponding target parameter value is acquired; and according to the specified target image parameter value and the preset The logical comparison relationship of the image parameter values performs corresponding image exposure processing on the image of the framing frame area, thereby solving the problem of insufficient brightness of the captured image (especially the dark-skinned portrait), improving the video quality, and prompting the user experience.
进一步的,参照图3,本发明第二实施例提供一种视频拍摄方法,基于上述图2所示的实施例,所述根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理的步骤包括:Further, referring to FIG. 3, a second embodiment of the present invention provides a video capturing method. According to the embodiment shown in FIG. 2, the logical comparison relationship between a specified target image parameter value and a preset image parameter value is performed. The step of performing corresponding image exposure processing on the image of the framing frame area includes:
步骤S31,将所述FV的数值与所述FT的有效区间取值进行比较;Step S31, comparing the value of the FV with the value of the effective interval of the FT;
步骤S32,当FV<a时,令FT=a;Step S32, when FV < a, let FT = a;
步骤S33,根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a。Step S33, performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area picture brightness FV is equal to the value a.
步骤S34当FV>b时,令FT=b;Step S34, when FV>b, let FT=b;
步骤S35,根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值b。Step S35, performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the value b.
步骤S36,当a≤FV≤b时,令FT=R*FV+(1-R)*BV;Step S36, when a ≤ FV ≤ b, let FT = R * FV + (1-R) * BV;
步骤S37,根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于所述FT。Step S37, performing exposure compensation on the image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the FT.
例如,如图5(a)所示,当前拍摄视频的人像肤色较暗,即FV<a,此时令FT取值为原来有效区间的下限值a,并根据所述FT,对所述取景框区的图像进行曝光补偿,使得所述人像区域画面亮度FV等于值a。这样,如图5(b)所示,人像可以得到相应的提亮处理,人像画面的对比度和显示效果随之增强。而当人像由于肤色、灯光照射等原因导致亮度过高时,可以通过曝光补偿适当降低人像亮度,以使人像与环境背景相协调。For example, as shown in FIG. 5( a ), the portrait of the currently captured video is darker, that is, FV<a. At this time, the FT is taken as the lower limit value a of the original effective interval, and the framing is performed according to the FT. The image of the frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a. Thus, as shown in FIG. 5(b), the portrait can be correspondingly brightened, and the contrast and display effect of the portrait image is enhanced. When the portrait is too bright due to skin color, lighting, etc., the brightness of the portrait can be appropriately reduced by exposure compensation to coordinate the portrait with the environmental background.
本实施例通过将FV的数值与FT的有效区间取值进行逻辑比较,对取景框区的图像进行曝光补偿处理,从而提高或者降低人像亮度,使得视频画面中人像更加明显清晰、与环境背景更加协调。In this embodiment, by comparing the value of the FV with the value of the effective interval of the FT, the image of the framing frame area is subjected to exposure compensation processing, thereby increasing or decreasing the brightness of the portrait, so that the portrait in the video picture is more clear and clear, and the environment background is more clear. coordination.
参照图4,本发明第三实施例提供一种视频拍摄方法,基于上述图x所示的实施例,所述当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值的步骤包括:Referring to FIG. 4, a third embodiment of the present invention provides a video capturing method. According to the embodiment shown in FIG. 3, when the user facial image is recognized, the target image parameter value corresponding to the user facial image is acquired. The steps include:
步骤S21,对已识别的用户面部图像对应的每张人像进行编号;Step S21, numbering each portrait corresponding to the recognized facial image of the user;
步骤S22,根据用户选择的编号,获取图像中已被选择的编号对应的人像的目标图像参数值。Step S22: Acquire a target image parameter value of the portrait corresponding to the selected number in the image according to the number selected by the user.
在视频拍摄时,取景框区的画面中可能存在多个人像。如果某些人像的肤色较暗,而某些人像的肤色正常,用户希望只根据肤色较暗的人像进行图像提亮处理。此时,可以根据面对识别技术,对已识别的用户面部图像对应的每张人像进行编号,用户可以自行选择一个或者多个人像,并进一步获取对应的人像的目标图像参数值。需要说明的是,当选择多个人像时,最终用于图像曝光处理依据的目标图像参数值可以是各个已选择人像的目标图像参数值的加权平均值。When shooting a video, there may be multiple portraits in the frame of the viewfinder area. If some people have darker skin and some people have a normal skin tone, the user wants to brighten the image based on the darker face. At this time, each portrait corresponding to the recognized user's facial image may be numbered according to the face recognition technology, and the user may select one or more portraits and further acquire the target image parameter values of the corresponding portrait. It should be noted that when a plurality of portraits are selected, the target image parameter value finally used for the image exposure processing may be a weighted average of the target image parameter values of the respective selected portraits.
在实施例中,通过针对性的选择已识别的人像,并获取已选择的人像的目标图像参数值,有利于细化图像补偿处理时的依据参数值,以便更加精准地优化视频图像。In an embodiment, by selecting the identified portraits in a targeted manner and acquiring the target image parameter values of the selected portraits, it is advantageous to refine the dependent parameter values in the image compensation processing in order to more accurately optimize the video images.
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有视频拍摄程序,所述视频拍摄程序被处理器执行时实现如下操作:In addition, an embodiment of the present invention further provides a computer readable storage medium, where the video photographic storage program stores a video capture program, and when the video capture program is executed by the processor, the following operations are implemented:
在启动视频拍摄时,对取景框区的图像进行面部识别;Perform face recognition on the image of the framing area when starting video shooting;
当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;Obtaining a target image parameter value corresponding to the user facial image when the user facial image is recognized;
根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
其中,所述用户面部图像对应的目标图像参数值包括:用户面部图像中的人像区域画面亮度FV、用户面部图像以外的区域画面亮度BV、所述人像区域在所述取景框区的图像区域的面积占比R;The target image parameter value corresponding to the user facial image includes: a portrait area image brightness FV in the user's face image, an area picture brightness BV other than the user's face image, and an image area of the portrait area in the view frame area. Area ratio R;
所述预设图像参数值包括用户面部图像中的人像区域目标亮度FT,其中,所述人像区域目标亮度FT的有效区间为a≤FT≤b。The preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ≤ FT ≤ b.
进一步地,所述视频拍摄程序被处理器执行时还实现如下操作:Further, when the video capturing program is executed by the processor, the following operations are also implemented:
将所述FV的数值与所述FT的有效区间取值进行比较;Comparing the value of the FV with the value of the effective interval of the FT;
当FV<a时,令FT=a;When FV < a, let FT = a;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a。According to the FT, the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
进一步地,所述视频拍摄程序被处理器执行时还实现如下操作:Further, when the video capturing program is executed by the processor, the following operations are also implemented:
当FV>b时,令FT=b;When FV>b, let FT=b;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值b。According to the FT, the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value b.
进一步地,所述视频拍摄程序被处理器执行时还实现如下操作:Further, when the video capturing program is executed by the processor, the following operations are also implemented:
当a≤FV≤b时,令FT=R*FV+(1-R)*BV;When a ≤ FV ≤ b, let FT = R * FV + (1-R) * BV;
根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于所述FT。According to the FT, the image of the framing area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the FT.
进一步地,所述视频拍摄程序被处理器执行时还实现如下操作:Further, when the video capturing program is executed by the processor, the following operations are also implemented:
对已识别的用户面部图像对应的每张人像进行编号;Numbering each portrait corresponding to the recognized user's face image;
根据用户选择的编号,获取图像中已被选择的编号对应的人像的目标图像参数值。The target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device to perform the method described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (8)

  1. 一种视频拍摄方法,其特征在于,所述视频拍摄方法包括以下步骤: A video capture method, characterized in that the video capture method comprises the following steps:
    在启动视频拍摄时,对取景框区的图像进行面部识别;Perform face recognition on the image of the framing area when starting video shooting;
    当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值;Obtaining a target image parameter value corresponding to the user facial image when the user facial image is recognized;
    根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理。Corresponding image exposure processing is performed on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value.
  2. 如权利要求1所述的视频拍摄方法,其特征在于,所述用户面部图像对应的目标图像参数值包括:用户面部图像中的人像区域画面亮度FV、用户面部图像以外的区域画面亮度BV、所述人像区域在所述取景框区的图像区域的面积占比R;The video capture method according to claim 1, wherein the target image parameter value corresponding to the user's face image comprises: a portrait area image brightness FV in the user's face image, and an area picture brightness BV other than the user's face image, The area ratio R of the image area of the portrait area in the view frame area;
    所述预设图像参数值包括用户面部图像中的人像区域目标亮度FT,其中,所述人像区域目标亮度FT的有效区间为a≤FT≤b。The preset image parameter value includes a portrait area target brightness FT in the user's face image, wherein the effective area of the portrait area target brightness FT is a ≤ FT ≤ b.
  3. 如权利要求1或2任一所述的视频拍摄方法,其特征在于,所述根据指定的目标图像参数值与预设图像参数值的逻辑比较关系,对所述取景框区的图像执行对应的图像曝光处理的步骤包括:The video capture method according to any one of claims 1 to 2, wherein the performing a corresponding comparison on the image of the framing frame area according to a logical comparison relationship between the specified target image parameter value and the preset image parameter value The steps of image exposure processing include:
    将所述FV的数值与所述FT的有效区间取值进行比较;Comparing the value of the FV with the value of the effective interval of the FT;
    当FV<a时,令FT=a;When FV < a, let FT = a;
    根据所述FT,对所述取景框区的图像进行曝光补偿,以使所述人像区域画面亮度FV等于值a。According to the FT, the image of the framing frame area is subjected to exposure compensation such that the portrait area picture brightness FV is equal to the value a.
  4. 如权利要求3的视频拍摄方法,其特征在于,所述将所述FV的数值与所述FT的有效区间取值进行比较的步骤,还包括:The video capture method of claim 3, wherein the step of comparing the value of the FV with the value of the effective interval of the FT further comprises:
    当FV>b时,令FT=b;When FV>b, let FT=b;
    根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于值b。According to the FT, exposure compensation is performed on the target area image of the framing frame area such that the portrait area picture brightness FV is equal to the value b.
  5. 如权利要求3所述的视频拍摄方法,其特征在于,所述将所述FV的数值与所述FT的有效区间取值进行比较的步骤,还包括:The video capture method according to claim 3, wherein the step of comparing the value of the FV with the value of the effective interval of the FT further comprises:
    当a≤FV≤b时,令FT=R*FV+(1-R)*BV;When a ≤ FV ≤ b, let FT = R * FV + (1-R) * BV;
    根据所述FT,对所述取景框区的目标区域图像进行曝光补偿,以使所述人像区域画面亮度FV等于所述FT。And performing exposure compensation on the target area image of the framing frame area according to the FT, so that the portrait area screen brightness FV is equal to the FT.
  6. 如权利要求1所述的视频拍摄方法,其特征在于,所述当识别到用户面部图像时,获取与所述用户面部图像对应的目标图像参数值的步骤包括:The video capturing method according to claim 1, wherein the step of acquiring a target image parameter value corresponding to the user facial image when the user facial image is recognized comprises:
    对已识别的用户面部图像对应的每张人像进行编号;Numbering each portrait corresponding to the recognized user's face image;
    根据用户选择的编号,获取图像中已被选择的编号对应的人像的目标图像参数值。The target image parameter value of the portrait corresponding to the selected number in the image is acquired according to the number selected by the user.
  7. 一种视频拍摄装置,其特征在于,所述视频拍摄装置包括:摄像头、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的视频拍摄装置,其中:A video photographing apparatus, comprising: a camera, a memory, a processor, and a video photographing apparatus stored on the memory and operable on the processor, wherein:
    所述摄像头,用于进行视频拍摄;The camera is used for video shooting;
    所述视频拍摄装置被所述处理器执行时实现如权利要求1至6中任一项所述的视频拍摄方法的步骤。The step of implementing the video capture method according to any one of claims 1 to 6 when the video capture device is executed by the processor.
  8. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有视频拍摄程序,所述视频拍摄程序被处理器执行时实现如权利要求1至6中任一项所述的视频拍摄方法的步骤。 A computer readable storage medium, wherein the computer readable storage medium stores a video capture program, the video capture program being executed by a processor to implement the method of any one of claims 1 to 6. The steps of the video capture method.
PCT/CN2017/105162 2017-09-30 2017-09-30 Video capturing method and device, and computer readable storage medium WO2019061542A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/105162 WO2019061542A1 (en) 2017-09-30 2017-09-30 Video capturing method and device, and computer readable storage medium
CN201780097112.5A CN111543047A (en) 2017-09-30 2017-09-30 Video shooting method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105162 WO2019061542A1 (en) 2017-09-30 2017-09-30 Video capturing method and device, and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019061542A1 true WO2019061542A1 (en) 2019-04-04

Family

ID=65903435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105162 WO2019061542A1 (en) 2017-09-30 2017-09-30 Video capturing method and device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111543047A (en)
WO (1) WO2019061542A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511743B (en) * 2020-11-25 2022-07-22 南京维沃软件技术有限公司 Video shooting method and device
CN113766260A (en) * 2021-08-24 2021-12-07 武汉瓯越网视有限公司 Face automatic exposure optimization method, storage medium, electronic device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458219A (en) * 2013-09-02 2013-12-18 小米科技有限责任公司 Method, device and terminal device for adjusting face in video call
CN104580901A (en) * 2014-12-25 2015-04-29 魅族科技(中国)有限公司 Shooting parameter determining method and terminal
CN105227823A (en) * 2014-06-03 2016-01-06 维科技术有限公司 The image pickup method of mobile terminal and device thereof
US20160037046A1 (en) * 2014-07-31 2016-02-04 Canon Kabushiki Kaisha Image capturing apparatus and control method therefor
CN106210523A (en) * 2016-07-22 2016-12-07 浙江宇视科技有限公司 A kind of exposure adjustment method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9082004B2 (en) * 2011-12-15 2015-07-14 The Nielsen Company (Us), Llc. Methods and apparatus to capture images
US9131150B1 (en) * 2014-06-06 2015-09-08 Amazon Technologies, Inc. Automatic exposure control and illumination for head tracking
CN105049726B (en) * 2015-08-05 2018-09-04 广东欧珀移动通信有限公司 A kind of mobile terminal photographic method and mobile terminal
CN105516613A (en) * 2015-12-07 2016-04-20 凌云光技术集团有限责任公司 Intelligent exposure method and system based on face recognition
CN106231178B (en) * 2016-07-22 2019-07-26 维沃移动通信有限公司 A kind of self-timer method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458219A (en) * 2013-09-02 2013-12-18 小米科技有限责任公司 Method, device and terminal device for adjusting face in video call
CN105227823A (en) * 2014-06-03 2016-01-06 维科技术有限公司 The image pickup method of mobile terminal and device thereof
US20160037046A1 (en) * 2014-07-31 2016-02-04 Canon Kabushiki Kaisha Image capturing apparatus and control method therefor
CN104580901A (en) * 2014-12-25 2015-04-29 魅族科技(中国)有限公司 Shooting parameter determining method and terminal
CN106210523A (en) * 2016-07-22 2016-12-07 浙江宇视科技有限公司 A kind of exposure adjustment method and device

Also Published As

Publication number Publication date
CN111543047A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
WO2018223418A1 (en) Display panel testing method, device and system
WO2017018612A1 (en) Method and electronic device for stabilizing video
WO2017177524A1 (en) Audio and video playing synchronization method and device
WO2017131348A1 (en) Electronic apparatus and controlling method thereof
WO2015126044A1 (en) Method for processing image and electronic apparatus therefor
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2018103187A1 (en) Monitor image formation method and system for monitoring device
WO2017148035A1 (en) Image processing method and apparatus
WO2015170832A1 (en) Display device and video call performing method therefor
WO2017010628A1 (en) Method and photographing apparatus for controlling function based on gesture of user
WO2017090833A1 (en) Photographing device and method of controlling the same
WO2017190452A1 (en) Backlight self-adaptive regulation method and apparatus
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2018074768A1 (en) Image display method and electronic device therefor
WO2017063366A1 (en) Method and system for starting application
WO2019045521A1 (en) Electronic device and control method therefor
WO2017190445A1 (en) Rgb image processing method and system
WO2019061542A1 (en) Video capturing method and device, and computer readable storage medium
WO2017113600A1 (en) Video playing method and device
WO2015158032A1 (en) Method and system for unlocking screen of mobile terminal by means of retina information matching
WO2019061042A1 (en) Exposure compensation method, device and computer readable storage medium
WO2017190451A1 (en) Picture pushing method and apparatus
WO2019031676A1 (en) Image processing method and device therefor
WO2022025423A1 (en) Video quality assessing method and apparatus
WO2017201893A1 (en) Video processing method and 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: 17927022

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

Country of ref document: EP

Kind code of ref document: A1