[go: up one dir, main page]

CN112367467B - Display control method, device, electronic device and medium - Google Patents

Display control method, device, electronic device and medium Download PDF

Info

Publication number
CN112367467B
CN112367467B CN202011197895.4A CN202011197895A CN112367467B CN 112367467 B CN112367467 B CN 112367467B CN 202011197895 A CN202011197895 A CN 202011197895A CN 112367467 B CN112367467 B CN 112367467B
Authority
CN
China
Prior art keywords
shooting preview
moving object
shooting
preview
picture
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.)
Active
Application number
CN202011197895.4A
Other languages
Chinese (zh)
Other versions
CN112367467A (en
Inventor
谢锦洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011197895.4A priority Critical patent/CN112367467B/en
Publication of CN112367467A publication Critical patent/CN112367467A/en
Application granted granted Critical
Publication of CN112367467B publication Critical patent/CN112367467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种显示控制方法、装置、电子设备和介质,属于通信技术领域。该方法,包括:在拍摄预览过程中,获取N个运动对象的运动信息;基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。根据本申请实施例,能够优化预览显示效果。

Figure 202011197895

The present application discloses a display control method, device, electronic device and medium, which belong to the technical field of communication. The method includes: during a shooting preview process, acquiring motion information of N moving objects; updating a shooting preview screen in a shooting preview interface based on the motion information of the N moving objects; wherein the N moving objects are collected by at least one camera object, where N is a positive integer. According to the embodiments of the present application, the preview display effect can be optimized.

Figure 202011197895

Description

显示控制方法、装置、电子设备和介质Display control method, device, electronic device and medium

技术领域technical field

本申请属于通信技术领域,具体涉及一种显示控制方法、装置、电子设备和介质。The present application belongs to the field of communication technologies, and in particular relates to a display control method, apparatus, electronic device and medium.

背景技术Background technique

随着电子信息技术的不断发展,智能电子设备已经成为工作和生活不可或缺的部分。而用户使用智能电子设备进行拍摄已经成为日常。With the continuous development of electronic information technology, intelligent electronic devices have become an indispensable part of work and life. It has become routine for users to use smart electronic devices to shoot.

在用户进行拍摄的场景下,若拍摄场景中的多个运动对象在运动时,可能会导致无法清晰地预览某些运动对象的运动状态,从而导致在拍摄预览过程中运动对象的运动状态的预览显示效果较差。In the scene where the user is shooting, if multiple moving objects in the shooting scene are in motion, it may cause that the motion state of some moving objects cannot be clearly previewed, which leads to the preview of the motion state of the moving objects during the shooting preview process. Display is poor.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种显示控制方法、装置、电子设备和介质,能够解决在拍摄预览过程中运动对象的运动状态的预览显示效果较差的问题。The purpose of the embodiments of the present application is to provide a display control method, device, electronic device, and medium, which can solve the problem of poor preview display effect of the motion state of a moving object during the shooting preview process.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种显示控制方法,包括:In a first aspect, an embodiment of the present application provides a display control method, including:

在拍摄预览过程中,获取N个运动对象的运动信息;During the shooting preview process, the motion information of N moving objects is obtained;

基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;Update the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects;

其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。The N moving objects are objects collected by at least one camera, and N is a positive integer.

第二方面,本申请实施例提供了一种显示控制装置,包括:In a second aspect, an embodiment of the present application provides a display control device, including:

运动信息获取模块,用于在拍摄预览过程中,获取N个运动对象的运动信息;A motion information acquisition module, used for acquiring motion information of N moving objects during the shooting preview process;

预览画面更新模块,用于基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;A preview screen update module, used for updating the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects;

其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。The N moving objects are objects collected by at least one camera, and N is a positive integer.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an 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 configured to run a program or an instruction, and implement the first aspect the method described.

在本申请实施例中,在拍摄预览过程中,基于每个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面。运动对象的拍摄预览画面可以随着运动对象的运动信息进行变化,可以更便于用户清楚地预览运动对象,优化了运动对象的预览显示效果。In the embodiment of the present application, during the shooting preview process, the shooting preview screen in the shooting preview interface is updated based on the motion information of each moving object. The shooting preview image of the moving object can be changed with the motion information of the moving object, which can make it easier for the user to preview the moving object clearly, and optimize the preview display effect of the moving object.

附图说明Description of drawings

图1是本发明实施例提供的显示控制方法的流程示意图;1 is a schematic flowchart of a display control method provided by an embodiment of the present invention;

图2是本发明实施例提供的运动对象的示意图;2 is a schematic diagram of a moving object provided by an embodiment of the present invention;

图3是本发明实施例提供的运动对象的拍摄预览界面的示意图之一;3 is one of the schematic diagrams of the shooting preview interface of a moving object provided by an embodiment of the present invention;

图4是本发明实施例提供的运动对象的拍摄预览界面的示意图之二;4 is the second schematic diagram of a shooting preview interface of a moving object provided by an embodiment of the present invention;

图5是本发明实施例提供的运动对象的拍摄预览界面的示意图之三;5 is a third schematic diagram of a shooting preview interface of a moving object provided by an embodiment of the present invention;

图6是本发明实施例提供的运动对象的拍摄预览界面的示意图之四;6 is a fourth schematic diagram of a shooting preview interface of a moving object provided by an embodiment of the present invention;

图7是本发明实施例提供的运动对象的拍摄预览界面的示意图之五;7 is the fifth schematic diagram of a shooting preview interface of a moving object provided by an embodiment of the present invention;

图8是本发明实施例提供的运动对象的拍摄预览界面的示意图之六;8 is a sixth schematic diagram of a shooting preview interface of a moving object provided by an embodiment of the present invention;

图9是本发明实施例提供的显示控制装置的结构示意图;9 is a schematic structural diagram of a display control device provided by an embodiment of the present invention;

图10是本发明实施例的电子设备的结构示意图之一;10 is one of the schematic structural diagrams of the electronic device according to the embodiment of the present invention;

图11是本发明实施例的电子设备的结构示意图之二。FIG. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的运动对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的运动对象通常为一类,并不限定运动对象的个数,例如第一运动对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接运动对象的至少其中之一,字符“/”,一般表示前后关联运动对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar moving objects, and are not used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. Moreover, the moving objects distinguished by "first", "second", etc. are usually of one type, and the number of moving objects is not limited. For example, the first moving object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected moving objects, and the character "/" generally indicates that the related moving objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示控制方法、装置、电子设备和介质进行详细地说明。The display control method, device, electronic device, and medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

在用户进行拍摄的场景下,当拍摄场景中的多个运动对象在运动时,可能会导致无法清晰地预览某些运动对象的运动状态,从而导致在拍摄预览过程中运动对象的运动状态的预览显示效果较差。In the scene where the user is shooting, when multiple moving objects in the shooting scene are moving, the motion state of some moving objects may not be clearly previewed, resulting in a preview of the motion state of the moving objects during the shooting preview process. Display is poor.

基于上述技术问题,本申请提供一种显示控制方法、装置、设备及介质,能够优化在拍摄预览过程中运动对象的运动状态的预览显示效果。下面结合附图和实施例进行详细介绍。Based on the above technical problems, the present application provides a display control method, device, device and medium, which can optimize the preview display effect of the motion state of the moving object during the shooting preview process. The following describes in detail with reference to the accompanying drawings and embodiments.

图1是本申请一实施例提供的显示控制方法的流程示意图。如图1所示,该显示控制方法100包括步骤110和步骤120。FIG. 1 is a schematic flowchart of a display control method provided by an embodiment of the present application. As shown in FIG. 1 , the display control method 100 includes step 110 and step 120 .

步骤110,在拍摄预览过程中,获取N个运动对象的运动信息。Step 110: During the shooting preview process, motion information of N moving objects is acquired.

在本申请的一些实施例中,运动对象可以为人、动物、可以移动的物体等不同的对象。在本申请的一些实施例中,运动对象的运动信息可以包括运动对象的速度、运动对象的位置等信息。In some embodiments of the present application, the moving object may be different objects such as a person, an animal, a movable object, and the like. In some embodiments of the present application, the motion information of the moving object may include information such as the speed of the moving object, the position of the moving object, and the like.

步骤120,基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面。Step 120: Update the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects.

其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。The N moving objects are objects collected by at least one camera, and N is a positive integer.

在本申请的一些实施例中,拍摄预览画面为摄像头采集的画面,具体地,可以是拍照或者录像的拍摄预览画面。拍摄预览画面可以用于显示被拍摄对象的拍摄画面。运动对象的拍摄预览画面即为摄像头采集的该运动对象的画面。In some embodiments of the present application, the shooting preview picture is a picture collected by a camera, and specifically, it may be a shooting preview picture of taking pictures or videos. The shooting preview screen can be used to display the shooting screen of the subject. The shooting preview image of the moving object is the image of the moving object captured by the camera.

在本申请实施例中,在拍摄预览过程中,基于每个运动对象的运动信息,更新每个运动对象在拍摄预览界面中的拍摄预览画面。运动对象的预览拍摄画面可以随着运动对象的运动信息进行变化,可以更便于用户清楚地预览运动对象,优化了预览显示效果。In the embodiment of the present application, during the shooting preview process, the shooting preview screen of each moving object in the shooting preview interface is updated based on the motion information of each moving object. The preview shooting picture of the moving object can change with the motion information of the moving object, which can make it easier for the user to preview the moving object clearly, and optimize the preview display effect.

下面分别对步骤110和步骤120的具体实现方式进行详细介绍。The specific implementation manners of step 110 and step 120 are respectively introduced in detail below.

首先介绍步骤110的具体实现方式。First, the specific implementation of step 110 is introduced.

在本申请的一些实施例中,在拍摄预览过程中,即至少一个摄像头在采集拍摄场景的预览图像过程中,对拍摄场景进行运动对象检测,可以得到拍摄场景内的运动对象。然后,基于拍摄场景的整个预览图像,可以得到运动对象的运动信息。In some embodiments of the present application, during the shooting preview process, that is, during the process of collecting a preview image of the shooting scene, at least one camera performs moving object detection on the shooting scene to obtain moving objects in the shooting scene. Then, based on the entire preview image of the shooting scene, the motion information of the moving object can be obtained.

在实际应用中,由于每帧拍摄场景的预览图像可以分别表征拍摄场景内的对象在某一时刻的状态,因此,若拍摄场景内的对象发生了运动,随着时间的增长得到的拍摄场景的预览图像序列中的预览图像之间便会存在差异。因此,通过比对预览图像序列中的预览图像,便可以得到拍摄场景中每个运动对象的运动信息。In practical applications, since the preview image of each frame of the shooting scene can represent the state of the object in the shooting scene at a certain moment, if the object in the shooting scene moves, the image of the shooting scene will be obtained with the increase of time. Differences can exist between the preview images in the preview image sequence. Therefore, by comparing the preview images in the preview image sequence, the motion information of each moving object in the shooting scene can be obtained.

在本申请的一些实施例中,运动对象的运动信息包括运动对象的运动速度。例如,对于预设时间段内获取的拍摄场景的预览图像序列,基于运动对象在预览图像序列中每个预览图像中的像素位置信息,可以获取在预设时间段内运动对象的位移信息,进而可以得到运动对象的运动速度。In some embodiments of the present application, the motion information of the moving object includes the moving speed of the moving object. For example, for the preview image sequence of the shooting scene obtained within a preset time period, based on the pixel position information of the moving object in each preview image in the preview image sequence, the displacement information of the moving object within the preset time period can be obtained, and then You can get the moving speed of the moving object.

在本申请的另一些实施例中,运动对象的运动信息还可以包括运动对象与拍摄场景中其他预览对象的相对位置信息。在一些示例中,可以根据不同的运动对象在拍摄场景的预览图像中的像素位置信息,来确定任意两个运动对象的相对位置信息。In other embodiments of the present application, the motion information of the moving object may further include relative position information of the moving object and other preview objects in the shooting scene. In some examples, the relative position information of any two moving objects may be determined according to the pixel position information of different moving objects in the preview image of the shooting scene.

在另一些实施例中,若采用2个摄像头进行拍摄,则可以根据每个摄像头的拍摄范围确定运动对象之间的相对位置信息。例如,若第一被拍摄对象在第一摄像头的拍摄范围内,第二被拍摄对象在第二摄像头的拍摄范围内,则可以根据第一摄像头的拍摄范围和第二摄像头的拍摄范围之间的相对位置关系,得到第一运动对象和第二运动对象之间的相对位置信息。In other embodiments, if two cameras are used for shooting, the relative position information between the moving objects can be determined according to the shooting range of each camera. For example, if the first subject is within the shooting range of the first camera, and the second subject is within the shooting range of the second camera, the difference between the shooting range of the first camera and the shooting range of the second camera may be The relative position relationship is obtained to obtain relative position information between the first moving object and the second moving object.

下面介绍步骤120的具体实现方式。The specific implementation manner of step 120 is described below.

在本申请的一些实施例中,对于每个运动对象,均可以具有各自对应的拍摄预览画面。In some embodiments of the present application, each moving object may have a corresponding shooting preview image.

本申请实施例提供的显示控制方法可以应用于不同的场景,例如可以应用于拍摄预览界面中的运动对象的总数量发生变化的场景、拍摄预览界面中运动对象的速度发生变化的场景、拍摄预览界面中运动对象的位置发生变化的场景等不同的场景。The display control method provided by the embodiment of the present application can be applied to different scenarios, for example, it can be applied to the scene where the total number of moving objects in the shooting preview interface changes, the scene where the speed of the moving objects in the shooting preview interface changes, the shooting preview interface Different scenes such as the scene where the position of the moving object in the interface changes.

当本申请实施例提供的显示控制方法应用的场景不同时,则拍摄预览界面的更新状况不同。在本申请的一些实施例中,更新拍摄预览界面中的拍摄预览画面,包括以下至少一项:更新拍摄预览界面中拍摄预览画面的数量;更新拍摄预览界面中拍摄预览画面的位置;更新拍摄预览界面中拍摄预览画面的面积;更新拍摄预览界面中的回放画面。When the application scenarios of the display control method provided by the embodiment of the present application are different, the update status of the shooting preview interface is different. In some embodiments of the present application, updating the shooting preview screen in the shooting preview interface includes at least one of the following: updating the number of shooting preview screens in the shooting preview interface; updating the position of the shooting preview screen in the shooting preview interface; updating the shooting preview The area of the shooting preview screen in the interface; update the playback screen in the shooting preview interface.

在本申请的一些实施例中,每个运动对象均可以具有对应的拍摄预览画面,则当拍摄预览界面中的运动对象的总数量发生变化的场景下,为了更清晰地预览每个运动对象的画面,则可以对拍摄预览画面的数量进行相应地更新以及对每个拍摄预览画面的面积进行相应地更新。In some embodiments of the present application, each moving object may have a corresponding shooting preview screen, and in a scene where the total number of moving objects in the shooting preview interface changes, in order to preview the image of each moving object more clearly pictures, the number of shooting preview pictures can be updated accordingly and the area of each shooting preview picture can be updated accordingly.

在本申请的一些实施例中,在拍摄预览界面中的运动对象的速度发生变化的场景下,为了便于更为清晰地预览具有不同速度的运动对象的画面,可以更新每个运动对象的拍摄预览画面的面积,以及为速度较大的运动对象增加回放画面,以便于更清晰地对运动对象进行预览。In some embodiments of the present application, in a scene where the speed of a moving object in the shooting preview interface changes, in order to preview pictures of moving objects with different speeds more clearly, the shooting preview of each moving object can be updated. The area of the picture, and the playback picture is added for the moving objects with high speed, so that the moving objects can be previewed more clearly.

在本申请的另一些实施例中,若在拍摄预览界面中运动对象之间的相对位置发生变化,为了优化对运动对象的预览效果,可以更新运动对象的拍摄预览画面在拍摄预览界面中的位置。In other embodiments of the present application, if the relative positions of moving objects change in the shooting preview interface, in order to optimize the preview effect of the moving objects, the position of the shooting preview screen of the moving objects in the shooting preview interface can be updated .

在本申请的实施例中,通过对拍摄预览界面中拍摄预览画面的数量、面积、位置以及拍摄预览界面中的回放画面中的至少一项进行更新,可以实现对运动对象进行更清晰地预览,以优化预览效果。In the embodiment of the present application, by updating at least one of the number, area, and position of the shooting preview screen in the shooting preview interface and the playback screen in the shooting preview interface, it is possible to preview the moving object more clearly, to optimize the preview effect.

下面结合不同的应用场景对步骤120的具体实现方式进行详细介绍。The specific implementation manner of step 120 will be described in detail below in combination with different application scenarios.

本申请实施例的显示控制方法可以应用于拍摄预览界面中的运动对象的总数量发生变化的场景下,通过基于拍摄预览界面中的运动对象的总数量发生变化信息,更新拍摄预览界面中拍摄预览画面的数量,可以使每个运动对象均具有各自的拍摄预览画面,以使用户可以清晰地对每个运动对象进行预览,优化了预览效果。The display control method of the embodiment of the present application can be applied to a scene where the total number of moving objects in the shooting preview interface changes, and the shooting preview in the shooting preview interface is updated based on the information on the change in the total number of moving objects in the shooting preview interface. The number of pictures can make each moving object have its own shooting preview picture, so that the user can preview each moving object clearly, and the preview effect is optimized.

因此,在本申请的一些实施例中,步骤120包括:在拍摄预览界面中运动对象的总数量发生变化的情况下,基于拍摄预览界面中运动对象的总数量的变化信息,更新拍摄预览界面中拍摄预览画面的数量。Therefore, in some embodiments of the present application, step 120 includes: in the case that the total number of moving objects in the shooting preview interface changes, based on the change information of the total number of moving objects in the shooting preview interface, update the information on the total number of moving objects in the shooting preview interface. Number of shot preview frames.

在本申请的一些实施例中,通过对象检测方法可以对拍摄预览界面中的对象进行检测,以获取拍摄预览界面中运动对象的总数量。In some embodiments of the present application, an object detection method may be used to detect objects in the shooting preview interface, so as to obtain the total number of moving objects in the shooting preview interface.

在检测到拍摄预览界面中的运动对象的总数量增加M个的情况下,即拍摄预览界面中新增了M个运动对象,则在拍摄预览界面中增加M个拍摄预览画面。其中,新增加的M个拍摄预览画面为新增的M个运动对象分别对应的拍摄预览画面。M为正整数。When it is detected that the total number of moving objects in the shooting preview interface increases by M, that is, M new moving objects are added in the shooting preview interface, then M shooting preview images are added in the shooting preview interface. The newly added M shooting preview images are shooting preview images corresponding to the newly added M moving objects respectively. M is a positive integer.

作为一个示例,参见图2,图2中示出的摄像头20的拍摄范围内包括2个运动对象,即一只运动的小狗和一只运动的小猫。参见图3可知,拍摄预览界面中包括小狗的拍摄预览画面31和小猫的拍摄预览画面32。As an example, referring to FIG. 2 , the shooting range of the camera 20 shown in FIG. 2 includes two moving objects, ie, a moving dog and a moving kitten. Referring to FIG. 3 , the shooting preview interface includes a shooting preview screen 31 of a dog and a shooting preview screen 32 of a kitten.

若图2中的拍摄范围内有新的运动对象小鸭进入时,则拍摄预览界面中运动对象的总数量增加了1,则在拍摄预览界面中增加小鸭的拍摄预览画面,以更新拍摄预览界面中拍摄预览画面的数量。参见图4,更新后的拍摄预览界面中包括了3个拍摄预览画面,分别为小狗的拍摄预览画面41、小鸭的拍摄预览画面42和小猫的拍摄预览画面43。If a new moving object duckling enters the shooting range in Figure 2, the total number of moving objects in the shooting preview interface increases by 1, and the shooting preview screen of duckling is added in the shooting preview interface to update the shooting preview The number of shot preview images in the interface. Referring to FIG. 4 , the updated shooting preview interface includes three shooting preview screens, namely, a shooting preview screen 41 of a dog, a shooting preview screen 42 of a duck, and a shooting preview screen 43 of a kitten.

在检测到拍摄预览界面中的运动对象的总数量减少了P个的情况下,即拍摄预览界面中减少了P个运动对象,则从拍摄预览界面中移除P个拍摄预览画面。其中,移除的P个拍摄预览画面为超出至少一个摄像头的拍摄范围的P个运动对象分别对应的拍摄预览画面。P为正整数。When it is detected that the total number of moving objects in the shooting preview interface is reduced by P, that is, P moving objects are reduced in the shooting preview interface, the P shooting preview images are removed from the shooting preview interface. The removed P shooting preview images are the shooting preview images corresponding to the P moving objects that are beyond the shooting range of the at least one camera. P is a positive integer.

作为一个示例,若图4中的小狗超出了摄像头20的拍摄范围,则从拍摄预览界面中移除小狗的拍摄预览画面,即更新后的拍摄预览界面中包括小猫的拍摄预览画面和小鸭的拍摄预览画面。As an example, if the puppy in FIG. 4 is beyond the shooting range of the camera 20, the shooting preview image of the puppy is removed from the shooting preview interface, that is, the updated shooting preview interface includes the shooting preview image of the cat and the Duckling's shooting preview.

在本申请的实施例中,通过基于运动对象的总数量的变化信息更新拍摄预览界面中拍摄预览画面的数量,可以实现为每个运动对象均分配一个拍摄预览画面,以便于对每个运动对象进行更清晰地预览。In the embodiment of the present application, by updating the number of shooting preview images in the shooting preview interface based on the change information of the total number of moving objects, it is possible to allocate a shooting preview screen to each moving object, so that each moving object can be assigned a shooting preview screen. for a clearer preview.

本申请实施例的显示控制方法可以应用于拍摄预览界面中的运动对象的速度发生变化的场景下,通过基于拍摄预览界面中的运动对象的速度,更新拍摄预览界面中拍摄预览画面,以使用户可以清晰地对具有不同速度的运动对象进行预览,优化了预览效果。The display control method of the embodiment of the present application can be applied to a scene where the speed of a moving object in the shooting preview interface changes, and the shooting preview screen in the shooting preview interface is updated based on the speed of the moving object in the shooting preview interface, so that the user can The moving objects with different speeds can be clearly previewed, and the preview effect is optimized.

因此,在本申请的一些实施例中,步骤120包括:基于N个运动对象的运动速度之间的比值,确定N个运动对象对应的拍摄预览画面的面积之间的比值;根据N个运动对象对应的拍摄预览画面的面积之间的比值,以及拍摄预览界面的总面积,更新每个运动对象对应的拍摄预览画面的面积。Therefore, in some embodiments of the present application, step 120 includes: based on the ratio between the moving speeds of the N moving objects, determining the ratio between the areas of the shooting preview images corresponding to the N moving objects; The ratio between the areas of the corresponding shooting preview screen and the total area of the shooting preview interface updates the area of the shooting preview screen corresponding to each moving object.

在本申请的实施例中,可以将N个运动对象的运动速度之间的比值确定为这N个运动对象在拍摄预览界面中的拍摄预览画面的面积之间的比值。In the embodiment of the present application, the ratio between the moving speeds of the N moving objects may be determined as the ratio between the areas of the shooting preview images of the N moving objects in the shooting preview interface.

作为一个示例,若拍摄预览界面中具有3个运动对象,这三个运动对象的运动速度的比值为a:b:c,则这三个运动对象在拍摄预览界面中的拍摄预览画面的面积的比值为a:b:c。其中,a,b,c均为正数。As an example, if there are three moving objects in the shooting preview interface, and the ratio of the motion speeds of the three moving objects is a:b:c, then the area of the shooting preview screen of the three moving objects in the shooting preview interface The ratio is a:b:c. Among them, a, b, and c are all positive numbers.

作为一个示例,参见图2,图2中示出的摄像头20的拍摄范围内包括2个运动对象,即一只运动的小狗和一只运动的小猫。假设小狗的运动速度是小猫的运动速度的2倍,即小狗的运动速度和小猫的运动速度的比值为2:1。则,小狗在拍摄预览界面中的拍摄预览画面的面积与小猫在拍摄预览界面中的拍摄预览画面的面积的比值等于小狗的运动速度与小猫的运动速度的比值,即2:1。假设拍摄预览界面是横屏显示,参见图3,将小狗在拍摄预览界面中的拍摄预览画面的面积更新为拍摄预览界面的2/3,将小猫在拍摄预览界面中的拍摄预览画面的面积调整为拍摄预览界面的1/3。As an example, referring to FIG. 2 , the shooting range of the camera 20 shown in FIG. 2 includes two moving objects, ie, a moving dog and a moving kitten. Assume that the speed of the puppy is twice that of the kitten, that is, the ratio of the speed of the puppy to the speed of the kitten is 2:1. Then, the ratio of the area of the shooting preview screen of the puppy in the shooting preview interface to the area of the shooting preview screen of the cat in the shooting preview interface is equal to the ratio of the moving speed of the puppy to the moving speed of the kitten, that is, 2:1 . Assuming that the shooting preview interface is displayed on a horizontal screen, see Figure 3, update the area of the shooting preview screen of the dog in the shooting preview interface to 2/3 of the shooting preview screen, and change the area of the shooting preview screen of the cat in the shooting preview screen The area is adjusted to 1/3 of the shooting preview interface.

在本申请的实施例中,按照运动对象之间的速度比值更新运动对象之间的拍摄预览画面的面积,可以使速度较大的运动对象获取面积更大的拍摄预览画面,从而优化了对速度大的运动对象的预览效果。In the embodiment of the present application, the area of the shooting preview screen between the moving objects is updated according to the speed ratio between the moving objects, so that the moving object with a higher speed can obtain a shooting preview screen with a larger area, thereby optimizing the speed Preview effect for large moving objects.

基于上述叙述可知,在本申请实施例的显示控制方法应用于拍摄预览界面中的运动对象的总数量发生变化的场景下,不仅可以根据基于拍摄预览界面中运动对象的总数量的变化信息,更新拍摄预览界面中拍摄预览画面的数量,还可以根据拍摄预览画面中N个运动对象的速度之间的比值,更新每个运动对象对应的拍摄预览画面的面积。Based on the above description, it can be seen that when the display control method of the embodiment of the present application is applied to a scene where the total number of moving objects in the shooting preview interface changes, it can not only update information based on the change information based on the total number of moving objects in the shooting preview interface The number of shooting preview images in the shooting preview interface, and the area of the shooting preview image corresponding to each moving object can also be updated according to the ratio between the speeds of N moving objects in the shooting preview image.

在本申请实施例的显示控制方法应用于拍摄预览界面中的运动对象的总数量发生变化、运动对象之间的相对位置发生变化以及运动对象的速度发生变化的至少一个场景的情况下,为了实现用户可以清晰地对运动对象进行预览,优化预览效果,在本申请的一些实施例中,步骤120包括:对于每个运动对象,将运动对象的拍摄预览画面更新为运动对象的第一预览子画面和运动对象的回放画面。When the display control method of the embodiment of the present application is applied to at least one scene in which the total number of moving objects in the shooting preview interface changes, the relative positions between moving objects change, and the speed of moving objects changes, in order to achieve The user can clearly preview the moving object to optimize the preview effect. In some embodiments of the present application, step 120 includes: for each moving object, updating the shooting preview picture of the moving object to the first preview sub-picture of the moving object and the playback screen of moving objects.

其中,第一预览子画面用于预览运动对象,回放画面用于播放运动对象在目标时刻之前的预设时长内的预览画面,目标时刻为将运动对象的拍摄预览画面更新为第一预览子画面和回放画面的时刻。The first preview sub-picture is used to preview the moving object, and the playback picture is used to play the preview picture of the moving object within a preset time period before the target time, and the target time is to update the shooting preview picture of the moving object to the first preview sub-picture and the moment of playback.

在本申请的实施例中,可以获取运动对象在目标时刻之前的预设时长内的视频段,然后将更改该视频段的播放帧率,以得到该运动对象的回放画面。作为一个示例,为了便于更清晰地预览运动对象的回放画面,可以降低运动对象的视频段的播放帧率,对运动对象的视频段进行慢速回放,以优化对该运动对象的运动状态的预览效果。In the embodiment of the present application, a video segment of a moving object within a preset duration before the target time can be acquired, and then the playback frame rate of the video segment is changed to obtain a playback picture of the moving object. As an example, in order to preview the playback picture of the moving object more clearly, the playback frame rate of the video segment of the moving object can be reduced, and the video segment of the moving object can be played back at a slow speed, so as to optimize the preview of the motion state of the moving object Effect.

参见图5,拍摄预览界面中包括小狗的拍摄预览画面和小猫的拍摄预览画面。其中,小狗的拍摄预览画面包括小狗的第一预览子画面51和小狗的回放画面52,小猫的拍摄预览画面包括小猫的第一预览子画面53和小猫的回放画面54。Referring to FIG. 5 , the shooting preview interface includes a shooting preview image of a dog and a shooting preview image of a kitten. The shooting preview picture of the puppy includes the first preview sub-picture 51 of the puppy and the playback picture 52 of the puppy, and the shooting preview picture of the kitten includes the first preview sub-picture 53 of the kitten and the playback picture 54 of the kitten.

在本申请的实施例中,通过为运动对象设置预览子画面可以预览运动对象的当前画面,通过为运动对象设置回放画面,可以回放运动对象之间的画面,从而可以使用户更为全面地实现对运动对象的预览,进一步优化了预览效果。In the embodiment of the present application, the current picture of the moving object can be previewed by setting the preview sub-picture for the moving object, and the pictures between the moving objects can be played back by setting the playback picture for the moving object, so that the user can realize the comprehensive The preview of moving objects has further optimized the preview effect.

在本申请实施例的显示控制方法应用于拍摄预览界面中的运动对象的速度发生变化的场景下,为了在节省资源的同时又能提高对速度大的运动对象更为清晰地预览,则步骤120包括:在运动对象的运动速度大于第一预设运动速度阈值的情况下,将运动对象的拍摄预览画面更新为运动对象的第一预览子画面和该运动对象的回放画面。When the display control method of the embodiment of the present application is applied to the scene where the speed of the moving object in the shooting preview interface changes, in order to save resources and at the same time improve the preview of the moving object with high speed more clearly, step 120 The method includes: updating the shooting preview picture of the moving object to a first preview sub-picture of the moving object and a playback picture of the moving object when the moving speed of the moving object is greater than a first preset moving speed threshold.

参见图6,若图2中摄像头拍摄的小狗的移动速度超过第一预设运动速度阈值时,则将图3中小狗对应的拍摄预览画面更新为小狗的第一预览子画面61以及小狗的回放画面62。其中,小狗的第一预览子画面用于保持对小狗的预览,小狗的回放画面用于对小狗在目标时刻之前的预设时长内的移动进行回放。由于图2中的小猫的移动速度未超过第一预设运动速度阈值,因此小猫的拍摄预览画面63可以不进行更新。Referring to Fig. 6, if the moving speed of the puppy photographed by the camera in Fig. 2 exceeds the first preset motion speed threshold, then the shooting preview picture corresponding to the puppy in Fig. 3 is updated to the first preview sub-picture 61 of the puppy and the small picture. Playback screen 62 of the dog. The first preview sub-picture of the puppy is used to keep the preview of the puppy, and the playback picture of the puppy is used to play back the movement of the puppy within a preset time period before the target time. Since the moving speed of the kitten in FIG. 2 does not exceed the first preset motion speed threshold, the shooting preview screen 63 of the kitten may not be updated.

在本申请的实施例中,若运动对象的运动速度大于第一预设运动速度阈值,则将运动对象的拍摄预览画面更新为该运动对象的第一预览子画面以及该运动对象的回放画面,则可以在保持对运动对象预览的同时,回放运动对象在过去的运动画面,更细节地展示出运动对象的运动状态,从而更便于用户对该运动对象的预览。并且根据运动对象的速度对其拍摄预览画面进行更新,可以进一步节省资源。In the embodiment of the present application, if the motion speed of the moving object is greater than the first preset motion speed threshold, the shooting preview picture of the moving object is updated to the first preview sub-picture of the moving object and the playback picture of the moving object, Then, while maintaining the preview of the moving object, the past moving pictures of the moving object can be played back, and the motion state of the moving object can be displayed in more detail, so that the user can preview the moving object more conveniently. And the shooting preview image of the moving object is updated according to the speed of the moving object, which can further save resources.

本申请实施例的显示控制方法可以应用于拍摄预览界面中的运动对象之间的相对位置发生变化的场景下,通过根据不同运动对象之间的相对位置,更新每个运动对象对应的拍摄预览画面的显示位置,以使用户可以清晰地对运动对象进行预览,优化了预览效果。The display control method of the embodiment of the present application can be applied to a scene where the relative positions of moving objects in the shooting preview interface change, by updating the shooting preview screen corresponding to each moving object according to the relative positions between different moving objects The display position of , so that the user can preview the moving object clearly, and the preview effect is optimized.

因此,在本申请的一些实施例中,步骤120包括:对于每个运动对象,基于运动对象与每个其他运动对象之间的相对位置信息,确定运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置;根据运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置,更新每个运动对象对应的拍摄预览画面的显示位置。Therefore, in some embodiments of the present application, step 120 includes: for each moving object, based on the relative position information between the moving object and each other moving object, determine the shooting preview image corresponding to the moving object and each other moving object The relative position between the shooting preview images of the objects; according to the relative position between the shooting preview image corresponding to the moving object and the shooting preview images of each other moving object, the display position of the shooting preview image corresponding to each moving object is updated.

在本申请的实施例中,若采用一个摄像头进行拍摄,则可以根据每个运动对象在整个拍摄场景的预览图像中的像素位置,来确定不同的运动对象之间的相对位置信息。In the embodiment of the present application, if one camera is used for shooting, the relative position information between different moving objects can be determined according to the pixel position of each moving object in the preview image of the entire shooting scene.

若采用多个摄像头进行拍摄,则可以根据每个摄像头的拍摄范围以及运动对象在整个拍摄场景的预览图像中的像素位置,来确定不同的运动对象之间的相对位置信息。If multiple cameras are used for shooting, the relative position information between different moving objects can be determined according to the shooting range of each camera and the pixel positions of the moving objects in the preview image of the entire shooting scene.

在本申请的实施例中,参见图7,若小狗在摄像头71的拍摄范围内,小猫在摄像头72的拍摄范围内。由于摄像头71的拍摄范围在第二摄像头72的拍摄范围的左边,因此可以确定小狗与小猫的相对位置信息为小狗在小猫的左边。因此,可以确定小狗的拍摄预览画面与小猫的拍摄预览画面的相对位置为小狗的拍摄预览画面在小猫的拍摄预览画面的左边。因此在拍摄预览界面中更新小狗的拍摄预览画面和小猫的拍摄预览画面的显示位置,以使小狗的拍摄预览画面在小猫的拍摄预览画面的左边。In the embodiment of the present application, referring to FIG. 7 , if the puppy is within the shooting range of the camera 71 , the kitten is within the shooting range of the camera 72 . Since the shooting range of the camera 71 is to the left of the shooting range of the second camera 72, it can be determined that the relative position information of the puppy and the kitten is that the puppy is to the left of the kitten. Therefore, it can be determined that the relative position of the shooting preview image of the puppy and the shooting preview image of the kitten is that the shooting preview image of the puppy is on the left side of the shooting preview image of the kitten. Therefore, the display positions of the shooting preview screen of the dog and the shooting preview screen of the kitten are updated in the shooting preview interface, so that the shooting preview screen of the puppy is on the left side of the shooting preview screen of the kitten.

继续参见图8,若随着小狗和小猫的移动,小狗和小猫的相对位置信息发生变化,即小猫在摄像头71的拍摄范围内,小狗在摄像头72的拍摄范围内。由于摄像头71的拍摄范围在摄像头72的拍摄范围的左边,因此可以确定小猫与小狗的相对位置信息为小狗在小猫的右边。因此在拍摄预览界面中更新小狗的拍摄预览画面和小猫的拍摄预览画面的显示位置,以使小狗的拍摄预览画面在小猫的拍摄预览画面的右边。Continuing to refer to FIG. 8 , if the relative position information of the puppy and the kitten changes with the movement of the puppy and the kitten, that is, the kitten is within the shooting range of the camera 71 and the puppy is within the shooting range of the camera 72 . Since the shooting range of the camera 71 is to the left of the shooting range of the camera 72, it can be determined that the relative position information of the kitten and the puppy is that the puppy is to the right of the kitten. Therefore, the display positions of the shooting preview screen of the dog and the shooting preview screen of the kitten are updated in the shooting preview interface, so that the shooting preview screen of the puppy is on the right side of the shooting preview screen of the kitten.

在本申请的实施例中,基于运动对象与每个其他运动对象之间的相对位置信息,更新运动对象的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置,以使运动对象的拍摄预览画面与其他运动对象的拍摄预览画面之间的相对位置信息和运动对象与其他运动对象之间的相对位置信息一致,可以实现通过运动对象的拍摄预览画面的位置交换以使用户明显地预览到运动对象之间的位置交换,从而可以优化在拍摄预览过程中对运动对象的运动状态的预览效果。In the embodiment of the present application, based on the relative position information between the moving object and each other moving object, the relative position between the shooting preview picture of the moving object and the shooting preview picture of each other moving object is updated, so as to make the moving object The relative position information between the shooting preview screen of the object and the shooting preview screen of other moving objects is consistent with the relative position information between the moving object and other moving objects, and the position exchange of the shooting preview screen of the moving object can be realized to make it obvious to the user. It is possible to optimize the preview effect of the motion state of the moving object during the shooting preview process.

需要说明的是,本申请实施例的显示控制方法可以同时应用于多个场景,则可以根据每个场景下的运动信息相应地更新拍摄预览界面中的拍摄预览画面。例如,在本申请实施例的显示控制方法应用于拍摄预览界面中的运动对象的总数量发生变化以及运动对象之间的相对位置也发生变化的场景下,则可以根据上述叙述相应地更新拍摄预览界面中拍摄预览画面的数量、更新拍摄预览界面中拍摄预览画面的位置、更新拍摄预览界面中拍摄预览画面的面积以及更新拍摄预览界面中的回放画面。再例如,在本申请实施例的显示控制方法应用运动对象的速度发生变化且运动对象之间的相对位置也发生变化的场景下,则可以根据上述叙述相应地更新拍摄预览界面中拍摄预览画面的位置、更新拍摄预览界面中拍摄预览画面的面积以及更新拍摄预览界面中的回放画面。It should be noted that, the display control method of the embodiment of the present application can be applied to multiple scenes at the same time, and the shooting preview screen in the shooting preview interface can be updated accordingly according to the motion information in each scene. For example, when the display control method of the embodiment of the present application is applied to a scene where the total number of moving objects in the shooting preview interface changes and the relative positions between the moving objects also changes, the shooting preview can be updated accordingly according to the above description The number of shooting preview screens in the interface, updating the position of the shooting preview screen in the shooting preview interface, updating the area of the shooting preview screen in the shooting preview interface, and updating the playback screen in the shooting preview interface. For another example, in a scenario in which the speed of the moving objects applied to the display control method of the embodiment of the present application changes and the relative positions between the moving objects also change, the information on the shooting preview screen in the shooting preview interface may be updated accordingly according to the above description. position, update the area of the shooting preview screen in the shooting preview interface, and update the playback screen in the shooting preview interface.

因此,为了扩大拍摄范围,在本申请的一些实施例中,在拍摄预览过程中,本申请提供的显示控制方法还包括:对于每个运动对象,在运动对象超出至少一个摄像头中第一摄像头的拍摄范围的情况下,通过至少一个摄像头中的第二摄像头对运动对象进行追踪拍摄;其中,第二摄像头为运动对象所在拍摄范围对应的摄像头。Therefore, in order to expand the shooting range, in some embodiments of the present application, during the shooting preview process, the display control method provided by the present application further includes: for each moving object, when the moving object exceeds the range of the first camera in the at least one camera In the case of the shooting range, the moving object is tracked and shot by the second camera in the at least one camera; wherein, the second camera is a camera corresponding to the shooting range where the moving object is located.

参见图7和图8,若小狗原来摄像头71的拍摄范围内,小猫在摄像头72的拍摄范围内,随着小狗和小猫的移动,小猫在摄像头71的拍摄范围内,小狗在摄像头72的拍摄范围内,因此,对于运动对象小狗而言,拍摄该小狗的摄像头从摄像头71调整为摄像头72,对于运动对象小猫而言,拍摄该小猫的摄像头从摄像头72调整为摄像头71,从而可以实现在尽可能长的时间段内使运动对象小狗和小猫处于摄像头71或者摄像头72的拍摄范围内,以使用户在不改变摄像头的位置的情况下,可以继续预览这两个运动对象。7 and 8 , if the puppy is within the shooting range of the camera 71 and the kitten is within the shooting range of the camera 72, with the movement of the puppy and the kitten, the kitten is within the shooting range of the camera 71, and the puppy is within the shooting range of the camera 71. Within the shooting range of the camera 72, therefore, for the moving object puppy, the camera for shooting the puppy is adjusted from camera 71 to camera 72, and for the moving object kitten, the camera for shooting the kitten is adjusted from camera 72 It is the camera 71, so that the moving object puppies and kittens can be kept within the shooting range of the camera 71 or the camera 72 for as long as possible, so that the user can continue to preview without changing the position of the camera The two moving objects.

在本申请的一些实施例中,利用多个摄像头进行拍摄,当运动对象超出一个摄像头的拍摄范围时,可以采用另一个摄像头继续追踪拍摄该运动对象,能够实现在尽可能长的时间段内,保证运动对象能够在至少一个摄像头的拍摄范围内,使用户可以预览到运动对象,不需要用户移动摄像头的位置来跟踪拍摄运动对象,提高了拍摄和预览的效率。In some embodiments of the present application, multiple cameras are used for shooting, and when a moving object exceeds the shooting range of one camera, another camera can be used to continue to track and shoot the moving object, which can be achieved in as long as possible. It is ensured that the moving object can be within the shooting range of at least one camera, so that the user can preview the moving object, and the user does not need to move the position of the camera to track and shoot the moving object, which improves the efficiency of shooting and previewing.

在本申请的一些实施例中,本申请提供的显示控制方法应用于电子设备,该电子设备包括可折叠屏,在步骤120之后,本申请提供的显示控制方法还包括:控制可折叠屏在目标折叠处进行折叠,以使至少一个运动对象的拍摄预览画面与用户的视线垂直;其中,目标折叠处为相邻两个拍摄预览画面的交界处。In some embodiments of the present application, the display control method provided by the present application is applied to an electronic device, and the electronic device includes a foldable screen. After step 120, the display control method provided by the present application further includes: controlling the foldable screen on the target The folded place is folded, so that the shooting preview picture of at least one moving object is perpendicular to the user's line of sight; wherein, the target folded place is the junction of two adjacent shooting preview pictures.

在本申请的实施例中,若至少一个摄像头可以采集到用户的眼部图像,则可以通过采集的用户的眼部图像,确定用户的视线方向与拍摄预览界面之间的角度。然后,基于用户的视线方向,可以确定目标折叠处以及可折叠屏需要折叠的角度。在本申请的实施例中,可折叠的折叠角度以及目标折叠处的个数均以拍摄预览画面与用户的视线垂直为基准。In the embodiment of the present application, if at least one camera can capture the user's eye image, the angle between the user's line of sight and the shooting preview interface can be determined by using the captured user's eye image. Then, based on the direction of the user's line of sight, the target fold and the angle at which the foldable screen needs to be folded can be determined. In the embodiment of the present application, the foldable folding angle and the number of target folded positions are both based on the perpendicularity between the shooting preview image and the user's line of sight.

在本申请的实施例中,通过控制可折叠屏在目标折叠处进行折叠,从而使至少一个运动对象的拍摄预览画面与用户的视线垂直,不需要用户操作,既可以实现用户对运动对象进行预览。In the embodiment of the present application, the foldable screen is controlled to be folded at the target fold, so that the shooting preview screen of at least one moving object is perpendicular to the user's line of sight, and the user can preview the moving object without any user operation. .

在本申请的实施例中,通过确定运动对象的个数,并以运动对象的运动信息来确定每个运动对象的拍摄预览画面占比。并且可以根据每个运动对象的拍摄预览画面,确定柔性屏折痕位置,同时以拍摄预览画面分界线为折痕折叠屏幕,使客户更直观清晰的观看预览内容,且能充分利用屏幕显示资源。In the embodiment of the present application, the number of moving objects is determined, and the motion information of the moving objects is used to determine the proportion of the shooting preview screen of each moving object. And according to the shooting preview image of each moving object, the position of the flexible screen crease can be determined, and the screen can be folded with the dividing line of the shooting preview image as the crease, so that customers can watch the preview content more intuitively and clearly, and can make full use of the screen display resources.

本申请实施例提供的显示控制方法,执行主体可以为显示控制装置,或者该显示控制装置中的用于执行显示控制方法的控制模块。需要说明的是,本申请实施例中以显示控制装置执行显示控制方法为例,说明本申请实施例提供的显示控制装置。In the display control method provided by the embodiment of the present application, the execution body may be a display control device, or a control module in the display control device for executing the display control method. It should be noted that, in the embodiment of the present application, the display control device provided by the embodiment of the present application is described by taking the display control device executing the display control method as an example.

图9是本申请一实施例提供的显示控制装置的结构示意图。如图9所示,显示控制装置900包括:FIG. 9 is a schematic structural diagram of a display control device provided by an embodiment of the present application. As shown in FIG. 9, the display control device 900 includes:

运动信息获取模块910,用于在拍摄预览过程中,获取N个运动对象的运动信息;a motion information acquisition module 910, configured to acquire motion information of N moving objects during the shooting preview process;

预览画面更新模块920,用于基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;A preview screen update module 920, configured to update the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects;

其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。The N moving objects are objects collected by at least one camera, and N is a positive integer.

在本申请实施例中,在拍摄预览过程中,基于每个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面。运动对象的拍摄预览画面可以随着运动对象的运动信息进行变化,可以更便于用户清楚地预览运动对象,优化了运动对象的预览显示效果。In the embodiment of the present application, during the shooting preview process, the shooting preview screen in the shooting preview interface is updated based on the motion information of each moving object. The shooting preview image of the moving object can be changed with the motion information of the moving object, which can make it easier for the user to preview the moving object clearly, and optimize the preview display effect of the moving object.

在本申请的一些实施例中,预览画面更新模块920用于执行以下的至少一项:In some embodiments of the present application, the preview screen update module 920 is configured to perform at least one of the following:

更新拍摄预览界面中拍摄预览画面的数量;Update the number of shooting preview images in the shooting preview interface;

更新拍摄预览界面中拍摄预览画面的位置;Update the position of the shooting preview screen in the shooting preview interface;

更新拍摄预览界面中拍摄预览画面的面积;Update the area of the shooting preview screen in the shooting preview interface;

更新拍摄预览界面中的回放画面。Update the playback screen in the shooting preview interface.

在本申请的一些实施例中,预览画面模块920用于:In some embodiments of the present application, the preview screen module 920 is used for:

在拍摄预览界面中运动对象的总数量发生变化的情况下,基于拍摄预览界面中运动对象的总数量的变化信息,更新拍摄预览界面中拍摄预览画面的数量。When the total number of moving objects in the shooting preview interface changes, the number of shooting preview images in the shooting preview interface is updated based on the change information of the total number of moving objects in the shooting preview interface.

在本申请的一些实施例中,预览画面模块920用于:In some embodiments of the present application, the preview screen module 920 is used for:

基于N个运动对象的运动速度之间的比值,确定N个运动对象对应的拍摄预览画面的面积之间的比值;Determine the ratio between the areas of the shooting preview images corresponding to the N moving objects based on the ratio between the moving speeds of the N moving objects;

根据N个运动对象对应的拍摄预览画面的面积之间的比值,以及拍摄预览界面的总面积,更新每个运动对象对应的拍摄预览画面的面积。The area of the shooting preview screen corresponding to each moving object is updated according to the ratio between the areas of the shooting preview screen corresponding to the N moving objects and the total area of the shooting preview interface.

在本申请的一些实施例中,预览画面模块920用于:In some embodiments of the present application, the preview screen module 920 is used for:

对于每个运动对象,将运动对象的拍摄预览画面更新为运动对象的第一预览子画面和运动对象的回放画面;For each moving object, update the shooting preview picture of the moving object to the first preview sub-picture of the moving object and the playback picture of the moving object;

其中,第一预览子画面用于预览运动对象,回放画面用于播放运动对象在目标时刻之前的预设时长内的预览画面,目标时刻为将运动对象的拍摄预览画面更新为第一预览子画面和回放画面的时刻。The first preview sub-picture is used to preview the moving object, and the playback picture is used to play the preview picture of the moving object within a preset time period before the target time, and the target time is to update the shooting preview picture of the moving object to the first preview sub-picture and the moment of playback.

在本申请的一些实施例中,预览画面模块920用于:在运动对象的运动速度大于第一预设运动速度阈值的情况下,将运动对象的拍摄预览画面更新为运动对象的第一预览子画面和运动对象的回放画面。In some embodiments of the present application, the preview image module 920 is configured to: update the shooting preview image of the moving object to the first preview sub-frame of the moving object when the moving speed of the moving object is greater than the first preset moving speed threshold Playback of pictures and moving objects.

在本申请的一些实施例中,预览画面模块920用于:In some embodiments of the present application, the preview screen module 920 is used for:

对于每个运动对象,基于运动对象与每个其他运动对象之间的相对位置信息,确定运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置;For each moving object, based on the relative position information between the moving object and each other moving object, determine the relative position between the shooting preview picture corresponding to the moving object and the shooting preview picture of each other moving object;

根据运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置,更新每个运动对象对应的拍摄预览画面的显示位置。The display position of the shooting preview screen corresponding to each moving object is updated according to the relative position between the shooting preview screen corresponding to the moving object and the shooting preview screen of each other moving object.

在本申请的一些实施例中,显示控制装置900还包括:In some embodiments of the present application, the display control apparatus 900 further includes:

调整模块,用于对于每个运动对象,在运动对象超出至少一个摄像头中第一摄像头的拍摄范围的情况下,通过至少一个摄像头中的第二摄像头对运动对象进行追踪拍摄;an adjustment module, configured to, for each moving object, track and photograph the moving object through the second camera in the at least one camera when the moving object exceeds the shooting range of the first camera in the at least one camera;

其中,第二摄像头为运动对象所在拍摄范围对应的摄像头。The second camera is a camera corresponding to the shooting range where the moving object is located.

本申请实施例中的显示控制装置可以是装置,也可以是装置中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The display control 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 the device. The apparatus 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, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.

本申请实施例中的显示控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The display control device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的显示控制装置能够实现图1至图8的方法实施例中显示控制装置实现的各个过程,为避免重复,这里不再赘述。The display control apparatus provided in the embodiments of the present application can implement the various processes implemented by the display control apparatus in the method embodiments of FIG. 1 to FIG. 8 , which are not repeated here to avoid repetition.

可选的,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10 , an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001, the program Or, when the instruction is executed by the processor 1001, each process of the above-mentioned display control method embodiment can be implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.

本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions. The structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .

其中,处理器1110用于在拍摄预览过程中,获取N个运动对象的运动信息;基于N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;其中,N个运动对象为至少一个摄像头采集的对象,N为正整数。The processor 1110 is configured to acquire motion information of N moving objects during the shooting preview process; update the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects; wherein the N moving objects are at least one The object collected by the camera, N is a positive integer.

在本申请实施例中,在拍摄预览过程中,基于每个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面。运动对象的拍摄预览画面可以随着运动对象的运动信息进行变化,可以更便于用户清楚地预览运动对象,优化了运动对象的预览显示效果。In the embodiment of the present application, during the shooting preview process, the shooting preview screen in the shooting preview interface is updated based on the motion information of each moving object. The shooting preview image of the moving object can be changed with the motion information of the moving object, which can make it easier for the user to preview the moving object clearly, and optimize the preview display effect of the moving object.

可选地,处理器1110用于执行以下至少一项:更新拍摄预览界面中拍摄预览画面的数量;更新拍摄预览界面中拍摄预览画面的位置;更新拍摄预览界面中拍摄预览画面的面积;更新拍摄预览界面中的回放画面。Optionally, the processor 1110 is configured to perform at least one of the following: update the number of shooting preview images in the shooting preview interface; update the position of the shooting preview screen in the shooting preview interface; update the area of the shooting preview screen in the shooting preview interface; update the shooting preview The playback screen in the preview interface.

在本申请的实施例中,通过对拍摄预览界面中拍摄预览画面的数量、面积、位置以及拍摄预览界面中的回放画面中的至少一项进行更新,可以实现对运动对象进行更清晰地预览,以优化预览效果。In the embodiment of the present application, by updating at least one of the number, area, and position of the shooting preview screen in the shooting preview interface and the playback screen in the shooting preview interface, it is possible to preview the moving object more clearly, to optimize the preview effect.

可选地,处理器1110用于在拍摄预览界面中运动对象的总数量发生变化的情况下,基于拍摄预览界面中运动对象的总数量的变化信息,更新拍摄预览界面中拍摄预览画面的数量。Optionally, the processor 1110 is configured to update the number of shooting preview images in the shooting preview interface based on the change information of the total number of moving objects in the shooting preview interface when the total number of moving objects in the shooting preview interface changes.

在本申请的实施例中,通过基于运动对象的总数量的变化信息更新拍摄预览界面中拍摄预览画面的数量,可以实现为每个运动对象均分配一个拍摄预览画面,以便于对每个运动对象进行更清晰地预览。In the embodiment of the present application, by updating the number of shooting preview images in the shooting preview interface based on the change information of the total number of moving objects, it is possible to allocate a shooting preview screen to each moving object, so that each moving object can be assigned a shooting preview screen. for a clearer preview.

可选地,处理器1110用于基于N个运动对象的运动速度之间的比值,确定N个运动对象对应的拍摄预览画面的面积之间的比值;根据N个运动对象对应的拍摄预览画面的面积之间的比值,以及拍摄预览界面的总面积,更新每个运动对象对应的拍摄预览画面的面积。Optionally, the processor 1110 is configured to determine the ratio between the areas of the shooting preview pictures corresponding to the N moving objects based on the ratio between the moving speeds of the N moving objects; The ratio between the areas, and the total area of the shooting preview interface, update the area of the shooting preview screen corresponding to each moving object.

在本申请的实施例中,按照运动对象之间的速度比值更新运动对象之间的拍摄预览画面的面积,可以使速度较大的运动对象获取面积更大的拍摄预览画面,从而优化了对速度大的运动对象的预览效果。In the embodiment of the present application, the area of the shooting preview screen between the moving objects is updated according to the speed ratio between the moving objects, so that the moving object with a higher speed can obtain a shooting preview screen with a larger area, thereby optimizing the speed Preview effect for large moving objects.

可选地,处理器1110用于对于每个运动对象,将运动对象的拍摄预览画面更新为第一预览子画面和回放画面;其中,第一预览子画面用于预览运动对象,回放画面用于播放运动对象在目标时刻之前的预设时长内的预览画面,目标时刻为将运动对象的拍摄预览画面更新为第一预览子画面和回放画面的时刻。Optionally, the processor 1110 is configured to, for each moving object, update the shooting preview picture of the moving object to a first preview sub-picture and a playback picture; wherein, the first preview sub-picture is used to preview the moving object, and the playback picture is used to preview the moving object. The preview image of the moving object within a preset time period before the target time is played, and the target time is the time when the shooting preview image of the moving object is updated to the first preview sub-image and the playback image.

可选地,处理器1110用于在运动对象的运动速度大于第一预设运动速度阈值的情况下,将运动对象的拍摄预览画面更新为第一预览子画面和回放画面。Optionally, the processor 1110 is configured to update the shooting preview picture of the moving object to the first preview sub-picture and the playback picture when the moving speed of the moving object is greater than the first preset moving speed threshold.

在本申请的实施例中,若运动对象的运动速度大于第一预设运动速度阈值,则将运动对象的拍摄预览画面更新为该运动对象的第一预览子画面以及该运动对象的回放画面,则可以在保持对运动对象预览的同时,回放运动对象在过去的运动画面,更细节地展示出运动对象的运动状态,从而更便于用户对该运动对象的预览。并且根据运动对象的速度对其拍摄预览画面进行更新,可以进一步节省资源。In the embodiment of the present application, if the motion speed of the moving object is greater than the first preset motion speed threshold, the shooting preview picture of the moving object is updated to the first preview sub-picture of the moving object and the playback picture of the moving object, Then, while maintaining the preview of the moving object, the past moving pictures of the moving object can be played back, and the motion state of the moving object can be displayed in more detail, so that the user can preview the moving object more conveniently. And the shooting preview image of the moving object is updated according to the speed of the moving object, which can further save resources.

可选地,处理器1110用于对于每个运动对象,基于运动对象与每个其他运动对象之间的相对位置信息,确定运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置;根据运动对象对应的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置,更新每个运动对象对应的拍摄预览画面的显示位置。Optionally, the processor 1110 is configured to, for each moving object, determine the difference between the shooting preview picture corresponding to the moving object and the shooting preview picture of each other moving object based on the relative position information between the moving object and each other moving object. The relative position between the shooting preview images of each moving object is updated according to the relative position between the shooting preview image corresponding to the moving object and the shooting preview image of each other moving object.

在本申请的实施例中,基于运动对象与每个其他运动对象之间的相对位置信息,更新运动对象的拍摄预览画面与每个其他运动对象的拍摄预览画面之间的相对位置,可以实现通过运动对象的拍摄预览画面的位置交换以使用户明显地预览到运动对象之间的位置交换,从而可以优化在拍摄预览过程中对运动对象的运动状态的预览效果。In the embodiment of the present application, based on the relative position information between the moving object and each other moving object, the relative position between the shooting preview picture of the moving object and the shooting preview picture of each other moving object is updated. The position exchange of the shooting preview screen of the moving object enables the user to clearly preview the position exchange between the moving objects, so that the preview effect of the motion state of the moving object during the shooting preview process can be optimized.

可选地,处理器1110用于对于每个运动对象,在运动对象超出至少一个摄像头中第一摄像头的拍摄范围的情况下,通过至少一个摄像头中的第二摄像头对运动对象进行追踪拍摄;其中,第二摄像头为运动对象位于的拍摄范围对应的摄像头。Optionally, the processor 1110 is configured to, for each moving object, use the second camera in the at least one camera to track the moving object when the moving object exceeds the shooting range of the first camera in the at least one camera; wherein , and the second camera is a camera corresponding to the shooting range where the moving object is located.

在本申请的一些实施例中,利用多个摄像头进行拍摄,当运动对象超出一个摄像头的拍摄范围时,可以采用另一个摄像头继续追踪拍摄该运动对象能够实现在尽可能长的时间段内,保证运动对象能够在至少一个摄像头的拍摄范围内,使用户可以预览到运动对象,不用用户移动摄像头的位置来跟踪拍摄,提高了拍摄和预览的效率。In some embodiments of the present application, multiple cameras are used for shooting. When a moving object exceeds the shooting range of one camera, another camera can be used to continue to track and shoot the moving object. The moving object can be within the shooting range of at least one camera, so that the user can preview the moving object, and the user does not need to move the position of the camera to track and shoot, thereby improving the efficiency of shooting and previewing.

应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(GraphicsProcessing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。It should be understood that, in this embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. camera) to process the image data of still pictures or videos. The display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072 . The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts, a touch detection device and a touch controller. Other input devices 11072 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. Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.

本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the display control method can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here.

其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement each process of the above display control method embodiment, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, 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 some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this 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 embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (11)

1.一种显示控制方法,其特征在于,包括:1. a display control method, is characterized in that, comprises: 在拍摄预览过程中,获取N个运动对象的运动信息;During the shooting preview process, the motion information of N moving objects is obtained; 基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;updating the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects; 其中,所述N个运动对象为至少一个摄像头采集的对象,N为正整数;Wherein, the N moving objects are objects collected by at least one camera, and N is a positive integer; 所述基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面,包括:The updating of the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects includes: 将所述N个运动对象中至少一个运动对象的拍摄预览画面更新为对应的第一预览子画面和回放画面;updating the shooting preview picture of at least one moving object in the N moving objects to the corresponding first preview sub-picture and playback picture; 其中,所述第一预览子画面用于预览运动对象,所述回放画面用于播放运动对象在目标时刻之前的预设时长内的预览画面,所述目标时刻为将运动对象的拍摄预览画面更新为所述第一预览子画面和所述回放画面的时刻。Wherein, the first preview sub-picture is used to preview the moving object, and the playback picture is used to play the preview picture of the moving object within a preset time period before the target time, and the target time is to update the shooting preview picture of the moving object is the time of the first preview sub-picture and the playback picture. 2.根据权利要求1所述的方法,其特征在于,所述更新拍摄预览界面中的拍摄预览画面,还包括以下至少一项:2. The method according to claim 1, wherein the updating of the shooting preview screen in the shooting preview interface further comprises at least one of the following: 更新拍摄预览界面中拍摄预览画面的数量;Update the number of shooting preview images in the shooting preview interface; 更新拍摄预览界面中拍摄预览画面的位置;Update the position of the shooting preview screen in the shooting preview interface; 更新拍摄预览界面中拍摄预览画面的面积。Update the area of the shooting preview screen in the shooting preview interface. 3.根据权利要求2所述的方法,其特征在于,所述基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面,包括:3. The method according to claim 2, wherein the updating of the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects comprises: 在所述拍摄预览界面中运动对象的总数量发生变化的情况下,基于所述拍摄预览界面中运动对象的总数量的变化信息,更新所述拍摄预览界面中拍摄预览画面的数量。When the total number of moving objects in the shooting preview interface changes, the number of shooting preview images in the shooting preview interface is updated based on the change information of the total number of moving objects in the shooting preview interface. 4.根据权利要求2所述的方法,其特征在于,所述基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面,包括:4. The method according to claim 2, wherein the updating of the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects comprises: 基于所述N个运动对象的运动速度之间的比值,确定所述N个运动对象对应的拍摄预览画面的面积之间的比值;determining the ratio between the areas of the shooting preview images corresponding to the N moving objects based on the ratio between the moving speeds of the N moving objects; 根据所述N个运动对象对应的拍摄预览画面的面积之间的比值,以及所述拍摄预览界面的总面积,更新每个所述运动对象对应的拍摄预览画面的面积。According to the ratio between the areas of the shooting preview images corresponding to the N moving objects, and the total area of the shooting preview interface, the area of the shooting preview image corresponding to each moving object is updated. 5.根据权利要求1所述的方法,其特征在于,所述将所述N个运动对象中至少一个运动对象的拍摄预览画面更新为对应的第一预览子画面和回放画面,包括:5. The method according to claim 1, wherein the updating the shooting preview picture of at least one moving object in the N moving objects to the corresponding first preview sub-picture and the playback picture comprises: 将所述N个运动对象中每个运动对象的拍摄预览画面更新为对应的第一预览子画面和回放画面。The shooting preview picture of each of the N moving objects is updated to the corresponding first preview sub-picture and playback picture. 6.根据权利要求1所述的方法,其特征在于,所述将所述N个运动对象中至少一个运动对象的拍摄预览画面更新为对应的第一预览子画面和回放画面,包括:6. The method according to claim 1, wherein the updating the shooting preview picture of at least one moving object in the N moving objects to the corresponding first preview sub-picture and the playback picture comprises: 对于运动速度大于第一预设运动速度阈值的每个所述运动对象,将所述运动对象的拍摄预览画面更新为所述运动对象的第一预览子画面和所述运动对象的回放画面。For each moving object whose moving speed is greater than the first preset moving speed threshold, the shooting preview picture of the moving object is updated to a first preview sub-picture of the moving object and a playback picture of the moving object. 7.根据权利要求2所述的方法,其特征在于,所述基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面,包括:7. The method according to claim 2, wherein the updating of the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects comprises: 对于每个所述运动对象,基于所述运动对象与每个其他运动对象之间的相对位置信息,确定所述运动对象对应的拍摄预览画面与每个所述其他运动对象的拍摄预览画面之间的相对位置;For each moving object, based on the relative position information between the moving object and each other moving object, determine the distance between the shooting preview picture corresponding to the moving object and the shooting preview picture of each other moving object relative position; 根据所述运动对象对应的拍摄预览画面与每个所述其他运动对象的拍摄预览画面之间的相对位置,更新每个所述运动对象对应的拍摄预览画面的显示位置。The display position of the shooting preview screen corresponding to each moving object is updated according to the relative position between the shooting preview screen corresponding to the moving object and the shooting preview screen of each of the other moving objects. 8.根据权利要求1所述的方法,其特征在于,所述方法还包括:8. The method of claim 1, wherein the method further comprises: 对于每个所述运动对象,在所述运动对象超出所述至少一个摄像头中第一摄像头的拍摄范围的情况下,通过所述至少一个摄像头中的第二摄像头对所述运动对象进行追踪拍摄;For each of the moving objects, when the moving object exceeds the shooting range of the first camera in the at least one camera, the moving object is tracked and photographed by the second camera in the at least one camera; 其中,所述第二摄像头为所述运动对象所在拍摄范围对应的摄像头。Wherein, the second camera is a camera corresponding to the shooting range where the moving object is located. 9.一种显示控制装置,其特征在于,所述装置包括:9. A display control device, wherein the device comprises: 运动信息获取模块,用于在拍摄预览过程中,获取N个运动对象的运动信息;A motion information acquisition module, used for acquiring motion information of N moving objects during the shooting preview process; 预览画面更新模块,用于基于所述N个运动对象的运动信息,更新拍摄预览界面中的拍摄预览画面;A preview screen update module, configured to update the shooting preview screen in the shooting preview interface based on the motion information of the N moving objects; 其中,所述N个运动对象为至少一个摄像头采集的对象,N为正整数;Wherein, the N moving objects are objects collected by at least one camera, and N is a positive integer; 所述预览画面更新模块具体用于:The preview screen update module is specifically used for: 将所述N个运动对象中至少一个运动对象的拍摄预览画面更新为对应的第一预览子画面和回放画面;updating the shooting preview picture of at least one moving object in the N moving objects to the corresponding first preview sub-picture and playback picture; 其中,所述第一预览子画面用于预览运动对象,所述回放画面用于播放运动对象在目标时刻之前的预设时长内的预览画面,所述目标时刻为将运动对象的拍摄预览画面更新为所述第一预览子画面和所述回放画面的时刻。Wherein, the first preview sub-picture is used to preview the moving object, and the playback picture is used to play the preview picture of the moving object within a preset time period before the target time, and the target time is to update the shooting preview picture of the moving object is the time of the first preview sub-picture and the playback picture. 10.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8中任一项所述的显示控制方法的步骤。10. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the display control method according to any one of claims 1-8. 11.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8任意一项所述的显示控制方法的步骤。11. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the display control according to any one of claims 1-8 is realized steps of the method.
CN202011197895.4A 2020-10-30 2020-10-30 Display control method, device, electronic device and medium Active CN112367467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011197895.4A CN112367467B (en) 2020-10-30 2020-10-30 Display control method, device, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011197895.4A CN112367467B (en) 2020-10-30 2020-10-30 Display control method, device, electronic device and medium

Publications (2)

Publication Number Publication Date
CN112367467A CN112367467A (en) 2021-02-12
CN112367467B true CN112367467B (en) 2022-04-22

Family

ID=74513196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011197895.4A Active CN112367467B (en) 2020-10-30 2020-10-30 Display control method, device, electronic device and medium

Country Status (1)

Country Link
CN (1) CN112367467B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117714851A (en) * 2022-05-25 2024-03-15 荣耀终端有限公司 Video recording method, device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4715909B2 (en) * 2008-12-04 2011-07-06 ソニー株式会社 Image processing apparatus and method, image processing system, and image processing program
CN102457707B (en) * 2010-10-20 2016-01-13 上海天跃科技股份有限公司 Safety monitoring video data transmission, storage and order method
CN105979209A (en) * 2016-05-31 2016-09-28 浙江大华技术股份有限公司 Monitoring video display method and monitoring video display device
KR102386398B1 (en) * 2017-03-17 2022-04-14 삼성전자주식회사 Method for providing different indicator for image based on photographing mode and electronic device thereof
CN110126619B (en) * 2019-01-28 2021-03-23 北京车和家信息技术有限公司 Display screen control method and device and electronic equipment
CN111064896A (en) * 2019-12-31 2020-04-24 维沃移动通信有限公司 Device control method and electronic device

Also Published As

Publication number Publication date
CN112367467A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
WO2022166944A1 (en) Photographing method and apparatus, electronic device, and medium
CN112860163B (en) Image editing method and device
CN111698553A (en) Video processing method and device, electronic equipment and readable storage medium
CN112333382B (en) Shooting method and device and electronic equipment
WO2022062318A1 (en) Photographing method and device
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
WO2022161240A1 (en) Photographing method and apparatus, electronic device, and medium
CN113794829B (en) Shooting method and device and electronic equipment
CN114422692B (en) Video recording method and device and electronic equipment
CN112486390A (en) Display control method and device and electronic equipment
WO2022161383A1 (en) Filming control method and apparatus, and electronic device
WO2022257999A1 (en) Photographing method and apparatus, electronic device, and storage medium
CN112954212B (en) Video generation method, device and equipment
CN112367486B (en) Video processing method and device
CN112367467B (en) Display control method, device, electronic device and medium
WO2023083132A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
WO2022095878A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
WO2022095891A1 (en) Image display method and apparatus, and device
CN112291480B (en) Tracking focusing method, tracking focusing device, electronic device and readable storage medium
WO2022222835A1 (en) Video processing method, video processing apparatus and electronic device
CN112887623B (en) Image generation method, device and electronic equipment
CN114125307B (en) Photography methods, devices, electronic equipment and readable storage media
WO2022161261A1 (en) Image display method and apparatus, and electronic device
CN112672059B (en) Shooting method and shooting device
CN113891005B (en) Shooting method and device 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
GR01 Patent grant
GR01 Patent grant