WO2018054097A1 - 一种自拍校准视线的方法、装置及终端 - Google Patents

一种自拍校准视线的方法、装置及终端 Download PDF

Info

Publication number
WO2018054097A1
WO2018054097A1 PCT/CN2017/087410 CN2017087410W WO2018054097A1 WO 2018054097 A1 WO2018054097 A1 WO 2018054097A1 CN 2017087410 W CN2017087410 W CN 2017087410W WO 2018054097 A1 WO2018054097 A1 WO 2018054097A1
Authority
WO
WIPO (PCT)
Prior art keywords
sight
line
user
guide
self
Prior art date
Application number
PCT/CN2017/087410
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 WO2018054097A1 publication Critical patent/WO2018054097A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Definitions

  • the present application relates to the field of communication technologies, for example, to a method, apparatus, and terminal for self-timer calibration of a line of sight.
  • the shooting function of the mobile phone is very powerful, especially the pixels of the front camera are also greatly improved, and the self-timer has become a habit in the daily use of many people.
  • the camera since the camera is generally located at the upper end of the camera body, the line of sight of the user tends to fall on the screen preview when the user takes a self-portrait, so that the line of sight of the person in the photo is often downward, thereby affecting the user experience.
  • the present disclosure provides a method, apparatus, and terminal for self-timer calibration of a line of sight to solve the problem that the line of sight of a person in a self-portrait photograph in the related art is mostly downward.
  • One aspect of the present disclosure provides a method for self-timer calibration of a line of sight, comprising:
  • the guiding line of sight animation is displayed, guiding the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and performing continuous shooting.
  • the method may further include: presetting a boot free area on the screen;
  • the displaying the guiding sight animation further includes:
  • the guide free area may be a screen area that is a predetermined distance radius from the camera.
  • the guide line of sight animation may be a virtual cursor or a current viewfinder interface that is reduced in real time.
  • the method may further comprise: automatically recognizing the picture after the continuous shooting, and selecting a picture that meets the preset definition.
  • Another aspect of the present disclosure provides an apparatus for self-timer calibration of a line of sight, comprising:
  • a tracking unit configured to track a user's line of sight in real time in a self-portrait mode
  • the processing unit is configured to display a guide line of sight animation after detecting the photographing instruction, guiding the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and performing continuous shooting.
  • the device may further include: a setting unit;
  • a setting unit configured to preset a boot free area on the screen
  • the processing unit is further configured to: after detecting the photographing instruction, determine whether the user's line of sight is within the preset guide-free area, if in the preset guide-free area, directly take a photograph; if not In the preset guide-free area, a guide line-of-sight animation is displayed, guiding the user's line of sight to move from the current line-of-sight position to the screen position corresponding to the camera, and performing continuous shooting.
  • the guide free area may be a screen area that is a predetermined distance radius from the camera.
  • the guide line of sight animation may be a virtual cursor or a current viewfinder interface that is reduced in real time.
  • the apparatus may further include: an identification unit configured to automatically recognize the picture after the continuous shooting, and select a picture that satisfies the preset definition.
  • the present disclosure also provides a terminal comprising the apparatus of any of the above.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • An embodiment of the present disclosure further provides an electronic device, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the display guides the line-of-sight animation, guides the user's line of sight to the screen position corresponding to the camera, and then takes a picture, that is, the present disclosure avoids the appearance of the user's eyes by calibrating the user's eyes during the self-timer.
  • the middle of the screen looks at the preview or falls on the shutter button, causing the problem of the gods below the line of sight.
  • FIG. 1 is a schematic flow chart of a method for self-timer calibration of a line of sight according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram showing a region division of a screen according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a route of guiding a line of sight according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flow chart of another method for self-timer calibration of a line of sight according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of an apparatus for self-timer calibration of a line of sight according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the present disclosure provides a method, a device and a terminal for self-timer to calibrate the line of sight.
  • the present disclosure guides the user to the line of sight by displaying a guide line of sight animation in the self-timer mode.
  • the camera corresponds to the screen position, and then takes a picture, that is, the present disclosure aligns the user's eyes during the self-timer, thereby avoiding the appearance of the line of sight due to the user's line of sight falling in the middle of the screen to see the preview or falling on the shutter button.
  • Embodiments of the present disclosure provide a method for self-timer calibration of a line of sight. Referring to FIG. 1, the method includes:
  • the present disclosure guides the user's line of sight to the screen position corresponding to the camera by displaying the guide line-of-sight animation, and then performs photographing, that is, the present disclosure avoids the appearance of the user's sight by calibrating the user's eyes during the self-timer. Falling in the middle of the screen to see the preview or falling on the shutter button causes the problem of the gods under the eyes.
  • Step S102 described in the embodiment of the present disclosure may include:
  • the user's line of sight is tracked in real time through the tracking system of the terminal camera.
  • the present disclosure can track the user's line of sight in real time through the gaze tracker. That is, the present disclosure can set a gaze tracking device such as a gaze tracker in the terminal to realize real-time tracking of the user's line of sight in the self-portrait mode.
  • a gaze tracking device such as a gaze tracker in the terminal to realize real-time tracking of the user's line of sight in the self-portrait mode.
  • the guided line-of-sight animation described in the embodiment of the present disclosure is a virtual cursor or a current view interface that is reduced in real time.
  • the virtual cursor in the embodiment of the present disclosure may be a cross shape or an arrow shape virtual cursor, etc., of course, a person skilled in the art may also preset a fixed small icon or the like to guide the user's line of sight.
  • the finder frame is reduced and placed above the screen closer to the camera, so that the user can see the effect of the direct view camera when the small finder frame is pressed, because the guide line animation of the present disclosure is only It is a virtual cursor or a current viewfinder interface that is reduced in real time, so the present disclosure does not reduce the preview frame used by the user for viewing, nor does it cause screen occlusion.
  • the method of the embodiment of the present disclosure further includes: preset an unguided area and a required lead area on the screen;
  • the guide-free area is a screen area that is a predetermined distance radius from the camera, and the required area is a screen area other than the guide-free area on the screen.
  • the screen area that is set to the predetermined length distance and the width distance from the camera is an unguided area, that is, Set a predetermined rectangular area or square area as a free boot area
  • the domain, the screen area outside the boot free area is the boot area.
  • FIG. 3 is a schematic diagram of a route of guiding a line of sight according to an embodiment of the present disclosure.
  • the present disclosure guides a user's line of sight to a screen position corresponding to the camera by displaying a guide line of sight animation, and then performs photographing.
  • the guide line-of-sight animation displayed in the present disclosure may be a straight line, that is, the motion track of the guide line-of-sight animation is a straight line, directly guiding the user's line of sight to the corresponding screen position of the camera, and the motion track of the guide line-of-sight animation may also be an arc. Line, through an arc to guide the user's line of sight to the screen position corresponding to the camera.
  • the step S202 described in the embodiment of the present disclosure may include:
  • determining whether the user's line of sight is within the preset guide-free area if in the preset no-boot area, taking a picture directly; if not in the preset guide-free area, displaying the guide line-of-sight animation , guides the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and performs continuous shooting.
  • the present disclosure first determines whether the user's line of sight is within the preset guide-free area, and if in the preset guide-free area, directly takes a picture; if not in the preset guide-free area Inside, the guide line of sight animation is displayed, guiding the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and continuous shooting is performed.
  • the method of the embodiment of the present disclosure further includes: automatically recognizing the picture after the continuous shooting, and selecting a picture that meets the preset definition.
  • the present disclosure automatically recognizes a continuous-shot picture obtained after displaying a guide line-of-sight animation according to a preset definition, thereby obtaining a picture that satisfies a preset definition.
  • the picture automatically recognized by the terminal may be manually filtered to filter out the picture that the user considers to be the best.
  • FIG. 4 is a schematic flow chart of another method for self-timer calibration of a line of sight according to an embodiment of the present disclosure. The method described in the present disclosure will be explained and illustrated in detail below with reference to FIG. 4 :
  • the present disclosure indicates whether to use the self-timer to calibrate the line of sight using the self-timer described in the present disclosure by setting a standard mode in the self-timer mode of the terminal and starting or not by the standard mode.
  • Step 401 proactively turning on
  • Step 402 it is determined whether the standard mode is enabled, if the standard mode is not enabled, the process proceeds to S403, and if the standard mode is enabled, the process proceeds to S404;
  • Step 404 Track the user's line of sight
  • the face recognition function can be turned on, and the screen area where the user's line of sight is located can be tracked in real time;
  • Step 405 detecting whether the user presses the shutter to determine whether the user's line of sight is in the no-guide area, if the shutter is pressed and the user's line of sight is in the no-guide area, proceed to S406, if the shutter is not pressed or the user's line of sight is not in the free-guide area, proceed to S407;
  • the screen area can be divided into a free boot area and a required boot area, and the free boot area is an area close to the location where the hardware camera is located, and the boot area needs to be other areas farther away from the location of the hardware camera;
  • Step 406 directly taking a photo
  • Step 407 Display a guide line-of-sight animation, guide the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and perform continuous shooting;
  • continuous shooting can be started at intervals of x seconds (for example, 0.5 seconds), and the user can press the screen area where the shutter sight is pressed as the starting point, and the hardware camera position is used as the end point to provide visual guidance animation.
  • the form of the virtual element movement can also be a form of moving the current viewfinder window in real time to provide an element for the user to follow the movement of the line of sight; the moving speed can be set to y mm/s, or the entire animation time can be controlled at z.
  • the mode is set in seconds; the animation ends, and the continuous shooting also ends, generating n consecutive photos;
  • Step 408 Automatically recognize the picture after continuous shooting, and select a picture that meets the preset definition.
  • the present disclosure turns on the calibration mode during self-timer, and if the line of sight is off when shooting, the position of the line of sight can be moved according to the animation after the shutter is pressed, and the most dynamic photo of the eye is automatically or manually selected by continuous shooting. .
  • An embodiment of the present disclosure provides a device for self-timer calibration of a line of sight.
  • the device includes: the tracking unit tracks the user's line of sight in a self-timer mode; the processing unit displays a guide line-of-sight animation after detecting the camera instruction, guiding the user.
  • the line of sight moves from the current line of sight position to the screen position corresponding to the camera, and continuous shooting is performed.
  • the present disclosure tracks the user's line of sight in real time through the tracking unit, and displays the guide line of sight animation through the processing unit, guiding the user's line of sight to the screen position corresponding to the camera, and then taking a picture, that is, the present disclosure is taken during self-timer Calibrate the user's eyes to avoid the problem of a lack of sight because the user's line of sight falls in the middle of the screen to see the preview or fall on the shutter button.
  • the tracking unit described in the embodiment of the present disclosure can track the user's line of sight in real time through the tracking system of the terminal camera.
  • the line of sight of the user can be tracked in real time by the line of sight tracker. That is to say, the present disclosure can set a line of sight tracking device such as a line of sight tracker in the terminal to realize real-time tracking of the user's line of sight in the self-portrait mode.
  • a line of sight tracking device such as a line of sight tracker in the terminal to realize real-time tracking of the user's line of sight in the self-portrait mode.
  • the guided line-of-sight animation described in the embodiment of the present disclosure is a virtual cursor or a current view interface that is reduced in real time.
  • the virtual cursor in the embodiment of the present disclosure may be a cross shape or an arrow shape virtual cursor, etc., of course, a person skilled in the art may also preset a fixed small icon or the like to guide the user's line of sight.
  • the finder frame is reduced and placed above the screen closer to the camera, so that the user can see the effect of the direct view camera when the small finder frame is pressed, because the guide line animation of the present disclosure is only It is a virtual cursor or a current viewfinder interface that is reduced in real time, so the present disclosure does not reduce the preview frame used by the user for viewing, nor does it cause screen occlusion.
  • the method of the embodiment of the present disclosure further includes: preset an unguided area and a required lead area on the screen;
  • the guide-free area is a screen area that is a predetermined distance radius from the camera, and the required area is a screen area other than the guide-free area on the screen.
  • the screen area that is set to the predetermined length distance and the width distance from the camera is an unguided area, that is, A predetermined rectangular area or a square area is set as a boot-free area, and a screen area other than the boot-free area is a required lead-out area.
  • FIG. 3 is a schematic diagram of a route of guiding a line of sight according to an embodiment of the present disclosure.
  • the present disclosure guides a user's line of sight to a screen position corresponding to the camera by displaying a guide line of sight animation, and then performs photographing.
  • the guide line-of-sight animation displayed in the present disclosure may be a straight line, that is, the motion track of the guide line-of-sight animation is a straight line, directly guiding the user's line of sight to the corresponding screen position of the camera, and the motion track of the guide line-of-sight animation may also be an arc. Line, through an arc to guide the user's line of sight to the screen position corresponding to the camera.
  • the apparatus of the present disclosure may further include: a setting unit;
  • a setting unit configured to preset a boot free area and a bootable area on the screen
  • the processing unit is further configured to: after detecting the photographing instruction, determine whether the user's line of sight is within the preset guide-free area, if in the preset guide-free area, directly take a photograph; if not In the preset guide-free area, a guide line-of-sight animation is displayed, guiding the user's line of sight to move from the current line-of-sight position to the screen position corresponding to the camera, and performing continuous shooting.
  • the present disclosure first determines whether the user's line of sight is within the preset guide-free area, and if in the preset guide-free area, directly takes a picture; if not in the preset guide-free area Inside, the guide line of sight animation is displayed, guiding the user's line of sight to move from the current line of sight position to the screen position corresponding to the camera, and continuous shooting is performed.
  • the method of the embodiment of the present disclosure further includes: automatically recognizing the picture after the continuous shooting, and selecting a picture that meets the preset definition.
  • the present disclosure provides a line-of-sight calibration mode in a proactive self-timer, in which the user recognizes the user's face position after pressing the shutter button after confirming the posture angle in the preview interface, and then gives the position from the user's eye position.
  • the line of sight guides the graphic animation to the screen position corresponding to the camera.
  • the continuous shooting is started.
  • the group of continuous shooting is presented to the user, and the user can select the best photo to save.
  • the embodiment of the present disclosure provides a terminal, where the terminal includes any device described in the device embodiment, and the terminal in the embodiment of the present disclosure is any terminal having a self-timer, such as a mobile phone, a tablet computer, or the like.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 60 which is exemplified by a processor 60 in FIG. 6; and a memory 61, may further include a communication interface 62 and a bus 63.
  • the processor 60, the communication interface 62, and the memory 61 can complete communication with each other through the bus 63.
  • Communication interface 62 can be used for information transfer.
  • Processor 60 may invoke logic instructions in memory 61 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 61 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 61 is used as a computer readable storage medium for storing software programs, computer executable programs, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 60 executes the function application and data processing by executing software programs, instructions, and modules stored in the memory 61, that is, the method of implementing the self-timer calibration line of sight in the above method embodiments.
  • the memory 61 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 61 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • the display guides the line-of-sight animation, guides the user's line of sight to the screen position corresponding to the camera, and then takes a picture, that is, the present disclosure avoids the appearance of the user's eyes by calibrating the user's eyes during the self-timer.
  • the middle of the screen looks at the preview or falls on the shutter button, causing the problem of the gods below the line of sight.
  • the method, device and terminal for self-timer calibration of the line of sight provided by the present application avoid the problem that the line of sight is submissive due to the user's line of sight falling in the middle of the screen to see the preview or falling on the shutter button.

Abstract

本申请公开了一种自拍校准视线的方法、装置及终端,本申请在自拍模式下,通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,也就是说,本申请通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。

Description

一种自拍校准视线的方法、装置及终端 技术领域
本申请涉及通信技术领域,例如涉及一种自拍校准视线的方法、装置及终端。
背景技术
手机的拍摄功能非常强大,特别是前置摄像头的像素也在急剧提升,自拍已经成为很多人日常使用中的一个习惯。但由于摄像头一般位于机身上端,而用户自拍时视线往往落在屏幕预览上,造成照片中的人物视线往往是向下方的,从而影响了用户体验。
发明内容
本公开提供了一种自拍校准视线的方法、装置及终端,以解决相关技术中自拍照片中人物视线多是向下方的问题。
本公开一方面提供了一种自拍校准视线的方法,包括:
在自拍模式下,实时跟踪用户视线;
当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
该方法还可以包括:在屏幕上预设免引导区域;
所述当检测到拍照指令的步骤之后,所述显示引导视线动画之前,还包括:
判断用户视线是否在预设的所述免引导区域内,如果在预设的所述免引导区域内,则直接进行拍照;如果不在预设的所述免引导区域内,则显示所述引导视线动画。
所述免引导区域可以为距离摄像头预定距离半径的屏幕区域。
所述引导视线动画可以为一个虚拟光标或者是实时缩小的当前取景界面。
该方法还可以包括:对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
本公开另一方面提供了一种自拍校准视线的装置,包括:
跟踪单元,被配置为在自拍模式下,实时跟踪用户视线;
处理单元,被配置为当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
该装置还可以包括:设置单元;
设置单元,被配置为在屏幕上预设免引导区域;
所述处理单元还被配置为,当检测到拍照指令后,判断用户视线是否在预设的所述免引导区域内,如果在预设的所述免引导区域内,则直接进行拍照;如果不在预设的所述免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
所述免引导区域可以为距离摄像头预定距离半径的屏幕区域。
所述引导视线动画可以为一个虚拟光标或者是实时缩小的当前取景界面。
该装置还可以包括:识别单元,被配置为对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
再一方面,本公开还提供了一种终端,该终端包括上述任意一种所述的装置。
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
本公开实施例还提供了一种电子设备,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。
本公开有益效果如下:
本公开在自拍模式下,通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,也就是说,本公开通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。
附图概述
图1是本公开实施例的一种自拍校准视线的方法的流程示意图;
图2是本公开实施例的屏幕的区域划分示意图;
图3是本公开实施例的引导视线的路线示意图;
图4是本公开实施例的另一种自拍校准视线的方法的流程示意图;
图5是本公开实施例的一种自拍校准视线的装置的结构示意图;以及
图6是本公开实施例的电子设备的结构示意图。
具体实施方式
为了解决相关技术中自拍照片中人物视线多是向下方的问题,本公开提供了一种自拍校准视线的方法、装置及终端,本公开在自拍模式下,通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,也就是说,本公开通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。以下结合附图以及实施例,对本公开进行详细说明。应当理解,此处所描述的实施例仅仅用以解释本公开,并不限定本公开。
方法实施例
本公开实施例提供了一种自拍校准视线的方法,参见图1,该方法包括:
S101、在自拍模式下,实时跟踪用户视线;
S102、当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视 线位置移动到摄像头对应的屏幕位置,并进行连拍。
也就是说,在自拍模式下,本公开通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,即,本公开通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。
本公开实施例所述步骤S102可以包括:
通过终端摄像头的追踪系统以实时追踪用户的视线。
本公开可通过视线追踪器来实时追踪用户的视线,也就是说,本公开可在终端中设置视线追踪器等视线追踪装置,来实现在自拍模式下实时追踪用户的视线。
本公开实施例所述的引导视线动画为一个虚拟光标或者是实时缩小的当前取景界面。
需要说明的是,本公开实施例所述的虚拟光标可以是一个十字形状或者箭头形状虚拟光标等等,当然本领域的技术人员也可以预设一个固定的小图标等以引导用户视线。
相对于相关终端,将取景框缩小放置在距离摄像头较近的屏幕上方,从而让用户看小的取景框按下快门时,获得视线直视摄像头的效果的方式,由于本公开的引导视线动画仅仅是一个虚拟光标或者是实时缩小的当前取景界面,所以本公开不会缩小用户观察用的预览框,也不会造成屏幕遮挡。
本公开实施例所述方法还包括:在屏幕上预设免引导区域和需引导区域;
图2是本公开实施例的屏幕的区域划分示意图,如图2所示,免引导区域为距离摄像头预定距离半径的屏幕区域,需引导区域为屏幕上免引导区域以外的屏幕区域。
当然实施时,本领域的技术人员以及用户也可以根据实际需要来设置上述的免引导区域和需引导区域,例如,设定距离摄像头预定长度距离和宽度距离的屏幕区域为免引导区域,即,设置预定的矩形区域或正方形区域为免引导区 域,免引导区域以外的屏幕区域为需引导区域。
图3是本公开实施例的引导视线的路线示意图,如图3所示,在自拍模式下,本公开通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,需要说明的是,本公开所显示的引导视线动画可以为一直线,即,引导视线动画的运动轨迹是一条直线,直接将用户视线引导到摄像头对应的屏幕位置,引导视线动画的运动轨迹也可以是一条弧线,通过一个弧线来将用户视线引导到摄像头对应的屏幕位置。
本公开实施例所述步骤S202可以包括:
当检测到拍照指令后,判断用户视线是否在预设的免引导区域内,如果在预设的免引导区域内,则直接进行拍照;如果不在预设的免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
也就是说,本公开在显示引导视线动画前,先判断用户视线是否在预设的免引导区域内,如果在预设的免引导区域内,则直接进行拍照;如果不在预设的免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
本公开实施例所述方法还包括:对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
也就是说,本公开针对显示引导视线动画后得到的连拍图片按照预设的清晰度进行自动识别,从而得到满足预设清晰度的图片。
需要说明的是,针对上述终端自动识别的图片还可进行人工筛选,从而筛选出用户认为最佳的图片。
图4是本公开实施例的另一种自拍校准视线的方法的流程示意图,下面将结合图4对本公开所述的方法进行详细的解释和说明:
需要说明的是,本公开是通过在终端的自拍模式下设置一个标准模式,并通过标准模式启动与否,来标明是否使用本公开所述的自拍校准视线的方法。
步骤401、前摄开启;
步骤402、判断是否开启标准模式,如果未开启标准模式,进入S403,如果开启标准模式,进入S404;
步骤403、结束;
步骤404、跟踪用户视线;
可以开启人脸识别功能,并实时跟踪用户视线所在屏幕区域;
步骤405、检测用户是否按下快门,判断用户视线是否在免引导区域,如果按下快门并且用户视线在免引导区域,进入S406,如果未按下快门或用户视线不在免引导区域,进入S407;
可以将屏幕区域分为免引导区域和需引导区域,免引导区域为靠近硬件摄像头所在位置的区域,需引导区域为较为远离硬件摄像头所在位置的其他区域;
步骤406、直接进行拍照;
步骤407、显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍;
实施时,可以以x秒(例0.5秒)为间隔启动连拍拍摄,同时以用户按下快门视线所在屏幕区域为起点,以硬件摄像头位置为终点,提供视觉引导动画,该动画可以是以一个虚拟元素移动的形式,也可以是将当前取景界面实时缩小移动的形式,以提供一个让用户视线跟随移动的元素;移动速度可以设置为y mm/s,也可以采用将整个动画时间控制在z秒内的方式进行设置;动画结束,连拍也同时结束,生成n张连拍照片;
步骤408、对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
可以将n张照片进行照片清晰度评价,剔除清晰度较低的照片,并在剩余照片中,选择最后一张成像的照片作为最优选择呈现出来,因为此时用户视线距离摄像头位置最近,是最有可能为最佳角度的照片,同时,用户可以通过按钮或者手势调出查看其他备选照片,用户可以最终确认保留的照片,当然用户也可以从剔除清晰度较低的照片后剩余的图片中挑选最佳照片保存。
总体来说,本公开在自拍时打开校准模式,拍摄时如果视线偏下,即可在按下快门后根据动画引导移动视线位置,通过连拍,最终自动或者手动选择一张眼神最为灵动的照片。
装置实施例
本公开实施例提供了一种自拍校准视线的装置,参见图5,该装置包括:跟踪单元在自拍模式下,实时跟踪用户视线;处理单元当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
也就是说,在自拍模式下,本公开通过跟踪单元实时跟踪用户视线,并通过处理单元显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,即,本公开通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。
实施时,本公开实施例所述的跟踪单元可以通过终端摄像头的追踪系统以实时追踪用户的视线。
可通过视线追踪器来实时追踪用户的视线,也就是说,本公开可在终端中设置视线追踪器等视线追踪装置,来实现在自拍模式下实时追踪用户的视线。
本公开实施例所述的引导视线动画为一个虚拟光标或者是实时缩小的当前取景界面。
需要说明的是,本公开实施例所述的虚拟光标可以是一个十字形状或者箭头形状虚拟光标等等,当然本领域的技术人员也可以预设一个固定的小图标等以引导用户视线。
相对于相关终端,将取景框缩小放置在距离摄像头较近的屏幕上方,从而让用户看小的取景框按下快门时,获得视线直视摄像头的效果的方式,由于本公开的引导视线动画仅仅是一个虚拟光标或者是实时缩小的当前取景界面,所以本公开不会缩小用户观察用的预览框,也不会造成屏幕遮挡。
本公开实施例所述方法还包括:在屏幕上预设免引导区域和需引导区域;
图2是本公开实施例的屏幕的区域划分示意图,如图2所示,免引导区域为距离摄像头预定距离半径的屏幕区域,需引导区域为屏幕上免引导区域以外的屏幕区域。
当然实施时,本领域的技术人员以及用户也可以根据实际需要来设置上述的免引导区域和需引导区域,例如,设定距离摄像头预定长度距离和宽度距离的屏幕区域为免引导区域,即,设置预定的矩形区域或正方形区域为免引导区域,免引导区域以外的屏幕区域为需引导区域。
图3是本公开实施例的引导视线的路线示意图,如图3所示,在自拍模式下,本公开通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,需要说明的是,本公开所显示的引导视线动画可以为一直线,即,引导视线动画的运动轨迹是一条直线,直接将用户视线引导到摄像头对应的屏幕位置,引导视线动画的运动轨迹也可以是一条弧线,通过一个弧线来将用户视线引导到摄像头对应的屏幕位置。
本公开所述的装置还可以包括:设置单元;
设置单元,被配置为在屏幕上预设免引导区域和需引导区域;
所述处理单元还被配置为,当检测到拍照指令后,判断用户视线是否在预设的所述免引导区域内,如果在预设的所述免引导区域内,则直接进行拍照;如果不在预设的所述免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
也就是说,本公开在显示引导视线动画前,先判断用户视线是否在预设的免引导区域内,如果在预设的免引导区域内,则直接进行拍照;如果不在预设的免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
本公开实施例所述方法还包括:对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
总体来说,本公开是在前摄自拍时提供视线校准模式,在该模式下,用户在预览界面先确认好姿势角度后按下快门键时,识别用户面部位置后,从用户眼睛位置给出视线引导图形动画至摄像头对应的屏幕位置,用户根据此引导视线动画转移视线时,启动连拍,引导动画结束后,将该组连拍呈现给用户,用户可以挑选最佳照片保存。
本公开实施例中的相关内容可参照装置实施例和方法实施例部分进行理解,在此不再赘述。
终端实施例
本公开实施例提供了一种终端,该终端包括装置实施例中所述的任意一种装置,本公开实施例所述的终端为任意具有自拍的终端,如、手机、平板电脑,等等。
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。
本公开实施例还提供了一种电子设备的结构示意图。参见图6,该电子设备包括:
至少一个处理器(processor)60,图6中以一个处理器60为例;和存储器(memory)61,还可以包括通信接口(Communications Interface)62和总线63。其中,处理器60、通信接口62、存储器61可以通过总线63完成相互间的通信。通信接口62可以用于信息传输。处理器60可以调用存储器61中的逻辑指令,以执行上述实施例的方法。
此外,上述的存储器61中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器61作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器60通过运行存储在存储器61中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的自拍校准视线的方法。
存储器61可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器。
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
本公开实施例中的相关内容可参照装置实施例和方法实施例部分进行理解,在此不再赘述。
本公开可以至少可以达到以下的有益效果:
本公开在自拍模式下,通过显示引导视线动画,引导用户视线到摄像头对应的屏幕位置,再进行拍照,也就是说,本公开通过在自拍时校准用户的眼神,从而避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。
尽管为示例,已经公开了本公开的实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本公开的范围应当不限于上述实施例。
工业实用性
本申请提供的自拍校准视线的方法、装置及终端,避免出现因为用户视线落在屏幕中部看预览或者落在快门按钮上导致的视线偏下无神的问题。

Claims (12)

  1. 一种自拍校准视线的方法,包括:
    在自拍模式下,实时跟踪用户视线;
    当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
  2. 根据权利要求1所述的方法,其中,
    还包括:在屏幕上预设免引导区域;
    所述当检测到拍照指令的步骤之后,所述显示引导视线动画之前,还包括:
    判断用户视线是否在预设的所述免引导区域内,如果在预设的所述免引导区域内,则直接进行拍照;如果不在预设的所述免引导区域内,则显示所述引导视线动画。
  3. 根据权利要求2所述的方法,其中,
    所述免引导区域为距离摄像头预定距离半径的屏幕区域。
  4. 根据权利要求1-3中任意一项所述的方法,其中,
    所述引导视线动画为一个虚拟光标或者是实时缩小的当前取景界面。
  5. 根据权利要求1-3中任意一项所述的方法,还包括:
    对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
  6. 一种自拍校准视线的装置,包括:
    跟踪单元,被配置为在自拍模式下,实时跟踪用户视线;
    处理单元,被配置为当检测到拍照指令后,显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
  7. 根据权利要求6所述的装置,还包括:设置单元;
    设置单元,被配置为在屏幕上预设免引导区域;
    所述处理单元还被配置为,当检测到拍照指令后,判断用户视线是否在预设的所述免引导区域内,如果在预设的所述免引导区域内,则直接进行拍照; 如果不在预设的所述免引导区域内,则显示引导视线动画,引导用户视线从当前视线位置移动到摄像头对应的屏幕位置,并进行连拍。
  8. 根据权利要求7所述的装置,其中,
    所述免引导区域为距离摄像头预定距离半径的屏幕区域。
  9. 根据权利要求6-8中任意一项所述的装置,其中,
    所述引导视线动画为一个虚拟光标或者是实时缩小的当前取景界面。
  10. 根据权利要求6-8中任意一项所述的装置,还包括:
    识别单元,被配置为对连拍后的图片进行自动识别,挑选出满足预设清晰度的图片。
  11. 一种终端,包括:权利要求6-10中任意一项所述的装置。
  12. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项的方法。
PCT/CN2017/087410 2016-09-22 2017-06-07 一种自拍校准视线的方法、装置及终端 WO2018054097A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610841391.9A CN107864329A (zh) 2016-09-22 2016-09-22 一种自拍校准视线的方法、装置及终端
CN201610841391.9 2016-09-22

Publications (1)

Publication Number Publication Date
WO2018054097A1 true WO2018054097A1 (zh) 2018-03-29

Family

ID=61690115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087410 WO2018054097A1 (zh) 2016-09-22 2017-06-07 一种自拍校准视线的方法、装置及终端

Country Status (2)

Country Link
CN (1) CN107864329A (zh)
WO (1) WO2018054097A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989672A (zh) * 2018-07-26 2018-12-11 维沃移动通信有限公司 一种拍摄方法及移动终端

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650454A (zh) * 2018-04-23 2018-10-12 联想(北京)有限公司 一种信息处理方法、电子设备和计算机可读存储介质
CN109936697B (zh) * 2019-04-29 2020-12-22 嘉兴奥恒进出口有限公司 一种视频拍摄目标跟踪方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274703A1 (en) * 2006-05-23 2007-11-29 Fujifilm Corporation Photographing apparatus and photographing method
CN102413282A (zh) * 2011-10-26 2012-04-11 惠州Tcl移动通信有限公司 一种自拍引导方法和设备
CN104065880A (zh) * 2014-06-05 2014-09-24 惠州Tcl移动通信有限公司 一种基于眼球跟踪技术进行自动拍照的处理方法及系统
CN104618652A (zh) * 2015-02-02 2015-05-13 上海卓悠网络科技有限公司 一种优化智能终端自拍效果的方法及装置
CN105243362A (zh) * 2015-09-23 2016-01-13 努比亚技术有限公司 一种控制摄像头的装置及方法
CN105940668A (zh) * 2014-01-30 2016-09-14 夏普株式会社 电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274703A1 (en) * 2006-05-23 2007-11-29 Fujifilm Corporation Photographing apparatus and photographing method
CN102413282A (zh) * 2011-10-26 2012-04-11 惠州Tcl移动通信有限公司 一种自拍引导方法和设备
CN105940668A (zh) * 2014-01-30 2016-09-14 夏普株式会社 电子设备
CN104065880A (zh) * 2014-06-05 2014-09-24 惠州Tcl移动通信有限公司 一种基于眼球跟踪技术进行自动拍照的处理方法及系统
CN104618652A (zh) * 2015-02-02 2015-05-13 上海卓悠网络科技有限公司 一种优化智能终端自拍效果的方法及装置
CN105243362A (zh) * 2015-09-23 2016-01-13 努比亚技术有限公司 一种控制摄像头的装置及方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989672A (zh) * 2018-07-26 2018-12-11 维沃移动通信有限公司 一种拍摄方法及移动终端
CN108989672B (zh) * 2018-07-26 2022-03-22 维沃移动通信有限公司 一种拍摄方法及移动终端

Also Published As

Publication number Publication date
CN107864329A (zh) 2018-03-30

Similar Documents

Publication Publication Date Title
JP6522708B2 (ja) プレビュー画像表示方法及び装置、並びに端末
EP3010226B1 (en) Method and apparatus for obtaining photograph
EP2728853B1 (en) Method and device for controlling a camera
EP3544286B1 (en) Focusing method, device and storage medium
CN109087238B (zh) 图像处理方法和装置、电子设备以及计算机可读存储介质
US9706108B2 (en) Information processing apparatus and associated methodology for determining imaging modes
US20130063645A1 (en) Imaging apparatus, control method for the same, and recording medium
EP3945494A1 (en) Video processing method, apparatus and storage medium
US20210258483A1 (en) Shooting method, device and computer-readable storage medium
WO2018054097A1 (zh) 一种自拍校准视线的方法、装置及终端
EP3062513A1 (en) Video apparatus and photography method thereof
WO2016101524A1 (zh) 纠正被摄物体拍摄倾斜方法、装置及移动终端、存储介质
KR20220033402A (ko) 촬영 방법, 촬영 장치, 전자기기 및 저장매체
CN110969120B (zh) 图像处理方法及装置、电子设备、可读存储介质
KR101701814B1 (ko) 프레이밍 정보를 디스플레이하기 위한 방법 및 장치
CN113037999A (zh) 拍摄方法、装置、移动终端及存储介质
CN112887617A (zh) 一种拍摄方法、装置和电子设备
JP6283329B2 (ja) 拡張現実対象認識装置
EP3076660A1 (en) Method and apparatus for displaying framing information
US20120127349A1 (en) Image pickup apparatus capable of deleting video effect superimposed on moving image, method of controlling the apparatus, and moving image-recording apparatus, as well as storage medium
JP6483661B2 (ja) 撮像制御装置、撮像制御方法およびプログラム
US9264603B2 (en) Imaging apparatus and imaging method
KR20110090623A (ko) 얼굴추적이 가능한 홈네트워크 단말 및 그 단말에서의 얼굴추적방법
KR102372711B1 (ko) 영상 촬영 장치 및 이의 제어 방법
CN113315903B (zh) 图像获取方法和装置、电子设备、存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1