[go: up one dir, main page]

CN115814416A - Object observation method and device - Google Patents

Object observation method and device Download PDF

Info

Publication number
CN115814416A
CN115814416A CN202211372587.XA CN202211372587A CN115814416A CN 115814416 A CN115814416 A CN 115814416A CN 202211372587 A CN202211372587 A CN 202211372587A CN 115814416 A CN115814416 A CN 115814416A
Authority
CN
China
Prior art keywords
observation
preset
evaluated
camera
target object
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
Application number
CN202211372587.XA
Other languages
Chinese (zh)
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.)
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Digital Network Technology 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 Zhuhai Kingsoft Digital Network Technology Co Ltd filed Critical Zhuhai Kingsoft Digital Network Technology Co Ltd
Priority to CN202211372587.XA priority Critical patent/CN115814416A/en
Publication of CN115814416A publication Critical patent/CN115814416A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

本说明书实施例提供对象观测方法以及装置,其中所述对象观测方法,包括:确定目标对象的观测相机在当前观测位置的当前观测状态;在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。从而灵活的对该观测相机的观测视角和观测位置进行调整,避免由于观测相机被遮挡所导致的目标对象无法展示给游戏玩家的问题,提高了游戏玩家的游戏体验。

Figure 202211372587

The embodiments of this specification provide an object observation method and device, wherein the object observation method includes: determining the current observation state of the observation camera of the target object at the current observation position; when it is determined that the current observation state satisfies the update condition, evaluating at least two preset observation positions of the target object to obtain an updated observation position, wherein the updated observation position is one of the at least two preset observation positions; position, and transfer to the updated observation position to observe the target object. Therefore, the observation angle and observation position of the observation camera can be flexibly adjusted, avoiding the problem that the target object cannot be displayed to the game player due to the observation camera being blocked, and improving the game player's game experience.

Figure 202211372587

Description

对象观测方法以及装置Object observation method and device

技术领域technical field

本说明书实施例涉及游戏技术领域,特别涉及一种对象观测方法。The embodiment of this specification relates to the technical field of games, and in particular to an object observation method.

背景技术Background technique

随着计算机技术以及游戏技术的不断发展,为了便于游戏玩家进行游戏,会在游戏场景中设置摄像头,该摄像头通过跟随物体、模型等游戏场景中的游戏对象进行移动,从而将摄像头视野内的物体、模型等游戏对象渲染至游戏界面向游戏玩家展示。With the continuous development of computer technology and game technology, in order to make it easier for gamers to play games, a camera will be installed in the game scene. , models and other game objects are rendered to the game interface for display to game players.

但是现有技术中的摄像头仅仅是跟随游戏对象进行移动,并无法灵活调整该摄像头的视角,在摄像头被游戏场景中的其他模型遮挡时,无法将游戏对象较好的展示给游戏玩家,从而降低游戏玩家的游戏体验。However, the camera in the prior art only moves along with the game object, and cannot flexibly adjust the viewing angle of the camera. When the camera is blocked by other models in the game scene, the game object cannot be better displayed to the game player, thereby reducing the The gaming experience of gamers.

发明内容Contents of the invention

有鉴于此,本说明书施例提供了一种对象观测方法。本说明书一个或者多个实施例同时涉及一种对象观测装置,一种计算设备,一种计算机可读存储介质以及一种计算机程序,以解决现有技术中存在的技术缺陷。In view of this, the embodiment of this specification provides an object observation method. One or more embodiments of this specification also relate to an object observation device, a computing device, a computer-readable storage medium and a computer program, so as to solve technical defects in the prior art.

根据本说明书实施例的第一方面,提供了一种对象观测方法,包括:According to the first aspect of the embodiments of this specification, there is provided an object observation method, including:

确定目标对象的观测相机在当前观测位置的当前观测状态;Determine the current observation status of the observation camera of the target object at the current observation position;

在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;When it is determined that the current observation state satisfies the update condition, at least two preset observation positions of the target object are evaluated to obtain an updated observation position, wherein the updated observation position is the at least two preset observation positions one of the observation positions;

将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。The observation camera is transferred from the current observation position to the updated observation position to observe the target object.

根据本说明书实施例的第二方面,提供了一种对象观测装置,包括:According to the second aspect of the embodiments of this specification, there is provided an object observation device, including:

状态确定模块,被配置为确定目标对象的观测相机在当前观测位置的当前观测状态;A state determination module configured to determine the current observation state of the observation camera of the target object at the current observation position;

位置评估模块,被配置为在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;The position evaluation module is configured to evaluate at least two preset observation positions of the target object to obtain an updated observation position when it is determined that the current observation state satisfies the update condition, wherein the updated observation position is one of the at least two preset observation positions;

相机转移模块,被配置为将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。The camera transfer module is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object.

根据本说明书实施例的第三方面,提供了一种计算设备,包括:According to a third aspect of the embodiments of this specification, a computing device is provided, including:

存储器和处理器;memory and processor;

所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现上述对象观测方法的步骤。The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above object observation method are realized.

根据本说明书实施例的第四方面,提供了一种计算机可读存储介质,其存储有计算机可执行指令,该指令被处理器执行时实现上述对象观测方法的步骤。According to a fourth aspect of the embodiments of the present specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above object observation method are implemented.

根据本说明书实施例的第五方面,提供了一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行上述对象观测方法的步骤。According to a fifth aspect of the embodiments of the present specification, a computer program is provided, wherein, when the computer program is executed in a computer, it causes the computer to execute the steps of the above object observation method.

本说明书实施例提供的一种对象观测方法,包括:确定目标对象的观测相机在当前观测位置的当前观测状态;在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。An object observation method provided by an embodiment of this specification includes: determining the current observation state of the observation camera of the target object at the current observation position; Two preset observation positions are evaluated to obtain an updated observation position, wherein the updated observation position is one of the at least two preset observation positions; the observation camera is transferred from the current observation position to the The observation position is updated to observe the target object.

具体的,该方法为目标对象预先设置了至少两个预设观测位置,并在确定针对目标对象的观测相机,在当前观测位置的当前观测状态满足更新条件的情况下,从该至少两个预设观测位置中选择一个更新观测位置,并将该观测相机转移到该更新观测位置上对该目标对象进行观测,从而灵活的对该观测相机的观测视角和观测位置进行调整,避免由于观测相机被遮挡所导致的目标对象无法展示给游戏玩家的问题,提高了游戏玩家的游戏体验。Specifically, the method pre-sets at least two preset observation positions for the target object, and when the observation camera for the target object is determined and the current observation state of the current observation position satisfies the update condition, the at least two preset Select an updated observation position in the observation position, and transfer the observation camera to the updated observation position to observe the target object, so as to flexibly adjust the observation angle and observation position of the observation camera, and avoid the The problem that the target object caused by occlusion cannot be displayed to the game player improves the game experience of the game player.

附图说明Description of drawings

图1是本说明书一个实施例提供的一种对象观测方法的应用示意图;Figure 1 is a schematic diagram of the application of an object observation method provided by an embodiment of this specification;

图2是本说明书一个实施例提供的一种对象观测方法的流程图;Fig. 2 is a flowchart of an object observation method provided by an embodiment of this specification;

图3是本说明书一个实施例提供的一种对象观测方法中机位的示意图;Fig. 3 is a schematic diagram of a camera position in an object observation method provided by an embodiment of this specification;

图4是本说明书一个实施例提供的一种对象观测方法的处理过程流程图;Fig. 4 is a flow chart of the processing process of an object observation method provided by an embodiment of this specification;

图5是本说明书一个实施例提供的一种对象观测装置的结构示意图;Fig. 5 is a schematic structural diagram of an object observation device provided by an embodiment of this specification;

图6是本说明书一个实施例提供的一种计算设备的结构框图。Fig. 6 is a structural block diagram of a computing device provided by an embodiment of this specification.

具体实施方式Detailed ways

在下面的描述中阐述了很多具体细节以便于充分理解本说明书。但是本说明书能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本说明书内涵的情况下做类似推广,因此本说明书不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the specification. However, this specification can be implemented in many other ways different from those described here, and those skilled in the art can make similar extensions without violating the connotation of this specification, so this specification is not limited by the specific implementations disclosed below.

在本说明书一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本说明书一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and/or" used in one or more embodiments of the present specification refers to and includes any or all possible combinations of one or more associated listed items.

应当理解,尽管在本说明书一个或多个实施例中可能采用术语第一、第二等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present specification, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, the first may also be referred to as the second, and similarly, the second may also be referred to as the first without departing from the scope of one or more embodiments of the present specification. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."

首先,对本说明书一个或多个实施例涉及的名词术语进行解释。First, terms and terms involved in one or more embodiments of this specification are explained.

NPC:是non-player character的缩写,NPC是游戏中一种角色类型,意思是非玩家角色,指的是电子游戏中不受真人玩家操纵的游戏角色。NPC: It is the abbreviation of non-player character. NPC is a type of character in the game, meaning a non-player character, which refers to a game character in a video game that is not manipulated by a real player.

在本说明书中,提供了一种对象观测方法,本说明书同时涉及一种对象观测装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。In this specification, an object observation method is provided. This specification also relates to an object observation device, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments one by one.

参见图1,图1示出了根据本说明书一个实施例提供的一种对象观测方法的应用示意图;基于图1可知,该目标角色周围被预先设置有多个机位,例如预先设置4个机位;同时该目标角色存在对应的虚拟相机,该虚拟相机能够对该目标角色进行拍摄,并将该拍摄视野范围内的目标角色渲染至对象展示界面中,从而向游戏玩家展示目标角色。但是,在目标角色离开该虚拟相机的拍摄视角情况下,虚拟相机无法采集对该目标角色进行拍摄,因此,需要从目标角色对应的4个预设机位中,选择一个质量最高的最优机位,并将虚拟相机从当前拍摄位置移动至最优机位上,并对该目标角色进行拍摄,从而获得将该目标角色完整的展示给游戏玩家,提高游戏玩家的游戏体验。其中,该虚拟相机可以为观测相机,该目标角色可以为目标对象,该机位可以为预设观测位置,该最优机位可以为更新观测位置。Referring to FIG. 1, FIG. 1 shows a schematic diagram of the application of an object observation method provided according to an embodiment of the present specification; based on FIG. At the same time, there is a corresponding virtual camera for the target character, and the virtual camera can shoot the target character, and render the target character within the shooting field of view to the object display interface, so as to show the target character to the game player. However, when the target character leaves the shooting angle of the virtual camera, the virtual camera cannot capture and shoot the target character. Therefore, it is necessary to select an optimal camera with the highest quality from the 4 preset camera positions corresponding to the target character. position, and move the virtual camera from the current shooting position to the optimal camera position, and shoot the target character, so as to obtain a complete display of the target character to the game player, and improve the game player's gaming experience. Wherein, the virtual camera may be an observation camera, the target character may be a target object, the camera position may be a preset observation position, and the optimal camera position may be an updated observation position.

基于此,本说明书提供的对象观测方法,能够灵活的对该观测相机的观测视角和观测位置进行调整,避免观测相机由于被遮挡、目标对象离开观测相机的观测视野、观测相机与目标对象之间的距离过近或过远等原因,所导致的目标对象无法较好的展示给游戏玩家的问题,提高了游戏玩家的游戏体验。Based on this, the object observation method provided in this manual can flexibly adjust the observation angle and position of the observation camera, avoiding the observation camera being blocked, the target object leaving the observation field of view of the observation camera, and the distance between the observation camera and the target object. The target object cannot be well displayed to the game player due to reasons such as too close or too far, which improves the game player's gaming experience.

参见图2,图2示出了根据本说明书一个实施例提供的一种对象观测方法的流程图,具体包括以下步骤。Referring to FIG. 2, FIG. 2 shows a flow chart of an object observation method provided according to an embodiment of the present specification, which specifically includes the following steps.

步骤202:确定目标对象的观测相机在当前观测位置的当前观测状态。Step 202: Determine the current observation state of the observation camera of the target object at the current observation position.

其中,该目标对象可以理解为需要被观测相机进行观测的对象,例如,游戏场景中的游戏模型,包括但不限于与游戏玩家所操控的游戏角色模型、游戏场景中自动移动的NPC、游戏场景中自动移动的动物模型或宠物模型等。Wherein, the target object can be understood as the object that needs to be observed by the observation camera, for example, the game model in the game scene, including but not limited to the game character model controlled by the game player, the NPC that automatically moves in the game scene, the game scene Automatically move animal models or pet models, etc.

观测相机可以理解为游戏中的相机,该观测相机能够对游戏场景或游戏场景中的模型进行拍摄,并且还可以将拍摄到的游戏场景或模型渲染至对象展示界面,从而通过对象展示界面将游戏场景或模型向游戏玩家展示。The observation camera can be understood as a camera in the game. The observation camera can shoot the game scene or the model in the game scene, and can also render the captured game scene or model to the object display interface, so that the game can be displayed through the object display interface. The scene or model is shown to the game player.

当前观测位置可以理解为该观测相机所处的观测位置,例如,观测相机的当前机位。在本说明书提供的实施例中,该当前观测位置不跟随所述目标对象移动,也即是该当前观测位置为固定观测位置。The current observation position may be understood as the observation position of the observation camera, for example, the current position of the observation camera. In the embodiments provided in this specification, the current observation position does not follow the movement of the target object, that is, the current observation position is a fixed observation position.

当前观测状态可以理解为表征该观测相机当前针对该目标对象的观测状态的信息,例如,该当前观测状态包括该观测相机与该目标对象之间的距离,该观测相机是否被遮挡等信息。The current observation state can be understood as information representing the current observation state of the observation camera for the target object, for example, the current observation state includes information such as the distance between the observation camera and the target object, whether the observation camera is blocked or not.

具体的,本说明书提供的对象观测方法中,该目标对象存在对应的观测相机,该观测相机能够对该目标对象进行观测;基于此,该方法能够确定该目标对象的观测相机,在当前观测位置针对该目标对象的当前观测状态。其中,在本说明书提供的一实施例中,可以通过定时触发的方式,触发确定当前观测状态的操作。也即是说,本说明书提供的对象观测方法,根据预设时间间隔,确定该目标对象的观测相机在当前观测位置的当前观测状态。或者,该也可以通过请求触发的方式,触发确定当前观测状态的操作。也即是说,本说明书提供的对象观测方法,能够接收到针对当前观测状态的状态确定请求,响应于该状态确定请求,确定目标对象的观测相机在当前观测位置的当前观测状态。该状态确定请求可以为用户发送的状态确定请求。Specifically, in the object observation method provided in this specification, the target object has a corresponding observation camera, and the observation camera can observe the target object; based on this, the method can determine the observation camera of the target object, at the current observation position The current observation state for this target object. Wherein, in an embodiment provided in this specification, the operation of determining the current observation state may be triggered by timing triggering. That is to say, the object observation method provided in this specification determines the current observation state of the observation camera of the target object at the current observation position according to the preset time interval. Alternatively, the operation of determining the current observation status may also be triggered by request triggering. That is to say, the object observation method provided in this specification can receive a state determination request for the current observation state, and in response to the state determination request, determine the current observation state of the observation camera of the target object at the current observation position. The status determination request may be a status determination request sent by the user.

需要说明的是,本说明书提供的对象观测方法可以应用在服务端或者客户端,具体可根据实际应用场景进行设置。该对象展示界面可以理解为客户端中用于对目标对象进行展示界面,例如,该客户端可以为用户终端,该对象展示界面可以为用户终端的图像显示设备。例如,手机上的显示屏、电脑的屏幕等。It should be noted that the object observation method provided in this manual can be applied on the server or the client, and can be set according to the actual application scenario. The object display interface can be understood as an interface for displaying a target object in the client, for example, the client can be a user terminal, and the object display interface can be an image display device of the user terminal. For example, the display screen on a mobile phone, the screen of a computer, etc.

步骤204:在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一。Step 204: When it is determined that the current observation state satisfies the update condition, evaluate at least two preset observation positions of the target object to obtain an updated observation position, wherein the updated observation position is the at least two preset observation positions. One of the preset observation positions.

其中,确定所述当前观测状态满足更新条件,可以根据实际应用场景进行设置,本说明书对此不作具体限定。例如,在当前观测状态为观测相机与目标对象之间的间隔距离的情况下,该确定所述当前观测状态满足更新条件,包括:在确定所述间隔距离大于最大间隔距离阈值的情况下,确定所述当前观测状态满足更新条件;也即是,在观测相机与目标对象之间的间隔距离过大的情况下,确定该当前观测状态满足更新条件。Wherein, determining that the current observation state satisfies the update condition may be set according to an actual application scenario, which is not specifically limited in this specification. For example, when the current observation state is the separation distance between the observation camera and the target object, determining that the current observation state satisfies the update condition includes: determining that the separation distance is greater than the maximum separation distance threshold The current observation state satisfies the update condition; that is, it is determined that the current observation state satisfies the update condition when the distance between the observation camera and the target object is too large.

或者,在确定所述间隔距离小于最小间隔距离阈值的情况下,确定所述当前观测状态满足更新条件;也即是,在观测相机与目标对象之间的间隔距离过小的情况下,确定该当前观测状态满足更新条件。Or, when it is determined that the separation distance is less than the minimum separation distance threshold, it is determined that the current observation state satisfies the update condition; that is, when the separation distance between the observation camera and the target object is too small, it is determined that the The current observation status meets the update conditions.

再例如,当前观测状态为表征观测相机是否被遮蔽的信息,该信息可以为数值1或者数值0,数值1表示观测相机没有被遮蔽,数值0表示观测相机被遮蔽;在此情况下,该确定所述当前观测状态满足更新条件,包括:For another example, the current observation state is the information representing whether the observation camera is covered, and the information can be a value of 1 or a value of 0. The value of 1 indicates that the observation camera is not covered, and the value of 0 indicates that the observation camera is covered; in this case, the determination The current observation status meets the update conditions, including:

在确定所述当前观测状态与预设遮蔽参数为一致的情况下,确定所述当前观测状态满足更新条件。该预设遮蔽参数为数值0。In a case where it is determined that the current observation state is consistent with the preset masking parameter, it is determined that the current observation state satisfies an update condition. The default masking parameter is a value of 0.

或者,该当前观测状态可以为表征该观测相机的遮蔽程度的遮蔽比率,该遮蔽比率可以为0%-100%范围内的任意数值,0%表示该观测相机没有被遮挡;该100%表示该观测相机被完全遮挡。或者,该遮蔽比率可以为[0,1]或者[0,100]范围内的任意数值,其中,数值0表示观测相机没有被遮挡,该数值1或数值100表示该观测相机被完全遮挡。基于此,该确定所述当前观测状态满足更新条件,包括:Alternatively, the current observation state may be an occlusion ratio that characterizes the occlusion degree of the observation camera, and the occlusion ratio may be any value within the range of 0%-100%, where 0% indicates that the observation camera is not occluded; the 100% indicates that the The observation camera is completely occluded. Alternatively, the occlusion ratio may be any value within the range of [0,1] or [0,100], wherein a value of 0 indicates that the observation camera is not occluded, and a value of 1 or 100 indicates that the observation camera is completely occluded. Based on this, the determination that the current observation state satisfies the update condition includes:

在确定所述观测相机的遮蔽比率大于等于预设遮蔽阈值的情况下,确定所述当前观测状态满足更新条件,其中,所述预设遮蔽阈值可以根据实际场景进行设置,例如,数值0.5、数值50、50%等。When it is determined that the occlusion ratio of the observation camera is greater than or equal to the preset occlusion threshold, it is determined that the current observation state satisfies the update condition, wherein the preset occlusion threshold can be set according to the actual scene, for example, a value of 0.5, a value of 50, 50%, etc.

预设观测位置可以理解为预先设置的、对该目标对象设置进行观测的位置,例如,该预设观测位置可以为预先设置的机位。其中,该预设观测位置可以分布在所述目标对象周围;该预设观测位置与所述目标对象之间保存预设距离,该预设距离可以为5米、10米等。该预设观测位置可以跟随所述目标对象移动。也即是说,该预设观测位置的坐标信息会根据该目标对象的坐标信息进行调整,从而达到跟随该目标对象移动的操作,例如,参见图3,图3为图3是本说明书一个实施例提供的一种对象观测方法中机位的示意图;基于图3可知,本说明书提供的对象观测方法会在目标对象的周围设置多个机位,例如图3中的机位1至机位8。该机位与目标对象之间保存一定距离,并且,该多个机位会跟随该目标对象进行移动。The preset observation position may be understood as a preset position for observing the target object, for example, the preset observation position may be a preset camera position. Wherein, the preset observation positions may be distributed around the target object; a preset distance is stored between the preset observation positions and the target object, and the preset distance may be 5 meters, 10 meters, etc. The preset observation position may move along with the target object. That is to say, the coordinate information of the preset observation position will be adjusted according to the coordinate information of the target object, so as to achieve the operation of following the movement of the target object. For example, refer to FIG. 3, which is an implementation of this specification A schematic diagram of camera positions in an object observation method provided in the example; based on Figure 3, it can be known that the object observation method provided in this manual will set multiple camera positions around the target object, such as camera positions 1 to 8 in Figure 3 . A certain distance is kept between the camera position and the target object, and the plurality of camera positions will follow the target object to move.

该预设观测位置的数量可以根据实际应用场景进行设置,例如,该至少两个预设观测位置可以为至少四个预设观测位置、至少八个预设观测位置、至少十二个预设观测位置等。The number of the preset observation positions can be set according to the actual application scenario, for example, the at least two preset observation positions can be at least four preset observation positions, at least eight preset observation positions, at least twelve preset observation positions location etc.

该更新观测位置可以理解为该观测位置需要转移至的预设观测位置。The updated observation location may be understood as a preset observation location to which the observation location needs to be transferred.

在本说明书提供的一实施例中,所述对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,包括:In an embodiment provided in this specification, the evaluating at least two preset observation positions of the target object to obtain an updated observation position includes:

确定所述目标对象的至少两个预设观测位置,并对所述至少两个预设观测位置进行质量评估,获得所述至少两个预设观测位置的质量评估结果;determining at least two preset observation positions of the target object, and performing quality assessment on the at least two preset observation positions, and obtaining quality assessment results of the at least two preset observation positions;

基于所述质量评估结果,从所述至少两个预设观测位置中确定更新观测位置。Based on the quality assessment result, an updated observation location is determined from the at least two preset observation locations.

其中,该质量评估结果可以理解为表征该预设观测位置的观测质量的结果,例如,该质量评估结果可以为质量评估得分。Wherein, the quality evaluation result may be understood as a result representing the observation quality of the preset observation location, for example, the quality evaluation result may be a quality evaluation score.

具体的,本说明书提供的对象观测方法,在确定更新观测位置的过程中,首先会分别对该目标对象的至少两个预设观测位置进行质量评估,从而获得该至少两个预设观测位置的质量评估结果,其中,每个预设观测位置具有对应的质量评估结果。Specifically, in the object observation method provided in this specification, in the process of determining the update observation position, the quality evaluation of at least two preset observation positions of the target object will be performed first, so as to obtain the at least two preset observation positions. A quality assessment result, wherein each preset observation position has a corresponding quality assessment result.

之后,基于该质量评估结果从该至少两个预设观测位置中选择质量最好的预设观测位置,并将该质量最好的预设观测位置作为更新观测位置,后续能够在该更新观测位置上更好对目标对象进行观测,提高游戏玩家的游戏体验。Afterwards, based on the quality evaluation result, the preset observation position with the best quality is selected from the at least two preset observation positions, and the preset observation position with the best quality is used as the updated observation position, and subsequently the updated observation position can be It can better observe the target objects and improve the gaming experience of game players.

下面以本说明书提供的对象观测方法,在观测目标游戏宠物的场景中的应用为例,对确定更新观测位置的操作进行说明。其中,该对象观测方法应用在客户端,该质量评估结果为质量评估得分,该目标对象为目标游戏宠物。基于此,客户端在确定游戏相机的当前观测状态满足更新条件的情况下,该客户端会确定该目标游戏宠物周围设置的8个机位,并对该8个机位进行质量评估,从而获得每个机位的质量评估得分。Taking the object observation method provided in this manual as an example in the scene of observing the target game pet, the operation of determining and updating the observation position will be described below. Wherein, the object observation method is applied to the client, the quality assessment result is the quality assessment score, and the target object is the target game pet. Based on this, when the client determines that the current observation state of the game camera satisfies the update condition, the client will determine the 8 camera positions set around the target game pet, and evaluate the quality of the 8 camera positions, so as to obtain The quality assessment score for each seat.

之后从该质量评估得分中确定最大质量评估得分,并将该最大质量评估得分所对应的机位确定为质量最优的机位。后续会将该游戏相机转移至该质量最优的机位上。Then determine the maximum quality assessment score from the quality assessment score, and determine the flight position corresponding to the maximum quality assessment score as the flight position with the best quality. In the future, the game camera will be transferred to the camera with the best quality.

在本说明书提供的实施例中,为了保证质量评估的准确性,进一步准确的选择出质量最好的更新观测位置,本说明书提供的对象观测方法会基于多个质量评估策略,对该预设观测位置进行质量评估;具体的,所述对所述至少两个预设观测位置进行质量评估,获得所述至少两个预设观测位置的质量评估结果,包括:In the examples provided in this specification, in order to ensure the accuracy of quality assessment and further accurately select the updated observation location with the best quality, the object observation method provided in this specification will be based on multiple quality assessment strategies. performing quality assessment on the position; specifically, performing the quality assessment on the at least two preset observation positions, and obtaining the quality assessment results of the at least two preset observation positions, including:

确定所述至少两个预设观测位置中的待评估观测位置,其中,所述待评估观测位置为所述至少两个预设观测位置之一;determining an observation position to be evaluated among the at least two preset observation positions, wherein the observation position to be evaluated is one of the at least two preset observation positions;

基于至少两个质量评估策略,对所述待评估观测位置进行质量评估,获得所述待评估观测位置对应的至少两个初始评估结果;Performing quality assessment on the observation location to be evaluated based on at least two quality assessment strategies, and obtaining at least two initial evaluation results corresponding to the observation location to be evaluated;

基于所述至少两个初始评估结果,确定所述至少两个预设观测位置的质量评估结果。Based on the at least two initial evaluation results, quality evaluation results of the at least two preset observation positions are determined.

其中,该待评估观测位置可以理解为该至少两个预设观测位置中任意一个预设观测位置。Wherein, the observation position to be evaluated can be understood as any one of the at least two preset observation positions.

该质量评估策略可以理解为对该待评估观测位置进行评估的策略,该初始评估结果可以理解为该至少两个质量评估策略针对该待评估观测位置的评估结果;例如,该初始评估结果可以为初始评估得分。The quality evaluation strategy can be understood as a strategy for evaluating the observation location to be evaluated, and the initial evaluation result can be understood as the evaluation result of the at least two quality evaluation strategies for the observation location to be evaluated; for example, the initial evaluation result can be Initial assessment score.

沿用上例,在对预设机位进行评估的过程中,需要确定该目标游戏宠物对应的多个预设机位,并基于预设设置的质量评估策略对该多个预设机位进行质量评估,获得对应的多个评估得分,之后,基于每个预设机位的多个评得分,计算获得每个预设机位的最终评估等分。Following the above example, in the process of evaluating the preset camera positions, it is necessary to determine the multiple preset camera positions corresponding to the target game pet, and to evaluate the quality of the multiple preset camera positions based on the preset quality evaluation strategy. Evaluate, obtain multiple corresponding evaluation scores, and then calculate and obtain the final evaluation equal score of each preset camera position based on the multiple evaluation scores of each preset camera position.

在本说明书提供的一实施例中,为了保证质量评估的准确性,会基于多个质量评估策略对该预设观测位置进行质量评估,具体的,所述基于至少两个质量评估策略,对所述待评估观测位置进行质量评估,获得所述待评估观测位置对应的至少两个初始评估结果,包括步骤一至步骤五。In an embodiment provided in this specification, in order to ensure the accuracy of quality assessment, the quality assessment of the preset observation position will be performed based on multiple quality assessment strategies. Specifically, based on at least two quality assessment strategies, the performing quality assessment on the observation location to be evaluated, and obtaining at least two initial evaluation results corresponding to the observation location to be evaluated, including steps 1 to 5.

步骤一:基于所述目标对象的位置信息对所述待评估观测位置进行评估,获得第一初始评估结果。Step 1: Evaluate the observation location to be evaluated based on the location information of the target object, and obtain a first initial evaluation result.

其中,该目标对象的位置信息可以理解为该目标对象的坐标信息。Wherein, the position information of the target object can be understood as the coordinate information of the target object.

进一步的,所述基于所述目标对象的位置信息对所述待评估观测位置进行评估,获得第一初始评估结果,包括:Further, the evaluation of the observation position to be evaluated based on the position information of the target object to obtain a first initial evaluation result includes:

确定所述目标对象的位置信息与所述待评估观测位置之间的间隔距离;determining the separation distance between the location information of the target object and the observation location to be evaluated;

基于第一预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第一初始评估结果。An evaluation result matching the separation distance is determined based on a first preset result matching rule, and the evaluation result is determined as a first initial evaluation result of the observation position to be evaluated.

其中,该第一预设结果匹配规则可以理解为能够为间隔距离确定相匹配的评估结果的规则,在实际应用中,本说明书提供的对象观测方法,会预先设置不同间隔距离所对应的评估结果,例如,当目标对象与待评估观测位置之间的间隔距离大于10米,或者小于1米的情况下,该间隔距离对应的评估结果为0分。当目标对象与待评估观测位置之间的间隔距离,位于4米至6米的距离范围内的情况下,该间隔距离的评估结果为1分。Wherein, the first preset result matching rule can be understood as a rule capable of determining matching evaluation results for separation distances. In practical applications, the object observation method provided in this manual will preset evaluation results corresponding to different separation distances. For example, when the separation distance between the target object and the observation position to be evaluated is greater than 10 meters or less than 1 meter, the evaluation result corresponding to the separation distance is 0 points. When the separation distance between the target object and the observation position to be evaluated is within the distance range of 4 meters to 6 meters, the evaluation result of the separation distance is 1 point.

具体的,本说明书提供的对象观测方法,能够确定该目标对象的位置信息,并计算该目标对象的位置信息与待评估观测位置之间的间隔距离,例如,该间隔距离为5米。Specifically, the object observation method provided in this specification can determine the location information of the target object, and calculate the distance between the location information of the target object and the observation location to be evaluated, for example, the distance is 5 meters.

然后,根据该预设结果匹配规则,为该间隔距离确定相匹配的评估结果,例如,1分。然后,将该评估结果确定为待评估观测位置的第一初始评估结果,后续能够基于该第一初始评估结果准确的确定出质量最优的更新观测位置,并且筛选掉不合适的机位。Then, according to the preset result matching rule, a matching evaluation result, for example, 1 point, is determined for the separation distance. Then, the evaluation result is determined as the first initial evaluation result of the observation position to be evaluated, and subsequently an updated observation position with the best quality can be accurately determined based on the first initial evaluation result, and inappropriate camera positions are screened out.

步骤二:对所述待评估观测位置对应的当前观测状态进行评估,获得第二初始评估结果。Step 2: Evaluate the current observation state corresponding to the observation position to be evaluated, and obtain a second initial evaluation result.

其中,待评估观测位置对应的当前观测状态可以理解为,该观测相机位于该待评估观测位置的情况下,该观测相机的当前观测状态。Wherein, the current observation state corresponding to the observation position to be evaluated can be understood as the current observation state of the observation camera when the observation camera is located at the observation position to be evaluated.

具体的,所述对所述待评估观测位置对应的当前观测状态进行评估,获得第二初始评估结果,包括:Specifically, the evaluation of the current observation state corresponding to the observation position to be evaluated to obtain a second initial evaluation result includes:

基于所述待评估观测位置与所述目标对象之间的障碍对象,确定所述待评估观测位置的当前观测状态;determining a current observation state of the observation location to be evaluated based on an obstacle object between the observation location to be evaluated and the target object;

基于所述当前观测状态,确定所述待评估观测位置的第二初始评估结果。Based on the current observation state, a second initial evaluation result of the observation location to be evaluated is determined.

其中,该障碍对象可以理解为待评估观测位置与目标对象之间存在的游戏模型。例如,该障碍对象可以为树木模型、地形模型、NPC等。Wherein, the obstacle object can be understood as a game model existing between the observation position to be evaluated and the target object. For example, the obstacle object may be a tree model, a terrain model, an NPC, and the like.

具体的,本说明书提供的对象观测方法,能够确定该待评估观测位置与该目标对象之间是否存在障碍对象,并基于该障碍对象确定该观测相机当前位于该待评估观测位置时的观测状态。例如,当前观测状态为表征观测相机是否被遮蔽的信息,该信息可以为数值1或者数值0,数值1表示观测相机没有被遮蔽,数值0表示观测相机被遮蔽。Specifically, the object observation method provided in this specification can determine whether there is an obstacle object between the observation position to be evaluated and the target object, and determine the observation state of the observation camera when it is currently located at the observation position to be evaluated based on the obstacle object. For example, the current observation state is information representing whether the observation camera is covered, and the information may be a value of 1 or a value of 0, a value of 1 indicates that the observation camera is not covered, and a value of 0 indicates that the observation camera is covered.

之后,将该当前观测状态作为待评估观测位置的第二初始评估结果,从而便于后续基于该第二初始评估结果,确定出当前观测角度较好的、并未被遮挡的预设观测位置。Afterwards, the current observation state is used as the second initial evaluation result of the observation position to be evaluated, so as to facilitate subsequent determination of a preset observation position with a better current observation angle and not blocked based on the second initial evaluation result.

沿用上例,该对象观测方法能够确定该预设机位与目标游戏宠物之间是否存在其他游戏模型。在实际应用中,可以从预设机位向目标游戏宠物的当前坐标发射一条或多条射线,通过该射线是否被其他模型阻挡,如果被阻挡,则可以确定该预设机位与目标游戏宠物之间存在其他游戏模型,基于此可以确定出当游戏相机位于该预设机位时是否被遮挡。当位于该预设机位的游戏相机被遮挡的情况下,能够确定该预设机位的评估得分为0分;当位于该预设机位的游戏相机不被遮挡的情况下,能够确定该预设机位的评估得分为1分。Following the above example, the object observation method can determine whether there are other game models between the preset camera position and the target game pet. In practical applications, one or more rays can be launched from the preset camera position to the current coordinates of the target game pet, and whether the rays are blocked by other models, and if blocked, the preset camera position and the target game pet can be determined There are other game models in between, and based on this, it can be determined whether the game camera is blocked when it is located at the preset camera position. When the game camera at the preset position is blocked, it can be determined that the evaluation score of the preset position is 0 points; when the game camera at the preset position is not blocked, it can be determined that the The evaluation score for preset seats is 1 point.

步骤三:基于所述观测相机的当前观测位置对所述待评估观测位置进行评估,获得第三初始评估结果。Step 3: Evaluate the observation position to be evaluated based on the current observation position of the observation camera, and obtain a third initial evaluation result.

具体的,所述基于所述观测相机的当前观测位置对所述待评估观测位置进行评估,获得第三初始评估结果,包括:Specifically, the evaluation of the observation position to be evaluated based on the current observation position of the observation camera to obtain a third initial evaluation result includes:

确定所述观测相机的当前观测位置与所述待评估观测位置之间的间隔距离;determining the separation distance between the current observation position of the observation camera and the observation position to be evaluated;

基于第二预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第三初始评估结果。An evaluation result matching the separation distance is determined based on a second preset result matching rule, and the evaluation result is determined as a third initial evaluation result of the observation position to be evaluated.

其中,该第二预设结果匹配规则可以理解为能够为间隔距离确定相匹配的评估结果的规则,在实际应用中,本说明书提供的对象观测方法,会预先设置不同间隔距离所对应的评估结果,例如,当观测相机的当前观测位置与待评估观测位置之间的间隔距离大于10米的情况下,该间隔距离对应的评估结果为0分。当观测相机的当前观测位置与待评估观测位置之间的间隔距离小于1米的情况下,该间隔距离的评估结果为1分。也即是说,该评估结果与间隔距离呈负相关,该间隔距离越小,评估结果的得分越高。Wherein, the second preset result matching rule can be understood as a rule capable of determining matching evaluation results for separation distances. In practical applications, the object observation method provided in this manual will preset evaluation results corresponding to different separation distances. For example, when the separation distance between the current observation position of the observation camera and the observation position to be evaluated is greater than 10 meters, the evaluation result corresponding to the separation distance is 0 points. When the distance between the current observation position of the observation camera and the observation position to be evaluated is less than 1 meter, the evaluation result of the distance is 1 point. That is to say, the evaluation result is negatively correlated with the separation distance, and the smaller the separation distance, the higher the score of the evaluation result.

具体的,本说明书提供的对象观测方法,能够确定观测相机的当前观测位置与待评估观测位置之间的间隔距离;例如,0.5米。Specifically, the object observation method provided in this specification can determine the distance between the current observation position of the observation camera and the observation position to be evaluated; for example, 0.5 meters.

然后基于第二预设结果匹配规则,为该间隔距离确定出相匹配的评估结果,例如1分,然后将该评估结果确定为待评估观测位置的第三初始评估结果,后续能够基于该第三初始评估结果准确的确定出质量最优的更新观测位置,并且保证机位切换会尽可能地保持与之前相近的位置,减少切换机位带来的眩晕感,提高游戏玩家的游戏体验。Then, based on the second preset result matching rule, a matching evaluation result is determined for the separation distance, such as 1 point, and then the evaluation result is determined as the third initial evaluation result of the observation position to be evaluated, and the follow-up can be based on the third The initial evaluation results accurately determine the updated observation position with the best quality, and ensure that the position switching will remain as close as possible to the previous position, reducing the dizziness caused by switching positions, and improving the gaming experience of gamers.

步骤四:基于所述当前观测位置与所述待评估观测位置之间的观测角度,对所述待评估观测位置进行评估,获得第四初始评估结果。Step 4: Evaluate the observation location to be evaluated based on the observation angle between the current observation location and the observation location to be evaluated, and obtain a fourth initial evaluation result.

具体的,所述基于所述当前观测位置与所述待评估观测位置之间的观测角度,对所述待评估观测位置进行评估,获得第四初始评估结果,包括:Specifically, the evaluation of the observation position to be evaluated based on the observation angle between the current observation position and the observation position to be evaluated to obtain a fourth initial evaluation result includes:

确定所述目标对象的位置信息,并确定所述待评估观测位置针对所述位置信息的第一观测向量,以及所述当前观测位置针对所述位置信息的第二观测向量;determining the position information of the target object, and determining a first observation vector of the observation position to be evaluated with respect to the position information, and a second observation vector of the current observation position with respect to the position information;

基于所述第一观测向量以及所述第二观测向量,确定所述当前观测位置与所述待评估观测位置之间的观测角度;determining an observation angle between the current observation position and the observation position to be evaluated based on the first observation vector and the second observation vector;

基于所述观测角度,确定所述待评估观测位置的第四初始评估结果。Based on the observation angle, a fourth initial evaluation result of the observation position to be evaluated is determined.

具体的,本说明书提供的对象观测方法,能够确定该目标对象的位置信息,基于该位置信息以及该待评估观测位置,确定从待评估观测位置看向该目标对象的第一观测向量;基于该位置信息以及该观测相机的当前观测位置,确定该观测相机看向该目标对象的第二观测向量。Specifically, the object observation method provided in this specification can determine the position information of the target object, and determine the first observation vector from the observation position to be evaluated to the target object based on the position information and the observation position to be evaluated; based on the The position information and the current observation position of the observation camera determine the second observation vector that the observation camera looks at the target object.

基于第一观测向量以及第二观测向量计算出当前观测位置与待评估观测位置之间的观测角度;然后确定该观测角度相匹配的评估结果,其中,评估结果与观测角度呈负相关,即观测角度越小,评估得分就越高,然后将该评估结果作为待评估观测位置的第四初始评估结果。后续能够基于该第四初始评估结果准确的确定出质量最优的更新观测位置,并且保证机位切换会尽可能地保持之前的角度,保存相机的稳定性,减少切换机位带来的眩晕。Calculate the observation angle between the current observation position and the observation position to be evaluated based on the first observation vector and the second observation vector; then determine the evaluation result matching the observation angle, wherein the evaluation result is negatively correlated with the observation angle, that is, the observation The smaller the angle, the higher the evaluation score, and then use the evaluation result as the fourth initial evaluation result of the observation position to be evaluated. The follow-up can accurately determine the updated observation position with the best quality based on the fourth initial evaluation result, and ensure that the camera position switching will maintain the previous angle as much as possible, preserve the stability of the camera, and reduce the dizziness caused by switching camera positions.

步骤五:将所述第一初始评估结果、所述第二初始评估结果、所述第三初始评估结果以及所述第四初始评估结果,作为所述待评估观测位置对应的至少两个初始评估结果。Step 5: use the first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result as at least two initial evaluations corresponding to the observation positions to be evaluated result.

具体的,在通过上述质量评估策略确定该待评估观测位置的第一初始评估结果、第二初始评估结果、第三初始评估结果以及第四初始评估结果之后,将该第一初始评估结果、第二初始评估结果、第三初始评估结果以及第四初始评估结果,作为待评估观测位置对应的至少两个初始评估结果,便于后续计算获得该至少两个预设观测位置的质量评估结果。Specifically, after the first initial evaluation result, the second initial evaluation result, the third initial evaluation result and the fourth initial evaluation result of the observation position to be evaluated are determined through the above quality evaluation strategy, the first initial evaluation result, the second initial evaluation result The second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result are at least two initial evaluation results corresponding to the observation positions to be evaluated, so as to facilitate subsequent calculations to obtain quality evaluation results of the at least two preset observation positions.

在本说明书提供的一实施例中,所述初始评估结果为初始评估得分;In an embodiment provided in this specification, the initial evaluation result is an initial evaluation score;

相应的,所述基于所述至少两个初始评估结果,确定所述至少两个预设观测位置的质量评估结果,包括:Correspondingly, the determining the quality evaluation results of the at least two preset observation positions based on the at least two initial evaluation results includes:

基于至少两个初始评估得分,计算所述至少两个预设观测位置的质量评估得分。Based on at least two initial evaluation scores, the quality evaluation scores of the at least two preset observation positions are calculated.

其中,该初始评估得分可以理解为表征该预设观测位置的质量的分值,例如,[0,1]范围内的任意数值。Wherein, the initial evaluation score may be understood as a score representing the quality of the preset observation position, for example, any value within the range of [0,1].

沿用上例,该初始评估结果为初始评估得分,基于此,在确定待评估观测位置的第一初始评估得分、第二初始评估得分、第三初始评估得分以及第四初始评估得分之后,能够基于第一初始评估得分、第二初始评估得分、第三初始评估得分以及第四初始评估得分,计算获得该待评估观测位置对应的最终质量评分。具体计算方式可以参考下述公式(1)。Following the above example, the initial evaluation result is the initial evaluation score. Based on this, after determining the first initial evaluation score, the second initial evaluation score, the third initial evaluation score and the fourth initial evaluation score of the observation position to be evaluated, it can be based on The first initial evaluation score, the second initial evaluation score, the third initial evaluation score, and the fourth initial evaluation score are calculated to obtain a final quality score corresponding to the observation position to be evaluated. The specific calculation method can refer to the following formula (1).

最终评分=(①+④)*②*③ 公式(1)Final score = (①+④)*②*③ Formula (1)

其中,最终评分为最终质量评分,①为第一初始评估得分,④为第四初始评估得分,②为第二初始评估得分,③为第三初始评估得分。Among them, the final score is the final quality score, ① is the first initial assessment score, ④ is the fourth initial assessment score, ② is the second initial assessment score, and ③ is the third initial assessment score.

需要说明的是,针对机位质量的分数(最终评分),可以根据实际应用的需求,动态调整算法,从而计算出符合实际需求的质量分数。针对该机位的质量评估策略,以及该质量评估策略的个数,也可以根据实际应用场景进行设置,本说明书对此不作具体限制。It should be noted that the algorithm can be dynamically adjusted according to the requirements of the actual application for the score of the camera position quality (final score), so as to calculate the quality score that meets the actual needs. The quality evaluation strategy for the camera position and the number of the quality evaluation strategies can also be set according to the actual application scenario, which is not specifically limited in this manual.

在本说明书提供的一实施例中,在通过最终质量评分从多个机位中选择最优机位的过程中,会将最终质量评分最大的预设机位作为当前最优机位;但是如果最后计算出来最大的最终质量评分为至少两个,也即是说有至少两个预设机位的最终质量得分相同且均为最大,那么则需要从该至少两个预设机位中选择一个作为最终的最优机位,具体的,所述质量评估结果为质量评估得分;In an embodiment provided in this specification, in the process of selecting the optimal seat from multiple seats through the final quality score, the preset seat with the highest final quality score will be used as the current optimal seat; but if Finally, the maximum final quality score calculated is at least two, that is to say, there are at least two preset camera positions with the same final quality score and the largest, then one needs to be selected from the at least two preset camera positions As the final optimal seat, specifically, the quality evaluation result is a quality evaluation score;

相应的,所述基于所述质量评估结果,从所述至少两个预设观测位置中确定更新观测位置,包括:Correspondingly, the determining an updated observation location from the at least two preset observation locations based on the quality evaluation result includes:

从所述至少两个预设观测位置的所述质量评估得分中,确定最大质量评估得分;determining a maximum quality assessment score from the quality assessment scores of the at least two preset observation positions;

在所述最大质量评估得分为一个的情况下,将所述最大质量评估得分对应的所述预设观测位置,确定为更新观测位置;When the maximum quality assessment score is one, determining the preset observation position corresponding to the maximum quality assessment score as an updated observation position;

在所述最大质量评估得分为至少两个的情况下,从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置。In a case where the maximum quality evaluation score is at least two, an updated observation position is determined from the preset observation positions corresponding to at least two of the maximum quality evaluation scores.

沿用上例,在通过上述实施例提供的方式计算出每个预设机位的最终质量评分之后,需要从每个预设机位的最终质量评分中,筛选出最大的最终质量评分。在该最大的最终质量评分为一个的情况下,则直接将该最终质量评分对应的预设机位作为最优机位;基于此,从而实现了快速的基于该质量评估得分为该观测相机确定更新观测位置,进一步提高了该观测相机的转移效率。Using the above example, after calculating the final quality score of each preset camera position through the method provided in the above embodiment, it is necessary to select the largest final quality score from the final quality scores of each preset camera position. In the case that the maximum final quality score is one, the preset position corresponding to the final quality score is directly used as the optimal position; based on this, it is realized that the observation camera can be quickly determined based on the quality evaluation score The observation position is updated to further improve the transfer efficiency of the observation camera.

但是,当该最大的最终质量评分为至少两个的情况下,表示当前存在多个质量较优的预设机位,因此则需要确定每个最大的最终质量评分所对应的预设机位,并从该预设机位中为该游戏摄像机确定一个最优机位;基于此,从而保证该观测对象能够对该目标对象进行高质量的观测。However, when the maximum final quality score is at least two, it means that there are currently multiple preset camera positions with better quality, so it is necessary to determine the preset camera position corresponding to each maximum final quality score, And determine an optimal camera position for the game camera from the preset camera positions; based on this, it is ensured that the observation object can observe the target object with high quality.

而在本说明书提供的一实施例中,如果最后计算出来有至少两个预设机位的质量评估得分相同,且均为最大质量评估得分,那么可以从至少两个预设机位中随机选取任意一个机位作为最优机位,从而快速的为该摄像机确定一个最优机位;具体的,所述从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置,包括:However, in an embodiment provided in this specification, if it is finally calculated that the quality evaluation scores of at least two preset positions are the same and both are the maximum quality evaluation scores, then it can be randomly selected from at least two preset positions Any camera position is used as the optimal camera position, so as to quickly determine an optimal camera position for the camera; specifically, the update is determined from the preset observation positions corresponding to at least two of the maximum quality evaluation scores. Observation locations, including:

从至少两个所述最大质量评估得分对应的所述预设观测位置中,选择任意一个所述预设观测位置作为更新观测位置。From the at least two preset observation positions corresponding to the maximum quality evaluation scores, any one of the preset observation positions is selected as an updated observation position.

沿用上例,本说明书提供的对象观测方法中,在该最大的最终质量评分为两个的情况下,则需要确定每个最终质量评分所对应的预设机位,并从该多个预设机位中,任意选取一个预设机位作为该摄像机的最优机位;基于此,基于该实施例提高了更新观测位置的选择效率,进一步提高了观测相机的转移效率,从而实现对该目标对象的高质量观测。Following the above example, in the object observation method provided in this manual, when the maximum final quality score is two, it is necessary to determine the preset camera location corresponding to each final quality score, and from the multiple preset Among the camera positions, a preset camera position is arbitrarily selected as the optimal camera position of the camera; based on this, based on this embodiment, the selection efficiency of updating the observation position is improved, and the transfer efficiency of the observation camera is further improved, thereby achieving the goal High-quality observations of objects.

进一步的,在本说明书提供的一实施例中,如果最后计算出的质量评估得分为至少两个,则表示有至少两个预设观测位置可以被确定为更新观测位置,在此情况下,为了给观测相机确定出最优的观测位置,则可以额外再增加其他筛选条件,针对该至少两个预设观测位置再次进行筛选,从而保证为观测相机确定出质量最高的观测位置;而该其他筛选条件可以根据实际应用场景进行设置,本说明书对此不作具体限制。例如,在本说明书提供的一实施例中,在质量评估得分为至少两个的情况下,则可以计算出目标对象的移动轨迹,并确定该至少两个质量评估得分对应的预设观测位置,与该移动轨迹之间的间隔距离,并将距离该目标对象的移动轨迹最近的预设观测位置,作为更新观测位置;具体的,所述从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置,包括:Further, in an embodiment provided in this specification, if the final calculated quality evaluation score is at least two, it means that there are at least two preset observation positions that can be determined as updated observation positions. In this case, for If the optimal observation position is determined for the observation camera, other screening conditions can be added to filter again for the at least two preset observation positions, so as to ensure that the highest quality observation position is determined for the observation camera; and the other screening conditions Conditions may be set according to actual application scenarios, and this specification does not specifically limit this. For example, in an embodiment provided in this specification, if there are at least two quality evaluation scores, the movement track of the target object can be calculated, and the preset observation position corresponding to the at least two quality evaluation scores can be determined, distance from the moving track, and use the preset observation position closest to the moving track of the target object as an updated observation position; In the preset observation position, determine the updated observation position, including:

将至少两个所述最大质量评估得分对应的所述预设观测位置,作为候选观测位置;using at least two of the preset observation positions corresponding to the maximum quality evaluation scores as candidate observation positions;

预测所述目标对象的移动轨迹,并计算所述候选观测位置与所述移动轨迹之间的间隔距离;Predicting the moving track of the target object, and calculating the distance between the candidate observation position and the moving track;

确定所述间隔距离中的最小间隔距离,并将所述最小间隔距离对应的候选观测位置作为更新观测位置。A minimum separation distance among the separation distances is determined, and a candidate observation position corresponding to the minimum separation distance is used as an updated observation position.

其中,候选观测位置可以理解为质量评估得分相同且均为最大的预设观测位置。Wherein, the candidate observation positions can be understood as the preset observation positions with the same quality evaluation score and the largest.

移动轨迹可以理解为该目标对象在特定时间范围内所移动的轨迹。例如,游戏宠物在接下来10秒内所移动的路线;或者该移动轨迹可以理解为该目标对象移动特定距离的轨迹,例如,游戏宠物在接下来所移动的10米路线。其中,该特定时间范围以及该特定距离均可根据实际应用场景进行设置。The moving trajectory can be understood as the trajectory that the target object moves within a specific time range. For example, the route that the game pet moves within the next 10 seconds; or the movement track can be understood as the track of the target object moving a specific distance, for example, the next 10-meter route that the game pet moves. Wherein, the specific time range and the specific distance can be set according to actual application scenarios.

在本说明书提供的实施例中,预测目标对象的移动轨迹可以理解为对目标对象在接下来特定时间范围内或者特定距离的移动轨迹进行预测。而该移动轨迹的预测可以通过神经网络模型、算法、程序等能够对目标对象的移动轨迹进行预测的工具实现;例如,将目标对象的历史移动轨迹输入神经网络模型进行移动轨迹预测,从而预测出该目标对象接下来的移动轨迹;或者,通过算法对目标对象的历史移动轨迹进行预测分析,从而预测出该目标对象接下来的移动轨迹。In the embodiments provided in this specification, predicting the movement trajectory of the target object may be understood as predicting the movement trajectory of the target object within a specific time range or within a specific distance in the future. The prediction of the movement trajectory can be realized by tools such as neural network models, algorithms, programs, etc. that can predict the movement trajectory of the target object; The next moving track of the target object; or, predicting and analyzing the historical moving track of the target object through an algorithm, so as to predict the next moving track of the target object.

具体的,本说明书提供的对象观测方法,在确定最大质量评估得分为至少两个的情况下,会确定该至少两个最大质量评估得分对应的预设观测位置,并将其作为候选观测位置进行再次筛选。Specifically, in the object observation method provided in this specification, when the maximum quality evaluation score is determined to be at least two, the preset observation position corresponding to the at least two maximum quality evaluation scores will be determined, and it will be used as a candidate observation position. Filter again.

之后,预测出该目标对象接下来的移动轨迹,并计算该候选观测位置与该移动轨迹之间的间隔距离。需要说明的是,在本说明书提供的实施例中,该移动轨迹由至少两个移动轨迹点构成,该移动轨迹点可以理解为目标对象在游戏场景内移动时所经过的坐标点。基于此,该间隔距离的计算方式可以包括:计算每个移动轨迹点与该候选观测位置之间的间隔距离,并将间隔距离中的最小间隔距离作为候选观测位置与移动轨迹之间的间隔距离。或者,该间隔距离的计算方式还可以包括:计算每个移动轨迹点与该候选观测位置之间的间隔距离,并对该间隔距离求平均,计算该候选观测位置与移动轨迹点之间的平均间隔距离,将该平均间隔距离作为候选观测位置与移动轨迹之间的间隔距离。Afterwards, the next moving track of the target object is predicted, and the distance between the candidate observation position and the moving track is calculated. It should be noted that, in the embodiments provided in this specification, the movement track is composed of at least two movement track points, which can be understood as the coordinate points that the target object passes through when moving in the game scene. Based on this, the calculation method of the separation distance may include: calculating the separation distance between each moving track point and the candidate observation position, and using the minimum separation distance in the separation distance as the separation distance between the candidate observation position and the movement track . Alternatively, the calculation method of the separation distance may also include: calculating the separation distance between each moving track point and the candidate observation position, and averaging the separation distance, and calculating the average distance between the candidate observation position and the movement track point Separation distance, the average separation distance is used as the separation distance between the candidate observation position and the movement track.

在确定该候选观测位置与移动轨迹之间的间隔距离之后,从该间隔距离中选择一个最小间隔距离,并将该最小间隔距离对应的候选观测位置作为更新观测位置。After determining the separation distance between the candidate observation position and the movement trajectory, a minimum separation distance is selected from the separation distance, and the candidate observation position corresponding to the minimum separation distance is used as an updated observation position.

沿用上例,本说明书提供的对象观测方法,在确定最大的最终质量评分为两个的情况下,会确定该两个最大的最终质量评分所对应的预设机位A和预设机位B;然后预测出该游戏宠物接下来的移动轨迹,并计算该预设机位A和预设机位B,与游戏宠物的移动轨迹之间的间隔距离;通过该间隔距离的大小能够确定该游戏宠物的移动方向;比如当游戏宠物接下来是朝向预设机位A移动时,该游戏宠物与预设机位A之间的间隔距离(5米),要小于游戏宠物与预设机位B之间的间隔距离(10米);反之亦然。基于此,当确定预设机位A和预设机位B,与游戏宠物的移动轨迹之间的间隔距离之后,从该间隔距离中选择最小间隔距离(5米),并将该最小间隔距离所对应的预设机位A作为摄像机的最优机位。Following the above example, the object observation method provided in this manual will determine the preset camera position A and preset camera position B corresponding to the two largest final quality scores when the maximum final quality score is determined to be two ; Then predict the next moving track of the game pet, and calculate the distance between the preset position A and the preset position B, and the moving track of the game pet; the game pet can be determined by the size of the distance The moving direction of the pet; for example, when the game pet moves towards the preset camera position A, the distance (5 meters) between the game pet and the preset camera position A is smaller than the game pet and the preset camera position B The separation distance between them (10 meters); and vice versa. Based on this, after determining the distance between the preset machine position A and the preset machine position B, and the moving track of the game pet, select the minimum distance (5 meters) from the distance, and set the minimum distance The corresponding preset position A is used as the optimal position of the camera.

在本实施例中,在预设观测位置A和预设观测位置B目前的质量评估得分相同且均为最大的情况下,增加对于目标对象的移动路线的预测,当预测目标对象接下来会向预设观测位置A方向移动时,则确定预设观测位置A拍摄目标对象的时间和范围可能更长久,因此可以优选预设观测位置A作为更新观测位置,从而根据预测移动路线从相同得分的预设观测位置中,选择能针对目标对象拍摄最久的预设观测位置。In this embodiment, when the current quality evaluation scores of the preset observation position A and the preset observation position B are the same and both are the largest, the prediction of the moving route of the target object is added. When the target object is predicted to go to When the preset observation position A moves in the direction, it is determined that the time and scope of shooting the target object at the preset observation position A may be longer, so the preset observation position A can be preferred as the updated observation position, so that the predicted movement route can be obtained from the same score according to the predicted movement route. In the set observation position, select the preset observation position that can shoot the target object for the longest time.

步骤206:将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。Step 206: Transfer the observation camera from the current observation position to the updated observation position to observe the target object.

具体的,在确定更新观测位置之后,将该观测位置设置至更新观测位置,实现将观测相机从当前观测位置转移至更新观测位置,然后通过位于更新观测位置的观测相机,对视野范围内的目标对象进行观测,并将观测结果展示至客户端的对象展示界面。Specifically, after the updated observation position is determined, the observation position is set to the updated observation position to realize the transfer of the observation camera from the current observation position to the updated observation position, and then through the observation camera located at the updated observation position, the target within the field of view The object conducts observations and displays the observation results to the object display interface of the client.

本说明书提供的一实施例中,考虑到频繁更换该观测相机的观测位置,会导致针对目标对象的观测视角不断变化,导致用户不好的游戏体验,因此,在完成游戏相机的位置切换之后,会在等待预设时间之后,再将该更新观测位置固定,并基于固定位置的观测相机对该目标对象进行观测,具体的,所述将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测,包括:In an embodiment provided by this specification, considering that frequently changing the observation position of the observation camera will result in constant changes in the observation angle of the target object, resulting in a bad game experience for the user, therefore, after the position switching of the game camera is completed, After waiting for a preset time, the updated observation position will be fixed, and the target object will be observed based on the observation camera at the fixed position. Specifically, the observation camera will be transferred from the current observation position to the Observing the target object at the above updated observation position, including:

将所述观测相机从所述当前观测位置转移至所述更新观测位置,并记录位置转移时间;Transferring the observation camera from the current observation position to the updated observation position, and recording the position transfer time;

在确定所述位置转移时间与当前时间的时间差值,满足预设时间阈值的情况下,固定所述更新观测位置;Fixing the updated observation position when determining that the time difference between the position transfer time and the current time satisfies a preset time threshold;

通过位于所述更新观测位置的所述观测相机对所述目标对象进行观测。The target object is observed by the observation camera located at the updated observation position.

其中,该位置转移时间可以理解为将该观测相机转移至该更新观测位置的时间。该预设时间阈值可以根据实际应用场景进行设置,例如,该1秒、2秒、5秒等。此外,在实际应用中,该预设时间阈值也可以为0秒;也即是说,本说明书提供的对象观测方法,可以在确定该更新观测位置之后,直接将该观测相机转移至该更新观测位置。Wherein, the position transfer time can be understood as the time when the observation camera is transferred to the updated observation position. The preset time threshold can be set according to actual application scenarios, for example, 1 second, 2 seconds, 5 seconds, and so on. In addition, in practical applications, the preset time threshold can also be 0 seconds; that is to say, the object observation method provided in this manual can directly transfer the observation camera to the updated observation position after determining the updated observation position. Location.

沿用上例,本说明书提供的对象观测方法,在确定质量最优的机位之后,会将该游戏相机转移至该最优机位上,并对该目标游戏宠物进行拍摄,其中,该最优机位在此时会跟随该目标游戏宠物进行移动。Using the above example, the object observation method provided in this manual will transfer the game camera to the optimal camera position after determining the optimal camera position, and take pictures of the target game pet. At this time, the camera position will follow the target game pet to move.

在将游戏相机转移至该最优机位的过程中,会记录下相机转移时间,并不断计算该相机转移时间与当前时间的时间差值,并将该时间差值与预设时间阈值(如2秒)进行比较,在该时间差值大于等于2秒的情况下,将跟随该目标游戏宠物移动的最优机位固定在原地;基于固定后的最优机位上的游戏相机,对该目标游戏宠物进行拍摄。通过在每个机位稳定后,将其保持在原地,从而减少了相机运动带来的眩晕。During the process of transferring the game camera to the optimal position, the camera transfer time will be recorded, and the time difference between the camera transfer time and the current time will be continuously calculated, and the time difference will be compared with the preset time threshold (such as 2 seconds) for comparison, and when the time difference is greater than or equal to 2 seconds, the optimal camera position following the movement of the target game pet is fixed in place; based on the game camera on the fixed optimal camera position, the Target game pets for shooting. This reduces camera motion sickness by keeping each camera position in place after it stabilizes.

在本说明书提供的实施例中,所述将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测之后,还包括:In the embodiment provided in this specification, after transferring the observation camera from the current observation position to the updated observation position to observe the target object, it further includes:

将所述当前观测位置确定为预设观测位置,其中,所述预设观测位置分布在所述目标对象周围,并与所述目标对象之间保存预设间隔距离,且跟随所述目标对象移动。Determining the current observation position as a preset observation position, wherein the preset observation positions are distributed around the target object, keep a preset distance from the target object, and follow the movement of the target object .

沿用上例,在将游戏相机转移至质量最优机位之后,会将该游戏相机之前位于的机位进行归位操作,重新将该机位作为预设机位,并在后续进行预设机位评估时,对其进行质量评估。Following the above example, after the game camera is transferred to the position with the best quality, the position where the game camera was previously located will be reset, and this position will be used as the default position again, and the preset position will be performed later. As the bit is evaluated, it is evaluated for quality.

本说明书提供的对象观测方法,为目标对象预先设置了至少两个预设观测位置,并在确定针对目标对象的观测相机,在当前观测位置的当前观测状态满足更新条件的情况下,从该至少两个预设观测位置中选择一个更新观测位置,并将该观测相机转移到该更新观测位置上对该目标对象进行观测,从而灵活的对该观测相机的观测视角和观测位置进行调整,避免由于观测相机被遮挡所导致的目标对象无法展示给游戏玩家的问题,提高了游戏玩家的游戏体验。The object observation method provided in this specification pre-sets at least two preset observation positions for the target object, and when the observation camera for the target object is determined, and the current observation state of the current observation position satisfies the update condition, from the at least Select one of the two preset observation positions to update the observation position, and transfer the observation camera to the updated observation position to observe the target object, so as to flexibly adjust the observation angle and observation position of the observation camera, avoiding the The problem that the target object cannot be displayed to the game player due to the occlusion of the observation camera has improved the game experience of the game player.

下述结合附图4,以本说明书提供的对象观测方法在游戏场景中的应用为例,对所述对象观测方法进行进一步说明。其中,图4示出了本说明书一个实施例提供的一种对象观测方法的处理过程流程图,具体包括以下步骤。The following describes the object observation method further by taking the application of the object observation method provided in this specification in a game scene as an example in conjunction with FIG. 4 . Wherein, FIG. 4 shows a flowchart of a processing process of an object observation method provided by an embodiment of the present specification, which specifically includes the following steps.

步骤402:检查相机与目标对象之间的距离,以及相机的拍摄状态。Step 402: Check the distance between the camera and the target object, and the shooting status of the camera.

其中,该相机可以理解为上述观测相机。Wherein, the camera can be understood as the observation camera mentioned above.

步骤404:在距离过近、距离过远或者相机镜头被遮挡的情况下,确定目标对象的多个预设机位。Step 404: When the distance is too short, the distance is too far, or the camera lens is blocked, determine multiple preset camera positions of the target object.

需要说明的是,该预设机位均看向目标对象,并且默认状态下,该预设相机的坐标跟随目标对象移动。It should be noted that the preset camera positions all look at the target object, and by default, the coordinates of the preset camera move along with the target object.

步骤406:从多个预设机位中选择一个质量得分最高的最优机位,并将相机位置设置到最优机位上。Step 406: Select an optimal camera position with the highest quality score from multiple preset camera positions, and set the camera position to the optimal camera position.

具体的,从多个预设机位中选择一个质量得分最高的最优机位,可以参见上述实施例中对应或相应的内容。Specifically, for selecting an optimal camera position with the highest quality score from multiple preset camera positions, refer to the corresponding or corresponding content in the foregoing embodiments.

步骤408:其他机位执行归位操作,并且该最优机位以及其他机位跟随目标对象移动。Step 408: The other camera positions perform a homing operation, and the optimal camera position and other camera positions follow the movement of the target object.

步骤410:在相机设置超过N秒之后,将当前最优机位的位置固定,并针对目标对象的位置进行拍摄。Step 410: After the camera is set for more than N seconds, fix the position of the current optimal camera position, and shoot at the position of the target object.

并继续检查相机与目标对象之间的距离,以及相机的拍摄状态,迭代进行最优机位调整。And continue to check the distance between the camera and the target object, as well as the shooting status of the camera, and iteratively adjust the optimal camera position.

本说明书提供的对象观测方法,提供了一种多机位切换的游戏相机设计方案,通过该方案从多个预设机位中筛选掉不合适的机位,为该游戏相机选择一个质量最优的机位,并且,在机位切换时,会尽可能地保持之前的位置和角度,保证相机的稳定性,减少切换机位带来的眩晕。同时在最优机位稳定后,会将其保持在原地,减少了相机运动带来的眩晕。The object observation method provided in this manual provides a game camera design scheme for multi-camera switching. Through this scheme, unsuitable camera positions are screened out from multiple preset camera positions, and one with the best quality is selected for the game camera. Moreover, when the camera position is switched, the previous position and angle will be maintained as much as possible to ensure the stability of the camera and reduce the dizziness caused by switching the camera position. At the same time, after the optimal camera position is stabilized, it will be kept in place, reducing the dizziness caused by camera movement.

与上述方法实施例相对应,本说明书还提供了对象观测装置实施例,图5示出了本说明书一个实施例提供的一种对象观测装置的结构示意图。如图5所示,该装置包括:Corresponding to the foregoing method embodiments, this specification also provides an embodiment of an object observation device. FIG. 5 shows a schematic structural diagram of an object observation device provided by an embodiment of this specification. As shown in Figure 5, the device includes:

状态确定模块502,被配置为确定目标对象的观测相机在当前观测位置的当前观测状态;A state determination module 502, configured to determine the current observation state of the observation camera of the target object at the current observation position;

位置评估模块504,被配置为在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;The position evaluation module 504 is configured to evaluate at least two preset observation positions of the target object to obtain an updated observation position when it is determined that the current observation state satisfies the update condition, wherein the updated observation position being one of the at least two preset observation positions;

相机转移模块506,被配置为将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。The camera transfer module 506 is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

确定所述目标对象的至少两个预设观测位置,并对所述至少两个预设观测位置进行质量评估,获得所述至少两个预设观测位置的质量评估结果;determining at least two preset observation positions of the target object, and performing quality assessment on the at least two preset observation positions, and obtaining quality assessment results of the at least two preset observation positions;

基于所述质量评估结果,从所述至少两个预设观测位置中确定更新观测位置。Based on the quality assessment result, an updated observation location is determined from the at least two preset observation locations.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

确定所述至少两个预设观测位置中的待评估观测位置,其中,所述待评估观测位置为所述至少两个预设观测位置之一;determining an observation position to be evaluated among the at least two preset observation positions, wherein the observation position to be evaluated is one of the at least two preset observation positions;

基于至少两个质量评估策略,对所述待评估观测位置进行质量评估,获得所述待评估观测位置对应的至少两个初始评估结果;Performing quality assessment on the observation location to be evaluated based on at least two quality assessment strategies, and obtaining at least two initial evaluation results corresponding to the observation location to be evaluated;

基于所述至少两个初始评估结果,确定所述至少两个预设观测位置的质量评估结果。Based on the at least two initial evaluation results, quality evaluation results of the at least two preset observation positions are determined.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

基于所述目标对象的位置信息对所述待评估观测位置进行评估,获得第一初始评估结果;Evaluating the observation location to be evaluated based on the location information of the target object, to obtain a first initial evaluation result;

对所述待评估观测位置对应的当前观测状态进行评估,获得第二初始评估结果;Evaluate the current observation state corresponding to the observation position to be evaluated, and obtain a second initial evaluation result;

基于所述观测相机的当前观测位置对所述待评估观测位置进行评估,获得第三初始评估结果;Evaluating the observation position to be evaluated based on the current observation position of the observation camera to obtain a third initial evaluation result;

基于所述当前观测位置与所述待评估观测位置之间的观测角度,对所述待评估观测位置进行评估,获得第四初始评估结果;Evaluating the observation location to be evaluated based on an observation angle between the current observation location and the observation location to be evaluated, to obtain a fourth initial evaluation result;

将所述第一初始评估结果、所述第二初始评估结果、所述第三初始评估结果以及所述第四初始评估结果,作为所述待评估观测位置对应的至少两个初始评估结果。The first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result are used as at least two initial evaluation results corresponding to the observation positions to be evaluated.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

确定所述目标对象的位置信息与所述待评估观测位置之间的间隔距离;determining the separation distance between the location information of the target object and the observation location to be evaluated;

基于第一预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第一初始评估结果。An evaluation result matching the separation distance is determined based on a first preset result matching rule, and the evaluation result is determined as a first initial evaluation result of the observation position to be evaluated.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

基于所述待评估观测位置与所述目标对象之间的障碍对象,确定所述待评估观测位置的当前观测状态;determining a current observation state of the observation location to be evaluated based on an obstacle object between the observation location to be evaluated and the target object;

基于所述当前观测状态,确定所述待评估观测位置的第二初始评估结果。Based on the current observation state, a second initial evaluation result of the observation location to be evaluated is determined.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

确定所述观测相机的当前观测位置与所述待评估观测位置之间的间隔距离;determining the separation distance between the current observation position of the observation camera and the observation position to be evaluated;

基于第二预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第三初始评估结果。An evaluation result matching the separation distance is determined based on a second preset result matching rule, and the evaluation result is determined as a third initial evaluation result of the observation position to be evaluated.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

确定所述目标对象的位置信息,并确定所述待评估观测位置针对所述位置信息的第一观测向量,以及所述当前观测位置针对所述位置信息的第二观测向量;determining the position information of the target object, and determining a first observation vector of the observation position to be evaluated with respect to the position information, and a second observation vector of the current observation position with respect to the position information;

基于所述第一观测向量以及所述第二观测向量,确定所述当前观测位置与所述待评估观测位置之间的观测角度;determining an observation angle between the current observation position and the observation position to be evaluated based on the first observation vector and the second observation vector;

基于所述观测角度,确定所述待评估观测位置的第四初始评估结果。Based on the observation angle, a fourth initial evaluation result of the observation position to be evaluated is determined.

可选地,所述初始评估结果为初始评估得分;Optionally, the initial evaluation result is an initial evaluation score;

相应的,所述位置评估模块504,还被配置为:Correspondingly, the location assessment module 504 is further configured to:

基于至少两个初始评估得分,计算所述至少两个预设观测位置的质量评估得分。Based on at least two initial evaluation scores, the quality evaluation scores of the at least two preset observation positions are calculated.

可选地,所述质量评估结果为质量评估得分;Optionally, the quality assessment result is a quality assessment score;

相应的,所述位置评估模块504,还被配置为:Correspondingly, the location assessment module 504 is further configured to:

从所述至少两个预设观测位置的所述质量评估得分中,确定最大质量评估得分;determining a maximum quality assessment score from the quality assessment scores of the at least two preset observation positions;

在所述最大质量评估得分为一个的情况下,将所述最大质量评估得分对应的所述预设观测位置,确定为更新观测位置;When the maximum quality assessment score is one, determining the preset observation position corresponding to the maximum quality assessment score as an updated observation position;

在所述最大质量评估得分为至少两个的情况下,从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置。In a case where the maximum quality evaluation score is at least two, an updated observation position is determined from the preset observation positions corresponding to at least two of the maximum quality evaluation scores.

可选地,所述位置评估模块504,还被配置为:Optionally, the location assessment module 504 is further configured to:

将至少两个所述最大质量评估得分对应的所述预设观测位置,作为候选观测位置;using at least two of the preset observation positions corresponding to the maximum quality evaluation scores as candidate observation positions;

预测所述目标对象的移动轨迹,并计算所述候选观测位置与所述移动轨迹之间的间隔距离;Predicting the moving track of the target object, and calculating the distance between the candidate observation position and the moving track;

确定所述间隔距离中的最小间隔距离,并将所述最小间隔距离对应的候选观测位置作为更新观测位置。A minimum separation distance among the separation distances is determined, and a candidate observation position corresponding to the minimum separation distance is used as an updated observation position.

可选地,所述相机转移模块506,还被配置为:Optionally, the camera transfer module 506 is further configured to:

将所述观测相机从所述当前观测位置转移至所述更新观测位置,并记录位置转移时间;Transferring the observation camera from the current observation position to the updated observation position, and recording the position transfer time;

在确定所述位置转移时间与当前时间的时间差值,满足预设时间阈值的情况下,固定所述更新观测位置;Fixing the updated observation position when determining that the time difference between the position transfer time and the current time satisfies a preset time threshold;

通过位于所述更新观测位置的所述观测相机对所述目标对象进行观测。The target object is observed by the observation camera located at the updated observation position.

可选地,所述对象观测装置还包括位置确定模块,被配置为:Optionally, the object observation device further includes a position determination module configured to:

将所述当前观测位置确定为预设观测位置,其中,所述预设观测位置分布在所述目标对象周围,并与所述目标对象之间保存预设间隔距离,且跟随所述目标对象移动。Determining the current observation position as a preset observation position, wherein the preset observation positions are distributed around the target object, keep a preset distance from the target object, and follow the movement of the target object .

本说明书实施例提供的对象观测装置,通过为目标对象预先设置了至少两个预设观测位置,并在确定针对目标对象的观测相机,在当前观测位置的当前观测状态满足更新条件的情况下,从该至少两个预设观测位置中选择一个更新观测位置,并将该观测相机转移到该更新观测位置上对该目标对象进行观测,从而灵活的对该观测相机的观测视角和观测位置进行调整,避免由于观测相机被遮挡所导致的目标对象无法展示给游戏玩家的问题,提高了游戏玩家的游戏体验。The object observation device provided in the embodiment of this specification pre-sets at least two preset observation positions for the target object, and after determining the observation camera for the target object, when the current observation state of the current observation position satisfies the update condition, Select an updated observation position from the at least two preset observation positions, and transfer the observation camera to the updated observation position to observe the target object, thereby flexibly adjusting the observation angle and observation position of the observation camera , to avoid the problem that the target object cannot be displayed to the game player due to the occlusion of the observation camera, and improve the game player's gaming experience.

上述为本实施例的一种对象观测装置的示意性方案。需要说明的是,该对象观测装置的技术方案与上述的对象观测方法的技术方案属于同一构思,对象观测装置的技术方案未详细描述的细节内容,均可以参见上述对象观测方法的技术方案的描述。The foregoing is a schematic solution of an object observation device in this embodiment. It should be noted that the technical solution of the object observation device and the above-mentioned technical solution of the object observation method belong to the same concept, and the details of the technical solution of the object observation device that are not described in detail can be found in the description of the technical solution of the above-mentioned object observation method .

图6示出了根据本说明书一个实施例提供的一种计算设备600的结构框图。该计算设备600的部件包括但不限于存储器610和处理器620。处理器620与存储器610通过总线630相连接,数据库650用于保存数据。FIG. 6 shows a structural block diagram of a computing device 600 provided according to an embodiment of this specification. Components of the computing device 600 include, but are not limited to, memory 610 and processor 620 . The processor 620 is connected to the memory 610 through the bus 630, and the database 650 is used for storing data.

计算设备600还包括接入设备640,接入设备640使得计算设备600能够经由一个或多个网络660通信。这些网络的示例包括公用交换电话网(PSTN)、局域网(LAN)、广域网(WAN)、个域网(PAN)或诸如因特网的通信网络的组合。接入设备640可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC))中的一个或多个,诸如IEEE802.11无线局域网(WLAN)无线接口、全球微波互联接入(Wi-MAX)接口、以太网接口、通用串行总线(USB)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC)接口,等等。Computing device 600 also includes an access device 640 that enables computing device 600 to communicate via one or more networks 660 . Examples of these networks include the Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or a combination of communication networks such as the Internet. Access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)), wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, Worldwide Interoperability for Microwave Access ( Wi-MAX) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth interface, Near Field Communication (NFC) interface, etc.

在本说明书的一个实施例中,计算设备600的上述部件以及图6中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图6所示的计算设备结构框图仅仅是出于示例的目的,而不是对本说明书范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。In an embodiment of the present specification, the above-mentioned components of the computing device 600 and other components not shown in FIG. 6 may also be connected to each other, for example, through a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 6 is only for the purpose of illustration, rather than limiting the scope of this description. Those skilled in the art can add or replace other components as needed.

计算设备600可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或PC的静止计算设备。计算设备600还可以是移动式或静止式的服务器。Computing device 600 may be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile telephones (e.g., smartphones), ), wearable computing devices (eg, smart watches, smart glasses, etc.), or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. Computing device 600 may also be a mobile or stationary server.

其中,处理器620用于执行如下计算机可执行指令,该计算机可执行指令被处理器执行时实现上述对象观测方法的步骤。Wherein, the processor 620 is configured to execute the following computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above object observation method are implemented.

上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的对象观测方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述对象观测方法的技术方案的描述。The foregoing is a schematic solution of a computing device in this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned object observation method belong to the same concept, and details not described in detail in the technical solution of the computing device can refer to the description of the technical solution of the above-mentioned object observation method.

本说明书一实施例还提供一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现上述对象观测方法的步骤。An embodiment of the present specification also provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the above object observation method are implemented.

上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的对象观测方法的技术方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述对象观测方法的技术方案的描述。The foregoing is a schematic solution of a computer-readable storage medium in this embodiment. It should be noted that the technical solution of the storage medium and the above-mentioned technical solution of the object observation method belong to the same concept, and details not described in detail in the technical solution of the storage medium can be found in the description of the above-mentioned technical solution of the object observation method.

本说明书一实施例还提供一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行上述对象观测方法的步骤。An embodiment of the present specification also provides a computer program, wherein, when the computer program is executed in a computer, the computer is made to execute the steps of the above object observation method.

上述为本实施例的一种计算机程序的示意性方案。需要说明的是,该计算机程序的技术方案与上述的对象观测方法的技术方案属于同一构思,计算机程序的技术方案未详细描述的细节内容,均可以参见上述对象观测方法的技术方案的描述。The foregoing is a schematic solution of a computer program in this embodiment. It should be noted that the technical solution of the computer program belongs to the same concept as the technical solution of the above-mentioned object observation method, and details not described in detail in the technical solution of the computer program can be found in the description of the above-mentioned technical solution of the object observation method.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.

所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The computer instructions include computer program code, which may be in source code form, object code form, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.

需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本说明书实施例并不受所描述的动作顺序的限制,因为依据本说明书实施例,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本说明书实施例所必须的。It should be noted that, for the sake of simplicity of description, the above-mentioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the embodiments of this specification are not limited by the described action sequence. Because according to the embodiment of the present specification, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the specification.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

以上公开的本说明书优选实施例只是用于帮助阐述本说明书。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书实施例的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本说明书实施例的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本说明书。本说明书仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of the present specification disclosed above are only for helping to explain the present specification. Alternative embodiments are not exhaustive in all detail, nor are the inventions limited to specific implementations described. Obviously, many modifications and changes can be made according to the contents of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can well understand and use this specification. This specification is to be limited only by the claims, along with their full scope and equivalents.

Claims (16)

1.一种对象观测方法,其特征在于,包括:1. An object observation method, characterized in that, comprising: 确定目标对象的观测相机在当前观测位置的当前观测状态;Determine the current observation status of the observation camera of the target object at the current observation position; 在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;When it is determined that the current observation state satisfies the update condition, at least two preset observation positions of the target object are evaluated to obtain an updated observation position, wherein the updated observation position is the at least two preset observation positions one of the observation positions; 将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。The observation camera is transferred from the current observation position to the updated observation position to observe the target object. 2.根据权利要求1所述的对象观测方法,其特征在于,所述对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,包括:2. The object observation method according to claim 1, wherein the evaluating at least two preset observation positions of the target object to obtain an updated observation position comprises: 确定所述目标对象的至少两个预设观测位置,并对所述至少两个预设观测位置进行质量评估,获得所述至少两个预设观测位置的质量评估结果;determining at least two preset observation positions of the target object, and performing quality assessment on the at least two preset observation positions, and obtaining quality assessment results of the at least two preset observation positions; 基于所述质量评估结果,从所述至少两个预设观测位置中确定更新观测位置。Based on the quality assessment result, an updated observation location is determined from the at least two preset observation locations. 3.根据权利要求2所述的对象观测方法,其特征在于,所述对所述至少两个预设观测位置进行质量评估,获得所述至少两个预设观测位置的质量评估结果,包括:3. The object observation method according to claim 2, wherein said performing quality assessment on said at least two preset observation positions and obtaining the quality assessment results of said at least two preset observation positions comprises: 确定所述至少两个预设观测位置中的待评估观测位置,其中,所述待评估观测位置为所述至少两个预设观测位置之一;determining an observation position to be evaluated among the at least two preset observation positions, wherein the observation position to be evaluated is one of the at least two preset observation positions; 基于至少两个质量评估策略,对所述待评估观测位置进行质量评估,获得所述待评估观测位置对应的至少两个初始评估结果;Performing quality assessment on the observation location to be evaluated based on at least two quality assessment strategies, and obtaining at least two initial evaluation results corresponding to the observation location to be evaluated; 基于所述至少两个初始评估结果,确定所述至少两个预设观测位置的质量评估结果。Based on the at least two initial evaluation results, quality evaluation results of the at least two preset observation positions are determined. 4.根据权利要求3所述的对象观测方法,其特征在于,所述基于至少两个质量评估策略,对所述待评估观测位置进行质量评估,获得所述待评估观测位置对应的至少两个初始评估结果,包括:4. The object observation method according to claim 3, characterized in that, based on at least two quality assessment strategies, the quality of the observation position to be evaluated is evaluated, and at least two corresponding to the observation position to be evaluated are obtained. Initial assessment results, including: 基于所述目标对象的位置信息对所述待评估观测位置进行评估,获得第一初始评估结果;Evaluating the observation location to be evaluated based on the location information of the target object, to obtain a first initial evaluation result; 对所述待评估观测位置对应的当前观测状态进行评估,获得第二初始评估结果;Evaluate the current observation state corresponding to the observation position to be evaluated, and obtain a second initial evaluation result; 基于所述观测相机的当前观测位置对所述待评估观测位置进行评估,获得第三初始评估结果;Evaluating the observation position to be evaluated based on the current observation position of the observation camera to obtain a third initial evaluation result; 基于所述当前观测位置与所述待评估观测位置之间的观测角度,对所述待评估观测位置进行评估,获得第四初始评估结果;Evaluating the observation location to be evaluated based on an observation angle between the current observation location and the observation location to be evaluated, to obtain a fourth initial evaluation result; 将所述第一初始评估结果、所述第二初始评估结果、所述第三初始评估结果以及所述第四初始评估结果,作为所述待评估观测位置对应的至少两个初始评估结果。The first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result are used as at least two initial evaluation results corresponding to the observation positions to be evaluated. 5.根据权利要求4所述的对象观测方法,其特征在于,所述基于所述目标对象的位置信息对所述待评估观测位置进行评估,获得第一初始评估结果,包括:5. The object observation method according to claim 4, wherein the evaluation of the observation position to be evaluated based on the position information of the target object to obtain a first initial evaluation result comprises: 确定所述目标对象的位置信息与所述待评估观测位置之间的间隔距离;determining the separation distance between the location information of the target object and the observation location to be evaluated; 基于第一预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第一初始评估结果。An evaluation result matching the separation distance is determined based on a first preset result matching rule, and the evaluation result is determined as a first initial evaluation result of the observation position to be evaluated. 6.根据权利要求4所述的对象观测方法,其特征在于,所述对所述待评估观测位置对应的当前观测状态进行评估,获得第二初始评估结果,包括:6. The object observation method according to claim 4, wherein the evaluation of the current observation state corresponding to the observation position to be evaluated to obtain a second initial evaluation result comprises: 基于所述待评估观测位置与所述目标对象之间的障碍对象,确定所述待评估观测位置的当前观测状态;determining a current observation state of the observation location to be evaluated based on an obstacle object between the observation location to be evaluated and the target object; 基于所述当前观测状态,确定所述待评估观测位置的第二初始评估结果。Based on the current observation state, a second initial evaluation result of the observation location to be evaluated is determined. 7.根据权利要求4所述的对象观测方法,其特征在于,所述基于所述观测相机的当前观测位置对所述待评估观测位置进行评估,获得第三初始评估结果,包括:7. The object observation method according to claim 4, wherein the evaluation of the observation position to be evaluated based on the current observation position of the observation camera to obtain a third initial evaluation result comprises: 确定所述观测相机的当前观测位置与所述待评估观测位置之间的间隔距离;determining the separation distance between the current observation position of the observation camera and the observation position to be evaluated; 基于第二预设结果匹配规则,确定与所述间隔距离相匹配的评估结果,并将所述评估结果确定为所述待评估观测位置的第三初始评估结果。An evaluation result matching the separation distance is determined based on a second preset result matching rule, and the evaluation result is determined as a third initial evaluation result of the observation position to be evaluated. 8.根据权利要求4所述的对象观测方法,其特征在于,所述基于所述当前观测位置与所述待评估观测位置之间的观测角度,对所述待评估观测位置进行评估,获得第四初始评估结果,包括:8. The object observation method according to claim 4, wherein, based on the observation angle between the current observation position and the observation position to be evaluated, the observation position to be evaluated is evaluated to obtain the second Four initial assessment results, including: 确定所述目标对象的位置信息,并确定所述待评估观测位置针对所述位置信息的第一观测向量,以及所述当前观测位置针对所述位置信息的第二观测向量;determining the position information of the target object, and determining a first observation vector of the observation position to be evaluated with respect to the position information, and a second observation vector of the current observation position with respect to the position information; 基于所述第一观测向量以及所述第二观测向量,确定所述当前观测位置与所述待评估观测位置之间的观测角度;determining an observation angle between the current observation position and the observation position to be evaluated based on the first observation vector and the second observation vector; 基于所述观测角度,确定所述待评估观测位置的第四初始评估结果。Based on the observation angle, a fourth initial evaluation result of the observation position to be evaluated is determined. 9.根据权利要求3所述的对象观测方法,其特征在于,所述初始评估结果为初始评估得分;9. The object observation method according to claim 3, wherein the initial evaluation result is an initial evaluation score; 相应的,所述基于所述至少两个初始评估结果,确定所述至少两个预设观测位置的质量评估结果,包括:Correspondingly, the determining the quality evaluation results of the at least two preset observation positions based on the at least two initial evaluation results includes: 基于至少两个初始评估得分,计算所述至少两个预设观测位置的质量评估得分。Based on at least two initial evaluation scores, the quality evaluation scores of the at least two preset observation positions are calculated. 10.根据权利要求2所述的对象观测方法,其特征在于,所述质量评估结果为质量评估得分;10. The object observation method according to claim 2, wherein the quality assessment result is a quality assessment score; 相应的,所述基于所述质量评估结果,从所述至少两个预设观测位置中确定更新观测位置,包括:Correspondingly, the determining an updated observation location from the at least two preset observation locations based on the quality evaluation result includes: 从所述至少两个预设观测位置的所述质量评估得分中,确定最大质量评估得分;determining a maximum quality assessment score from the quality assessment scores of the at least two preset observation positions; 在所述最大质量评估得分为一个的情况下,将所述最大质量评估得分对应的所述预设观测位置,确定为更新观测位置;When the maximum quality assessment score is one, determining the preset observation position corresponding to the maximum quality assessment score as an updated observation position; 在所述最大质量评估得分为至少两个的情况下,从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置。In a case where the maximum quality evaluation score is at least two, an updated observation position is determined from the preset observation positions corresponding to at least two of the maximum quality evaluation scores. 11.根据权利要求10所述的对象观测方法,其特征在于,所述从至少两个所述最大质量评估得分对应的所述预设观测位置中,确定更新观测位置,包括:11. The object observation method according to claim 10, wherein the determining an updated observation location from at least two of the preset observation locations corresponding to the maximum quality evaluation scores comprises: 将至少两个所述最大质量评估得分对应的所述预设观测位置,作为候选观测位置;using at least two of the preset observation positions corresponding to the maximum quality evaluation scores as candidate observation positions; 预测所述目标对象的移动轨迹,并计算所述候选观测位置与所述移动轨迹之间的间隔距离;Predicting the moving track of the target object, and calculating the distance between the candidate observation position and the moving track; 确定所述间隔距离中的最小间隔距离,并将所述最小间隔距离对应的候选观测位置作为更新观测位置。A minimum separation distance among the separation distances is determined, and a candidate observation position corresponding to the minimum separation distance is used as an updated observation position. 12.根据权利要求1所述的对象观测方法,其特征在于,所述将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测,包括:12. The object observation method according to claim 1, wherein the transferring the observation camera from the current observation position to the updated observation position to observe the target object comprises: 将所述观测相机从所述当前观测位置转移至所述更新观测位置,并记录位置转移时间;Transferring the observation camera from the current observation position to the updated observation position, and recording the position transfer time; 在确定所述位置转移时间与当前时间的时间差值,满足预设时间阈值的情况下,固定所述更新观测位置;Fixing the updated observation position when determining that the time difference between the position transfer time and the current time satisfies a preset time threshold; 通过位于所述更新观测位置的所述观测相机对所述目标对象进行观测。The target object is observed by the observation camera located at the updated observation position. 13.根据权利要求1所述的对象观测方法,其特征在于,所述将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测之后,还包括:13. The object observation method according to claim 1, wherein, after transferring the observation camera from the current observation position to the updated observation position to observe the target object, further comprising: 将所述当前观测位置确定为预设观测位置,其中,所述预设观测位置分布在所述目标对象周围,并与所述目标对象之间保存预设间隔距离,且跟随所述目标对象移动。Determining the current observation position as a preset observation position, wherein the preset observation positions are distributed around the target object, keep a preset distance from the target object, and follow the movement of the target object . 14.一种对象观测装置,其特征在于,包括:14. An object observation device, characterized in that it comprises: 状态确定模块,被配置为确定目标对象的观测相机在当前观测位置的当前观测状态;A state determination module configured to determine the current observation state of the observation camera of the target object at the current observation position; 位置评估模块,被配置为在确定所述当前观测状态满足更新条件的情况下,对所述目标对象的至少两个预设观测位置进行评估,获得更新观测位置,其中,所述更新观测位置为所述至少两个预设观测位置之一;The position evaluation module is configured to evaluate at least two preset observation positions of the target object to obtain an updated observation position when it is determined that the current observation state satisfies the update condition, wherein the updated observation position is one of the at least two preset observation positions; 相机转移模块,被配置为将所述观测相机从所述当前观测位置,转移至所述更新观测位置对所述目标对象进行观测。The camera transfer module is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object. 15.一种计算设备,包括:15. A computing device comprising: 存储器和处理器;memory and processor; 所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1至13任意一项所述对象观测方法的步骤。The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the object observation method described in any one of claims 1 to 13 are implemented. . 16.一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1至13任意一项所述对象观测方法的步骤。16. A computer-readable storage medium, which stores computer-executable instructions, and implements the steps of the object observation method according to any one of claims 1-13 when the computer-executable instructions are executed by a processor.
CN202211372587.XA 2022-11-03 2022-11-03 Object observation method and device Pending CN115814416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211372587.XA CN115814416A (en) 2022-11-03 2022-11-03 Object observation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211372587.XA CN115814416A (en) 2022-11-03 2022-11-03 Object observation method and device

Publications (1)

Publication Number Publication Date
CN115814416A true CN115814416A (en) 2023-03-21

Family

ID=85526517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211372587.XA Pending CN115814416A (en) 2022-11-03 2022-11-03 Object observation method and device

Country Status (1)

Country Link
CN (1) CN115814416A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000334169A (en) * 1999-05-26 2000-12-05 Sega Enterp Ltd Game device, recording medium storing program
US20040176164A1 (en) * 2003-03-05 2004-09-09 Kabushiki Kaisha Square Enix ( Also Trading As Square Enix Co., Ltd.) Virtual camera control method in three-dimensional video game
CN114534256A (en) * 2022-02-15 2022-05-27 网易(杭州)网络有限公司 Game picture display method and device, readable storage medium and electronic equipment
CN114915735A (en) * 2022-04-29 2022-08-16 完美世界(北京)软件科技发展有限公司 Video data processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000334169A (en) * 1999-05-26 2000-12-05 Sega Enterp Ltd Game device, recording medium storing program
US20040176164A1 (en) * 2003-03-05 2004-09-09 Kabushiki Kaisha Square Enix ( Also Trading As Square Enix Co., Ltd.) Virtual camera control method in three-dimensional video game
CN114534256A (en) * 2022-02-15 2022-05-27 网易(杭州)网络有限公司 Game picture display method and device, readable storage medium and electronic equipment
CN114915735A (en) * 2022-04-29 2022-08-16 完美世界(北京)软件科技发展有限公司 Video data processing method

Similar Documents

Publication Publication Date Title
JP6077121B2 (en) Devices and methods for augmented reality applications
US12347037B2 (en) Supporting an augmented-reality software application
WO2023045649A1 (en) Video frame playing method and apparatus, and device, storage medium and program product
CN112752025B (en) Lens switching method and device for virtual scene
CN112657192B (en) Collision detection method and device
US9878244B2 (en) Storage medium having stored therein game program, game apparatus, game system, and game processing method
JP2023515410A (en) HAIR RENDERING METHOD, APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM
JP2025518664A (en) Action detection in video frames using gated past
WO2022077393A1 (en) Method and apparatus for determining target cell of ue, communication device, and storage medium
JP2023037566A (en) Entropy-based pre-filtering using neural network for streaming application
CN109685015B (en) Image processing method and device, electronic equipment and computer storage medium
CN115228081A (en) Virtual scene switching method and device
CN114511897A (en) Identity recognition method, system, storage medium and server
CN115814416A (en) Object observation method and device
CN113518214B (en) Panoramic video data processing method and device
CN116980696A (en) Image processing method, device, equipment, storage medium and product
CN110851056B (en) Cursor control method and device, computing equipment and storage medium
CN115953813B (en) An expression driving method, device, equipment and storage medium
US20240380967A1 (en) Information processing apparatus, information processing method, program, and information processing system
WO2024093763A1 (en) Panoramic image processing method and apparatus, computer device, medium and program product
CN116966558A (en) Virtual scene display control method and device, electronic equipment and storage medium
CN112742027B (en) Game picture rendering method and device
CN113486717A (en) A method and device for behavior recognition
CN112604282A (en) Virtual lens control method and device
CN115205325A (en) Target tracking method and device

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