WO2016101505A1 - 一种前摄像头拍摄修正方法、装置及终端 - Google Patents

一种前摄像头拍摄修正方法、装置及终端 Download PDF

Info

Publication number
WO2016101505A1
WO2016101505A1 PCT/CN2015/078934 CN2015078934W WO2016101505A1 WO 2016101505 A1 WO2016101505 A1 WO 2016101505A1 CN 2015078934 W CN2015078934 W CN 2015078934W WO 2016101505 A1 WO2016101505 A1 WO 2016101505A1
Authority
WO
WIPO (PCT)
Prior art keywords
human eye
screen
imaging
front camera
correction information
Prior art date
Application number
PCT/CN2015/078934
Other languages
English (en)
French (fr)
Inventor
张治英
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016101505A1 publication Critical patent/WO2016101505A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof

Definitions

  • the present invention relates to the field of terminal photography, and in particular, to a front camera self-timer correction method, device and terminal.
  • the current terminal camera functions are divided into a rear camera camera and a front camera camera.
  • the rear camera is used for photographing, since the scene is photographed in front, the photographer can see the position clearly, and the state of the person being photographed can be adjusted in time, and it is not easy to see that the human eye does not face the camera in the viewing direction.
  • the front camera self-timer due to the shooting distance and the limitation of the installation position of the camera on the terminal, the portraits often appear not natural enough, especially the direction of the human eye, some are looking up, some are looking down. Can not face the direction of the camera, the user experience is very poor.
  • the technical problem to be solved by the embodiments of the present invention is to provide a front camera shooting correction method, device and terminal, and correct the imaging effect of the human eye viewing direction when the front camera is used to take a portrait.
  • the imaging information of the human eye on the screen is replaced with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye images the state of the front camera.
  • the corresponding human eye correction information is set for different positions on the screen, and the package is include:
  • the human eye is imaged at different setting positions on the screen.
  • the following steps are performed: when the human eye is taken to look at the front camera
  • the human eye imaging information is used as the human eye correction information corresponding to the set position.
  • the set shooting mode includes:
  • the set distance between the human eye and the screen is maintained, and the imaging of the human eye is within the screen range.
  • the imaging information of the human eye on the screen includes:
  • the imaging information of the human eye in the picture being captured in the set shooting mode, or the imaging information of the human eye in the picture taken and saved according to the set shooting mode.
  • the determining process of the human eye correction information corresponding to the imaging position of the human eye on the screen includes:
  • step A1 Searching in all the positions where the human eye correction information is set, determining whether there is a position that is the same as the imaging position of the human eye on the screen, and if so, finding the human eye correction information of the position as the human eye The human eye correction information corresponding to the imaging position on the screen, otherwise step A2;
  • A2 Find a position closest to the imaging position of the human eye on the screen in all the positions where the human eye correction information is set, and use the human eye correction information of the closest position as the imaging position of the human eye on the screen. Corresponding human eye correction information.
  • An embodiment of the present invention provides a front camera shooting correction device, including:
  • the correction module is configured to replace the imaging information of the human eye on the screen with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye images the state of the front camera.
  • the setting module is specifically configured as follows:
  • the human eye is imaged at different setting positions on the screen.
  • the following steps are performed: when the human eye is taken to look at the front camera
  • the human eye imaging information is used as the human eye correction information corresponding to the set position.
  • the set shooting mode includes:
  • the imaging information of the human eye on the screen includes:
  • the imaging information of the human eye in the picture being captured in the set shooting mode, or the imaging information of the human eye in the picture taken and saved according to the set shooting mode.
  • the device further includes:
  • the determining module is configured to determine human eye correction information corresponding to the imaging position of the human eye on the screen, and the specific determining process includes:
  • step A1 Searching in all the positions where the human eye correction information is set, determining whether there is a position that is the same as the imaging position of the human eye on the screen, and if so, finding the human eye correction information of the position as the human eye The human eye correction information corresponding to the imaging position on the screen, otherwise step A2;
  • A2 Find a position closest to the imaging position of the human eye on the screen in all the positions where the human eye correction information is set, and use the human eye correction information of the closest position as the imaging position of the human eye on the screen. Corresponding human eye correction information.
  • the setting module, the correction module, and the determining module may use a central processing unit (CPU), a digital signal processor (DSP, Digital Singnal Processor), or a programmable logic array (FPGA) when performing processing. , Field-Programmable Gate Array) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA programmable logic array
  • An embodiment of the present invention further provides a terminal, including: a front camera, a screen, and a processor. among them,
  • a screen configured to display a picture or a picture taken by the front camera
  • a processor configured to set corresponding human eye correction information to different positions on the screen; and replace the imaging information of the human eye on the screen with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye looks at State imaging of the front camera.
  • the embodiment of the present invention has at least the following advantages:
  • the pre-camera shooting correction method, device and terminal realize the correction of the eye-view direction of the photographed face image by the software compensation method, and make up for the fact that the human eye is not gazing when the smart camera adopts the front camera self-timer.
  • the problem of the front camera improves the user's photo satisfaction and user experience satisfaction.
  • FIG. 1 is a flow chart of a method for correcting a front camera according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a front camera capture correction device according to a second embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a situation in which a human eye correction value at different positions is set on a screen according to a fourth embodiment of the present invention.
  • Fig. 5 is a flow chart showing correction of human eye imaging according to a fourth embodiment of the present invention.
  • a first embodiment of the present invention includes the following specific steps:
  • Step S101 setting corresponding human eye correction information for different positions on the screen of the terminal
  • step S101 includes:
  • the human eye is imaged at different setting positions on the screen.
  • the following steps are performed: when the human eye is taken to look at the front camera
  • the human eye imaging information is used as the human eye correction information corresponding to the set position.
  • the set shooting mode includes:
  • the set distance between the human eye and the screen is maintained, and the image of the human eye is located within the screen range, wherein the set distance between the human eye and the screen refers to: the human eye
  • the set distance is maintained from the center point on the screen, or a set distance is maintained between the human eye and a specific position on the screen, which can be set according to the user's preference.
  • Step S102 replacing the imaging information of the human eye on the screen with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye images the state of the front camera.
  • the imaging information of the human eye on the screen includes:
  • the imaging information of the human eye in the picture being captured in the set shooting mode, or the imaging information of the human eye in the picture taken and saved according to the set shooting mode.
  • step S102 firstly, the human eye correction information corresponding to the imaging position of the human eye on the screen is determined, and then the replacement is performed, and the determining process specifically includes:
  • step A1 Searching in all the positions where the human eye correction information is set, determining whether there is a position that is the same as the imaging position of the human eye on the screen, and if so, finding the human eye correction information of the position as the human eye The human eye correction information corresponding to the imaging position on the screen, otherwise step A2;
  • A2 Find a position closest to the imaging position of the human eye on the screen in all the positions where the human eye correction information is set, and use the human eye correction information of the closest position as the imaging position of the human eye on the screen. Corresponding human eye correction information.
  • the present invention uses pre-stored human eye imaging information as a human eye repair Positive information, to replace the subsequent human eye imaging information in the shooting, is actually a replacement between the two human eye imaging information, for the entire picture or photo displayed on the screen is only a partial replacement, in the replacement There may be some unnatural connections at the edge of the local area, but these defects can be reduced by setting more positions with human eye correction information on the terminal screen because the human eye correction is set on the terminal screen. The more the position of the information and the more uniform the distribution, the easier it is to replace the human eye correction information corresponding to the position.
  • the second embodiment of the present invention corresponds to the first embodiment.
  • This embodiment introduces a front camera shooting correction device, as shown in FIG. 2, including the following components:
  • the setting module 100 is configured to set corresponding human eye correction information to different positions on the terminal screen;
  • the setting module 100 is configured to:
  • the human eye is imaged at different setting positions on the screen.
  • the following steps are performed: when the human eye is taken to look at the front camera
  • the human eye imaging information is used as the human eye correction information corresponding to the set position.
  • the set shooting mode includes:
  • the determining module 200 is configured to determine human eye correction information corresponding to the imaging position of the human eye on the screen, and the specific determining process includes:
  • step A1 Searching in all the positions where the human eye correction information is set, determining whether there is a position that is the same as the imaging position of the human eye on the screen, and if so, finding the human eye correction information of the position as the human eye The human eye correction information corresponding to the imaging position on the screen, otherwise step A2;
  • A2 Find out the human eye on the screen in all the positions where the human eye correction information is set.
  • the human eye correction information of the closest position is the human eye correction information corresponding to the imaging position of the human eye on the screen, like the position closest to the position.
  • the correction module 300 is configured to replace the imaging information of the human eye on the screen with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye images the state of the front camera.
  • the imaging information of the human eye on the screen includes:
  • the imaging information of the human eye in the picture being captured in the set shooting mode, or the imaging information of the human eye in the picture taken and saved according to the set shooting mode.
  • the correction module 300 can replace the imaging information of the human eye on the screen with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye can image the state of the front camera.
  • a third embodiment of the present invention is a terminal that can be understood as a physical device. As shown in FIG. 3, the terminal includes: a front camera 10, a screen 20, and a processor 30, where
  • the screen 20 is configured to display a picture or a picture taken by the front camera 10;
  • the processor 30 is configured to set corresponding human eye correction information to different positions on the screen 20; and replace the imaging information of the human eye on the screen 20 with the human eye correction information corresponding to the imaging position of the human eye on the screen 20, so that The human eye images with a state of looking at the front camera 10.
  • the functions performed by the processor 30 in this embodiment are in detail corresponding to the specific steps involved in the flow in the first embodiment.
  • the application scenario of the front camera self-portrait of a mobile phone is taken as an example, and an application example of the present invention is described with reference to FIGS. 4-5.
  • the human eye correction value at different positions is set on the screen in the embodiment, and O represents the position of the front camera, and a shooting mode is set: the distance between the center of the human eye and the screen is L. And the imaging of the human eye falls within the range displayed on the screen.
  • the corresponding human eye correction information is set at different positions on the terminal screen of the terminal, and the subsequent shooting must also be performed in the shooting mode.
  • Position 1 to 13 evenly on the edge of the screen, and configure a human eye correction information for each position point on the edge of the screen.
  • the configuration process is: when the image of the human eye is at position 1, the human eye is placed forward. The camera O captures the human eye imaging information at this time and saves it in association with the position 1; when the imaging of the human eye is at the position 2, the human eye looks at the front camera O, and captures the human eye imaging information at this time, and Saved in association with position 2; ...; when the image of the human eye is at position 13, the human eye is viewed as the front camera O, and the human eye imaging information at this time is taken and stored in association with the position 13.
  • the human eye correction information of the position is the human eye correction information corresponding to the imaging position of the human eye on the screen; otherwise, the position closest to the imaging position of the human eye on the screen is found in all the positions where the human eye correction information is set.
  • the human eye correction information of the closest position is used as the human eye correction information corresponding to the imaging position of the human eye on the screen.
  • the imaging information of the human eye on the screen is replaced with the human eye correction information corresponding to the imaging position of the human eye on the screen, so that the human eye can image the state of the front camera.
  • Figure 5 is a flow chart of human eye imaging correction, including the following steps:
  • Step 201 Turn on the front camera to take a picture
  • Step 202 Ask the user whether to open the correction mode. If it is turned on, correct it after the next focus positioning, if not, directly take a picture to save the picture;
  • Step 203 Focusing and positioning imaging
  • Step 204 After focusing, compare all the positions of the human eye correction information and the imaging position of the human eye at the time of actual shooting, and determine a preset position that is closest to the imaging position of the human eye at the time of actual shooting;
  • Step 205 Replace the current shooting picture with the human eye correction value corresponding to the closest preset position.
  • the human eye images information so that the human eye can achieve the effect of looking at the front camera.
  • Step 206 Save the image after the correction.
  • the pre-camera shooting correction method, device and terminal of the embodiment of the invention realize the correction of the eye-view direction of the photographed face image by the software compensation method, and make up for the problems that occur when the smart terminal adopts the front camera self-timer, and improve the user's photographing. Satisfaction, and user experience satisfaction.
  • the pre-camera shooting correction method, device and terminal of the embodiment of the invention realize the correction of the eye angle direction of the photographed face image by the software compensation method, and make up for the human eye that is present when the smart terminal adopts the front camera self-timer. Look at the problem of the front camera to improve user satisfaction and user experience satisfaction.

Abstract

提出了一种前置摄像头拍摄修正方法、装置及终端,该方法包括:为屏幕上的不同位置设置对应的人眼修正信息;将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。该装置包括:设置模块和修正模块。通过软件补偿的方法实现拍照人脸图像眼睛视角方向的修正,弥补目前智能终端在采用前置摄像头自拍时出现的人眼未注视前置摄像头的问题,提高用户拍照满意度和用户体验满意度。

Description

一种前摄像头拍摄修正方法、装置及终端 技术领域
本发明涉及终端拍摄技术领域,尤其涉及一种前置摄像头自拍修正方法、装置及终端。
背景技术
目前的终端拍照功能分为后置摄像头拍照和前置摄像头拍照。当采用后置摄像头拍照时,由于是拍摄前方的景物,拍摄者能够看清楚位置,且被拍照的人的状态可以适时调整,不容易出现人眼观看方向未正视摄像头的情况。但是当采用前摄像头自拍时,由于拍摄距离和摄像头在终端上安装位置的限制,拍出来的人像常常出现不够自然的情况,特别是人眼观看的方向,有些是向上看,有些是向下看,不能正视摄像头方向,用户体验极差。
发明内容
本发明实施例要解决的技术问题是,提供一种前置摄像头拍摄修正方法、装置及终端,对采用前置摄像头拍摄人像时人眼观看方向的成像效果进行修正。
本发明实施例采用的技术方案是,所述前置摄像头拍摄修正方法,包括:
为屏幕上的不同位置设置对应的人眼修正信息;
将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
上述方案中,所述为屏幕上的不同位置设置对应的人眼修正信息,包 括:
在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
上述方案中,所述设定的拍摄方式,包括:
在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内。
上述方案中,所述人眼在屏幕上的成像信息,包括:
在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
上述方案中,所述人眼在屏幕上的成像位置所对应的人眼修正信息的确定过程包括:
A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
本发明实施例提供一种前置摄像头拍摄修正装置,包括:
设置模块,配置为给屏幕上不同位置设置对应的人眼修正信息;
修正模块,配置为将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
上述方案中,所述设置模块,具体配置为:
在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
上述方案中,所述设定的拍摄方式,包括:
在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内;
所述人眼在屏幕上的成像信息,包括:
在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
上述方案中,所述装置还包括:
确定模块,配置为确定人眼在屏幕上的成像位置所对应的人眼修正信息,具体确定过程包括:
A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
所述设置模块、所述修正模块、所述确定模块在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
本发明实施例还提供一种终端,包括:前置摄像头、屏幕和处理器, 其中,
屏幕,配置为显示前置摄像头所拍摄的画面或者图片;
处理器,配置为给屏幕上的不同位置设置对应的人眼修正信息;将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
采用上述技术方案,本发明实施例至少具有下列优点:
本发明实施例所述前置摄像头拍摄修正方法、装置及终端,通过软件补偿的方法实现拍照人脸图像眼睛视角方向的修正,弥补目前智能终端在采用前置摄像头自拍时出现的人眼未注视前置摄像头的问题,提高用户拍照满意度和用户体验满意度。
附图说明
图1为本发明第一实施例的前置摄像头拍摄修正方法流程图;
图2为本发明第二实施例的前置摄像头拍摄修正装置组成结构示意图;
图3为本发明第三实施例的终端组成示意图;
图4为本发明第四实施例在屏幕上为设置不同位置的人眼修正值的情况示意图;
图5为本发明第四实施例的人眼成像修正流程图。
具体实施方式
为更进一步阐述本发明为达成预定目的所采取的技术手段及功效,以下结合附图及较佳实施例,对本发明进行详细说明如后。
本发明第一实施例,一种前置摄像头拍摄修正方法,如图1所示,包括以下具体步骤:
步骤S101,为终端屏幕上的不同位置设置对应的人眼修正信息;
具体的,步骤S101,包括:
在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
在本发明实施例一实施方式中,该设定的拍摄方式,包括:
在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内,其中,人眼与屏幕之间保持设定的距离指的是:人眼与屏幕上的中心点之间保持设定的距离,或者,人眼与屏幕上的特定位置之间保持设定的距离,该特定位置可以根据用户的喜好而设定。
步骤S102,将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
具体的,在步骤S102中,人眼在屏幕上的成像信息,包括:
在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
在步骤S102中,首先要确定出所述人眼在屏幕上的成像位置所对应的人眼修正信息,再进行替换,而该确定过程具体包括:
A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
需要说明的是,由于本发明使用预先保存的人眼成像信息作为人眼修 正信息,去替换后续在拍摄中的人眼成像信息,实际上是先后两个人眼成像信息之间的替换,对于屏幕上所显示的整幅图片或者照片来说只是局部的替换,在进行替换的局域的边缘处可能存在一些连接不太自然的瑕疵,但这些瑕疵可以通过在终端屏幕上设置更多的具备人眼修正信息的位置来减少,因为在终端屏幕上设置的具有人眼修正信息的位置越多、分布越均匀,后续再进行替换时就会容易找到更接近的位置所对应的人眼修正信息。
本发明第二实施例,与第一实施例对应,本实施例介绍一种前置摄像头拍摄修正装置,如图2所示,包括以下组成部分:
1)设置模块100,配置为给终端屏幕上不同位置设置对应的人眼修正信息;
具体的,设置模块100配置为:
在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
在本发明实施例一实施方式中,该设定的拍摄方式,包括:
在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内;
2)确定模块200,配置为确定人眼在屏幕上的成像位置所对应的人眼修正信息,具体确定过程包括:
A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成 像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
2)修正模块300,配置为将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
具体的,人眼在屏幕上的成像信息,包括:
在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
修正模块300将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息之后,即可实现人眼以注视前置摄像头的状态成像。
本发明第三实施例,一种终端,可以作为实体装置来理解,如图3所示,该终端,包括:前置摄像头10、屏幕20和处理器30,其中,
屏幕20,配置为显示前置摄像头10所拍摄的画面或者图片;
处理器30,配置为给屏幕20上的不同位置设置对应的人眼修正信息;将人眼在屏幕20上的成像信息替换为人眼在屏幕20上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头10的状态成像。
本实施例中处理器30所完成的功能细节上与第一实施例中的流程所涉及的具体步骤相对应。
本发明第四实施例,本实施例是在上述实施例的基础上,以采用一台手机的前置摄像头自拍人像的应用场景为例,结合附图4~5介绍一个本发明的应用实例。
图4为本实施例在屏幕上为设置不同位置的人眼修正值的情况,O表示前置摄像头的位置,设定一个拍摄方式:人眼距屏幕的中心之间的距离为L 且人眼的成像落入屏幕显示的范围内。
按照这个拍摄方式,在终端为终端屏幕上不同位置设置对应的人眼修正信息,后续拍照时,也须在该拍摄方式下进行拍摄。
在屏幕的边缘上均匀设置位置1~13,为屏幕边缘上的每个位置点分别配置一个人眼修正信息,其配置过程是:当人眼的成像位于位置1时,使人眼看向前置摄像头O,拍下此时的人眼成像信息,并与位置1关联保存;当人眼的成像位于位置2时,使人眼看向前置摄像头O,拍下此时的人眼成像信息,并与位置2关联保存;……;当人眼的成像位于位置13时,使人眼看向前置摄像头O,拍下此时的人眼成像信息,并与位置13关联保存。
接下来,在实际拍摄人像时,在所有设置了人眼修正信息的位置1~13中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息;否则在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
最后,将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,从而实现人眼以注视前置摄像头的状态成像。
图5为人眼成像修正流程图,包括以下步骤:
步骤201:开启前摄像头拍照;
步骤202:询问用户是否开启修正模式,若开启,则在下一步聚焦定位之后进行修正,不开启,则直接拍照保存图片;
步骤203:聚焦定位成像;
步骤204:聚焦之后对比预设了人眼修正信息的所有位置和实际拍摄时人眼的成像位置,确定出与实际拍摄时人眼的成像位置最接近的预设位置;
步骤205:用最接近的预设位置对应的人眼修正值去替换当前拍摄画面 中的人眼成像信息,以使人眼成像时能达到注视前置摄像头的成效效果。
步骤206:修正之后保存图像。
本发明实施例的前置摄像头拍摄修正方法、装置及终端,通过软件补偿的方法实现拍照人脸图像眼睛视角方向的修正,弥补目前智能终端在采用前置摄像头自拍时出现的问题,提高用户拍照满意度,和用户体验满意度。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例的所述前置摄像头拍摄修正方法、装置及终端,通过软件补偿的方法实现拍照人脸图像眼睛视角方向的修正,弥补目前智能终端在采用前置摄像头自拍时出现的人眼未注视前置摄像头的问题,提高用户拍照满意度和用户体验满意度。

Claims (10)

  1. 一种前置摄像头拍摄修正方法,包括:
    为屏幕上的不同位置设置对应的人眼修正信息;
    将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
  2. 根据权利要求1所述的前置摄像头拍摄修正方法,其中,为屏幕上的不同位置设置对应的人眼修正信息,包括:
    在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
  3. 根据权利要求2所述的前置摄像头拍摄修正方法,其中,所述设定的拍摄方式,包括:
    在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内。
  4. 根据权利要求2所述的前置摄像头拍摄修正方法,其中,所述人眼在屏幕上的成像信息,包括:
    在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
  5. 根据权利要求1~4中任一项所述的前置摄像头拍摄修正方法,其中,所述人眼在屏幕上的成像位置所对应的人眼修正信息的确定过程包括:
    A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
    A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
  6. 一种前置摄像头拍摄修正装置,包括:
    设置模块,配置为给屏幕上不同位置设置对应的人眼修正信息;
    修正模块,配置为将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
  7. 根据权利要求6所述的前置摄像头拍摄修正装置,其中,所述设置模块,配置为:
    在设定的拍摄方式下,使人眼在屏幕上不同的设定位置处成像,当人眼在每一个设定位置处成像时,均执行下面的步骤:拍下人眼看向前置摄像头时的人眼成像信息,将所述人眼成像信息作为该设定位置对应的人眼修正信息。
  8. 根据权利要求7所述的前置摄像头拍摄修正装置,其中,所述设定的拍摄方式,包括:
    在使用前置摄像头进行拍摄时,人眼与屏幕之间保持设定的距离、且人眼的成像位于屏幕范围内;
    所述人眼在屏幕上的成像信息,包括:
    在设定的拍摄方式下正在拍摄的画面中人眼的成像信息,或者,按照设定的拍摄方式所拍摄并保存的图片中的人眼的成像信息。
  9. 根据权利要求6~8中任一项所述的前置摄像头拍摄修正装置,其中,所述装置还包括:
    确定模块,配置为确定人眼在屏幕上的成像位置所对应的人眼修正信息,具体确定过程包括:
    A1:在所有设置了人眼修正信息的位置中查找,判断是否存在一位置 与人眼在屏幕上的成像位置相同,若是,则将查找出的所述位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息,否则执行步骤A2;
    A2:在所有设置了人眼修正信息的位置中查找出与人眼在屏幕上的成像位置最接近的位置,将所述最接近的位置的人眼修正信息作为人眼在屏幕上的成像位置所对应的人眼修正信息。
  10. 一种终端,包括:前置摄像头、屏幕和处理器,其中,
    屏幕,配置为显示前置摄像头所拍摄的画面或者图片;
    处理器,配置为给屏幕上的不同位置设置对应的人眼修正信息;将人眼在屏幕上的成像信息替换为人眼在屏幕上的成像位置所对应的人眼修正信息,使人眼以注视前置摄像头的状态成像。
PCT/CN2015/078934 2014-12-26 2015-05-14 一种前摄像头拍摄修正方法、装置及终端 WO2016101505A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410837031.2 2014-12-26
CN201410837031.2A CN105791671B (zh) 2014-12-26 2014-12-26 一种前摄像头拍摄修正方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2016101505A1 true WO2016101505A1 (zh) 2016-06-30

Family

ID=56149088

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078934 WO2016101505A1 (zh) 2014-12-26 2015-05-14 一种前摄像头拍摄修正方法、装置及终端

Country Status (2)

Country Link
CN (1) CN105791671B (zh)
WO (1) WO2016101505A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286584A (zh) * 2020-10-22 2021-01-29 江西艾普若科技有限责任公司 移动终端屏幕控制方法
US11360555B2 (en) 2019-05-20 2022-06-14 Cyberlink Corp. Systems and methods for automatic eye gaze refinement

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110945862A (zh) * 2017-08-10 2020-03-31 华为技术有限公司 一种自拍引导的方法及终端
CN112533071B (zh) * 2020-11-24 2023-03-24 维沃移动通信有限公司 图像处理方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101617339A (zh) * 2007-02-15 2009-12-30 索尼株式会社 图像处理装置和图像处理方法
CN103327231A (zh) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 图像生成装置以及图像生成方法
CN103345619A (zh) * 2013-06-26 2013-10-09 上海永畅信息科技有限公司 视频聊天中的人眼自然对视自适应矫正方法
CN103780812A (zh) * 2013-11-26 2014-05-07 广东欧珀移动通信有限公司 显示装置及其摄像显示方法
CN103841250A (zh) * 2012-11-22 2014-06-04 纳讯(青岛)通信有限公司 一种手机
US20140355013A1 (en) * 2013-05-28 2014-12-04 Marvell World Trade Ltd. Systems and Methods for Red-Eye Correction

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011148366A1 (en) * 2010-05-26 2011-12-01 Ramot At Tel-Aviv University Ltd. Method and system for correcting gaze offset
KR101977638B1 (ko) * 2012-02-29 2019-05-14 삼성전자주식회사 영상 내 사용자의 시선 보정 방법, 기계로 읽을 수 있는 저장 매체 및 통신 단말
CN104125327A (zh) * 2013-04-29 2014-10-29 深圳富泰宏精密工业有限公司 屏幕旋转控制方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101617339A (zh) * 2007-02-15 2009-12-30 索尼株式会社 图像处理装置和图像处理方法
CN103327231A (zh) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 图像生成装置以及图像生成方法
CN103841250A (zh) * 2012-11-22 2014-06-04 纳讯(青岛)通信有限公司 一种手机
US20140355013A1 (en) * 2013-05-28 2014-12-04 Marvell World Trade Ltd. Systems and Methods for Red-Eye Correction
CN103345619A (zh) * 2013-06-26 2013-10-09 上海永畅信息科技有限公司 视频聊天中的人眼自然对视自适应矫正方法
CN103780812A (zh) * 2013-11-26 2014-05-07 广东欧珀移动通信有限公司 显示装置及其摄像显示方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11360555B2 (en) 2019-05-20 2022-06-14 Cyberlink Corp. Systems and methods for automatic eye gaze refinement
CN112286584A (zh) * 2020-10-22 2021-01-29 江西艾普若科技有限责任公司 移动终端屏幕控制方法

Also Published As

Publication number Publication date
CN105791671A (zh) 2016-07-20
CN105791671B (zh) 2021-04-02

Similar Documents

Publication Publication Date Title
US10785403B2 (en) Modifying image parameters using wearable device input
JP6263623B2 (ja) 画像生成方法及びデュアルレンズ装置
WO2017096857A1 (zh) 相机拍摄参数调整方法及装置
US10326946B2 (en) Photographing method and apparatus
JP2012199675A (ja) 画像処理装置、画像処理方法及びプログラム
EP4351125A1 (en) Lossless photographing method and apparatus for mobile terminal, terminal device and storage medium
WO2016131217A1 (zh) 一种图像校正的方法和装置
TWI549500B (zh) 影像擷取方法及使用此方法之影像擷取裝置
WO2016101505A1 (zh) 一种前摄像头拍摄修正方法、装置及终端
US20180139369A1 (en) Backlit face detection
US20120092514A1 (en) Image-capture device, a method of correcting images, and a non-transitory computer-readable storage medium
CN106791451B (zh) 一种智能终端的拍照方法
US9167150B2 (en) Apparatus and method for processing image in mobile terminal having camera
CN105472263B (zh) 影像撷取方法及使用此方法的影像撷取设备
CN105578020B (zh) 自拍系统及方法
US20140240346A1 (en) Image displaying device
WO2016123850A1 (zh) 终端拍照控制方法及终端
JP2013017218A (ja) 画像処理装置、画像処理方法及びプログラム
US8462259B2 (en) Focusing image display device and method for displaying same
KR101502344B1 (ko) 스마트 기기에 구비된 카메라를 위한 소프트웨어 방식에 의한 교환렌즈 구현 방법
JP2014230088A (ja) 画像調整装置、画像調整方法、画像調整プログラムおよび撮像装置
WO2016074414A1 (zh) 一种图像的处理方法和装置
US20190052815A1 (en) Dual-camera image pick-up apparatus and image capturing method thereof
US9456140B2 (en) Optimized image stabilization
JP2008180840A (ja) 撮影装置

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

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

Country of ref document: EP

Kind code of ref document: A1