CN110166691A - A shooting method and terminal equipment - Google Patents
A shooting method and terminal equipment Download PDFInfo
- Publication number
- CN110166691A CN110166691A CN201910467404.4A CN201910467404A CN110166691A CN 110166691 A CN110166691 A CN 110166691A CN 201910467404 A CN201910467404 A CN 201910467404A CN 110166691 A CN110166691 A CN 110166691A
- Authority
- CN
- China
- Prior art keywords
- image
- target area
- camera
- user
- target
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种拍摄方法及终端设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a photographing method and a terminal device.
背景技术Background technique
随着计算机技术的飞速发展,以手机为主的终端设备成为人们生活和工作的必需品,随着人们对终端设备使用频率的增加,人们对终端设备的使用需求也越来越多样化。With the rapid development of computer technology, mobile phone-based terminal equipment has become a necessity for people's life and work. With the increase in the frequency of use of terminal equipment, people's demand for terminal equipment is becoming more and more diverse.
在日常生活中,用户可以利用终端设备的拍摄功能对视觉盲区(如后脑、头顶、后脖颈等区域)进行拍摄,然后根据拍摄到的图像,进行仪态的调整等。例如,用户可以使用终端设备对后脑进行拍摄,然后根据拍摄到的图片,查看发型是否凌乱。In daily life, the user can use the shooting function of the terminal device to take pictures of blind spots (such as the back of the head, the top of the head, the back of the neck, etc.), and then adjust the posture according to the captured images. For example, the user can use the terminal device to take pictures of the back of the head, and then check whether the hairstyle is messy according to the pictures taken.
但是,用户在使用终端设备对视觉盲区进行拍摄时,由于用户视线无法观察到拍摄预览界面中的图像,所以一次拍摄到的图像常常无法满足用户的实际拍摄需求。如果拍摄到的图片与用户需求不符,用户就需要调整拍摄角度,再次进行拍摄,如果拍摄到的图片仍与用户需求不符,用户就需要再次调整拍摄角度进行拍摄,直到拍摄到符合需求的图像。在这一过程中,用户需要对盲区进行多次重复的拍摄动作,同时也很难拍摄到与用户实际拍摄需求相符的图像(如用户视觉盲区的图像等)。However, when a user uses a terminal device to shoot in a blind spot, since the user cannot observe the image in the shooting preview interface, the image captured at one time often cannot meet the user's actual shooting needs. If the captured picture does not meet the user's needs, the user needs to adjust the shooting angle and shoot again. If the captured picture still does not match the user's demand, the user needs to adjust the shooting angle again until the picture that meets the demand is captured. In this process, the user needs to perform multiple repeated shooting actions on the blind area, and it is also difficult to capture images that meet the user's actual shooting needs (such as images of the user's visual blind area, etc.).
发明内容Contents of the invention
本发明实施例提供一种拍摄方法及终端设备,以解决现有技术中在对视觉盲区进行拍摄时,由于用户视线无法观察到拍摄预览界面的图像,用户需进行多次重复的拍摄操作,很难拍摄到与用户实际拍摄需求相符的图像的问题。Embodiments of the present invention provide a shooting method and a terminal device to solve the problem that in the prior art, when shooting a visual blind spot, the user needs to perform multiple repeated shooting operations because the user cannot observe the image of the shooting preview interface. It is difficult to capture images that meet the actual shooting needs of users.
为解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供的一种拍摄方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a shooting method, the method comprising:
接收用户在摄像头采集的第一图像上的第一输入;receiving a first input from the user on the first image captured by the camera;
响应于所述第一输入,标记所述第一图像的目标区域;marking a target region of the first image in response to the first input;
在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测;In the case of the image captured by the camera, feature detection is performed on the preview image captured by the camera;
在检测到与所述目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。If a target object matching the image features of the target area is detected, a shooting operation is performed to output a second image.
第二方面,本发明实施例提供了一种终端设备,包括:In a second aspect, an embodiment of the present invention provides a terminal device, including:
输入接收模块,用于接收用户在摄像头采集的第一图像上的第一输入;The input receiving module is used to receive the user's first input on the first image collected by the camera;
区域确定模块,用于响应于所述第一输入,标记所述第一图像的目标区域;an area determination module, configured to mark a target area of the first image in response to the first input;
匹配检测模块,用于在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测;The matching detection module is used to perform feature detection on the preview image collected by the camera when the camera collects the image;
图像输出模块,用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。An image output module, configured to perform a shooting operation and output a second image when a target object matching the image features of the target area is detected.
可选地,所述区域确定模块,包括:Optionally, the area determination module includes:
区域确定单元,用于将所述第一图像中包括所述第一输入的输入区域的预设范围的区域确定为目标区域;an area determining unit, configured to determine an area within a preset range including the input area of the first input in the first image as a target area;
区域标记单元,用于标记所述目标区域。an area marking unit, configured to mark the target area.
可选地,还包括:Optionally, also include:
第一输出模块,用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,输出第一提示信息,所述第一提示信息用于指示已检测到与所述目标区域的图像特征匹配的目标对象。The first output module is configured to output first prompt information when a target object matching the image features of the target area is detected, and the first prompt information is used to indicate that an object matching the target area has been detected The target object for image feature matching.
可选地,还包括:Optionally, also include:
第一比对单元,用于在检测到所述预览图像中存在与所述目标区域中的部分图像特征匹配的第一对象的情况下,将所述第一对象的图像特征和所述目标区域的图像特征进行比对,得到第一比对结果;The first comparison unit is configured to compare the image features of the first object with the target area when it is detected that there is a first object in the preview image that matches a part of the image features in the target area The image features are compared to obtain the first comparison result;
方向确定单元,用于基于所述第一比对结果,确定所述摄像头的移动方向;a direction determining unit, configured to determine the moving direction of the camera based on the first comparison result;
第一输出单元,用于基于所述移动方向,输出第二提示信息,所述第二提示信息用于指示所述摄像头的移动方向。The first output unit is configured to output second prompt information based on the moving direction, and the second prompt information is used to indicate the moving direction of the camera.
可选地,所述摄像头可转动;Optionally, the camera can be rotated;
还包括:Also includes:
方向确定单元,用于基于所述第一比对结果,确定所述摄像头的转动方向;a direction determination unit, configured to determine the rotation direction of the camera based on the first comparison result;
所述图像输出模块,包括:The image output module includes:
第一图像获取单元,用于控制所述摄像头按照所述转动方向转动,并在转动过程中拍摄至少两张目标图像,所述目标图像包括所述目标区域中的至少部分图像特征;A first image acquisition unit, configured to control the camera to rotate according to the rotation direction, and capture at least two target images during the rotation process, the target images including at least part of the image features in the target area;
图像合成单元,用于将所述至少两张目标图像进行图像合成,输出第二图像。An image synthesis unit, configured to perform image synthesis on the at least two target images, and output a second image.
可选地,还包括:Optionally, also include:
第二输出模块,用于在未检测到所述预览图像中存在与所述目标区域的图像特征匹配的图像特征的情况下,输出第三提示信息,所述第三预设提示信息用于指示所述预览图像中不包含所述目标区域。The second output module is configured to output third prompt information when no image feature matching the image feature of the target area is detected in the preview image, and the third preset prompt information is used to indicate The target area is not included in the preview image.
可选地,所述图像输出模块,包括:Optionally, the image output module includes:
放大处理单元,用于对所述目标对象所在的区域进行放大处理,使得所述目标对象不超出预览画面;an enlargement processing unit, configured to perform enlargement processing on the area where the target object is located so that the target object does not exceed the preview image;
图像输出单元,用于执行拍摄操作,输出所述第二图像。An image output unit, configured to perform a shooting operation and output the second image.
第三方面,本发明实施例提供一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述实施例提供的拍摄方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, The steps of the photographing method provided in the foregoing embodiments are realized.
第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述实施例提供的拍摄方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the photographing method provided in the foregoing embodiments are implemented.
由以上本发明实施例提供的技术方案可见,本发明实施例通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。It can be seen from the above technical solutions provided by the embodiments of the present invention that the embodiments of the present invention receive the first input from the user on the first image captured by the camera, respond to the first input, mark the target area of the first image, and mark the target area of the first image in the image captured by the camera. In this case, feature detection is performed on the preview image captured by the camera, and when a target object matching the image features of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
附图说明Description of drawings
图1为本发明实施例提供的拍摄方法的流程图之一;FIG. 1 is one of the flowcharts of the shooting method provided by the embodiment of the present invention;
图2为本发明实施例提供的目标区域的确定方法的示意图之一;Fig. 2 is one of the schematic diagrams of the method for determining the target area provided by the embodiment of the present invention;
图3为本发明实施例提供的目标区域的确定方法的示意图之二;Fig. 3 is the second schematic diagram of the method for determining the target area provided by the embodiment of the present invention;
图4为本发明实施例提供的目标区域的确定方法的示意图之三;Fig. 4 is the third schematic diagram of the method for determining the target area provided by the embodiment of the present invention;
图5为本发明实施例提供的拍摄方法的流程图之二;FIG. 5 is the second flowchart of the shooting method provided by the embodiment of the present invention;
图6为本发明实施例提供的目标区域的确定方法的示意图之四;FIG. 6 is a fourth schematic diagram of a method for determining a target area provided by an embodiment of the present invention;
图7为本发明实施例提供的目标区域的确定方法的示意图之五;Fig. 7 is the fifth schematic diagram of the method for determining the target area provided by the embodiment of the present invention;
图8为本发明实施例提供的拍摄方法的流程图之三;Fig. 8 is the third flowchart of the photographing method provided by the embodiment of the present invention;
图9为本发明实施例提供的移动方向的确定方法的示意图;FIG. 9 is a schematic diagram of a method for determining a moving direction provided by an embodiment of the present invention;
图10为本发明实施例提供的拍摄方法的流程图之四;FIG. 10 is the fourth flowchart of the photographing method provided by the embodiment of the present invention;
图11为本发明实施例提供的第二子图像的获取方法的示意图;FIG. 11 is a schematic diagram of a method for acquiring a second sub-image provided by an embodiment of the present invention;
图12为本发明实施例提供的终端设备的结构示意图之一;FIG. 12 is one of the schematic structural diagrams of a terminal device provided by an embodiment of the present invention;
图13为本发明实施例提供的终端设备的结构示意图之二。FIG. 13 is a second schematic structural diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1所示,本发明实施例提供一种拍摄方法,该方法的执行主体可以为终端设备,该终端设备可以如手机、平板电脑等移动终端,也可以为任意配置有摄像装置(如摄像头)的电子设备(如配置有摄像头的电脑等)。该方法具体可以包括以下步骤:As shown in Figure 1, the embodiment of the present invention provides a shooting method. The execution body of the method can be a terminal device, and the terminal device can be a mobile terminal such as a mobile phone or a tablet computer, or can be any camera device (such as a camera) ) electronic equipment (such as a computer equipped with a camera, etc.). The method specifically may include the following steps:
在步骤101中,接收用户在摄像头采集的第一图像上的第一输入。In step 101, a first input from a user on a first image captured by a camera is received.
其中,第一图像可以是摄像头采集到的任意图像,也可以是通过摄像头采集到的视频中的任意一帧图像,第一图像中可以包括用户的盲区的图像,第一输入可以是用户在第一图像上进行的区域选取操作。Wherein, the first image may be any image collected by the camera, or any frame of image in the video collected by the camera, the first image may include an image of the user's blind spot, and the first input may be the user's first input. A region selection operation performed on an image.
在实施中,随着计算机技术的飞速发展,以手机为主的终端设备成为人们生活和工作的必需品,随着人们对终端设备使用频率的增加,人们对终端设备的使用需求也越来越多样化。In practice, with the rapid development of computer technology, terminal equipment mainly based on mobile phones has become a necessity for people's life and work. change.
在日常生活中,用户可以利用终端设备的拍摄功能对视觉盲区(如后脑、头顶、后脖颈等区域)进行拍摄,然后根据拍摄到的图像,进行仪态的调整等。例如,用户可以使用终端设备对后脑进行拍摄,然后根据拍摄到的图片,查看发型是否凌乱。In daily life, the user can use the shooting function of the terminal device to take pictures of blind spots (such as the back of the head, the top of the head, the back of the neck, etc.), and then adjust the posture according to the captured images. For example, the user can use the terminal device to take pictures of the back of the head, and then check whether the hairstyle is messy according to the pictures taken.
但是,用户在使用终端设备对视觉盲区进行拍摄时,由于用户视线无法观察到拍摄预览界面中的图像,所以一次拍摄到的图像常常无法满足用户的实际拍摄需求。如果拍摄到的图片与用户需求不符,用户就需要调整拍摄角度,再次进行拍摄,如果拍摄到的图片仍与用户需求不符,用户就需要再次调整拍摄角度进行拍摄,直到拍摄到符合需求的图像。在这一过程中,用户需要对盲区进行多次拍摄来获取符合需求的图像,拍摄的时间成本较高,造成了拍摄资源的浪费,同时即使多次拍摄后,得到的图像也很难满足用户的实际拍摄需求。为此,本发明实施例提供一种能够解决上述问题的技术方案,具体可以包括以下内容:However, when a user uses a terminal device to shoot in a blind spot, since the user cannot observe the image in the shooting preview interface, the image captured at one time often cannot meet the user's actual shooting needs. If the captured picture does not meet the user's needs, the user needs to adjust the shooting angle and shoot again. If the captured picture still does not match the user's demand, the user needs to adjust the shooting angle again until the picture that meets the demand is captured. In this process, the user needs to take multiple shots of the blind area to obtain an image that meets the needs. The time cost of shooting is high, resulting in a waste of shooting resources. At the same time, even after multiple shots, the obtained image is difficult to satisfy the user. actual shooting needs. To this end, the embodiments of the present invention provide a technical solution capable of solving the above problems, which may specifically include the following:
用户可以打开终端设备中安装的相机应用,进入拍摄预览界面,此时用户可以选择拍摄模式,如拍摄模式可以为图像拍摄模式或视频拍摄模式,用户在进入到拍摄预览界面后,可以选择图像拍摄模式,此时用户可以将终端设备移动至盲区位置(如用户的后脑等位置)进行拍摄,拍摄到的图像即可以作为第一图像。或者,用户在选择图像拍摄模式时,也可以选择连拍模式,在对盲区进行拍摄后,用户可以在拍摄得到的多张图像中进行选择,将与拍摄需求相符度较高的图像选择作为第一图像。The user can open the camera application installed in the terminal device and enter the shooting preview interface. At this time, the user can select the shooting mode. For example, the shooting mode can be image shooting mode or video shooting mode. After entering the shooting preview interface, the user can choose image shooting mode, at this time, the user can move the terminal device to a position in the blind spot (such as the back of the user's head) to take pictures, and the captured image can be used as the first image. Or, when the user selects the image shooting mode, he can also choose the continuous shooting mode. After shooting the blind area, the user can choose among the multiple images obtained, and select the image that is more consistent with the shooting requirements as the first image. an image.
此外,用户也可以选择视频拍摄模式,在对盲区进行视频拍摄后,可以在拍摄到的视频中选择与拍摄需求相符度较高的一帧图像作为第一图像。In addition, the user can also select a video shooting mode, and after shooting a video of the blind spot, a frame of an image that is more in line with the shooting requirement can be selected as the first image in the captured video.
在确定了第一图像后,用户可以在第一图像上进行标记操作,终端设备可以接收与用户的标记操作所对应的第一输入。例如,用户可以在第一图像上划出一个封闭的区域,用户划封闭区域过程中的输入即为用户在第一图像上的第一输入,如图2所示,用户在第一图像上划出一个封闭的圆形,则该封闭的圆形即为用户在第一图像上的第一输入的结果。After the first image is determined, the user may perform a marking operation on the first image, and the terminal device may receive a first input corresponding to the user's marking operation. For example, the user can draw a closed area on the first image, and the user's input during the process of drawing the closed area is the user's first input on the first image. As shown in Figure 2, the user draws on the first image If a closed circle is drawn, the closed circle is the result of the first input by the user on the first image.
或者,用户的第一输入也可以是在第一图像上进行的点选操作对应的输入。例如,终端设备可以获取用户的点选操作对应的像素点的深度信息,然后根据该深度信息,确定与用户的点选操作所对应的第一输入。如用户可以在第一图像上,对物体A进行点选操作,终端设备获取了用户的点选操作对应的像素点的深度信息后,可以将与该像素点的深度信息相同(或相近)的像素点所在的区域对应的图像信息确定为第一输入的结果,即物体A的图像信息可以作为用户的在第一图像上的第一输入的结果。Alternatively, the user's first input may also be an input corresponding to a click operation performed on the first image. For example, the terminal device may acquire depth information of a pixel point corresponding to the user's point-and-click operation, and then determine the first input corresponding to the user's point-and-click operation according to the depth information. For example, the user can perform a click operation on object A on the first image, and after the terminal device obtains the depth information of the pixel corresponding to the user's click operation, it can use the same (or similar) depth information as the pixel The image information corresponding to the region where the pixels are located is determined as a result of the first input, that is, the image information of the object A may be determined as a result of the user's first input on the first image.
又或者,用户在第一图像上可以进行多个标记操作,终端设备可以根据用户的标记操作,分别确定对应的第一输入。例如,用户可以在第一图像上进行多个点选操作,终端设备可以对用户的点选操作进行检测,如果用户的点选操作对应的像素点的深度信息相同,则可以将用户点选操作对应的像素点的深度信息确认为第一输入的结果。或者,终端设备可以对用户的点选操作进行范围检测,即检测用户的点选操作是否可以构成一个封闭的区域。此外,用户还可以在第一图像上划出多个封闭的区域,这多个封闭区域对应的图像信息即为用户在第一图像上的第一输入的结果。Alternatively, the user may perform multiple marking operations on the first image, and the terminal device may respectively determine corresponding first inputs according to the user's marking operations. For example, the user can perform multiple click operations on the first image, and the terminal device can detect the user's click operations, and if the depth information of the pixels corresponding to the user's click operations is the same, the user's click operations can be The depth information of the corresponding pixel is confirmed as a result of the first input. Alternatively, the terminal device may perform range detection on the user's point-and-click operation, that is, detect whether the user's point-and-click operation can form a closed area. In addition, the user may draw multiple closed areas on the first image, and the image information corresponding to the multiple closed areas is the result of the user's first input on the first image.
上述对用户在第一图像上的第一输入的确定方法是一种可选的、可实现的方法,除此之外还可以有多种确定方法,可以根据实际应用场景的不同而有所不同,本发明实施例对此不做具体限定。The above method of determining the user's first input on the first image is an optional and achievable method. In addition, there may be multiple determination methods, which may vary according to different actual application scenarios , which is not specifically limited in this embodiment of the present invention.
在步骤102中,响应于第一输入,标记第一图像的目标区域。In step 102, a target region of the first image is marked in response to the first input.
在实施中,在获取到用户在第一图像上的第一输入后,可以基于预设的选取规则,确定用户关注的目标区域。例如,如图3所示,用户可以在物体A上进行点选操作,该点选操作即为用户在第一图像上的第一输入,根据该第一输入,可以确定目标区域。例如,目标区域可以为物体A所在的区域。或者,可以根据物体A的深度信息,确定与该第一输入对应的目标区域,如物体A的深度信息为13,预设的选取规则可以为:在第一输入的输入区域的外围区域中,查找与第一输入的输入区域的图像深度信息相近的区域,可以将查找到的区域以及第一输入的输入区域作为目标区域。例如,在图3中,与用户的物体A上的第一输入所对应的目标区域可以包括物体A所在区域在内的,与物体A所在区域的图像深度信息(如物体A所在区域的图像深度信息可以为13)差值在±3范围内的区域(即深度信息在10-16的区域),最终确定的目标区域可以为图3中的目标区域1。In an implementation, after the user's first input on the first image is acquired, the target area that the user pays attention to can be determined based on a preset selection rule. For example, as shown in FIG. 3 , the user may perform a click operation on the object A, and the click operation is the user's first input on the first image, and the target area may be determined according to the first input. For example, the target area may be the area where the object A is located. Alternatively, the target area corresponding to the first input can be determined according to the depth information of the object A. For example, the depth information of the object A is 13, and the preset selection rule can be: in the peripheral area of the input area of the first input, Search for an area that is similar to the image depth information of the first input area, and use the found area and the first input area as the target area. For example, in FIG. 3 , the target area corresponding to the first input on the user's object A may include the area where the object A is located, and the image depth information of the area where the object A is located (such as the image depth of the area where the object A is located). The information may be 13) the area where the difference is within the range of ±3 (that is, the area where the depth information is 10-16), and the finally determined target area may be the target area 1 in FIG. 3 .
上述目标区域的确定方法是一种可选地、可实现的方法,除此之外还可以有多种目标区域的确定方法,可以根据实际应用场景的不同而有所不同,本发明实施例对此不作具体限定。The method for determining the target area described above is an optional and achievable method. In addition, there may be multiple methods for determining the target area, which may vary according to different actual application scenarios. This is not specifically limited.
此外,如果用户在第一图像上进行了多个第一输入,则可以根据上述多个第一输入,分别确定对应的目标区域。或者,也可以对上述多个第一输入所对应的输入区域进行距离检测,如果测量到多个第一输入对应的输入区域之间的距离小于预设距离阈值,则可以将上述多个第一输入对应的输入区域进行合并,以得到目标区域。例如,如图4所示,在第一图像上存在2个第一输入,上述两个第一输入所对应的区域分别为区域1和区域2,可以获取区域1与区域2之间的距离(即s1),如果上述两个区域之间的距离(即s1)小于预设距离阈值,则可以将区域1与区域2进行合并,并获取区域1和区域2内像素点的平均深度信息,然后基于该平均深度信息,确定目标区域。例如,假设区域1和区域2的平均深度信息为13,则可以在区域1和区域2外围区域中,检测深度信息在10到16的区域,并将检测到的深度信息在10到16的区域与区域1和区域2进行合并,合并后的区域即为目标区域,如目标区域可以为图4中的目标区域2。In addition, if the user performs multiple first inputs on the first image, corresponding target areas may be respectively determined according to the multiple first inputs. Alternatively, distance detection may also be performed on the input areas corresponding to the above-mentioned multiple first inputs, and if the measured distance between the input areas corresponding to the multiple first inputs is less than a preset distance threshold, the above-mentioned multiple first inputs may be Input the corresponding input areas to merge to obtain the target area. For example, as shown in FIG. 4 , there are two first inputs on the first image, and the areas corresponding to the two first inputs are area 1 and area 2 respectively, and the distance between area 1 and area 2 can be obtained ( That is, s1), if the distance between the above two areas (ie, s1) is less than the preset distance threshold, you can merge area 1 and area 2, and obtain the average depth information of the pixels in area 1 and area 2, and then Based on this average depth information, a target area is determined. For example, assuming that the average depth information of area 1 and area 2 is 13, it is possible to detect areas with depth information ranging from 10 to 16 in the peripheral areas of area 1 and area 2, and store the detected depth information in areas ranging from 10 to 16 Merge with area 1 and area 2, and the combined area is the target area, for example, the target area may be target area 2 in FIG. 4 .
基于用户在第一图像上的第一输入确定目标区域,可以较为准确的获取到用户实际拍摄需求相符的图像,提高了图像拍摄的准确度。Determining the target area based on the user's first input on the first image can more accurately acquire an image that meets the user's actual shooting requirements, improving the accuracy of image shooting.
在步骤103中,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测。In step 103, in the case of the image captured by the camera, feature detection is performed on the preview image captured by the camera.
在实施中,可以基于图像识别算法,获取目标区域对应的图像特征,当接收到用户的拍摄启动指令时,可以基于提取出的图像特征和预设的扫描频率,对摄像头采集的每一帧预览图像进行匹配检测。In implementation, the image features corresponding to the target area can be obtained based on the image recognition algorithm, and when the user's shooting start instruction is received, each frame captured by the camera can be previewed based on the extracted image features and the preset scanning frequency images for matching detection.
在进行匹配检测的过程中,可以根据图像特征的匹配度,发送对应的提示信息。例如,在匹配检测的过程中,在第n秒检测到的拍摄预览界面中预览图像与目标区域的图像特征的匹配度为50%,而在第n+1秒检测到的拍摄预览界面中预览图像与目标区域的图像特征的匹配度为40%,匹配度变小,则表明终端设备的移动方向与目标区域发生偏离,此时可以发送对应的提示信息1,以提醒用户终端设备的移动方向与目标区域发生偏离。此外,如果检测到拍摄预览界面中预览图像与目标区域的图像特征的匹配度大于预设匹配度阈值时,则可以发送对应的提示信息2,以提醒用户终端设备已检测到目标区域。During the matching detection process, corresponding prompt information may be sent according to the matching degree of the image features. For example, in the process of matching detection, the matching degree of the preview image in the shooting preview interface detected at the nth second and the image feature of the target area is 50%, while the preview image in the shooting preview interface detected at the n+1 second The matching degree between the image and the image features of the target area is 40%. If the matching degree becomes smaller, it indicates that the moving direction of the terminal device deviates from the target area. At this time, the corresponding prompt message 1 can be sent to remind the user of the moving direction of the terminal device Deviated from the target area. In addition, if it is detected that the matching degree between the preview image in the shooting preview interface and the image features of the target area is greater than the preset matching degree threshold, corresponding prompt information 2 may be sent to remind the user that the terminal device has detected the target area.
在步骤104中,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。In step 104, if a target object matching the image features of the target area is detected, a shooting operation is performed to output a second image.
在实施中,在进行图像特征匹配检测时,如果检测到摄像头采集的预览图像中,存在与目标区域的图像特征相匹配的目标对象,则可以执行拍摄操作,并输出第二图像,其中,第二图像包括目标对象,目标对象的图像特征与目标区域的图像特征可以完全相同,或者目标对象的图像特征与目标区域的图像特征的匹配度也可以大于预设匹配阈值等。In implementation, when performing image feature matching detection, if it is detected that there is a target object that matches the image feature of the target area in the preview image collected by the camera, the shooting operation can be performed and the second image is output, wherein the first The second image includes the target object, and the image features of the target object and the image features of the target area may be completely the same, or the matching degree of the image features of the target object and the image features of the target area may also be greater than a preset matching threshold.
此外,在进行匹配检测前,可以接收用户对预设匹配阈值的选择操作。例如,终端设备可以为用户提供预设匹配阈值的输入框,可以接收用户自定义的预设匹配阈值(如接收到的用户自定义的预设匹配阈值可以为80%)。终端设备可以根据用户自定义的预设匹配阈值,基于目标区域的图像特征对摄像头采集的预览图像中是否存在与目标区域的图像特征相匹配的目标对象进行匹配检测。在检测过程中,如果检测到预览图像中,存在第一目标对象的图像特征与目标区域的图像特征之间的匹配度大于或等于80%,则可以执行拍摄操作,并得到对应的第一子目标图像。然后可以在继续进行检测,如果再次检测到预览图像中存在第二目标对象的图像特征与目标区域的图像特征的匹配度大于或等于80%,则可以再次执行拍摄操作,并得到对应的第二子目标图像。这样,在用户启动拍摄后,终端设备可以在检测过程中,拍摄到多个满足预设匹配阈值的子目标图像(如上述第一子目标图像和第二子目标图像)。在拍摄结束后,终端设备可以将子目标图像以缩略图的形式显示给用户,用户可以选择与拍摄需求最相符的子目标图像作为第二图像,如上所述,第二图像应包括目标对象。In addition, before the matching detection is performed, a user's selection operation on a preset matching threshold may be received. For example, the terminal device may provide the user with an input box for a preset matching threshold, and may receive a user-defined preset matching threshold (for example, the received user-defined preset matching threshold may be 80%). The terminal device can perform matching detection on whether there is a target object that matches the image features of the target area in the preview image collected by the camera based on the image features of the target area according to the user-defined preset matching threshold. During the detection process, if it is detected in the preview image that the matching degree between the image features of the first target object and the image features of the target area is greater than or equal to 80%, the shooting operation can be performed, and the corresponding first sub- target image. Then the detection can be continued, and if it is detected again that there is a matching degree of the image feature of the second target object in the preview image and the image feature of the target area is greater than or equal to 80%, the shooting operation can be performed again, and the corresponding second target object can be obtained. subtarget image. In this way, after the user starts shooting, the terminal device can capture multiple sub-target images (such as the first sub-target image and the second sub-target image) that meet the preset matching threshold during the detection process. After the shooting is finished, the terminal device can display the sub-target image to the user in the form of a thumbnail, and the user can select the sub-target image that best matches the shooting requirement as the second image. As mentioned above, the second image should include the target object.
或者,终端设备也可以对获取到的多个子目标图像进行合成处理,并将合成处理后得到的图像作为第二图像(包括目标对象),显示给用户。Alternatively, the terminal device may also perform synthesis processing on the acquired multiple sub-target images, and display the image obtained after the synthesis processing as a second image (including the target object) to the user.
本发明实施例提供一种拍摄方法,通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。An embodiment of the present invention provides a shooting method, by receiving the user's first input on the first image captured by the camera, responding to the first input, marking the target area of the first image, and in the case of the image captured by the camera, the camera collects Feature detection is performed on the preview image, and when a target object matching the image feature of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
下面对上述步骤101~步骤104的具体处理过程分别进行详细说明,具体可以参见下述相关内容:The specific processing procedures of the above steps 101 to 104 will be described in detail below, for details, please refer to the following related content:
上述步骤102的具体处理方式可以多种多样,在实际应用场景中,可能会存在用户的第一输入对应的输入区域较小,对应的图像特征较少,从而无法对摄像头采集的预览图像进行特征检测的情况,如图5所示,本实施例以下提供一种可选的处理方式,基于用户在第一图像上的第一输入和预设范围,确定目标区域,具体可以包括以下步骤201~步骤202。The specific processing methods of the above step 102 can be varied. In actual application scenarios, there may be a small input area corresponding to the user's first input, and the corresponding image features are few, so that the preview image collected by the camera cannot be characterized. In case of detection, as shown in FIG. 5 , this embodiment provides an optional processing method below, which determines the target area based on the user’s first input on the first image and the preset range, which may specifically include the following steps 201- Step 202.
在步骤201中,将第一图像中包括第一输入的输入区域的预设范围的区域确定为目标区域。In step 201, an area in the first image including a preset range of the input area of the first input is determined as a target area.
在实施中,当获取到用户在第一图像上的第一输入后,可以将包括第一输入的输入区域在内的,以及基于用户的第一输入的输入区域和预设范围确定的区域,确定目标区域。例如,如图6所示,用户可以在第一图像上标记自己关注的区域,如用户在第一图像上可以用圆形将关注的区域标记出来,此时用户在第一图像上的第一输入对应的输入区域可以是图6中以r为半径的圆形封闭区域。可以通过预定的图像识别机制,基于预设范围和该输入区域,确定目标区域,例如,提取该圆形标记的输入区域和该输入区域半径扩展预设倍数的区域作为目标区域,并可以提取目标区域的图像特征,并将提取的图像特征保存,以供后续进行精准定位等,其中,目标区域具体可以如图6所示,其中目标区域为以R为半径的圆形封闭区域,其中,R可以是上述r的预设倍数,例如R可以为r的1.5倍,或者R可以为r的3倍,R与r的关系可以根据预设范围确定。In implementation, after the user's first input on the first image is obtained, the input area including the first input, and the area determined based on the user's first input area and the preset range may be Determine the target area. For example, as shown in Figure 6, the user can mark the area of concern on the first image. For example, the user can use a circle to mark the area of interest on the first image. The input area corresponding to the input may be a circular enclosed area with radius r as shown in FIG. 6 . The target area can be determined based on the preset range and the input area through a predetermined image recognition mechanism, for example, the input area of the circular mark and the area whose radius is extended by a preset multiple of the input area are extracted as the target area, and the target area can be extracted The image features of the area, and save the extracted image features for subsequent precise positioning, etc., wherein the target area can be specifically shown in Figure 6, wherein the target area is a circular closed area with a radius of R, where R It may be a preset multiple of the above r, for example, R may be 1.5 times r, or R may be 3 times r, and the relationship between R and r may be determined according to a preset range.
此外,如果用户的第一输入对应的输入区域为不规则的区域(如不规则多边形所包含的区域),也可以以预设距离对第一输入对应的输入区域进行扩展,并将扩展区域以及第一输入对应的输入区域作为目标区域。如图7所示,用户的第一输入对应的输入区域可以为区域1,则基于预设距离s2,可以确定与区域1所对应的目标区域为包括区域1在内的区域2,其中,预设距离s2可以为任意距离,如s2可以为1cm,或者1.5cm等。In addition, if the input area corresponding to the user's first input is an irregular area (such as an area contained by an irregular polygon), the input area corresponding to the first input can also be extended by a preset distance, and the expanded area and The input area corresponding to the first input is used as the target area. As shown in FIG. 7, the input area corresponding to the user's first input may be area 1, and based on the preset distance s2, it may be determined that the target area corresponding to area 1 is area 2 including area 1, wherein the preset It is assumed that the distance s2 can be any distance, for example, s2 can be 1 cm, or 1.5 cm, etc.
终端设备在确定了目标区域后,可以接收用户对目标区域的范围调整操作,其中,范围调整操作可以包括放大操作、缩小操作等。例如,用户可以整体缩小目标区域所包括的范围,或者局部放大目标区域所包括的范围等。After determining the target area, the terminal device may receive a user's range adjustment operation on the target area, where the range adjustment operation may include a zoom-in operation, a zoom-out operation, and the like. For example, the user may narrow down the scope included in the target area as a whole, or partially enlarge the scope included in the target area.
此外,终端设备还可以为用户提供取消操作或者重新操作等。In addition, the terminal device can also provide the user with cancellation or re-operation.
基于预设范围和第一输入确定目标区域,可以提高匹配检测的准确度,同时,由于扩大了目标区域的范围,所以可以提高匹配检测的效率,节约图像拍摄的时间成本。Determining the target area based on the preset range and the first input can improve the accuracy of matching detection. At the same time, because the scope of the target area is expanded, the efficiency of matching detection can be improved and the time and cost of image shooting can be saved.
在步骤202中,标记目标区域。In step 202, the target area is marked.
在实际应用场景中,可能会存在,当终端设备检测到与目标区域的图像特征匹配的目标对象时,用户移动终端设备而导致拍摄到的第二图像中包含的目标对象图像质量较差,或不能及时拍摄到与用户拍摄需求相符的第二图像的情况,针对此情况,在执行步骤103之后,如图5所示,还可以执行以下步骤401。In an actual application scenario, it may happen that when the terminal device detects a target object that matches the image features of the target area, the user moves the terminal device, resulting in poor image quality of the target object included in the captured second image, or For the situation that the second image that meets the user's shooting requirements cannot be captured in time, after step 103 is performed, as shown in FIG. 5 , the following step 401 may also be performed.
在步骤401中,在检测到与目标区域的图像特征匹配的目标对象的情况下,输出第一提示信息。In step 401, if a target object matching the image features of the target area is detected, first prompt information is output.
其中,第一提示信息可以是预先设定的,用于指示已检测到与目标区域的图像特征匹配的目标对象。Wherein, the first prompt information may be preset, and is used to indicate that a target object matching the image feature of the target area has been detected.
在实施中,如果检测到采集的预览图像中,存在与目标区域的图像特征相匹配的目标对象,则可以输出第一提示信息。其中,第一提示信息可以是语音信息(如语音信息可以为“已到达目标区域,请开始拍摄”),也可以是预定频率的振动信息(如振动信息可以为振动特效a,其中,振动特效a可以是以第一预设振动频率进行振动的特效,如3秒钟内连续振动3次的振动特效)。In implementation, if it is detected that there is a target object matching the image features of the target area in the collected preview image, first prompt information may be output. Wherein, the first prompt information can be voice information (such as voice information can be "have reached the target area, please start shooting"), and can also be vibration information of a predetermined frequency (such as vibration information can be vibration special effect a, wherein the vibration special effect a may be a special effect that vibrates at the first preset vibration frequency, such as a special vibration effect that vibrates 3 times within 3 seconds).
在执行拍摄操作之前,输出第一提示信息,可以提示用户终端设备已采集到包含于目标区域的图像特征相匹配的目标对象,用户在接收到第一提示信息后,可以固定终端设备以进行后续拍摄,以得到较好的拍摄效果。Before performing the shooting operation, outputting the first prompt information can remind the user that the terminal device has collected a target object that matches the image features included in the target area. After receiving the first prompt information, the user can fix the terminal device for subsequent Shooting, in order to get a better shooting effect.
在执行上述步骤103后,如果未检测到与目标区域相匹配的预览图像,如图5所示,可以执行以下步骤501。After performing the above step 103, if no preview image matching the target area is detected, as shown in FIG. 5, the following step 501 may be performed.
在步骤501中,在未检测到预览图像中存在与目标区域的图像特征匹配的图像特征的情况下,输出第三提示信息。In step 501, if no image feature matching the image feature of the target area is detected in the preview image, third prompt information is output.
其中,第三提示信息可以用于指示预览图像中不包含目标区域。Wherein, the third prompt information may be used to indicate that the preview image does not contain the target area.
在实施中,第三提示信息可以是与第一提示信息不同的提示信息,如第一提示信息如果为振动特效a(即3秒钟内连续振动3次的振动特效),则第三提示信息可以为振动特效b(即隔两秒振动一次的振动特效)。In practice, the third prompt information can be prompt information different from the first prompt information. For example, if the first prompt information is vibration special effect a (that is, a vibration special effect that vibrates continuously 3 times within 3 seconds), then the third prompt information It may be a special vibration effect b (that is, a special vibration effect that vibrates once every two seconds).
通过第三预设提示信息,可以提示用户终端设备的移动方向有误,可以节约用户的拍摄时间,提高图像拍摄效率。Through the third preset prompt information, the user can be prompted that the moving direction of the terminal device is wrong, which can save the user's shooting time and improve the image shooting efficiency.
在实际应用场景中,由于用户视线无法观察到预览图像,用户可能无法找到与目标区域的图像特征相匹配的目标对象,或者,为寻找目标对象,用户需要多次移动终端设备,为解决上述问题,在执行步骤103之后,如图8所示,还可以执行步骤601~步骤603。In actual application scenarios, since the user cannot observe the preview image, the user may not be able to find the target object that matches the image features of the target area, or, in order to find the target object, the user needs to move the terminal device multiple times. To solve the above problems , after step 103 is executed, as shown in FIG. 8 , steps 601 to 603 may also be executed.
在步骤601中,在检测到预览图像中存在与目标区域中的部分图像特征匹配的第一对象的情况下,将第一对象的图像特征和目标区域的图像特征进行比对,得到第一比对结果。In step 601, when it is detected that there is a first object in the preview image that matches part of the image features in the target area, the image features of the first object are compared with the image features of the target area to obtain the first ratio to the result.
在实施中,基于目标区域的图像特征,对采集到的预览图像进行检测,如果预览图像中存在与目标区域的图像特征的部分图像特征相匹配的第一对象,则可以将第一对象的图像特征与目标区域的图像特征进行比对,得到第一比对结果。In implementation, based on the image features of the target area, the collected preview image is detected, and if there is a first object that matches some of the image features of the target area in the preview image, the image of the first object can be The feature is compared with the image feature of the target area to obtain a first comparison result.
例如,如图9所示,目标区域可以为以R为半径的圆形区域,当前摄像头采集到的第一对象的图像特征与目标区域的图像特征部分匹配,此时可以将第一对象的图像特征与目标区域的图像特征进行比对。For example, as shown in Figure 9, the target area can be a circular area with R as the radius, and the image features of the first object captured by the current camera partially match the image features of the target area. At this time, the image of the first object can be The features are compared with the image features of the target area.
在步骤602中,基于第一比对结果,确定摄像头的移动方向。In step 602, the moving direction of the camera is determined based on the first comparison result.
在实施中,可以基于图像特征,将目标区域与第一对象进行叠加,在将目标区域中与第一对象重合的部分去除,根据剩下的区域确定摄像头的移动方向。如图9所示,可以将第一对象与目标区域进行叠加,目标区域中去除第一对象后,剩下的区域为区域3,此时可以确定摄像头的移动方向即为区域3所在的方向,即摄像头的移动方向为终端设备的右侧方向。In implementation, the target area can be superimposed on the first object based on the image features, the part of the target area that overlaps with the first object can be removed, and the moving direction of the camera can be determined according to the remaining area. As shown in Figure 9, the first object can be superimposed on the target area. After the first object is removed from the target area, the remaining area is area 3. At this time, it can be determined that the moving direction of the camera is the direction of area 3. That is, the moving direction of the camera is the right direction of the terminal device.
基于第一对象和目标区域的图像特征的比对结果确定摄像头的移动方向,可以提高拍摄效率,避免用户为寻找目标拍摄区域而多次移动终端设备。The moving direction of the camera is determined based on the comparison result of the image features of the first object and the target area, which can improve the shooting efficiency and prevent the user from moving the terminal device multiple times in order to find the target shooting area.
在步骤603中,基于移动方向,输出第二提示信息,第二提示信息用于指示所述摄像头的移动方向。In step 603, output second prompt information based on the moving direction, where the second prompt information is used to indicate the moving direction of the camera.
在实施中,可以根据移动方向,确定要输出的对应第二提示信息,其中,第二提示信息可以为语音信息或振动信息,且与第一提示信息、第三提示信息不同。例如,第二提示信息可以为语音信息,假设终端设备的移动方向为右侧,则语音信息可以为“请向右侧移动终端设备”。或者,第二提示信息也可以为振动信息,对于不同的移动方向,可以设置不同的振动信息。例如,如果移动方向为右侧,则可以输出振动特效b,如果移动方向为左侧,则可以输出振动特效c等,其中,振动特效b可以以第二振动频率进行振动的特效,如3秒钟内振动1次的振动特效,振动特效c可以以第三振动频率进行振动的特效,如3秒钟内连续振动2次的振动特效。又或者,为避免相对位置的不同而引起的理解歧义问题,可以基于不同的移动方向,输出对应位置的振动信息。例如,如图9所示,移动方向为终端设备的右侧,此时可以触发终端设备右侧配置的振动装置,输出振动信息,以提示用户向该方向移动终端设备(即移动摄像头)。In implementation, the corresponding second prompt information to be output may be determined according to the moving direction, wherein the second prompt information may be voice information or vibration information, and is different from the first prompt information and the third prompt information. For example, the second prompt information may be voice information. Assuming that the moving direction of the terminal device is to the right, the voice message may be "please move the terminal device to the right". Alternatively, the second prompt information may also be vibration information, and different vibration information may be set for different moving directions. For example, if the moving direction is on the right side, the special vibration effect b can be output, and if the moving direction is on the left side, the special vibration effect c can be output, etc., wherein the special vibration effect b can vibrate at the second vibration frequency, such as 3 seconds The vibration special effect of vibrating once within the clock, the special vibration effect of vibrating at the third vibration frequency, such as the special vibration effect of continuous vibration twice within 3 seconds. Alternatively, in order to avoid ambiguity in understanding caused by differences in relative positions, vibration information corresponding to positions may be output based on different moving directions. For example, as shown in FIG. 9, the moving direction is the right side of the terminal device. At this time, the vibration device configured on the right side of the terminal device can be triggered to output vibration information to prompt the user to move the terminal device (ie, move the camera) in this direction.
上述第二提示信息的内容和方式的确定方法为一种可选地、可实现的方法,除此之外还可以有多种确定方法,本发明实施例对此不作具体限定,可以根据实际应用场景的不同而有所不同。The method for determining the content and method of the above-mentioned second prompt information is an optional and achievable method. In addition, there may be multiple determination methods. This embodiment of the present invention does not specifically limit this, and it can It varies from scene to scene.
基于移动方向输出对应的第二提示信息,以提示用户具体的摄像头的移动方向,可以节约拍摄的时间成本。Outputting the corresponding second prompt information based on the moving direction to remind the user of the specific moving direction of the camera can save time and cost for shooting.
此外,上述步骤104还可以有多种处理方式,而在实际应用中,可能会经常遇到终端设备仅能够在有限的范围内移动的情况,针对此情况下,本实施例中的终端设备还可以配置具有可自由旋转的摄像头,如图8所示,通过可自由旋转的摄像头,可以寻找一个空间方位或空间区域使得目标区域呈现在拍摄预览界面中,以使得终端设备在有限的移动范围内完成需求的各种图像的拍摄,基于此可以在执行完步骤601之后,继续执行以下步骤701~步骤703。In addition, the above step 104 can also be processed in a variety of ways, and in practical applications, it may often be encountered that the terminal device can only move within a limited range. In this case, the terminal device in this embodiment also A freely rotatable camera can be configured, as shown in Figure 8, through a freely rotatable camera, a spatial orientation or spatial region can be found so that the target area is displayed in the shooting preview interface, so that the terminal device can move within a limited range The shooting of various required images is completed. Based on this, after step 601 is performed, the following steps 701 to 703 can be continued.
在步骤701中,基于第一比对结果,确定摄像头的转动方向。In step 701, the rotation direction of the camera is determined based on the first comparison result.
在步骤702中,控制摄像头按照转动方向转动,并在转动过程中拍摄至少两张目标图像,目标图像包括目标区域中的至少部分图像特征。In step 702, the camera is controlled to rotate according to the rotation direction, and at least two target images are captured during the rotation process, the target images include at least part of image features in the target area.
在实施中,在摄像头进行转动之前,可以存储此时的预览图像,作为目标图像,然后在控制摄像头按照转动方向进行转动,以拍摄目标图像。例如,如图9所示,在转动摄像头之前,可以存储此时的预览图像,然后控制摄像头向终端设备的右侧进行转动,并在转动的过程中,拍摄目标图像,直到摄像头采集的预览图像中,不存在与目标区域的图像特征相匹配的图像特征。In implementation, before the camera rotates, the preview image at this time can be stored as the target image, and then the camera is controlled to rotate according to the rotation direction to capture the target image. For example, as shown in Figure 9, before turning the camera, the preview image at this time can be stored, and then the camera is controlled to turn to the right side of the terminal device, and during the turning process, the target image is captured until the preview image collected by the camera In , there is no image feature that matches the image feature of the target region.
在步骤703中,将至少两张目标图像进行图像合成,输出第二图像。In step 703, image synthesis is performed on at least two target images, and a second image is output.
通过对至少两张目标图像的合成处理,以得到第二图像,可以避免由于摄像头在转动过程中进行拍摄而存在的拍摄效果较差的问题。By synthesizing at least two target images to obtain the second image, the problem of poor shooting effect due to the camera shooting during rotation can be avoided.
在终端设备的移动范围有限的情况下,可以通过移动或转动摄像头进行目标区域的查找和定位,以得到与用户的拍摄需求相符的第二图像,使得在用户移动手机的范围有限的情况下,也能方便快捷的定位到目标区域,得到用户需要的图像内容。When the mobile range of the terminal device is limited, the target area can be searched and positioned by moving or rotating the camera to obtain a second image that meets the user's shooting needs, so that when the range of the user's mobile phone is limited, It can also locate the target area conveniently and quickly, and obtain the image content required by the user.
上述步骤104的具体处理方式可以多种多样,在实际应用中,可能会遇到用户选择的目标对象过小,无法拍摄到较为清晰的包含目标对象的第二图像的情况,针对此情况下,如图10所示,本实施例中的终端设备还可以对目标对象所在的区域进行放大处理,以得到较为清晰的包含目标对象的第二图像,具体可以包括以下步骤801~步骤802。The specific processing methods of the above step 104 can be varied. In practical applications, it may be encountered that the target object selected by the user is too small to capture a relatively clear second image containing the target object. In this case, As shown in FIG. 10 , the terminal device in this embodiment may also zoom in on the area where the target object is located to obtain a clearer second image containing the target object, which may specifically include the following steps 801 to 802 .
在步骤801中,在检测到与目标区域的图像特征匹配的目标对象的情况下,对目标对象所在的区域进行放大处理,使得目标对象不超出预览画面。In step 801, when a target object matching the image features of the target area is detected, the area where the target object is located is enlarged so that the target object does not exceed the preview screen.
在步骤802中,执行拍摄操作,输出第二图像。In step 802, a shooting operation is performed to output a second image.
在目标对象性较小或者用户对图像清晰度要求较高的情况下,用户移动终端设备的距离可能不是最合适的,或者,用户无法或不容易将终端设备移动到最佳的拍摄位置,此时通过对目标对象所在的区域进行放大处理,可以得到与用户的实际拍摄需求相符且清晰度较高的第二图像。In the case that the target object is small or the user has high requirements for image clarity, the distance for the user to move the terminal device may not be the most suitable, or the user cannot or is not easy to move the terminal device to the best shooting position. At the same time, by zooming in on the area where the target object is located, a second image that meets the actual shooting needs of the user and has high definition can be obtained.
此外,在放大处理后的目标对象超出预览画面的情况下,将放大处理后的第一目标图像的图像特征与目标区域的图像特征进行比对,得到第二比对结果。In addition, when the zoomed-in target object exceeds the preview screen, the image features of the zoomed-in first target image are compared with the image features of the target area to obtain a second comparison result.
在实施中,如图11所示,可以将第一目标图像的图像特征与目标区域的图像特征进行比对,得到的第二比对结果可以为:第一目标图像中不包含目标区域的区域a和区域b的图像特征。In implementation, as shown in Figure 11, the image features of the first target image can be compared with the image features of the target area, and the obtained second comparison result can be: the area that does not contain the target area in the first target image Image features of a and region b.
基于上述第二比对结果,终端设备还可以执行下述处理,参见下述步骤一~步骤三。Based on the above second comparison result, the terminal device may also perform the following processing, see the following steps 1 to 3.
步骤一,基于第二比对结果,确定摄像头的移动方向。Step 1, based on the second comparison result, determine the moving direction of the camera.
在实施中,如图11所示,此时可以确定摄像头的移动方向分别为区域a所在的终端设备的右侧,以及区域b所在的终端设备的下侧。In an implementation, as shown in FIG. 11 , it can be determined that the moving direction of the camera is the right side of the terminal device where area a is located, and the lower side of the terminal device where area b is located.
步骤二,控制摄像头按照移动方向,并在移动过程中拍摄第二子图像。Step 2, controlling the camera according to the moving direction, and taking a second sub-image during the moving process.
在实施中,如图11所示,可以将摄像头移动至区域a所在的位置,并获取区域a对应的第二子图像1,然后将摄像头移动至区域b所在的位置,并获取区域b对应的第二子图像2。In implementation, as shown in FIG. 11 , the camera can be moved to the location of area a, and the second sub-image 1 corresponding to area a can be obtained, and then the camera can be moved to the location of area b, and the second sub-image 1 corresponding to area b can be obtained. Second sub-image 2.
步骤三,将第二子图像与第一目标图像进行合成,得到并输出第二图像。Step 3, combining the second sub-image with the first target image to obtain and output the second image.
通过移动摄像头获取第二子图像,并将第二子图像与第一目标图像进行合成处理,得到第二图像,可以在保证目标图像清晰度的同时,满足用户拍摄需要。The second sub-image is obtained by moving the camera, and the second sub-image is synthesized with the first target image to obtain the second image, which can meet the user's shooting needs while ensuring the clarity of the target image.
本发明实施例提供一种拍摄方法,通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。An embodiment of the present invention provides a shooting method, by receiving the user's first input on the first image captured by the camera, responding to the first input, marking the target area of the first image, and in the case of the image captured by the camera, the camera collects Feature detection is performed on the preview image, and when a target object matching the image feature of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
以上为本发明实施例提供的拍摄方法,基于同样的思路,本发明实施例还提供一种终端设备,如图12所示。The above is the photographing method provided by the embodiment of the present invention. Based on the same idea, the embodiment of the present invention also provides a terminal device, as shown in FIG. 12 .
该终端设备包括:输入接收模块1201、区域确定模块1202,匹配检测模块1203和图像输出模块1204,其中:The terminal device includes: an input receiving module 1201, an area determination module 1202, a matching detection module 1203 and an image output module 1204, wherein:
输入接收模块1201,用于接收用户在摄像头采集的第一图像上的第一输入;The input receiving module 1201 is configured to receive the user's first input on the first image collected by the camera;
区域确定模块1202,用于响应于所述第一输入,标记所述第一图像的目标区域;an area determining module 1202, configured to mark a target area of the first image in response to the first input;
匹配检测模块1203,用于在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测;The matching detection module 1203 is used to perform feature detection on the preview image collected by the camera when the camera collects the image;
图像输出模块1204,用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。The image output module 1204 is configured to perform a shooting operation and output a second image when a target object matching the image features of the target area is detected.
在本发明实施例中,区域确定模块1202,包括:In the embodiment of the present invention, the area determining module 1202 includes:
区域确定单元,用于将所述第一图像中包括所述第一输入的输入区域的预设范围的区域确定为目标区域;an area determining unit, configured to determine an area within a preset range including the input area of the first input in the first image as a target area;
区域标记单元,用于标记所述目标区域。an area marking unit, configured to mark the target area.
在本发明实施例中,还包括:In an embodiment of the present invention, it also includes:
第一输出模块,用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,输出第一提示信息,所述第一提示信息用于指示已检测到与所述目标区域的图像特征匹配的目标对象。The first output module is configured to output first prompt information when a target object matching the image features of the target area is detected, and the first prompt information is used to indicate that an object matching the target area has been detected The target object for image feature matching.
在本发明实施例中,还包括:In an embodiment of the present invention, it also includes:
第一比对单元,用于在检测到所述预览图像中存在与所述目标区域中的部分图像特征匹配的第一对象的情况下,将所述第一对象的图像特征和所述目标区域的图像特征进行比对,得到第一比对结果;The first comparison unit is configured to compare the image features of the first object with the target area when it is detected that there is a first object in the preview image that matches a part of the image features in the target area The image features are compared to obtain the first comparison result;
方向确定单元,用于基于所述第一比对结果,确定所述摄像头的移动方向;a direction determining unit, configured to determine the moving direction of the camera based on the first comparison result;
第一输出单元,用于基于所述移动方向,输出第二提示信息,所述第二提示信息用于指示所述摄像头的移动方向。The first output unit is configured to output second prompt information based on the moving direction, and the second prompt information is used to indicate the moving direction of the camera.
在本发明实施例中,所述摄像头可转动;In the embodiment of the present invention, the camera can be rotated;
还包括:Also includes:
方向确定单元,用于基于所述第一比对结果,确定所述摄像头的转动方向;a direction determination unit, configured to determine the rotation direction of the camera based on the first comparison result;
所述图像输出模块,包括:The image output module includes:
第一图像获取单元,用于控制所述摄像头按照所述转动方向转动,并在转动过程中拍摄至少两张目标图像,所述目标图像包括所述目标区域中的至少部分图像特征;A first image acquisition unit, configured to control the camera to rotate according to the rotation direction, and capture at least two target images during the rotation process, the target images including at least part of the image features in the target area;
图像合成单元,用于将所述至少两张目标图像进行图像合成,输出第二图像。An image synthesis unit, configured to perform image synthesis on the at least two target images, and output a second image.
在本发明实施例中,还包括:In an embodiment of the present invention, it also includes:
第二输出模块,用于在未检测到所述预览图像中存在与所述目标区域的图像特征匹配的图像特征的情况下,输出第三提示信息,所述第三预设提示信息用于指示所述预览图像中不包含所述目标区域。The second output module is configured to output third prompt information when no image feature matching the image feature of the target area is detected in the preview image, and the third preset prompt information is used to indicate The target area is not included in the preview image.
在本发明实施例中,所述图像输出模块,包括:In an embodiment of the present invention, the image output module includes:
放大处理单元,用于对所述目标对象所在的区域进行放大处理,使得所述目标对象不超出预览画面;an enlargement processing unit, configured to perform enlargement processing on the area where the target object is located so that the target object does not exceed the preview image;
图像输出单元,用于执行拍摄操作,输出所述第二图像。An image output unit, configured to perform a shooting operation and output the second image.
本发明实施例的终端设备还可执行图1-图11中终端设备执行的方法,并实现终端设备在图1-图11所示实施例的功能,在此不再赘述。The terminal device in the embodiment of the present invention can also execute the method performed by the terminal device in FIG. 1-FIG. 11, and realize the functions of the terminal device in the embodiment shown in FIG. 1-FIG. 11, which will not be repeated here.
本发明实施例提供一种终端设备,通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。An embodiment of the present invention provides a terminal device, which receives the user's first input on the first image captured by the camera, responds to the first input, and marks the target area of the first image. Feature detection is performed on the preview image, and when a target object matching the image feature of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
图13为实现本发明各个实施例的一种终端设备的硬件结构示意图,FIG. 13 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention,
该终端设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、处理器1310、以及电源1311等部件。本领域技术人员可以理解,图13中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and Power supply 1311 and other components. Those skilled in the art can understand that the terminal device structure shown in Figure 13 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器1310,用于接收用户在摄像头采集的第一图像上的第一输入;Wherein, the processor 1310 is configured to receive a first input from the user on the first image collected by the camera;
处理器1310,还用于响应于所述第一输入,标记所述第一图像的目标区域;The processor 1310 is further configured to mark a target area of the first image in response to the first input;
处理器1310,还用于在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测;The processor 1310 is also configured to perform feature detection on the preview image collected by the camera when the camera collects the image;
处理器1310,还用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。The processor 1310 is further configured to perform a shooting operation and output a second image when a target object matching the image feature of the target area is detected.
此外,处理器1310,还用于将所述第一图像中包括所述第一输入的输入区域的预设范围的区域确定为目标区域;In addition, the processor 1310 is further configured to determine, in the first image, an area within a preset range including the input area of the first input as the target area;
另外,处理器1310,还用于标记所述目标区域。In addition, the processor 1310 is further configured to mark the target area.
此外,处理器1310,还用于在检测到与所述目标区域的图像特征匹配的目标对象的情况下,输出第一提示信息,所述第一提示信息用于指示已检测到与所述目标区域的图像特征匹配的目标对象。In addition, the processor 1310 is further configured to output first prompt information when a target object matching the image feature of the target area is detected, and the first prompt information is used to indicate that a target object matching the target area has been detected. Regions whose image features match the target object.
另外,处理器1310,还用于在检测到所述预览图像中存在与所述目标区域中的部分图像特征匹配的第一对象的情况下,将所述第一对象的图像特征和所述目标区域的图像特征进行比对,得到第一比对结果;In addition, the processor 1310 is further configured to combine the image features of the first object with the The image features of the regions are compared to obtain the first comparison result;
此外,处理器1310,还用于基于所述第一比对结果,确定所述摄像头的移动方向;In addition, the processor 1310 is further configured to determine the moving direction of the camera based on the first comparison result;
另外,处理器1310,还用于基于所述移动方向,输出第二提示信息,所述第二提示信息用于指示所述摄像头的移动方向。In addition, the processor 1310 is further configured to output second prompt information based on the moving direction, where the second prompt information is used to indicate the moving direction of the camera.
此外,处理器1310,还用于控制所述摄像头按照所述转动方向转动,并在转动过程中拍摄至少两张目标图像,所述目标图像包括所述目标区域中的至少部分图像特征;In addition, the processor 1310 is further configured to control the camera to rotate according to the rotation direction, and capture at least two target images during the rotation, the target images including at least part of the image features in the target area;
另外,处理器1310,还用于将所述至少两张目标图像进行图像合成,输出第二图像。In addition, the processor 1310 is further configured to perform image synthesis on the at least two target images, and output a second image.
此外,处理器1310,还用于在未检测到所述预览图像中存在与所述目标区域的图像特征匹配的图像特征的情况下,输出第三提示信息,所述第三预设提示信息用于指示所述预览图像中不包含所述目标区域。In addition, the processor 1310 is further configured to output third prompt information when no image feature matching the image feature of the target area is detected in the preview image, and the third preset prompt information uses Indicating that the target area is not included in the preview image.
另外,处理器1310,还用于对所述目标对象所在的区域进行放大处理,使得所述目标对象不超出预览画面;In addition, the processor 1310 is further configured to zoom in on the area where the target object is located so that the target object does not exceed the preview screen;
此外,处理器1310,还用于执行拍摄操作,输出所述第二图像。In addition, the processor 1310 is further configured to perform a shooting operation and output the second image.
本发明实施例提供一种终端设备,通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。An embodiment of the present invention provides a terminal device, which receives the user's first input on the first image captured by the camera, responds to the first input, and marks the target area of the first image. Feature detection is performed on the preview image, and when a target object matching the image feature of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
应理解的是,本发明实施例中,射频单元1301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1310处理;另外,将上行的数据发送给基站。通常,射频单元1301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 1301 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 1310; Uplink data is sent to the base station. Generally, the radio frequency unit 1301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1301 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块1302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 1302, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元1303可以将射频单元1301或网络模块1302接收的或者在存储器1309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1303还可以提供与终端设备1300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1303包括扬声器、蜂鸣器以及受话器等。The audio output unit 1303 may convert audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as sound. Also, the audio output unit 1303 may also provide audio output related to a specific function performed by the terminal device 1300 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
输入单元1304用于接收音频或视频信号。输入单元1304可以包括图形处理器(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1306上。经图形处理器13041处理后的图像帧可以存储在存储器1309(或其它存储介质)中或者经由射频单元1301或网络模块1302进行发送。麦克风13042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1301发送到移动通信基站的格式输出。The input unit 1304 is used to receive audio or video signals. The input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, and the graphics processor 13041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 1306 . The image frames processed by the graphics processor 13041 may be stored in the memory 1309 (or other storage medium) or sent via the radio frequency unit 1301 or the network module 1302 . The microphone 13042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into an output format transmittable to a mobile communication base station via the radio frequency unit 1301 in case of a phone call mode.
终端设备1300还包括至少一种传感器1305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板13061的亮度,接近传感器可在终端设备1300移动到耳边时,关闭显示面板13061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 1300 also includes at least one sensor 1305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 13061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 1305 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元1306用于显示由用户输入的信息或提供给用户的信息。显示单元1306可包括显示面板13061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板13061。The display unit 1306 is used to display information input by the user or information provided to the user. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元1307可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板13071上或在触控面板13071附近的操作)。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1310,接收处理器1310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板13071。除了触控面板13071,用户输入单元1307还可以包括其他输入设备13072。具体地,其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1307 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 1307 includes a touch panel 13071 and other input devices 13072 . The touch panel 13071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 13071 or near the touch panel 13071 operate). The touch panel 13071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 1310, receive the command sent by the processor 1310 and execute it. In addition, the touch panel 13071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 13071 , the user input unit 1307 may also include other input devices 13072 . Specifically, other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板13071可覆盖在显示面板13061上,当触控面板13071检测到在其上或附近的触摸操作后,传送给处理器1310以确定触摸事件的类型,随后处理器1310根据触摸事件的类型在显示面板13061上提供相应的视觉输出。虽然在图7中,触控面板13071与显示面板13061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板13071与显示面板13061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 13071 can be covered on the display panel 13061, and when the touch panel 13071 detects a touch operation on or near it, it will be sent to the processor 1310 to determine the type of the touch event, and then the processor 1310 will The type of event provides a corresponding visual output on the display panel 13061. Although in FIG. 7, the touch panel 13071 and the display panel 13061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 13071 and the display panel 13061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元1308为外部装置与终端设备1300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备1300内的一个或多个元件或者可以用于在终端设备1300和外部装置之间传输数据。The interface unit 1308 is an interface for connecting an external device to the terminal device 1300 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 1308 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器1309可用于存储软件程序以及各种数据。存储器1309可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1309 can be used to store software programs as well as various data. Memory 1309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 1309 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器1310是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器1309内的软件程序和/或模块,以及调用存储在存储器1309内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器1310可包括一个或多个处理单元;优选的,处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。The processor 1310 is the control center of the terminal equipment, which uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes software programs and/or modules stored in the memory 1309, and calls data stored in the memory 1309 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 1310 may include one or more processing units; preferably, the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1310 .
终端设备1300还可以包括给各个部件供电的电源1311(比如电池),优选的,电源1311可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 1300 can also include a power supply 1311 (such as a battery) for supplying power to various components. Preferably, the power supply 1311 can be logically connected to the processor 1310 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
优选的,本发明实施例还提供一种终端设备,包括处理器1310,存储器1309,存储在存储器1309上并可在所述处理器1310上运行的计算机程序,该计算机程序被处理器1310执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal device, including a processor 1310, a memory 1309, and a computer program stored in the memory 1309 and operable on the processor 1310. When the computer program is executed by the processor 1310 Each process of the above embodiment of the photographing method can be realized and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned shooting method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
本发明实施例提供一种计算机可读存储介质,通过接收用户在摄像头采集的第一图像上的第一输入,响应第一输入,标记第一图像的目标区域,在摄像头采集图像的情况下,对摄像头采集的预览图像进行特征检测,在检测到与目标区域的图像特征匹配的目标对象的情况下,执行拍摄操作,输出第二图像。这样,用户只需在第一图像上进行输入,然后终端设备就可以根据用户的第一输入确定目标区域,并根据目标区域对预览图像进行匹配检测,在预览图像中存在与目标区域的图像特征相匹配的目标对象的情况下进行拍摄,用户就不需要在进行多次重复的拍摄,可以节约用户的拍摄时间成本,提高拍摄效率。同时由于根据用户的第一输入进行匹配检测,所以拍摄到的第二图像也可以满足用户的实际拍摄需求。An embodiment of the present invention provides a computer-readable storage medium, by receiving a user's first input on the first image captured by the camera, responding to the first input, and marking the target area of the first image, when the camera captures the image, Feature detection is performed on the preview image collected by the camera, and when a target object matching the image features of the target area is detected, a shooting operation is performed to output a second image. In this way, the user only needs to input on the first image, and then the terminal device can determine the target area according to the user's first input, and perform matching detection on the preview image according to the target area. There are image features in the preview image that match the target area When shooting under the condition of matching target objects, the user does not need to repeat the shooting many times, which can save the user's shooting time cost and improve the shooting efficiency. At the same time, since the matching detection is performed according to the user's first input, the captured second image can also meet the actual shooting needs of the user.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above descriptions are only examples of the present invention, and are not intended to limit the present invention. Various modifications and variations of the present invention will occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910467404.4A CN110166691A (en) | 2019-05-31 | 2019-05-31 | A shooting method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910467404.4A CN110166691A (en) | 2019-05-31 | 2019-05-31 | A shooting method and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110166691A true CN110166691A (en) | 2019-08-23 |
Family
ID=67630248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910467404.4A Pending CN110166691A (en) | 2019-05-31 | 2019-05-31 | A shooting method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110166691A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110933308A (en) * | 2019-11-29 | 2020-03-27 | 维沃移动通信有限公司 | Shooting method, electronic device and storage medium |
CN111083361A (en) * | 2019-12-11 | 2020-04-28 | 维沃移动通信有限公司 | Image acquisition method and electronic device |
CN111263072A (en) * | 2020-02-26 | 2020-06-09 | Oppo广东移动通信有限公司 | A shooting control method, device and computer-readable storage medium |
CN112235510A (en) * | 2020-10-15 | 2021-01-15 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN113794833A (en) * | 2021-08-16 | 2021-12-14 | 维沃移动通信(杭州)有限公司 | Shooting method and device and electronic equipment |
WO2022028348A1 (en) * | 2020-08-07 | 2022-02-10 | 华为技术有限公司 | Object detection method, electronic device and computer-readable storage medium |
WO2023065994A1 (en) * | 2021-10-21 | 2023-04-27 | 华为技术有限公司 | Ultraviolet detection method and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140092292A1 (en) * | 2012-10-02 | 2014-04-03 | Lg Electronics Inc. | Automatic recognition and capture of an object |
CN103986871A (en) * | 2014-05-23 | 2014-08-13 | 华中科技大学 | An intelligent zoom video monitoring method and system |
CN104853095A (en) * | 2015-04-30 | 2015-08-19 | 广东欧珀移动通信有限公司 | Photographing method and user terminal |
US20160012308A1 (en) * | 2000-11-06 | 2016-01-14 | Nant Holdings Ip, Llc | Image Capture and Identification System and Process |
CN105872349A (en) * | 2015-01-23 | 2016-08-17 | 中兴通讯股份有限公司 | Photographing method, photographing device and mobile terminal |
CN108366220A (en) * | 2018-04-23 | 2018-08-03 | 维沃移动通信有限公司 | A kind of video calling processing method and mobile terminal |
CN108540724A (en) * | 2018-04-28 | 2018-09-14 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
-
2019
- 2019-05-31 CN CN201910467404.4A patent/CN110166691A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160012308A1 (en) * | 2000-11-06 | 2016-01-14 | Nant Holdings Ip, Llc | Image Capture and Identification System and Process |
US20140092292A1 (en) * | 2012-10-02 | 2014-04-03 | Lg Electronics Inc. | Automatic recognition and capture of an object |
CN103986871A (en) * | 2014-05-23 | 2014-08-13 | 华中科技大学 | An intelligent zoom video monitoring method and system |
CN105872349A (en) * | 2015-01-23 | 2016-08-17 | 中兴通讯股份有限公司 | Photographing method, photographing device and mobile terminal |
CN104853095A (en) * | 2015-04-30 | 2015-08-19 | 广东欧珀移动通信有限公司 | Photographing method and user terminal |
CN108366220A (en) * | 2018-04-23 | 2018-08-03 | 维沃移动通信有限公司 | A kind of video calling processing method and mobile terminal |
CN108540724A (en) * | 2018-04-28 | 2018-09-14 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110933308A (en) * | 2019-11-29 | 2020-03-27 | 维沃移动通信有限公司 | Shooting method, electronic device and storage medium |
CN111083361A (en) * | 2019-12-11 | 2020-04-28 | 维沃移动通信有限公司 | Image acquisition method and electronic device |
CN111263072A (en) * | 2020-02-26 | 2020-06-09 | Oppo广东移动通信有限公司 | A shooting control method, device and computer-readable storage medium |
WO2022028348A1 (en) * | 2020-08-07 | 2022-02-10 | 华为技术有限公司 | Object detection method, electronic device and computer-readable storage medium |
CN112235510A (en) * | 2020-10-15 | 2021-01-15 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN113794833A (en) * | 2021-08-16 | 2021-12-14 | 维沃移动通信(杭州)有限公司 | Shooting method and device and electronic equipment |
WO2023065994A1 (en) * | 2021-10-21 | 2023-04-27 | 华为技术有限公司 | Ultraviolet detection method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108108114B (en) | A kind of thumbnail display control method and mobile terminal | |
CN108513070B (en) | Image processing method, mobile terminal and computer-readable storage medium | |
JP7305249B2 (en) | Method for determining motion information of image feature points, task execution method and device | |
CN110166691A (en) | A shooting method and terminal equipment | |
EP3779883A1 (en) | Method and device for repositioning in camera orientation tracking process, and storage medium | |
CN111010510B (en) | Shooting control method and device and electronic equipment | |
KR20200128565A (en) | Image processing method and apparatus, terminal and computer-readable storage medium | |
CN108989672B (en) | A shooting method and mobile terminal | |
WO2019174628A1 (en) | Photographing method and mobile terminal | |
KR20140104753A (en) | Image preview using detection of body parts | |
CN112749590B (en) | Target detection method, device, computer equipment and computer-readable storage medium | |
CN107948523A (en) | A shooting method and mobile terminal | |
WO2020253295A1 (en) | Control method and apparatus, and terminal device | |
CN107888833A (en) | A kind of image capturing method and mobile terminal | |
CN108777766A (en) | A method, terminal, and storage medium for multiple people to take pictures | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN108495028B (en) | Camera focusing method and device and mobile terminal | |
CN108683850A (en) | A shooting prompt method and mobile terminal | |
CN110602389A (en) | Display method and electronic equipment | |
CN108763998A (en) | Barcode recognition method and terminal equipment | |
CN110839128A (en) | Photographic behavior detection method, device and storage medium | |
WO2021218926A1 (en) | Image display method and apparatus, and computer device | |
CN108833791A (en) | A shooting method and device | |
CN108881721A (en) | A kind of display methods and terminal | |
CN110908517B (en) | Image editing method, device, electronic device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190823 |
|
RJ01 | Rejection of invention patent application after publication |