CN107077216A - Method and mobile terminal that a kind of picture is shown - Google Patents
Method and mobile terminal that a kind of picture is shown Download PDFInfo
- Publication number
- CN107077216A CN107077216A CN201680001968.3A CN201680001968A CN107077216A CN 107077216 A CN107077216 A CN 107077216A CN 201680001968 A CN201680001968 A CN 201680001968A CN 107077216 A CN107077216 A CN 107077216A
- Authority
- CN
- China
- Prior art keywords
- virtual
- dimensional coordinate
- moving direction
- picture
- actual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机增强现实领域,尤其涉及一种画面显示的方法及移动终端。The invention relates to the field of computer augmented reality, in particular to a screen display method and a mobile terminal.
背景技术Background technique
随着技术的发展,能够实现实时视频传输的产品得到了广泛应用,例如,无人机、遥控汽车等被广泛应用于航拍摄影、环境监测、森林防火等方面。部分厂商推出第一人称主视角(FPV,First Person View)传输装置,可以利用虚拟现实(VR,Virtual Reality)眼镜实现沉浸式的体验。已有的FPV装置,主要以拍摄为目的,携带平面摄像头或者全景摄像头,玩家可以利用移动终端或专用遥控器连接到FPV产品后,实时观看FPV装置拍摄的画面。With the development of technology, products that can realize real-time video transmission have been widely used. For example, drones and remote control cars are widely used in aerial photography, environmental monitoring, forest fire prevention, etc. Some manufacturers have launched first-person perspective (FPV, First Person View) transmission devices, which can use virtual reality (VR, Virtual Reality) glasses to achieve immersive experience. Existing FPV devices are mainly for shooting purposes, carrying flat-screen cameras or panoramic cameras, players can use mobile terminals or dedicated remote controls to connect to FPV products, and watch the pictures taken by FPV devices in real time.
现有FPV装置,利用了摄像头所拍摄的画面,进行一定的数码处理,适配VR眼镜显示,给玩家带来强烈的可玩性,沉浸式的体验能带来更多的刺激感。FPV装置以第一人称的视角看世界,带来了一定的虚拟现实效果。Existing FPV devices use the pictures captured by the camera to perform certain digital processing and adapt to the display of VR glasses, which brings strong playability to players, and the immersive experience can bring more excitement. The FPV installation sees the world from a first-person perspective, bringing a certain virtual reality effect.
但是,这些FPV装置都只能提供摄像头拍摄到的实际画面,结合VR眼镜或移动终端只提供了最基本的虚拟现实体验,换句话说,现有的显示画面的装置不能控制改变显示的画面内容。However, these FPV devices can only provide the actual picture captured by the camera, and combined with VR glasses or mobile terminals, only the most basic virtual reality experience is provided. In other words, the existing display screen devices cannot control and change the content of the displayed screen .
发明内容Contents of the invention
本发明实施例提供了一种画面显示的方法,用于根据实时视频传输装置的移动控制画面的显示。An embodiment of the present invention provides a method for displaying a picture, which is used for controlling the display of a picture according to the movement of a real-time video transmission device.
有鉴于此,本发明第一方面提供了一种画面显示的方法,包括:获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二虚拟三维坐标;将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。In view of this, the first aspect of the present invention provides a method for displaying a picture, including: acquiring the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, the target object has a moving function and a shooting function; according to The actual three-dimensional coordinates generate a virtual object in the established virtual three-dimensional coordinate system, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction; A virtual marker is set in the moving direction of the object, and the coordinates of the virtual marker are the second virtual three-dimensional coordinates; the virtual object and the virtual marker are superimposed on the picture taken by the target object to obtain the target picture; when When the straight-line distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, a preset picture corresponding to the virtual marker is displayed on the basis of the target picture.
结合本发明实施例的第一方面,在本发明实施例第一方面的第一种实现方式中,所述根据所述实际三维坐标在已建立的虚拟三维坐标系中建立虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同包括:将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。With reference to the first aspect of the embodiments of the present invention, in the first implementation manner of the first aspect of the embodiments of the present invention, the virtual object is established in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, and the virtual The coordinates of the object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction including: converting the actual three-dimensional coordinates into the first virtual three-dimensional coordinates according to a preset ratio; The three-dimensional coordinates generate a virtual object in the established virtual three-dimensional coordinate system, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction.
结合本发明实施例的第一方面,在本发明实施例第一方面的第二种实现方式中,所述当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面包括:根据预置公式计算所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离;当所述直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。With reference to the first aspect of the embodiments of the present invention, in the second implementation manner of the first aspect of the embodiments of the present invention, when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset When the threshold value is , displaying the preset picture corresponding to the virtual marker on the basis of the target picture includes: calculating the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates according to a preset formula; When the straight-line distance is less than a preset threshold, a preset picture corresponding to the virtual marker is displayed on the basis of the target picture.
结合本发明实施例的第一方面至第一方面的第二种实现方式中的任一实现方式,在本发明实施例第一方面的第三种实现方式中,所述获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面之前,所述方法还包括:启动3D引擎,建立虚拟三维坐标系。In combination with any of the implementation manners from the first aspect to the second implementation manner of the first aspect of the embodiments of the present invention, in the third implementation manner of the first aspect of the embodiments of the present invention, the acquisition of the actual three-dimensional Before the coordinates, the actual moving direction and the picture taken by the target object, the method further includes: starting the 3D engine, and establishing a virtual three-dimensional coordinate system.
结合本发明实施例的第一方面至第一方面的第二种实现方式中的任一实现方式,在本发明实施例第一方面的第四种实现方式中,将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面之后,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面之前,所述方法还包括:根据用户的操作指令调整所述虚拟对象的移动方向。In combination with any implementation manner of the first aspect to the second implementation manner of the first aspect of the embodiments of the present invention, in the fourth implementation manner of the first aspect of the embodiments of the present invention, the virtual object and the The virtual marker is superimposed on the picture taken by the target object, after the target picture is obtained, and before the preset picture corresponding to the virtual marker is displayed on the basis of the target picture, the method further includes: according to the user's operation The command adjusts the moving direction of the virtual object.
本发明第二方面提供了一种移动终端,所述移动终端包括:获取单元,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;生成单元,用于根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;设置单元,用于在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二虚拟三维坐标;叠加单元,用于将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;显示单元,当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。The second aspect of the present invention provides a mobile terminal, the mobile terminal includes: an acquisition unit, used to acquire the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, the target object has a moving function and a shooting Function; generating unit, used to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is consistent with the actual The moving direction is the same; the setting unit is used to set the virtual marker in the moving direction of the virtual object, and the coordinates of the virtual marker are the second virtual three-dimensional coordinates; the superimposing unit is used to combine the virtual object and the The virtual marker is superimposed on the picture taken by the target object to obtain the target picture; the display unit is configured to, when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, A preset screen corresponding to the virtual marker is displayed on the basis of the target screen.
结合本发明实施例的第二方面,在本发明实施例第二方面的第一种实现方式中,所述生成单元包括:转换模块,用于将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;生成模块,用于根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。With reference to the second aspect of the embodiments of the present invention, in the first implementation manner of the second aspect of the embodiments of the present invention, the generation unit includes: a conversion module, configured to convert the actual three-dimensional coordinates into the first A virtual three-dimensional coordinates; a generating module, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the virtual object The moving direction of is the same as the actual moving direction.
结合本发明实施例的第二方面,在本发明实施例第二方面的第二种实现方式中,所述显示单元包括:计算模块,用于根据预置公式计算所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离;显示模块,当所述直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。With reference to the second aspect of the embodiments of the present invention, in the second implementation manner of the second aspect of the embodiments of the present invention, the display unit includes: a calculation module, configured to calculate the first virtual three-dimensional coordinates and The straight-line distance of the second virtual three-dimensional coordinates; a display module, configured to display a preset picture corresponding to the virtual marker on the basis of the target picture when the straight-line distance is less than a preset threshold.
结合本发明实施例的第二方面至第二方面的第二种实现方式中的任一实现方式,在本发明实施例第二方面的第三种实现方式中,所述移动终端还包括:建立单元,用于启动3D引擎,建立虚拟三维坐标系。In combination with any implementation manner of the second aspect to the second implementation manner of the second aspect of the embodiments of the present invention, in the third implementation manner of the second aspect of the embodiments of the present invention, the mobile terminal further includes: establishing The unit is used to start the 3D engine and establish a virtual three-dimensional coordinate system.
结合本发明实施例的第二方面至第二方面的第二种实现方式中的任一实现方式,在本发明实施例第二方面的第四种实现方式中,所述移动终端还包括:调整单元,用于根据用户的操作指令调整所述虚拟对象的移动方向。In combination with any implementation manner of the second aspect to the second implementation manner of the second aspect of the embodiments of the present invention, in the fourth implementation manner of the second aspect of the embodiments of the present invention, the mobile terminal further includes: adjusting A unit, configured to adjust the moving direction of the virtual object according to the user's operation instruction.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二虚拟三维坐标;将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当满足预设的条件时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object are obtained, and the target object has a moving function and a shooting function; according to the actual three-dimensional coordinates in the established virtual three-dimensional coordinate system Generate a virtual object, the coordinates of the virtual object are the first virtual three-dimensional coordinates, the moving direction of the virtual object is the same as the actual moving direction; a virtual marker is set on the moving direction of the virtual object, and the virtual marker The coordinates of the object are the second virtual three-dimensional coordinates; the virtual object and the virtual marker are superimposed on the picture taken by the target object to obtain the target picture; when the first virtual three-dimensional coordinates and the second virtual three-dimensional When the linear distance of the coordinates is less than a preset threshold, a preset picture corresponding to the virtual marker is displayed on the basis of the target picture. In the present invention, by setting corresponding virtual markers, when the preset conditions are met, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual markers .
附图说明Description of drawings
图1为本发明实施例中的一个具体应用场景的框架示意图;FIG. 1 is a schematic framework diagram of a specific application scenario in an embodiment of the present invention;
图2为本发明实施例中画面显示的方法一个实施例示意图;FIG. 2 is a schematic diagram of an embodiment of a method for screen display in an embodiment of the present invention;
图3为本发明实施例中画面显示的方法另一个实施例示意图;FIG. 3 is a schematic diagram of another embodiment of the screen display method in the embodiment of the present invention;
图4为本发明实施例中移动终端的一个实施例示意图;FIG. 4 is a schematic diagram of an embodiment of a mobile terminal in an embodiment of the present invention;
图5为本发明实施例中移动终端的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of the mobile terminal in the embodiment of the present invention;
图6为本发明实施例中移动终端的另一个实施例示意图。Fig. 6 is a schematic diagram of another embodiment of the mobile terminal in the embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种画面显示的方法,用于根据实时视频传输装置的移动控制画面的显示。An embodiment of the present invention provides a method for displaying a picture, which is used for controlling the display of a picture according to the movement of a real-time video transmission device.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the term "comprising" or "having" and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to those explicitly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
现有的实时视频传输装置只能进行视频的拍摄和传输,如图1所示,本发明实施例的一种具体应用场景的框架示意图,移动终端与无人机相连接,移动终端与从无人机之间能够传输相关信息,无人机与卫星之间建立无线连接,无人机通过卫星获取实际经纬度信息。Existing real-time video transmission devices can only shoot and transmit videos. As shown in FIG. Relevant information can be transmitted between man and machine, a wireless connection is established between the UAV and the satellite, and the UAV obtains the actual latitude and longitude information through the satellite.
为便于理解,下面对本发明实施例中的具体流程进行描述,请参阅图2,本发明实施例画面显示的方法一个实施例包括:For ease of understanding, the following describes the specific process in the embodiment of the present invention. Please refer to FIG. 2. An embodiment of the method for displaying the screen in the embodiment of the present invention includes:
201、获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能。201. Acquire the actual three-dimensional coordinates of the target object, the actual moving direction, and the picture taken by the target object, where the target object has a moving function and a shooting function.
移动终端与目标对象之间已建立连接关系,目标对象为具备移动功能和拍摄功能的实时视频传输设备,移动终端与目标对象之间可以进行数据传输。移动终端远程接收目标对象发送的实际三维坐标、实际移动方向及拍摄的画面,该实际三维坐标包括目标对象的经纬度及高度信息。A connection relationship has been established between the mobile terminal and the target object. The target object is a real-time video transmission device with mobile and shooting functions, and data transmission can be performed between the mobile terminal and the target object. The mobile terminal remotely receives the actual three-dimensional coordinates, the actual moving direction and the photographed picture sent by the target object, and the actual three-dimensional coordinates include the longitude, latitude and height information of the target object.
202、根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同。202. Generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction.
移动终端接收到目标对象发送的实际三维坐标,通过虚拟引擎将该实际三维坐标模拟到三维坐标系上得到第一虚拟三维坐标,并根据该坐标在已建立的虚拟三维系中生成虚拟对象。例如,当实时视频传输装置为无人机时,在移动终端已建立的虚拟坐标系中生成相应的虚拟无人机,该虚拟无人机的移动方向与实际中无人机的移动方向相同。The mobile terminal receives the actual three-dimensional coordinates sent by the target object, simulates the actual three-dimensional coordinates to the three-dimensional coordinate system through the virtual engine to obtain the first virtual three-dimensional coordinates, and generates a virtual object in the established virtual three-dimensional system according to the coordinates. For example, when the real-time video transmission device is a drone, a corresponding virtual drone is generated in the virtual coordinate system established by the mobile terminal, and the moving direction of the virtual drone is the same as that of the actual drone.
203、在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标。203. Set a virtual marker in the moving direction of the virtual object, where the coordinates of the virtual marker are the second virtual three-dimensional coordinates.
移动终端能够实时获取虚拟对象的移动方向,在该虚拟对象当前的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标,该虚拟标识物可以是金币或障碍物等,还可以是具备其他含义的虚拟物,具体此处不做限定。The mobile terminal can obtain the moving direction of the virtual object in real time, and set a virtual marker in the current moving direction of the virtual object. The coordinates of the virtual marker are the second virtual three-dimensional coordinates. The virtual marker can be a gold coin or an obstacle. It can be a virtual object with other meanings, which is not limited here.
204、将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面。204. Superimpose the virtual object and the virtual marker on the frame captured by the target object to obtain the target frame.
移动终端提取虚拟对象和虚拟标识物的相关参数,通过虚拟引擎根据相关参数生成相应的虚拟画面,再将该虚拟画面与目标对象拍摄的画面叠加在一起,得到目标画面,该目标画面同时具有目标对象拍摄的真实画面及移动终端生成的虚拟画面。The mobile terminal extracts the relevant parameters of the virtual object and the virtual marker, generates a corresponding virtual picture through the virtual engine according to the relevant parameters, and then superimposes the virtual picture and the picture taken by the target object to obtain the target picture, which has the target image at the same time. The real picture taken by the subject and the virtual picture generated by the mobile terminal.
205、当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,在目标画面的基础上显示与虚拟标识物对应的预置画面。205. When the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, display a preset screen corresponding to the virtual marker on the basis of the target screen.
当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,移动终端除了显示叠加后的目标画面,还要根据虚拟标识物的不同显示相应的预置画面,例如,当虚拟标识物为金币时,移动终端显示表示金币增加的预置画面。When the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than the preset threshold, the mobile terminal not only displays the superimposed target screen, but also displays the corresponding preset screen according to the difference of the virtual identifier, for example, when When the virtual marker is a gold coin, the mobile terminal displays a preset screen indicating that the gold coin increases.
本发明通过设置相应的虚拟标识物,当满足预设的条件时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the present invention, by setting corresponding virtual markers, when the preset conditions are met, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual markers .
请参阅图3,本发明实施例画面显示的方法另一个实施例包括:Please refer to FIG. 3 , another embodiment of the screen display method of the embodiment of the present invention includes:
301、启动3D引擎,建立虚拟三维坐标系。301. Start the 3D engine, and establish a virtual three-dimensional coordinate system.
移动终端启动预置的3D引擎,通过该3D引擎建立虚拟三维坐标系,并渲染出相应的虚拟世界的画面。例如,通过Direct引擎建立虚拟三维坐标系,3D引擎还可以是其他引擎,如,OpenGL引擎等,具体此处不做限定。The mobile terminal starts a preset 3D engine, establishes a virtual three-dimensional coordinate system through the 3D engine, and renders a corresponding virtual world picture. For example, the virtual three-dimensional coordinate system is established through the Direct engine, and the 3D engine may also be other engines, such as an OpenGL engine, etc., which are not limited here.
302、获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能。302. Acquire the actual three-dimensional coordinates of the target object, the actual moving direction, and the picture taken by the target object, where the target object has a moving function and a shooting function.
移动终端与目标对象之间已建立连接关系,目标对象为具备移动功能和拍摄功能的实时视频传输设备,移动终端与目标对象之间可以进行数据传输。移动终端远程接收目标对象发送的实际三维坐标、实际移动方向及拍摄的画面,该实际三维坐标包括目标对象的经纬度及高度信息。A connection relationship has been established between the mobile terminal and the target object. The target object is a real-time video transmission device with mobile and shooting functions, and data transmission can be performed between the mobile terminal and the target object. The mobile terminal remotely receives the actual three-dimensional coordinates, the actual moving direction and the photographed picture sent by the target object, and the actual three-dimensional coordinates include the longitude, latitude and height information of the target object.
303、将实际三维坐标按照预置比例转换成第一虚拟三维坐标。303. Convert the actual three-dimensional coordinates into first virtual three-dimensional coordinates according to a preset ratio.
将实际三维坐标按照预置比例转换成第一虚拟三维坐标,根据实际的需要对转换的比例进行设置,例如,将实际三维坐标与第一虚拟三维坐标的比例值设置为100:1。The actual 3D coordinates are converted into the first virtual 3D coordinates according to the preset ratio, and the converted ratio is set according to actual needs, for example, the ratio of the actual 3D coordinates to the first virtual 3D coordinates is set to 100:1.
304、根据第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同。304. Generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction.
移动终端获取到转换后的第一虚拟三维坐标,通过虚拟引擎将第一虚拟三维坐标模拟到三维坐标系上,并根据该虚拟坐标在已建立的虚拟三维系中生成虚拟对象。The mobile terminal obtains the converted first virtual three-dimensional coordinates, simulates the first virtual three-dimensional coordinates on the three-dimensional coordinate system through the virtual engine, and generates virtual objects in the established virtual three-dimensional system according to the virtual coordinates.
305、在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标。305. Set a virtual marker in the moving direction of the virtual object, where the coordinates of the virtual marker are the second virtual three-dimensional coordinates.
移动终端能够实时获取虚拟对象的移动方向,在该虚拟对象当前的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标,该虚拟标识物可以是金币或障碍物等,具体此处不做限定。The mobile terminal can obtain the moving direction of the virtual object in real time, and set a virtual marker in the current moving direction of the virtual object. The coordinates of the virtual marker are the second virtual three-dimensional coordinates. The virtual marker can be a gold coin or an obstacle, etc., specifically There is no limit here.
306、将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面。306. Superimpose the virtual object and the virtual marker on the frame captured by the target object to obtain the target frame.
移动终端提取虚拟对象和虚拟标识物的相关参数,通过虚拟引擎根据相关参数生成相应的虚拟画面,再将该虚拟画面与目标对象拍摄的画面叠加在一起,得到目标画面,该目标画面同时具有目标对象拍摄的真实画面及移动终端生成的虚拟画面。The mobile terminal extracts the relevant parameters of the virtual object and the virtual marker, generates a corresponding virtual picture through the virtual engine according to the relevant parameters, and then superimposes the virtual picture and the picture taken by the target object to obtain the target picture, which has the target image at the same time. The real picture taken by the subject and the virtual picture generated by the mobile terminal.
307、根据用户的操作指令调整虚拟对象的移动方向。307. Adjust the moving direction of the virtual object according to the user's operation instruction.
移动终端接收用户的操作指令,移动终端根据该操作指令调整虚拟对象,该操作指令用于改变虚拟对象的移动方向。The mobile terminal receives an operation instruction from the user, and the mobile terminal adjusts the virtual object according to the operation instruction. The operation instruction is used to change the moving direction of the virtual object.
308、根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离。308. Calculate a linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates according to a preset formula.
移动终端根据获得的虚拟标识物和虚拟对象的坐标信息,根据预置的公式,计算出虚拟标识物和虚拟对象的直线距离。The mobile terminal calculates the linear distance between the virtual marker and the virtual object according to the obtained coordinate information of the virtual marker and the virtual object and according to a preset formula.
309、当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,在目标画面的基础上显示与虚拟标识物对应的预置画面。309. When the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, display a preset screen corresponding to the virtual marker on the basis of the target screen.
当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,移动终端除了显示叠加后的目标画面,还要根据虚拟标识物的不同显示相应的预置画面,例如,当虚拟标识物为金币时,移动终端显示表示金币增加的预置画面。When the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than the preset threshold, the mobile terminal not only displays the superimposed target screen, but also displays the corresponding preset screen according to the difference of the virtual identifier, for example, when When the virtual marker is a gold coin, the mobile terminal displays a preset screen indicating that the gold coin increases.
本发明通过设置相应的虚拟标识物,当满足预设的条件时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the present invention, by setting corresponding virtual markers, when the preset conditions are met, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual markers .
为了便于理解,下面结合具体应用场景进行说明:For ease of understanding, the following describes specific application scenarios:
手机启动预置的Direct引擎,通过该Direct引擎建立虚拟三维坐标系,并渲染出相应的虚拟世界的画面。手机与无人机之间已建立连接关系,手机与无人机之间可以进行数据传输,手机远程接收无人机发送的实际三维坐标、实际移动方向及拍摄的画面,该实际三维坐标包括无人机的经纬度及高度信息。手机将实际三维坐标按照10:1的比例转换成第一虚拟三维坐标,例如,实际坐标为(x:113,y:23,z:100),第一虚拟三维坐标为(x:11.3,y:2.3,z:10),单位为米。根据不同的应用场景,手机有多种方式来获取相关信息。例如:当无人机处在开放式环境下,手机可以根据卫星定位来获取无人机的实际经纬度,再通过安装在无人机上的高度测量仪来获取无人机的实际水平高度;当无人机处于室内或半封闭的环境下,手机可以通过安装在无人机上的距离检测仪来判断无人机与周围墙壁或障碍物的距离,再计算出另一套虚拟坐标。手机根据获得的第一虚拟坐标(x:11.3,y:2.3,z:10)在虚拟三维坐标系中生成虚拟无人机,该虚拟无人的坐标为(x:11.3,y:2.3,z:10)。此时的无人机从南向北进行飞行,那么虚拟无人机的移动方向与无人机实际飞行方向一致,也是从南向北进行飞行,在虚拟无人机的前行方向上设置虚拟标识物金币,手机上除了显示无人机拍摄到的真实画面,还显示虚拟引擎建立的虚拟标识物金币和虚拟无人机。虚拟标识物的坐标为(x:8.3,y:2.3,z:6),则直线距离为S,S=5,用户在手机上进行操作,控制虚拟无人机向着虚拟标识物金币移动,当虚拟无人机接近金币,且虚拟无人机和金币的直线距离S小于0.1米时,视为虚拟无人机与金币发生碰撞,在当前显示画面的基础上,手机额外的显示金币增加的画面。The mobile phone starts the preset Direct engine, establishes a virtual three-dimensional coordinate system through the Direct engine, and renders a corresponding virtual world picture. A connection relationship has been established between the mobile phone and the drone, and data transmission can be performed between the mobile phone and the drone. The longitude, latitude and height information of the man-machine. The mobile phone converts the actual 3D coordinates into the first virtual 3D coordinates at a ratio of 10:1. For example, the actual coordinates are (x: 113, y: 23, z: 100), and the first virtual 3D coordinates are (x: 11.3, y : 2.3, z: 10), the unit is meter. According to different application scenarios, the mobile phone has multiple ways to obtain relevant information. For example: when the UAV is in an open environment, the mobile phone can obtain the actual latitude and longitude of the UAV according to the satellite positioning, and then obtain the actual horizontal height of the UAV through the altimeter installed on the UAV; When the man-machine is in an indoor or semi-closed environment, the mobile phone can judge the distance between the drone and the surrounding walls or obstacles through the distance detector installed on the drone, and then calculate another set of virtual coordinates. The mobile phone generates a virtual drone in the virtual three-dimensional coordinate system according to the obtained first virtual coordinates (x: 11.3, y: 2.3, z: 10), and the coordinates of the virtual drone are (x: 11.3, y: 2.3, z : 10). At this time, the UAV is flying from south to north, then the moving direction of the virtual UAV is consistent with the actual flying direction of the UAV, and it is also flying from south to north, and the virtual sign is set in the forward direction of the virtual UAV Object gold coins, in addition to displaying the real picture captured by the drone, the mobile phone also displays the virtual marker gold coins and virtual drone created by the virtual engine. The coordinates of the virtual marker are (x: 8.3, y: 2.3, z: 6), then the straight-line distance is S, S=5, the user operates on the mobile phone and controls the virtual drone to move towards the virtual marker gold coin. When the virtual drone is close to the gold coin and the straight-line distance S between the virtual drone and the gold coin is less than 0.1 meters, it is regarded as a virtual The drone collides with the gold coins, and on the basis of the current display screen, the mobile phone additionally displays the screen of the gold coins increasing.
上面对本发明实施例中画面显示的方法进行了描述,下面对本发明实施例中的移动终端进行描述,请参阅图4,本发明实施例中的移动终端包括:The method for displaying the screen in the embodiment of the present invention is described above, and the mobile terminal in the embodiment of the present invention is described below. Please refer to FIG. 4, the mobile terminal in the embodiment of the present invention includes:
获取单元401,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;The acquisition unit 401 is used to acquire the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, and the target object has a moving function and a shooting function;
生成单元402,用于根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;The generating unit 402 is configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction;
设置单元403,用于在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;A setting unit 403, configured to set a virtual marker in the moving direction of the virtual object, where the coordinates of the virtual marker are the second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;A superimposing unit 404, configured to superimpose the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405 is configured to display a preset picture corresponding to the virtual marker on the basis of the target picture when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold.
本发明实施例中,获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;生成单元402根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,显示单元405在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the acquisition unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, and the target object has a moving function and a shooting function; The virtual object is generated in the system, the coordinates of the virtual object are the first virtual three-dimensional coordinates, the moving direction of the virtual object is the same as the actual moving direction; the setting unit 403 sets the virtual marker in the moving direction of the virtual object, and the coordinate of the virtual marker is the first Two virtual three-dimensional coordinates; superposition unit 404 superimposes the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture; when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, display Unit 405 displays a preset screen corresponding to the virtual marker on the basis of the target screen. In the present invention, by setting corresponding virtual markers, when the straight-line distance between the virtual marker and the virtual object is less than a preset value, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also The virtual marker of controls the display of the virtual screen.
请参阅图5,本发明实施例中移动终端的另一个实施例,包括:Referring to Fig. 5, another embodiment of the mobile terminal in the embodiment of the present invention includes:
获取单元401,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;The acquisition unit 401 is used to acquire the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, and the target object has a moving function and a shooting function;
生成单元402,用于根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;The generating unit 402 is configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction;
设置单元403,用于在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;A setting unit 403, configured to set a virtual marker in the moving direction of the virtual object, where the coordinates of the virtual marker are the second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;A superimposing unit 404, configured to superimpose the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405 is configured to display a preset picture corresponding to the virtual marker on the basis of the target picture when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold.
其中,生成单元402包括:Wherein, the generating unit 402 includes:
转换模块4021,用于将实际三维坐标按照预置比例转换成第一虚拟三维坐标;A conversion module 4021, configured to convert the actual three-dimensional coordinates into the first virtual three-dimensional coordinates according to a preset ratio;
生成模块4022,用于根据第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同。The generating module 4022 is configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction.
其中,显示单元405可进一步包括:Wherein, the display unit 405 may further include:
计算模块4051,用于根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离;Calculation module 4051, configured to calculate the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates according to a preset formula;
显示模块4052,当直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display module 4052 is configured to display a preset picture corresponding to the virtual marker on the basis of the target picture when the straight-line distance is less than a preset threshold.
本发明实施例中,获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;转换模块4021将实际三维坐标按照预置比例转换成第一虚拟三维坐标;生成模块4022根据第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;计算模块4051根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离;当直线距离小于预设的阈值时,显示模块4052在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the acquisition unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the picture taken by the target object. The target object has a moving function and a shooting function; A virtual three-dimensional coordinates; the generation module 4022 generates a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction; set The unit 403 sets the virtual marker on the moving direction of the virtual object, and the coordinates of the virtual marker are the second virtual three-dimensional coordinates; the superposition unit 404 superimposes the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture; the calculation module 4051 calculates the straight-line distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates according to a preset formula; when the straight-line distance is less than a preset threshold, the display module 4052 displays a preset picture corresponding to the virtual marker on the basis of the target picture . In the present invention, by setting corresponding virtual markers, when the straight-line distance between the virtual marker and the virtual object is less than a preset value, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also The virtual marker of controls the display of the virtual screen.
请参阅图6,本发明实施例中移动终端的另一个实施例,包括:Referring to Fig. 6, another embodiment of the mobile terminal in the embodiment of the present invention includes:
获取单元401,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;The acquisition unit 401 is used to acquire the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, and the target object has a moving function and a shooting function;
生成单元402,用于根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;The generating unit 402 is configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction;
设置单元403,用于在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;A setting unit 403, configured to set a virtual marker in the moving direction of the virtual object, where the coordinates of the virtual marker are the second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;A superimposing unit 404, configured to superimpose the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405 is configured to display a preset picture corresponding to the virtual marker on the basis of the target picture when the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold.
该移动终端还包括:The mobile terminal also includes:
建立单元406,用于启动3D引擎,建立虚拟三维坐标系。The establishing unit 406 is configured to start the 3D engine and establish a virtual three-dimensional coordinate system.
该移动终端还可进一步包括:The mobile terminal may further include:
调整单元407,用于根据用户的操作指令调整虚拟对象的移动方向。The adjusting unit 407 is configured to adjust the moving direction of the virtual object according to the user's operation instruction.
本发明实施例中,建立单元406启动3D引擎,建立虚拟三维坐标系。获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;生成单元402根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;调整单元407根据用户的操作指令调整虚拟对象的移动方向。当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,显示单元405在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the establishing unit 406 starts a 3D engine to establish a virtual three-dimensional coordinate system. The acquisition unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction and the picture taken by the target object, and the target object has a movement function and a shooting function; the generation unit 402 generates a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinates, The coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction; the setting unit 403 sets a virtual marker in the moving direction of the virtual object, and the coordinates of the virtual marker are the second virtual three-dimensional coordinates; The unit 404 superimposes the virtual object and the virtual marker on the picture taken by the target object to obtain the target picture; the adjustment unit 407 adjusts the moving direction of the virtual object according to the user's operation instruction. When the linear distance between the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates is less than a preset threshold, the display unit 405 displays a preset screen corresponding to the virtual marker on the basis of the target screen. In the present invention, by setting corresponding virtual markers, when the straight-line distance between the virtual marker and the virtual object is less than a preset value, in addition to displaying the real picture taken by the real-time video transmission device, the mobile terminal also The virtual marker of controls the display of the virtual screen.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/110740 WO2018112695A1 (en) | 2016-12-19 | 2016-12-19 | Image display method and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107077216A true CN107077216A (en) | 2017-08-18 |
Family
ID=59624331
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201680001968.3A Pending CN107077216A (en) | 2016-12-19 | 2016-12-19 | Method and mobile terminal that a kind of picture is shown |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107077216A (en) |
| WO (1) | WO2018112695A1 (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107688392A (en) * | 2017-09-01 | 2018-02-13 | 广州励丰文化科技股份有限公司 | A kind of control MR heads show the method and system that equipment shows virtual scene |
| CN109445103A (en) * | 2018-12-10 | 2019-03-08 | 利亚德光电股份有限公司 | Show the update method and device, storage medium, electronic device of picture |
| CN109782901A (en) * | 2018-12-06 | 2019-05-21 | 网易(杭州)网络有限公司 | Augmented reality exchange method, device, computer equipment and storage medium |
| CN110866940A (en) * | 2019-11-05 | 2020-03-06 | 广东虚拟现实科技有限公司 | Control method, device, terminal device and storage medium for virtual screen |
| CN111179406A (en) * | 2018-11-09 | 2020-05-19 | 上海云绅智能科技有限公司 | Product model display method and system |
| CN111833462A (en) * | 2020-07-14 | 2020-10-27 | 深圳市瑞立视多媒体科技有限公司 | Cutting method, device, equipment and storage medium based on Unreal Engine |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108961423B (en) * | 2018-07-03 | 2023-04-18 | 百度在线网络技术(北京)有限公司 | Virtual information processing method, device, equipment and storage medium |
| CN109360277B (en) * | 2018-11-08 | 2023-10-17 | 北京虚拟动点科技有限公司 | Virtual simulation display control method and device, storage medium and electronic device |
| CN114067071B (en) * | 2021-11-26 | 2022-08-30 | 湖南汽车工程职业学院 | High-precision map making system based on big data |
| CN115494947B (en) * | 2022-09-29 | 2025-10-28 | 歌尔科技有限公司 | Interaction method, device, near-eye display device and readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831401A (en) * | 2012-08-03 | 2012-12-19 | 樊晓东 | Method and system for tracking, three-dimensionally superposing and interacting target object without special mark |
| CN105589466A (en) * | 2016-02-24 | 2016-05-18 | 谭圆圆 | Flight control device of unmanned aircraft and flight control method thereof |
| US20160327946A1 (en) * | 2015-05-08 | 2016-11-10 | Fujitsu Limited | Information processing device, information processing method, terminal device, and setting method |
| CN106228615A (en) * | 2016-08-31 | 2016-12-14 | 陈昊 | Unmanned vehicle experiencing system based on augmented reality and experiential method thereof |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6752720B1 (en) * | 2000-06-15 | 2004-06-22 | Intel Corporation | Mobile remote control video gaming system |
| US20030232649A1 (en) * | 2002-06-18 | 2003-12-18 | Gizis Alexander C.M. | Gaming system and method |
| FR2912318B1 (en) * | 2007-02-13 | 2016-12-30 | Parrot | RECOGNITION OF OBJECTS IN A SHOOTING GAME FOR REMOTE TOYS |
| US9555337B2 (en) * | 2013-09-16 | 2017-01-31 | Disney Enterprises, Inc. | Method for tracking physical play objects by virtual players in online environments |
| CN104029825B (en) * | 2014-06-13 | 2016-01-20 | 中国人民解放军装甲兵工程学院 | On-the-spot actual situation coupling Unmanned Aircraft Systems (UAS) |
| CN105629470A (en) * | 2016-01-15 | 2016-06-01 | 何军 | Headset displayer and display method |
-
2016
- 2016-12-19 WO PCT/CN2016/110740 patent/WO2018112695A1/en not_active Ceased
- 2016-12-19 CN CN201680001968.3A patent/CN107077216A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831401A (en) * | 2012-08-03 | 2012-12-19 | 樊晓东 | Method and system for tracking, three-dimensionally superposing and interacting target object without special mark |
| US20160327946A1 (en) * | 2015-05-08 | 2016-11-10 | Fujitsu Limited | Information processing device, information processing method, terminal device, and setting method |
| CN105589466A (en) * | 2016-02-24 | 2016-05-18 | 谭圆圆 | Flight control device of unmanned aircraft and flight control method thereof |
| CN106228615A (en) * | 2016-08-31 | 2016-12-14 | 陈昊 | Unmanned vehicle experiencing system based on augmented reality and experiential method thereof |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107688392A (en) * | 2017-09-01 | 2018-02-13 | 广州励丰文化科技股份有限公司 | A kind of control MR heads show the method and system that equipment shows virtual scene |
| CN107688392B (en) * | 2017-09-01 | 2020-08-11 | 广州励丰文化科技股份有限公司 | Method and system for controlling MR head display equipment to display virtual scene |
| CN111179406A (en) * | 2018-11-09 | 2020-05-19 | 上海云绅智能科技有限公司 | Product model display method and system |
| CN109782901A (en) * | 2018-12-06 | 2019-05-21 | 网易(杭州)网络有限公司 | Augmented reality exchange method, device, computer equipment and storage medium |
| CN109445103A (en) * | 2018-12-10 | 2019-03-08 | 利亚德光电股份有限公司 | Show the update method and device, storage medium, electronic device of picture |
| CN109445103B (en) * | 2018-12-10 | 2022-03-01 | 北京虚拟动点科技有限公司 | Display picture updating method and device, storage medium and electronic device |
| CN110866940A (en) * | 2019-11-05 | 2020-03-06 | 广东虚拟现实科技有限公司 | Control method, device, terminal device and storage medium for virtual screen |
| CN110866940B (en) * | 2019-11-05 | 2023-03-10 | 广东虚拟现实科技有限公司 | Virtual screen control method, device, terminal equipment and storage medium |
| CN111833462A (en) * | 2020-07-14 | 2020-10-27 | 深圳市瑞立视多媒体科技有限公司 | Cutting method, device, equipment and storage medium based on Unreal Engine |
| CN111833462B (en) * | 2020-07-14 | 2024-05-17 | 深圳市瑞立视多媒体科技有限公司 | Cutting method, device, equipment and storage medium based on Unreal Engine |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018112695A1 (en) | 2018-06-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107077216A (en) | Method and mobile terminal that a kind of picture is shown | |
| US10692288B1 (en) | Compositing images for augmented reality | |
| CN109997175B (en) | Determine the size of virtual objects | |
| US10650590B1 (en) | Method and system for fully immersive virtual reality | |
| US9324298B2 (en) | Image processing system, image processing apparatus, storage medium having stored therein image processing program, and image processing method | |
| EP3899870B1 (en) | Cloud-based camera calibration | |
| JP7146662B2 (en) | Image processing device, image processing method, and program | |
| EP3503101A1 (en) | Object based user interface | |
| US10681276B2 (en) | Virtual reality video processing to compensate for movement of a camera during capture | |
| JPWO2017094543A1 (en) | Information processing apparatus, information processing system, information processing apparatus control method, and parameter setting method | |
| US20240087157A1 (en) | Image processing method, recording medium, image processing apparatus, and image processing system | |
| CN110879979A (en) | Augmented reality system based on mobile terminal | |
| JP7476375B2 (en) | Information processing device, information processing method, and program | |
| KR20210032549A (en) | Image processing apparatus, image processing method, and computer program | |
| US10296080B2 (en) | Systems and methods to simulate user presence in a real-world three-dimensional space | |
| JP2018033107A (en) | Video distribution device and distribution method | |
| CN111629194B (en) | Method and system for converting panoramic video into 6DOF video based on neural network | |
| US20230274515A1 (en) | Previsualization devices and systems for the film industry | |
| US11557087B2 (en) | Image processing apparatus and image processing method for generating a strobe image using a three-dimensional model of an object | |
| CN107479701B (en) | Virtual reality interaction method, device and system | |
| CN205318020U (en) | Head -wearing display equipment | |
| CN114979564A (en) | Video shooting method, electronic equipment, device, system and medium | |
| KR101315398B1 (en) | Apparatus and method for display 3D AR information | |
| US20240394987A1 (en) | Selfie volumetric video | |
| WO2018016655A1 (en) | Instructing device, method of controlling instructing device, remote operation support system, and information processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |