CN115334243A - Shooting method and device thereof - Google Patents
Shooting method and device thereof Download PDFInfo
- Publication number
- CN115334243A CN115334243A CN202211014395.1A CN202211014395A CN115334243A CN 115334243 A CN115334243 A CN 115334243A CN 202211014395 A CN202211014395 A CN 202211014395A CN 115334243 A CN115334243 A CN 115334243A
- Authority
- CN
- China
- Prior art keywords
- target
- moving object
- target moving
- pixel offset
- motion
- 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
Images
Landscapes
- Studio Devices (AREA)
- Exposure Control For Cameras (AREA)
Abstract
Description
技术领域technical field
本申请属于摄像技术领域,具体涉及一种拍摄方法及其装置。The present application belongs to the technical field of photographing, and in particular relates to a photographing method and a device thereof.
背景技术Background technique
目前,用户可以通过电子设备拍摄具有摇摄效果(即拍摄背景是模糊的,拍摄对象是清晰的)的图像,用户可以通过移动电子设备,使得运动对象在图像传感器上的成像效果相对静止,从而用户可以得到具有摇摄效果的图像。At present, users can take images with a panning effect (that is, the background is blurred and the subject is clear) through electronic devices, and the user can move the electronic device so that the imaging effect of the moving object on the image sensor is relatively static, thereby Users can get images with panning effects.
然而,用户需要尽可能的保持电子设备稳定,然后移动电子设备进行拍摄,若用户在移动电子设备的过程中存在抖动现象,则导致电子设备拍摄的图像的成像效果较差,如此,电子设备拍摄摇摄效果图像的成像效果较差。However, the user needs to keep the electronic device as stable as possible, and then move the electronic device to take pictures. If the user shakes the electronic device during the movement, the imaging effect of the image taken by the electronic device will be poor. Panning effect images are poorly imaged.
发明内容Contents of the invention
本申请实施例的目的是提供一种拍摄方法及其装置,能够解决电子设备拍摄摇摄效果图像的成像效果较差的问题。The purpose of the embodiments of the present application is to provide a photographing method and device thereof, which can solve the problem of poor imaging effect of panning effect images captured by electronic equipment.
第一方面,本申请实施例提供了一种拍摄方法,该拍摄方法包括:在显示拍摄预览界面的情况下,接收用户对拍摄预览界面中的目标运动对象的第一输入;响应于第一输入,根据目标运动对象在运动过程中采集的至少两帧图像,确定目标运动对象在运动过程中的运动参数;基于目标运动对象的运动参数,对目标运动对象进行拍摄,得到目标图像。In a first aspect, an embodiment of the present application provides a shooting method, the shooting method includes: when the shooting preview interface is displayed, receiving a user's first input on the target moving object in the shooting preview interface; responding to the first input , according to at least two frames of images collected during the movement of the target moving object, determine the motion parameters of the target moving object during the movement; based on the motion parameters of the target moving object, photograph the target moving object to obtain the target image.
第二方面,本申请实施例提供了一种拍摄装置,该拍摄装置包括:接收模块、确定模块和拍摄模块。接收模块,用于在显示拍摄预览界面的情况下,接收用户对拍摄预览界面中的目标运动对象的第一输入。确定模块,用于响应于第一输入,根据目标运动对象在运动过程中采集的至少两帧图像,确定目标运动对象在运动过程中的运动参数。拍摄模块,用于基于目标运动对象的运动参数,对目标运动对象进行拍摄,得到目标图像。In a second aspect, an embodiment of the present application provides a photographing device, and the photographing device includes: a receiving module, a determining module, and a photographing module. The receiving module is configured to receive the user's first input on the target moving object in the shooting preview interface when the shooting preview interface is displayed. The determining module is configured to, in response to the first input, determine motion parameters of the target moving object during the movement according to at least two frames of images collected during the movement of the target moving object. The photographing module is configured to photograph the target moving object based on the motion parameters of the target moving object to obtain a target image.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,在显示拍摄预览界面的情况下,用户可以对拍摄预览界面中的目标运动对象进行输入,以使得电子设备可以采集该目标运动对象在运动过程中的至少两帧图像,从而电子设备可以根据该至少两帧图像,确定目标运动对象在运动过程中的运动参数,然后电子设备可以根据目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,得到目标图像。本方案中,由于电子设备可以拍摄预览界面中通过识别目标运动对象在运动过程中的运动参数,从而在电子设备对目标运动对象进行拍摄时,电子设备可以根据在拍摄预览界面中确定目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,以使得目标运动对象可以在图像传感器上的投影相对静止,以实现摇摄效果的拍摄,避免了用户移动电子设备时产生的抖动导致电子设备拍摄的图像的成像效果性较差,如此,在提升了电子设备拍摄摇摄图像的效率的同时,提升了电子设备拍摄摇摄图像的成像效果。In the embodiment of the present application, when the shooting preview interface is displayed, the user can input the target moving object in the shooting preview interface, so that the electronic device can collect at least two frames of images of the target moving object during the movement, Therefore, the electronic device can determine the motion parameters of the target moving object during the motion process according to the at least two frames of images, and then the electronic device can capture the target moving object according to the motion parameters of the target moving object during the motion process to obtain the target image. In this solution, since the electronic device can identify the motion parameters of the target moving object in the shooting preview interface, when the electronic device is shooting the target moving object, the electronic device can determine the target moving object in the shooting preview interface. The motion parameters in the motion process, the target moving object is photographed, so that the projection of the target moving object on the image sensor can be relatively static, so as to achieve the shooting effect of panning, avoiding the shaking caused by the user when moving the electronic device. The imaging effect of the image captured by the device is relatively poor. In this way, while the efficiency of capturing the panning image by the electronic device is improved, the imaging effect of the panning image captured by the electronic device is also improved.
附图说明Description of drawings
图1是本申请实施例提供的一种拍摄方法的流程图;FIG. 1 is a flow chart of a shooting method provided by an embodiment of the present application;
图2是本申请实施例提供的一种拍摄装置的结构示意图;FIG. 2 is a schematic structural diagram of a photographing device provided in an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的硬件结构示意图之一;Fig. 3 is one of the schematic diagrams of the hardware structure of an electronic device provided by the embodiment of the present application;
图4是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 4 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的拍摄方法进行详细地说明。The photographing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例提供的拍摄方法可以应用于拍摄具有摇摄效果的图像。The photographing method provided in the embodiment of the present application may be applied to photographing an image with a panning effect.
目前,用户在通过电子设备拍摄具有摇摄效果(即拍摄背景是模糊的,拍摄对象是清晰的)的图像时,通常用户可以通过移动电子设备,使得运动对象在图像传感器上的成像效果相对静止,从而用户可以得到具有摇摄效果的图像,具体地,由于摇摄需要使用较长的曝光时间,以达到背景模糊的效果,拍摄时电子设备可以将快门速度设置为慢快门,然后用户跟随运动对象移动电子设备,以拍摄得到摇摄效果的图像,现阶段的摇摄拍摄方法需要用户尽可能地保持手机稳定,然后移动电子设备进行拍摄(例如,利用腰部或手部动作稳定跟随运动主体进行拍摄),然而,用户在移动电子设备的过程中存在抖动现象,则导致电子设备拍摄的图像的成像效果较差。At present, when a user takes an image with a panning effect (that is, the background is blurred and the object is clear) through an electronic device, the user can usually move the electronic device so that the imaging effect of the moving object on the image sensor is relatively static , so that the user can obtain an image with a panning effect. Specifically, since panning requires a long exposure time to achieve the effect of blurring the background, the electronic device can set the shutter speed to a slow shutter when shooting, and then the user follows the movement The subject moves the electronic device to capture images with a panning effect. The current panning shooting method requires the user to keep the mobile phone as stable as possible, and then move the electronic device to shoot (for example, use waist or hand movements to stabilize and follow the moving subject. shooting), however, if the user shakes the electronic device during the process, the imaging effect of the image captured by the electronic device will be poor.
本申请实施例中,在显示拍摄预览界面的情况下,用户可以对拍摄预览界面中的目标运动对象进行输入,以使得电子设备可以采集该目标运动对象在运动过程中的至少两帧图像,从而电子设备可以根据该至少两帧图像,确定目标运动对象在运动过程中的运动参数,然后电子设备可以根据目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,得到目标图像。本方案中,由于电子设备可以拍摄预览界面中通过识别目标运动对象在运动过程中的运动参数,从而在电子设备对目标运动对象进行拍摄时,电子设备可以根据在拍摄预览界面中确定目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,以使得目标运动对象可以在图像传感器上的投影相对静止,以实现摇摄效果的拍摄,避免了用户移动电子设备时产生的抖动导致电子设备拍摄的图像的成像效果性较差,如此,在提升了电子设备拍摄摇摄图像的效率的同时,提升了电子设备拍摄摇摄图像的成像效果。In the embodiment of the present application, when the shooting preview interface is displayed, the user can input the target moving object in the shooting preview interface, so that the electronic device can collect at least two frames of images of the target moving object during the movement, so that The electronic device can determine the motion parameters of the target moving object during the motion process according to the at least two frames of images, and then the electronic device can capture the target moving object according to the motion parameters of the target moving object during the motion process to obtain the target image. In this solution, since the electronic device can identify the motion parameters of the target moving object in the shooting preview interface, when the electronic device is shooting the target moving object, the electronic device can determine the target moving object in the shooting preview interface. The motion parameters in the motion process, the target moving object is photographed, so that the projection of the target moving object on the image sensor can be relatively static, so as to achieve the shooting effect of panning, avoiding the shaking caused by the user when moving the electronic device. The imaging effect of the image captured by the device is relatively poor. In this way, while the efficiency of capturing the panning image by the electronic device is improved, the imaging effect of the panning image captured by the electronic device is also improved.
本申请实施例提供的拍摄方法的执行主体可以为拍摄装置,该拍摄装置可以为电子设备,或电子设备中的功能模块。以下以电子设备为例,对本申请实施例提供的技术方案进行说明。The shooting method provided in the embodiment of the present application may be executed by a shooting device, and the shooting device may be an electronic device or a functional module in the electronic device. The technical solutions provided by the embodiments of the present application will be described below by taking an electronic device as an example.
本申请实施例提供一种拍摄方法,图1示出了本申请实施例提供的一种拍摄方法的流程图。如图1所示,本申请实施例提供的拍摄方法可以包括下述的步骤201至步骤203。An embodiment of the present application provides a photographing method, and FIG. 1 shows a flow chart of the photographing method provided in the embodiment of the present application. As shown in FIG. 1 , the photographing method provided in the embodiment of the present application may include the
步骤201、在显示拍摄预览界面的情况下,电子设备接收用户对拍摄预览界面中的目标运动对象的第一输入。
本申请实施例中,用户可以在拍摄预览界面上对目标运动对象进行第一输入,以使得电子设备可以确定目标运动对象,从而电子设备可以获取目标运动对象的运动轨迹,进而电子设备可以根据目标运动对象的运动轨迹,确定目标运动对象的运动参数。In the embodiment of the present application, the user can make a first input on the target moving object on the shooting preview interface, so that the electronic device can determine the target moving object, so that the electronic device can obtain the movement track of the target moving object, and then the electronic device can obtain the target moving object according to the target The motion trajectory of the moving object determines the motion parameters of the target moving object.
可选地,本申请实施例中,上述目标运动对象可以为可移动的物体,示例性地,上述目标运动对象可以为人物或者动物。Optionally, in the embodiment of the present application, the above-mentioned target moving object may be a movable object, for example, the above-mentioned target moving object may be a person or an animal.
可选地,本申请实施例中,上述运动参数可以为目标运动对象的运动速度和目标运动对象的运动方向。Optionally, in this embodiment of the present application, the foregoing motion parameters may be a motion speed of the target moving object and a motion direction of the target moving object.
可选地,本申请实施例中,上述第一输入可以为用户对目标运动对象的点击输入、长按输入、滑动输入、预设轨迹输入等。具体地可以根据实际使用需求确定,本申请实施例不做限制。Optionally, in the embodiment of the present application, the above-mentioned first input may be the user's click input, long press input, slide input, preset trajectory input, etc. on the target moving object. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present application.
可选地,本申请实施例中,在电子设备接收用户对拍摄预览界面中的目标运动对象的第一输入之前,电子设备可以在拍摄预览界面上显示提示信息,以提示用户选择拍摄预览界面中的目标运动对象,以获取该目标运动对象的运动参数。Optionally, in this embodiment of the present application, before the electronic device receives the user's first input on the target moving object in the shooting preview interface, the electronic device may display prompt information on the shooting preview interface to prompt the user to select a target moving object in the shooting preview interface. target moving object to obtain the motion parameters of the target moving object.
可选地,本申请实施例中,用户可以在拍摄预览界面中对摇摄拍摄控件进行输入,以使得电子设备启动摇摄拍摄模式,并提示用户选择拍摄预览界面中的目标运动对象,以获取该目标运动对象的运动参数。Optionally, in this embodiment of the application, the user can input the panning shooting control in the shooting preview interface, so that the electronic device starts the panning shooting mode, and prompts the user to select the target moving object in the shooting preview interface to obtain The motion parameters of the target motion object.
步骤202、电子设备响应于第一输入,根据目标运动对象在运动过程中采集的至少两帧图像,确定目标运动对象在运动过程中的运动参数。Step 202: In response to the first input, the electronic device determines motion parameters of the target moving object during the movement according to at least two frames of images collected during the movement of the target moving object.
本申请实施例中,电子设备响应于第一输入,在拍摄预览界面中显示包含目标运动对象的兴趣框(Region of Interest,ROI),并通过该兴趣框对目标运动对象进行跟踪,以采集该目标运动对象在运动过程中的至少两帧图像,从而根据该至少两帧图像,确定目标运动对象在运动过程中的运动参数。In the embodiment of the present application, in response to the first input, the electronic device displays a frame of interest (Region of Interest, ROI) containing the target moving object on the shooting preview interface, and tracks the target moving object through the interest frame to collect the target moving object. At least two frames of images of the target moving object during the movement, so as to determine the motion parameters of the target moving object during the movement according to the at least two frames of images.
具体地,上述电子设备响应于第一输入,在拍摄预览界面中显示包含目标运动对象的兴趣框为用户在拍摄预览界面中点击目标运动对象之后,电子设备可以通过人工智能(Artificial Intelligence,AI)识别算法,根据用户在拍摄预览界面中的点击位置匹配最符合的目标运动对象,并对该目标运动对象进行跟踪。Specifically, in response to the first input, the above-mentioned electronic device displays the frame of interest containing the target moving object in the shooting preview interface as the user clicks on the target moving object in the shooting preview interface, the electronic device may use artificial intelligence (AI) The recognition algorithm matches the most suitable target moving object according to the click position of the user in the shooting preview interface, and tracks the target moving object.
可选地,本申请实施例中,电子设备可以根据至少两帧图像,获取该至少两帧图像之间的位置偏移量和特征像素偏移量,从而根据该位置偏移量和特征像素偏移量,确定目标运动对象在运动过程中的运动参数。Optionally, in this embodiment of the present application, the electronic device may obtain the position offset and the feature pixel offset between the at least two frames of images according to the at least two frames of images, so that according to the position offset and the feature pixel offset The displacement is used to determine the motion parameters of the target moving object during the motion process.
可选地,本申请实施例中,上述运动参数包括运动方向和运动速度;上述步骤202具体可以通过下述的步骤202a至步骤202c实现。Optionally, in this embodiment of the present application, the above-mentioned motion parameters include a motion direction and a motion speed; the above-mentioned
步骤202a、电子设备响应于第一输入,根据至少两帧图像,确定目标运动对象的位置偏移量和特征像素偏移量。Step 202a, the electronic device responds to the first input, and determines the position offset and feature pixel offset of the target moving object according to at least two frames of images.
本申请实施例中,电子设备可以根据拍摄预览界面中显示的兴趣框,确定目标运动对象的位置偏移量和特征像素偏移量。In the embodiment of the present application, the electronic device may determine the position offset and feature pixel offset of the target moving object according to the frame of interest displayed on the shooting preview interface.
可选地,本申请实施例中,上述步骤202a具体可以通过下述的步骤301和步骤302实现。Optionally, in the embodiment of the present application, the foregoing step 202a may be specifically implemented through the following steps 301 and 302.
步骤301、电子设备获取至少两个位置信息,并根据至少两个位置信息,确定位置偏移量。Step 301, the electronic device acquires at least two pieces of location information, and determines a location offset according to the at least two pieces of location information.
本申请实施例中,上述至少两个位置信息中的每个位置信息为目标运动对象在一帧图像中的位置信息。In the embodiment of the present application, each of the above at least two pieces of location information is the location information of the target moving object in one frame of image.
本申请实施例中,电子设备可以获取目标运动对象在一帧图像中的中心位置信息,以得到至少两个位置信息,并通过至少两个位置信息,确定目标运动对象的位置偏移量。In the embodiment of the present application, the electronic device may obtain the center position information of the target moving object in a frame of image to obtain at least two position information, and determine the position offset of the target moving object through the at least two position information.
具体地,上述位置信息可以为目标运动对象在图像传感器中的坐标信息。Specifically, the above position information may be coordinate information of the target moving object in the image sensor.
可选地,本申请实施例中,电子设备可以获取包含目标运动对象的兴趣框的中心位置信息,以得到至少两个位置信息,并通过至少两个位置信息,确定目标运动对象的位置偏移量。Optionally, in the embodiment of the present application, the electronic device may obtain the center position information of the frame of interest containing the target moving object to obtain at least two position information, and determine the position offset of the target moving object through the at least two position information quantity.
示例性地,以两帧图像为例,电子设备在获取两帧图像中的每帧图像中包含目标运动对象的兴趣框的中心位置信息之后,电子设备可以通过下述公式1,确定目标运动对象的位置偏移量,具体公式为:Exemplarily, taking two frames of images as an example, after the electronic device obtains the center position information of the frame of interest containing the target moving object in each of the two frames of images, the electronic device can determine the target moving object through the following formula 1 The position offset of , the specific formula is:
boxSpeed=Box2_center–Box1_center (1)boxSpeed=Box2_center–Box1_center (1)
其中,Box1_center为第一帧图像中兴趣框的中心位置信息,Box2_center为第二帧图像中兴趣框的中心位置信息,boxSpeed为目标运动对象的位置偏移量。Among them, Box1_center is the center position information of the frame of interest in the first frame image, Box2_center is the center position information of the frame of interest in the second frame image, and boxSpeed is the position offset of the target moving object.
步骤302、电子设备对至少两帧图像进行图像识别,得到至少两帧图像的特征像素点,并对至少两帧图像的特征像素点进行特征比对,得到特征像素偏移量。Step 302: The electronic device performs image recognition on at least two frames of images to obtain feature pixels of the at least two frames of images, and performs feature comparison on the feature pixels of the at least two frames of images to obtain feature pixel offsets.
本申请实施例中,电子设备可以通过AI识别算法,对至少两帧图像进行图像特征识别,以得到至少两帧图像中的关键特征点,然后将至少两帧图像中的关键特征点进行比对,得到特征像素偏移量。In the embodiment of the present application, the electronic device can perform image feature recognition on at least two frames of images through an AI recognition algorithm to obtain key feature points in at least two frames of images, and then compare the key feature points in at least two frames of images , get the feature pixel offset.
可选地,本申请实施例中,电子设备可以通过AI识别算法,对至少两帧图中的兴趣框所包含的图像进行识别,以得到至少两帧图像中的兴趣框所包含的图像的关键特征点,然后将至少两帧图像中的兴趣框所包含的图像的关键特征点进行比对,得到特征像素偏移量。Optionally, in this embodiment of the present application, the electronic device may use an AI recognition algorithm to identify the images contained in the frame of interest in at least two frames of images, so as to obtain the key of the image contained in the frame of interest in at least two frames of images. feature points, and then compare the key feature points of the images contained in the frame of interest in at least two frames of images to obtain the feature pixel offset.
示例性地,以两帧图像为例,电子设备在识别两帧图像中的兴趣框所包含的图像的关键特征点之后,电子设备可以通过下述公式2,确定特征像素偏移量,具体公式为:Exemplarily, taking two frames of images as an example, after the electronic device identifies the key feature points of the image contained in the frame of interest in the two frames of images, the electronic device can determine the feature pixel offset by the following formula 2, the specific formula for:
featureSpeed=feature2–feature1 (2)featureSpeed=feature2–feature1 (2)
其中,feature1为第一帧图像中兴趣框所包含的图像的关键特征点,feature2为第二帧图像中兴趣框所包含的图像的关键特征点,featureSpeed为两帧图像中的兴趣框所包含的图像的关键特征点之间的特征像素偏移量。Among them, feature1 is the key feature point of the image contained in the frame of interest in the first frame of image, feature2 is the key feature point of the image contained in the frame of interest in the second frame of image, and featureSpeed is the key feature point of the image contained in the frame of interest in the two frames of image The feature pixel offset between the key feature points of the image.
本申请实施例中,电子设备可以通过计算目标运动对象在图像传感器上的成像位置,从而可以得到目标运动对象在运动过程中的速度,进而电子设备可以通过计算得到的速度,匹配目标运动对象的运动速度,从而实现摇摄效果。In the embodiment of the present application, the electronic device can calculate the imaging position of the target moving object on the image sensor, so as to obtain the speed of the target moving object during the movement process, and then the electronic device can match the speed of the target moving object through the calculated speed. Speed of motion to achieve panning effect.
步骤202b、电子设备根据位置偏移量和特征像素偏移量,确定目标运动对象在第一方向上的像素偏移量和第二方向上的像素偏移量。Step 202b, the electronic device determines the pixel offset of the target moving object in the first direction and the pixel offset in the second direction according to the position offset and the characteristic pixel offset.
本申请实施例中,上述第一方向与所述第二方向垂直。In the embodiment of the present application, the first direction is perpendicular to the second direction.
本申请实施例中,电子设备在得到至少两帧图像的位置偏移量和特征像素偏移量之后,电子设备可以根据位置偏移量和特征像素偏移量,确定至少两帧图像之间的像素偏移量。In the embodiment of the present application, after the electronic device obtains the position offsets and feature pixel offsets of at least two frames of images, the electronic device can determine the distance between at least two frames of images according to the position offsets and feature pixel offsets. pixel offset.
示例性地,以两帧图像为例,电子设备在确定两帧图像之间位置偏移量和特征像素偏移量之后,电子设备可以通过下述公式3,得到两帧图像之间总的像素偏移量,具体公式为:Exemplarily, taking two frames of images as an example, after the electronic device determines the position offset and feature pixel offset between the two frames of images, the electronic device can use the following formula 3 to obtain the total number of pixels between the two frames of images Offset, the specific formula is:
totalSpeed=boxSpeed+featureSpeed (3)totalSpeed=boxSpeed+featureSpeed (3)
其中,boxSpeed为两帧图像之间的位置偏移量,featureSpeed为两帧图像之间的特征像素偏移量,totalSpeed为两帧图像之间总的像素偏移量。Among them, boxSpeed is the position offset between the two frames of images, featureSpeed is the feature pixel offset between the two frames of images, and totalSpeed is the total pixel offset between the two frames of images.
本申请实施例中,电子设备在得到至少两帧图像之间的像素偏移量之后,电子设备可以根据下一帧图像(即至少两帧图像中的原始帧图像的下一帧图像)中目标运动对象的像素偏移量确定原始帧图像中的目标运动对象的在垂直方向和水平方向上的像素偏移量。In the embodiment of the present application, after the electronic device obtains the pixel offset between at least two frames of images, the electronic device can, according to the target image in the next frame image (that is, the next frame image of the original frame image in at least two frames of images) The pixel offset of the moving object determines the pixel offset of the target moving object in the original frame image in the vertical direction and the horizontal direction.
示例性地,以两帧图像为例,假设第一帧图像中的目标运动对象的像素点坐标为(0,0),第二帧图像中的目标运动对象的像素点坐标为(1,3),则第一帧图像中的目标运动对象在水平方向上的像素偏移量为1,在垂直方向上的像素偏移量为3。Exemplarily, taking two frames of images as an example, assume that the pixel coordinates of the target moving object in the first frame of images are (0, 0), and the pixel coordinates of the target moving object in the second frame of images are (1, 3 ), then the pixel offset of the target moving object in the first frame image in the horizontal direction is 1, and the pixel offset in the vertical direction is 3.
步骤202c、根据所述第一方向上的像素偏移量和所述第二方向上的像素偏移量,确定所述目标运动对象在运动过程中的运动方向和运动速度。Step 202c, according to the pixel offset in the first direction and the pixel offset in the second direction, determine the moving direction and moving speed of the target moving object during the moving process.
本申请实施例中,电子设备可以根据目标运动对象在第一方向上的像素偏移量和在第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动角度,从而确定目标运动对象在运动过程中的运动方向。In the embodiment of the present application, the electronic device can determine the movement angle of the target moving object during the movement according to the pixel offset in the first direction and the pixel offset in the second direction of the target moving object, thereby determining the target The moving direction of the moving object during the movement.
本申请实施例中,电子设备可以根据目标运动对象在第一方向上的像素偏移量和在第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动距离,从而确定目标运动对象在运动过程中的运动速度。In the embodiment of the present application, the electronic device can determine the moving distance of the target moving object during the movement according to the pixel offset in the first direction and the pixel offset in the second direction of the target moving object, thereby determining the target The movement speed of the moving object during the movement.
本申请实施例中,电子设备可以根据目标运动对象的运动速度和运动方向,从而确定摄像头的运动参数,进而通过控制摄像头匹配目标运动对象的运动速度和运动方向,从而实现摇摄效果。In the embodiment of the present application, the electronic device can determine the motion parameters of the camera according to the moving speed and moving direction of the target moving object, and then control the camera to match the moving speed and moving direction of the target moving object, so as to realize the panning effect.
可选地,本申请实施例中,上述步骤202c具体可以通过下述的步骤401和步骤402。Optionally, in the embodiment of the present application, the above step 202c may specifically go through the following steps 401 and 402.
步骤401、电子设备根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标夹角值,并根据目标夹角值,确定目标运动对象在运动过程中的运动方向。Step 401, the electronic device determines the target included angle value according to the pixel offset in the first direction and the pixel offset in the second direction, and determines the moving direction of the target moving object during the movement according to the target included angle value .
本申请实施例中,上述目标夹角值为水平方向与目标运动对象在运动过程中的运动方向的夹角值,上述水平方向为第一方向或第二方向。In the embodiment of the present application, the above-mentioned target included angle value is an included angle value between the horizontal direction and the moving direction of the target moving object during the moving process, and the above-mentioned horizontal direction is the first direction or the second direction.
本申请实施例中,电子设备得到至少两帧图像中的第一帧图像中的目标运动对象在水平方向上的像素偏移量和在垂直方向上的像素偏移量之后,电子设备可以根据下述公式4,确定目标运动对象在运动过程中的运动方向,具体公式为:In the embodiment of the present application, after the electronic device obtains the pixel offset in the horizontal direction and the pixel offset in the vertical direction of the target moving object in the first frame of images in at least two frames of images, the electronic device may perform the following Formula 4 is used to determine the direction of motion of the target moving object during the motion process. The specific formula is:
θ=arctan(totalSpeedY/totalSpeedX) (4)θ = arctan(totalSpeedY/totalSpeedX) (4)
其中,totalSpeedY为目标运动对象在垂直方向上的像素偏移量,totalSpeedX为目标运动对象在水平方向上的像素偏移量,θ为运动方向的角度值。Among them, totalSpeedY is the pixel offset of the target moving object in the vertical direction, totalSpeedX is the pixel offset of the target moving object in the horizontal direction, and θ is the angle value of the moving direction.
需要说明的是,上述水平方向为电子设备中的陀螺仪或其他具备检测水平方向的元器件确定的。It should be noted that the above horizontal direction is determined by a gyroscope in the electronic device or other components capable of detecting the horizontal direction.
具体地,上述陀螺仪可以为传感陀螺仪,例如压电陀螺仪、微机械陀螺仪、光纤陀螺仪、激光陀螺仪。Specifically, the above-mentioned gyroscope may be a sensing gyroscope, such as a piezoelectric gyroscope, a micromechanical gyroscope, a fiber optic gyroscope, or a laser gyroscope.
可选地,本申请实施例中,若上述第一方向为左方向,则第二方向为与左方向垂直的方向;若第一方向为右方向,则第二方向为右方向垂直的方向。Optionally, in the embodiment of the present application, if the first direction is the left direction, the second direction is the direction perpendicular to the left direction; if the first direction is the right direction, the second direction is the direction perpendicular to the right direction.
具体地,在上述第一方向为左水平方向的情况下,第二方向可以为上垂直方向和下垂直方向;在上述第一方向为右水平方向的情况下,第二方向可以为上垂直方向和下垂直方向。Specifically, in the case where the above-mentioned first direction is the left horizontal direction, the second direction may be the upper vertical direction and the lower vertical direction; in the case where the above-mentioned first direction is the right horizontal direction, the second direction may be the upper vertical direction and down vertically.
下面通过4个象限来说明电子设备根据第一方向上的像素偏移量和第二方向上的像素偏移量确定目标运动对象的运动方向的夹角值。The following uses four quadrants to illustrate that the electronic device determines the included angle value of the moving direction of the target moving object according to the pixel offset in the first direction and the pixel offset in the second direction.
示例性地,电子设备可以通过上述公式四确定目标运动对象在第一象限和第四象限中的运动方向的夹角值;Exemplarily, the electronic device may determine the included angle value of the moving direction of the target moving object in the first quadrant and the fourth quadrant through the above formula four;
电子设备可以通过下述公式5确定目标运动对象在第二象限中的运动方向的夹角值,具体公式为:The electronic device can determine the angle value of the moving direction of the target moving object in the second quadrant through the following formula 5, the specific formula is:
θ=arctan(totalSpeedY/totalSpeedX)+180° (5)θ=arctan(totalSpeedY/totalSpeedX)+180° (5)
其中,totalSpeedY为目标运动对象在上垂直方向上的像素偏移量,totalSpeedX为目标运动对象在左方向上的像素偏移量,θ为目标运动对象在第二象限中运动方向的角度值。Among them, totalSpeedY is the pixel offset of the target moving object in the upper vertical direction, totalSpeedX is the pixel offset of the target moving object in the left direction, and θ is the angle value of the moving direction of the target moving object in the second quadrant.
电子设备可以通过下述公式6确定目标运动对象在第三象限中的运动方向的夹角值,具体公式为:The electronic device can determine the included angle value of the moving direction of the target moving object in the third quadrant through the following formula 6, the specific formula is:
θ=arctan(totalSpeedY/totalSpeedX)–180° (6)θ=arctan(totalSpeedY/totalSpeedX)–180° (6)
其中,totalSpeedY为目标运动对象在下垂直方向上的像素偏移量,totalSpeedX为目标运动对象在左方向上的像素偏移量,θ为目标运动对象在第三象限中运动方向的角度值。Among them, totalSpeedY is the pixel offset of the target moving object in the vertical direction, totalSpeedX is the pixel offset of the target moving object in the left direction, and θ is the angle value of the moving direction of the target moving object in the third quadrant.
步骤402、电子设备根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标像素偏移量,并根据目标像素偏移量和目标曝光时间,确定目标运动对象在运动过程中的运动速度。Step 402, the electronic device determines the target pixel offset according to the pixel offset in the first direction and the pixel offset in the second direction, and determines the target moving object at The speed of motion during motion.
本申请实施例中,上述目标曝光时间为目标运动对象在运动过程中的图像曝光时间。In the embodiment of the present application, the aforementioned target exposure time is the image exposure time of the target moving object during its movement.
本申请实施例中,电子设备可以根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动距离(下述简称为第一距离),然后根据第一距离和目标曝光时间,确定目标运动对象在运动过程中的运动速度。In the embodiment of the present application, the electronic device may determine the moving distance of the target moving object during the movement (hereinafter referred to as the first distance) according to the pixel offset in the first direction and the pixel offset in the second direction. , and then according to the first distance and the target exposure time, the moving speed of the target moving object during the movement is determined.
具体地,电子设备可以根据下述公式7,确定目标运动对象在运动过程中的运动距离,具体公式为:Specifically, the electronic device can determine the moving distance of the target moving object during the movement according to the following formula 7, the specific formula is:
totalSpeed=sqrt(totalSpeedX2+totalSpeedY2) (7)totalSpeed=sqrt(totalSpeedX 2 +totalSpeedY 2 ) (7)
其中,totalSpeedY为目标运动对象在垂直方向上的像素偏移量,totalSpeedX为目标运动对象在水平方向上的像素偏移量,totalSpeed为目标运动对象在至少两帧图像中的运动距离。Wherein, totalSpeedY is the pixel offset of the target moving object in the vertical direction, totalSpeedX is the pixel offset of the target moving object in the horizontal direction, and totalSpeed is the moving distance of the target moving object in at least two frames of images.
具体地,电子设备在得到目标运动对象在运动过程中的运动距离之后,电子设备可以通过下述公式8,确定目标运动对象的运动速度,具体公式为:Specifically, after the electronic device obtains the moving distance of the target moving object during the movement, the electronic device can determine the moving speed of the target moving object through the following formula 8, the specific formula is:
V=totalSpeed/t (8)V=totalSpeed/t (8)
其中,totalSpeed为目标运动对象在至少两帧图像中的运动距离,t为目标曝光时间,V为目标运动对象的运动速度。Wherein, totalSpeed is the moving distance of the target moving object in at least two frames of images, t is the target exposure time, and V is the moving speed of the target moving object.
本申请实施例中,电子设备可以通过第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动速度和运动方向,进而通过控制摄像头匹配目标运动对象的运动速度和运动方向,从而实现摇摄效果。In the embodiment of the present application, the electronic device can determine the moving speed and moving direction of the target moving object during the movement through the pixel offset in the first direction and the pixel offset in the second direction, and then control the camera to match The moving speed and moving direction of the target moving object, so as to realize the panning effect.
步骤203、电子设备基于目标运动对象的运动参数,对目标运动对象进行拍摄,得到目标图像。Step 203: The electronic device photographs the target moving object based on the motion parameters of the target moving object to obtain a target image.
本申请实施例中,在电子设备得到目标运动对象的运动参数,且检测到目标运动对象处于运动的情况下,电子设备可以自动对目标运动对象进行拍摄,得到目标图像。In the embodiment of the present application, when the electronic device obtains the motion parameters of the target moving object and detects that the target moving object is in motion, the electronic device may automatically photograph the target moving object to obtain a target image.
可选地,本申请实施例中,电子设备可以接收用户的拍摄输入,从而电子设备可以对目标运动对象进行拍摄,得到目标图像。Optionally, in this embodiment of the present application, the electronic device may receive a shooting input from the user, so that the electronic device may shoot a target moving object to obtain a target image.
可选地,本申请实施例中,上述拍摄输入可以为用户对拍摄预览界面中的拍摄控件的点击输入、滑动输入、预设轨迹输入;或者用户对物理按键的组合输入(例如电源键和音量键);或者用户对电子设备的语音输入。具体可以根据实际使用情况确定,本申请实施例不作限制。Optionally, in the embodiment of the present application, the above-mentioned shooting input may be the user's click input, sliding input, or preset track input on the shooting control in the shooting preview interface; or the user's combined input of physical buttons (such as the power button and volume key); or the user's voice input to the electronic device. Specifically, it may be determined according to actual usage conditions, and is not limited in this embodiment of the application.
本申请实施例中,电子设备可以根据目标运动对象的运动参数,进而通过控制摄像头匹配目标运动对象的运动速度和运动方向,从而得到目标图像。In the embodiment of the present application, the electronic device can obtain the target image by controlling the camera to match the moving speed and moving direction of the target moving object according to the moving parameters of the target moving object.
本申请实施例提供一种拍摄方法,在显示拍摄预览界面的情况下,用户可以对拍摄预览界面中的目标运动对象进行输入,以使得电子设备可以采集该目标运动对象在运动过程中的至少两帧图像,从而电子设备可以根据该至少两帧图像,确定目标运动对象在运动过程中的运动参数,然后电子设备可以根据目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,得到目标图像。本方案中,由于电子设备可以拍摄预览界面中通过识别目标运动对象在运动过程中的运动参数,从而在电子设备对目标运动对象进行拍摄时,电子设备可以根据在拍摄预览界面中确定目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,以使得目标运动对象可以在图像传感器上的投影相对静止,以实现摇摄效果的拍摄,避免了用户移动电子设备时产生的抖动导致电子设备拍摄的图像的成像效果性较差,如此,在提升了电子设备拍摄摇摄图像的效率的同时,提升了电子设备拍摄摇摄图像的成像效果。An embodiment of the present application provides a shooting method. When the shooting preview interface is displayed, the user can input the target moving object in the shooting preview interface, so that the electronic device can collect at least two images of the target moving object during the movement process. frame images, so that the electronic device can determine the motion parameters of the target moving object during the motion process according to the at least two frames of images, and then the electronic device can shoot the target moving object according to the motion parameters of the target moving object during the motion process, and obtain target image. In this solution, since the electronic device can identify the motion parameters of the target moving object in the shooting preview interface, when the electronic device is shooting the target moving object, the electronic device can determine the target moving object in the shooting preview interface. The motion parameters in the motion process, the target moving object is photographed, so that the projection of the target moving object on the image sensor can be relatively static, so as to achieve the shooting effect of panning, avoiding the vibration caused by the user when moving the electronic device. The imaging effect of the image captured by the device is relatively poor. In this way, while the efficiency of capturing the panning image by the electronic device is improved, the imaging effect of the panning image captured by the electronic device is also improved.
可选地,本申请实施例中,上述步骤204具体可以通过下述的步骤204a实现。Optionally, in the embodiment of the present application, the foregoing step 204 may be specifically implemented through the following step 204a.
步骤204a、电子设备基于目标运动对象的运动参数,控制电子设备的摄像头运动,并在摄像头运动过程中对目标运动对象进行拍摄,得到目标图像。Step 204a, based on the motion parameters of the target moving object, the electronic device controls the movement of the camera of the electronic device, and takes pictures of the target moving object during the movement of the camera to obtain a target image.
本申请实施例中,电子设备响应于拍摄输入之后,电子设备可以根据目标运动对象的运动方向和目标运动对象的运动速度,设置摄像头的初始位置、摄像头的初始速度和曝光期间内各时段的加速度,从而摄像头可以根据该加速度对目标运动对象进行拍摄,以得到目标图像。In the embodiment of the present application, after the electronic device responds to the shooting input, the electronic device can set the initial position of the camera, the initial speed of the camera, and the acceleration of each period during the exposure period according to the moving direction of the target moving object and the moving speed of the target moving object , so that the camera can shoot the target moving object according to the acceleration to obtain the target image.
具体地,上述摄像头可以为微云台摄像头。Specifically, the aforementioned camera may be a micro-cloud platform camera.
本申请实施例中,电子设备在得到目标运动对象的运动参数之后,电子设备可以控制摄像头运动,以使得电子设备采集的目标运动对象在图像传感器上的投影位置相对静止,从而得到目标图像。In the embodiment of the present application, after the electronic device obtains the motion parameters of the target moving object, the electronic device may control the movement of the camera so that the projected position of the target moving object captured by the electronic device on the image sensor is relatively static, thereby obtaining the target image.
可选地,本申请实施例中,上述运动参数包括运动速度和运动方向;上述步骤204a中的“电子设备基于目标运动对象的运动参数,控制电子设备的摄像头运动”具体可以通过下述的步骤501至步骤504实现。Optionally, in this embodiment of the present application, the above-mentioned motion parameters include motion speed and motion direction; "the electronic device controls the camera movement of the electronic device based on the motion parameters of the target moving object" in the above-mentioned step 204a can be specifically performed through the following steps 501 to step 504 are realized.
步骤501、电子设备根据目标运动对象在运动过程中的运动速度,确定目标运动对象的运动加速度。Step 501, the electronic device determines the motion acceleration of the target moving object according to the moving speed of the target moving object during the movement.
本申请实施例中,电子设备可以根据至少两帧图像中的每两帧图像之间的运动速度,通过下述公式9,确定目标运动对象在每两帧图像之间的第一加速度,从而得到目标运动对象在至少两帧图像的运动加速度,具体公式为:In the embodiment of the present application, the electronic device can determine the first acceleration of the target moving object between every two frames of images according to the motion speed between every two frames of images in at least two frames of images, through the following formula 9, so as to obtain The motion acceleration of the target moving object in at least two frames of images, the specific formula is:
S1=V1t+1/2*at2 (9)S1=V1t+1/2*at 2 (9)
其中,S1为目标运动对象在每两帧图像之间运动距离,t为目标曝光时间,a为目标运动对象在每两帧图像之间的第一加速度。Among them, S1 is the moving distance of the target moving object between every two frames of images, t is the target exposure time, and a is the first acceleration of the target moving object between every two frames of images.
本申请实施例中,电子设备在得到每两帧图像之间的运动加速度之后,电子设备可以通过下述公式10,以得到目标运动对象在至少两帧图像中的运动加速度,具体公式为:In the embodiment of the present application, after the electronic device obtains the motion acceleration between every two frames of images, the electronic device can use the following formula 10 to obtain the motion acceleration of the target moving object in at least two frames of images, the specific formula is:
a=(S2–S1)/t2 (10)a=(S2–S1)/t 2 (10)
其中,a为在至少两帧图像中的运动加速度,S1和S2为目标运动对象在每两帧图像之间运动距离,t为目标曝光实现。Wherein, a is the motion acceleration in at least two frames of images, S1 and S2 are the moving distances of the target moving object between every two frames of images, and t is the target exposure realization.
步骤502、电子设备根据目标运动对象在运动过程中的运动速度和运动加速度,确定目标运动对象的平均运动速度。Step 502, the electronic device determines an average moving speed of the target moving object according to the moving speed and moving acceleration of the target moving object during the movement.
本申请实施例中,电子设备可以根据目标运动对象在每两帧图像中的运动过程中的运动速度、运动加速度和目标曝光时间,确定目标运动对象在每两帧图像中的平均运动速度。In the embodiment of the present application, the electronic device may determine the average moving speed of the target moving object in every two frames of images according to the moving speed, moving acceleration and target exposure time of the target moving object in the moving process of every two frames of images.
具体地,在电子设备得到每两帧图像中目标运动对象的运动加速度和运动速度后,电子设备可以通过下述公式11,确定每两帧图像中目标运动对象的平均运动速度,具体算公式为:Specifically, after the electronic device obtains the moving acceleration and moving speed of the target moving object in every two frames of images, the electronic device can determine the average moving speed of the target moving object in every two frames of images through the following formula 11, the specific calculation formula is :
V’=(V1+V1+a*Δt)/2 (11)V'=(V1+V1+a*Δt)/2 (11)
其中,V1为每两帧图像中目标运动对象的运动速度,Δt为目标曝光时间,a为每两帧图像中目标运动对象的运动加速度,V’每两帧图像中目标运动对象的平均运动速度。Among them, V1 is the moving speed of the target moving object in every two frames of images, Δt is the target exposure time, a is the moving acceleration of the target moving object in every two frames of images, V' is the average moving speed of the target moving objects in every two frames of images .
步骤503、电子设备根据平均运动速度、目标曝光时间和摄像头的固有参数,确定摄像头在目标曝光时间内的旋转角度值。Step 503, the electronic device determines the rotation angle value of the camera within the target exposure time according to the average moving speed, the target exposure time and the inherent parameters of the camera.
可选地,本申请实施例中,上述摄像头的固有参数包括摄像头的等效焦距和图像传感器的规格参数。Optionally, in this embodiment of the present application, the inherent parameters of the camera include an equivalent focal length of the camera and specification parameters of the image sensor.
具体地,电子设备在得到平均运动速度、目标曝光时间和摄像头的固有参数之后可以通过下述的公式12,确定摄像头在目标曝光时间内的旋转角度值,具体公式为:Specifically, after the electronic device obtains the average motion speed, the target exposure time, and the inherent parameters of the camera, the following formula 12 can be used to determine the rotation angle value of the camera within the target exposure time, and the specific formula is:
θ_indeed=arctan((Δt*α*V’)/(2*1000*EFL)) (12)θ_indeed=arctan((Δt*α*V')/(2*1000*EFL)) (12)
其中,Δt为目标曝光时间,α为图像传感器的规格参数,EFL为摄像头的等效焦距,V’为每两帧图像中目标运动对象的平均运动速度,θ_indeed为摄像头在目标曝光时间内的旋转角度值。Among them, Δt is the target exposure time, α is the specification parameter of the image sensor, EFL is the equivalent focal length of the camera, V' is the average moving speed of the target moving object in every two frames of images, θ_indeed is the rotation of the camera within the target exposure time angle value.
步骤504、电子设备根据旋转角度值和目标运动对象的运动方向,控制摄像头旋转。Step 504, the electronic device controls the rotation of the camera according to the rotation angle value and the moving direction of the target moving object.
本申请实施例中,电子设备可以计算每个目标曝光时间内摄像头转动的实际角度,从而实现匀加速跟踪目标运动对象,以得到目标图像。In the embodiment of the present application, the electronic device can calculate the actual angle of rotation of the camera within each target exposure time, so as to achieve uniform acceleration and track the target moving object to obtain the target image.
本申请实施例中,在目标曝光时间内,电子设备可以根据目标运动对象的运动方向调整摄像头的角度,根据目标运动对象的平均运动速度调整摄像头的,从而使得目标拍摄对象在图像传感器上的成像位置固定,如此,目标运动对象与摄像头相对静止,背景移动,拍摄出摇摄效果的图像。In the embodiment of the present application, within the target exposure time, the electronic device can adjust the angle of the camera according to the moving direction of the target moving object, and adjust the angle of the camera according to the average moving speed of the target moving object, so that the imaging of the target shooting object on the image sensor The position is fixed. In this way, the target moving object and the camera are relatively still, and the background moves to capture images with a panning effect.
需要说明的是,本申请实施例提供的拍摄方法,执行主体可以为拍摄装置,或者电子设备,或者还可以为电子设备中的功能模块或实体。本申请实施例中以拍摄装置执行拍摄方法为例,说明本申请实施例提供的拍摄装置。It should be noted that, the shooting method provided in the embodiment of the present application may be executed by a shooting device, or an electronic device, or may also be a functional module or entity in the electronic device. In the embodiment of the present application, taking the photographing device executing the photographing method as an example, the photographing device provided in the embodiment of the present application is described.
图2示出了本申请实施例中涉及的拍摄装置的一种可能的结构示意图。如图2所示,该拍摄装置70可以包括:接收模块71、确定模块72和拍摄模块73。Fig. 2 shows a possible structural schematic diagram of the photographing device involved in the embodiment of the present application. As shown in FIG. 2 , the photographing
其中,接收模块71,用于在显示拍摄预览界面的情况下,接收用户对所述拍摄预览界面中的目标运动对象的第一输入。确定模块72,用于响应于所述接收模块接收的第一输入,根据目标运动对象在运动过程中采集的至少两帧图像,确定目标运动对象在运动过程中的运动参数。拍摄模块73,用于基于目标运动对象的运动参数,对目标运动对象进行拍摄,得到目标图像。Wherein, the receiving
在一种可能的实现方式中,上述运动参数包括运动方向和运动速度;上述确定模块72,具体用于根据至少两帧图像,确定目标运动对象的位置偏移量和特征像素偏移量;并根据位置偏移量和特征像素偏移量,确定目标运动对象在第一方向上的像素偏移量和第二方向上的像素偏移量,该第一方向与第二方向垂直;以及根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动方向和运动速度。In a possible implementation manner, the above motion parameters include motion direction and motion speed; the
在一种可能的实现方式中,上述确定模块72,具体用于获取至少两个位置信息,并根据至少两个位置信息,确定位置偏移量,每个位置信息为目标运动对象在一帧图像中的位置信息;并对至少两帧图像进行图像识别,得到至少两帧图像的特征像素点,并对至少两帧图像的特征像素点进行特征比对,得到特征像素偏移量。In a possible implementation manner, the
在一种可能的实现方式中,上述确定模块72,具体用于根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标夹角值,并根据目标夹角值,确定目标运动对象在运动过程中的运动方向,该目标夹角值为水平方向与目标运动对象在运动过程中的运动方向的夹角值,该水平方向为第一方向或第二方向;并根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标像素偏移量,并根据目标像素偏移量和目标曝光时间,确定目标运动对象在运动过程中的运动速度,该目标曝光时间为目标运动对象在运动过程中的图像曝光时间。In a possible implementation, the
在一种可能的实现方式中,上述运动参数包括运动速度和运动方向;上述拍摄模块73,具体用于根据目标运动对象在运动过程中的运动速度,确定目标运动对象的运动加速度;并根据目标运动对象在运动过程中的运动速度和运动加速度,确定目标运动对象的平均运动速度;以及根据平均运动速度、目标曝光时间和摄像头的固有参数,确定摄像头在目标曝光时间内的旋转角度值;根据旋转角度值和目标运动对象的运动方向,控制摄像头旋转。In a possible implementation manner, the above-mentioned motion parameters include motion speed and motion direction; the above-mentioned
本申请实施例提供一种拍摄装置,由于拍摄装置可以拍摄预览界面中通过识别目标运动对象在运动过程中的运动参数,从而在电子设备对目标运动对象进行拍摄时,拍摄装置可以根据在拍摄预览界面中确定目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,以使得目标运动对象可以在图像传感器上的投影相对静止,以实现摇摄效果的拍摄,避免了用户移动电子设备时产生的抖动导致电子设备拍摄的图像的成像效果性较差,如此,在提升了拍摄装置拍摄摇摄图像的效率的同时,提升了拍摄装置拍摄摇摄图像的成像效果。An embodiment of the present application provides a shooting device. Since the shooting device can identify the motion parameters of the target moving object in the shooting preview interface during the movement process, when the electronic device is shooting the target moving object, the shooting device can be based on the shooting preview The interface determines the motion parameters of the target moving object during the movement, and shoots the target moving object so that the projection of the target moving object on the image sensor can be relatively static, so as to achieve the shooting effect of panning, which avoids the user from moving the electronic device The jitter generated during the operation results in poor imaging effect of the image captured by the electronic device. In this way, the imaging effect of the panning image captured by the capturing device is improved while improving the efficiency of the panning image captured by the capturing device.
本申请实施例中的拍摄装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(MobileInternet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The photographing device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in an electronic device. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle electronic device, a mobile Internet device (MobileInternet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR ) devices, robots, wearable devices, ultra-mobile personal computers (ultra-mobile personal computer, UMPC), netbooks or personal digital assistants (personal digital assistant, PDA), etc., can also serve as servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的拍摄装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The photographing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的拍摄装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The photographing device provided by the embodiment of the present application can realize various processes realized by the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
可选地,如图3所示,本申请实施例还提供一种电子设备90,包括处理器91和存储器92,存储器92上存储有可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述拍摄方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 3 , the embodiment of the present application also provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图4为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,用户输入单元107,用于在显示拍摄预览界面的情况下,接收用户对拍摄预览界面中的目标运动对象的第一输入。处理器110,用于响应于第一输入,根据目标运动对象在运动过程中采集的至少两帧图像,确定目标运动对象在运动过程中的运动参数。处理器110,还用于基于目标运动对象的运动参数,对目标运动对象进行拍摄,得到目标图像。Wherein, the
本申请实施例提供一种电子设备,由于电子设备可以拍摄预览界面中通过识别目标运动对象在运动过程中的运动参数,从而在电子设备对目标运动对象进行拍摄时,电子设备可以根据在拍摄预览界面中确定目标运动对象在运动过程中的运动参数,对目标运动对象进行拍摄,以使得目标运动对象可以在图像传感器上的投影相对静止,以实现摇摄效果的拍摄,避免了用户移动电子设备时产生的抖动导致电子设备拍摄的图像的成像效果性较差,如此,在提升了电子设备拍摄摇摄图像的效率的同时,提升了电子设备拍摄摇摄图像的成像效果。An embodiment of the present application provides an electronic device. Since the electronic device can identify the motion parameters of the target moving object in the shooting preview interface, when the electronic device is shooting the target moving object, the electronic device can use the shooting preview The interface determines the motion parameters of the target moving object during the movement, and shoots the target moving object so that the projection of the target moving object on the image sensor can be relatively static, so as to achieve the shooting effect of panning, which avoids the user from moving the electronic device The jitter generated when the electronic device is used leads to poor imaging effect of the image captured by the electronic device. In this way, while the efficiency of capturing the panning image by the electronic device is improved, the imaging effect of the panning image captured by the electronic device is also improved.
可选地,本申请实施例中,上述运动参数包括运动方向和运动速度;上述处理器110,具体用于根据至少两帧图像,确定目标运动对象的位置偏移量和特征像素偏移量;并根据位置偏移量和特征像素偏移量,确定目标运动对象在第一方向上的像素偏移量和第二方向上的像素偏移量,该第一方向与第二方向垂直;以及根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标运动对象在运动过程中的运动方向和运动速度。Optionally, in the embodiment of the present application, the above-mentioned motion parameters include motion direction and motion speed; the above-mentioned
可选地,本申请实施例中,上述处理器110,具体用于获取至少两个位置信息,并根据至少两个位置信息,确定位置偏移量,每个位置信息为目标运动对象在一帧图像中的位置信息;对至少两帧图像进行图像识别,得到至少两帧图像的特征像素点,并对至少两帧图像的特征像素点进行特征比对,得到特征像素偏移量。Optionally, in the embodiment of the present application, the above-mentioned
可选地,本申请实施例中,上述处理器110,具体用于根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标夹角值,并根据目标夹角值,确定目标运动对象在运动过程中的运动方向,目标夹角值为水平方向与目标运动对象在运动过程中的运动方向的夹角值,水平方向为第一方向或第二方向;并根据第一方向上的像素偏移量和第二方向上的像素偏移量,确定目标像素偏移量,并根据目标像素偏移量和目标曝光时间,确定目标运动对象在运动过程中的运动速度,该目标曝光时间为目标运动对象在运动过程中的图像曝光时间。Optionally, in the embodiment of the present application, the above-mentioned
可选地,本申请实施例中,上述运动参数包括运动速度和运动方向;上述处理器110,具体用于根据目标运动对象在运动过程中的运动速度,确定目标运动对象的运动加速度;根据目标运动对象在运动过程中的运动速度和运动加速度,确定目标运动对象的平均运动速度;根据平均运动速度、目标曝光时间和摄像头的固有参数,确定摄像头在目标曝光时间内的旋转角度值;根据旋转角度值和目标运动对象的运动方向,控制摄像头旋转。Optionally, in this embodiment of the present application, the above-mentioned motion parameters include motion speed and motion direction; the above-mentioned
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。The
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above-mentioned shooting method embodiment, and can achieve the same technical effect, To avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" 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, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211014395.1A CN115334243A (en) | 2022-08-23 | 2022-08-23 | Shooting method and device thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211014395.1A CN115334243A (en) | 2022-08-23 | 2022-08-23 | Shooting method and device thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115334243A true CN115334243A (en) | 2022-11-11 |
Family
ID=83926507
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211014395.1A Pending CN115334243A (en) | 2022-08-23 | 2022-08-23 | Shooting method and device thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115334243A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120416668A (en) * | 2025-06-30 | 2025-08-01 | 杭州萤石软件有限公司 | Intelligent image processing method, device and equipment for open custom detection targets |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102986208A (en) * | 2010-05-14 | 2013-03-20 | 株式会社理光 | Imaging apparatus, image processing method, and recording medium for recording program thereon |
| CN107920211A (en) * | 2017-12-28 | 2018-04-17 | 深圳市金立通信设备有限公司 | A kind of photographic method, terminal and computer-readable recording medium |
| CN112585644A (en) * | 2019-07-31 | 2021-03-30 | 核心光电有限公司 | System and method for creating background blur in camera panning or movement |
| CN112822398A (en) * | 2021-01-04 | 2021-05-18 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
| CN114125305A (en) * | 2021-12-01 | 2022-03-01 | 西安维沃软件技术有限公司 | Shooting method, device and equipment |
-
2022
- 2022-08-23 CN CN202211014395.1A patent/CN115334243A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102986208A (en) * | 2010-05-14 | 2013-03-20 | 株式会社理光 | Imaging apparatus, image processing method, and recording medium for recording program thereon |
| CN107920211A (en) * | 2017-12-28 | 2018-04-17 | 深圳市金立通信设备有限公司 | A kind of photographic method, terminal and computer-readable recording medium |
| CN112585644A (en) * | 2019-07-31 | 2021-03-30 | 核心光电有限公司 | System and method for creating background blur in camera panning or movement |
| CN112822398A (en) * | 2021-01-04 | 2021-05-18 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
| CN114125305A (en) * | 2021-12-01 | 2022-03-01 | 西安维沃软件技术有限公司 | Shooting method, device and equipment |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120416668A (en) * | 2025-06-30 | 2025-08-01 | 杭州萤石软件有限公司 | Intelligent image processing method, device and equipment for open custom detection targets |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104902170B (en) | A camera method and terminal | |
| CN112738397A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
| CN113194253B (en) | Shooting method and device for removing reflection of image and electronic equipment | |
| CN112637500B (en) | Image processing method and device | |
| CN115499589B (en) | Shooting method, device, electronic device and medium | |
| CN112822412A (en) | Exposure method and electronic device | |
| CN112954212B (en) | Video generation method, device and equipment | |
| CN118102085A (en) | Control method, device and electronic equipment | |
| CN113873147B (en) | Video recording method, device and electronic equipment | |
| CN115334243A (en) | Shooting method and device thereof | |
| CN115134536B (en) | Shooting method and device thereof | |
| CN114339051B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
| CN114143455B (en) | Shooting method, device and electronic equipment | |
| CN114245017B (en) | Shooting method, device and electronic equipment | |
| CN112492213B (en) | Image capturing method, apparatus and electronic device | |
| CN112399092A (en) | Shooting method and device and electronic equipment | |
| CN115589532A (en) | Anti-shake processing method, device, electronic device and readable storage medium | |
| CN115379118A (en) | Camera switching method and device, electronic equipment and readable storage medium | |
| CN114143462B (en) | Shooting method and device | |
| CN115103113B (en) | Image processing method and electronic device | |
| CN115103112B (en) | Lens control method and electronic device | |
| CN115118884B (en) | Shooting method, device and electronic equipment | |
| CN115118879B (en) | Image capturing and displaying method, device, electronic device and readable storage medium | |
| CN114449172B (en) | Shooting method, device and electronic equipment | |
| CN115278053B (en) | Image shooting method and electronic equipment |
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 | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20221111 |