WO2018112695A1 - Image display method and mobile terminal - Google Patents

Image display method and mobile terminal Download PDF

Info

Publication number
WO2018112695A1
WO2018112695A1 PCT/CN2016/110740 CN2016110740W WO2018112695A1 WO 2018112695 A1 WO2018112695 A1 WO 2018112695A1 CN 2016110740 W CN2016110740 W CN 2016110740W WO 2018112695 A1 WO2018112695 A1 WO 2018112695A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
dimensional coordinate
moving direction
actual
target
Prior art date
Application number
PCT/CN2016/110740
Other languages
French (fr)
Chinese (zh)
Inventor
林日壮
Original Assignee
深圳市阳日电子有限公司
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 深圳市阳日电子有限公司 filed Critical 深圳市阳日电子有限公司
Priority to PCT/CN2016/110740 priority Critical patent/WO2018112695A1/en
Priority to CN201680001968.3A priority patent/CN107077216A/en
Publication of WO2018112695A1 publication Critical patent/WO2018112695A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Definitions

  • the present invention relates to the field of computer augmented reality, and in particular, to a method for displaying a picture and a mobile terminal.
  • FPV First Person View
  • VR Virtual Reality
  • the existing FPV device mainly carries a flat camera or a panoramic camera for the purpose of shooting, and the player can connect to the FPV product by using a mobile terminal or a dedicated remote controller, and watch the picture taken by the FPV device in real time.
  • the existing FPV device utilizes the picture taken by the camera to perform certain digital processing, adapts the display of the VR glasses, and brings strong playability to the player, and the immersive experience can bring more stimulation.
  • the FPV device sees the world from the perspective of the first person, bringing a certain virtual reality effect.
  • Embodiments of the present invention provide a method for displaying a picture for displaying a picture according to a mobile control device of a real-time video transmission device.
  • the first aspect of the present invention provides a method for displaying a picture, comprising: acquiring an actual three-dimensional coordinate of a target object, an actual moving direction, and a picture captured by the target object, the target object having a moving function and a shooting function;
  • the actual three-dimensional coordinates generate a virtual object in an established virtual three-dimensional coordinate system, the coordinates of the virtual object are first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction;
  • the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, in the target image
  • the preset screen corresponding to the virtual identifier is displayed on the basis of the preset.
  • the virtual object is established in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate
  • the virtual The coordinates of the object are the first virtual three-dimensional coordinates
  • the moving direction of the virtual object is the same as the actual moving direction: converting the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio; according to the first virtual The three-dimensional coordinates generate a virtual object in the established virtual three-dimensional coordinate system, the coordinates of the virtual object being the first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction.
  • the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset
  • Displaying a preset screen corresponding to the virtual identifier on the basis of the target image includes: calculating a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to a preset formula; When the linear distance is less than a preset threshold, a preset screen corresponding to the virtual identifier is displayed on the basis of the target screen.
  • the method further includes: starting the 3D engine to establish a virtual three-dimensional coordinate system.
  • the virtual object and the virtual object are After the virtual identifier is superimposed on the picture captured by the target object, and after the target picture is obtained, before the preset picture corresponding to the virtual identifier is displayed on the basis of the target picture, the method further includes: according to the operation of the user The instruction adjusts a moving direction of the virtual object.
  • a second aspect of the present invention provides a mobile terminal, where the mobile terminal includes: an acquiring unit, configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a mobile function and a shooting a generating unit, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, the coordinate of the virtual object is a first virtual three-dimensional coordinate, and the moving direction of the virtual object is related to the actual The moving direction is the same; the setting unit is configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second a virtual three-dimensional coordinate; a superimposing unit, configured to superimpose the virtual object and the virtual identifier onto a picture captured by the target object to obtain a target picture; and display unit, when the first virtual three-dimensional coordinate and the second When the linear distance of the virtual three-dimensional coordinates is less than a preset threshold, the preset screen corresponding to
  • the generating unit includes: a converting module, configured to convert the actual three-dimensional coordinates into a preset ratio according to a preset ratio a virtual three-dimensional coordinate; a generating module, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, the coordinate of the virtual object is the first virtual three-dimensional coordinate, the virtual object The moving direction is the same as the actual moving direction.
  • the display unit includes: a calculation module, configured to calculate the first virtual three-dimensional coordinates according to a preset formula a linear distance of the second virtual three-dimensional coordinate; a display module, configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance is less than a preset threshold.
  • the mobile terminal further includes: establishing The unit is used to start the 3D engine and establish a virtual three-dimensional coordinate system.
  • the mobile terminal further includes: adjusting And a unit, configured to adjust a moving direction of the virtual object according to an operation instruction of the user.
  • an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object are acquired, the target object has a moving function and a shooting function; and the actual three-dimensional coordinate is in the established virtual three-dimensional coordinate system.
  • the coordinates of the virtual object being a first virtual three-dimensional coordinate, the moving direction of the virtual object is the same as the actual moving direction; setting a virtual identifier in the moving direction of the virtual object, the virtual identifier
  • the coordinates of the object are second virtual three-dimensional coordinates; superimposing the virtual object and the virtual identifier on a picture taken by the target object to obtain a target picture; when the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates When the linear distance of the coordinate is less than a preset threshold, displaying the preset drawing corresponding to the virtual identifier on the basis of the target image surface.
  • the invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
  • FIG. 1 is a schematic diagram of a framework of a specific application scenario according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a method for displaying a screen according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another embodiment of a method for displaying a screen according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method for displaying a picture for displaying a picture according to a mobile control device of a real-time video transmission device.
  • the existing real-time video transmission device can only perform video capture and transmission.
  • FIG. 1 a schematic diagram of a specific application scenario of the embodiment of the present invention, the mobile terminal is connected with the drone, and the mobile terminal is The human-machine can transmit relevant information, and the drone establishes a wireless connection with the satellite, and the drone acquires the actual latitude and longitude information through the satellite.
  • An embodiment of the method for displaying a picture in the embodiment of the present invention includes:
  • a connection relationship has been established between the mobile terminal and the target object, and the target object is a real-time video transmission device with a mobile function and a shooting function, 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 captured image transmitted by the target object, and the actual three-dimensional coordinates include the latitude and longitude and height information of the target object.
  • the coordinate of the virtual object is the first virtual three-dimensional coordinate, 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 on the three-dimensional coordinate system by 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.
  • the real-time video transmission device is a drone
  • a corresponding virtual drone is generated in a virtual coordinate system that has been established by the mobile terminal, and the moving direction of the virtual drone is the same as the moving direction of the actual drone.
  • the mobile terminal can acquire the moving direction of the virtual object in real time, and set a virtual identifier in the current moving direction of the virtual object, where the coordinates of the virtual identifier are the second virtual three-dimensional coordinates, and the virtual identifier can be a gold coin or an obstacle, etc. It can be a virtual object with other meanings, which is not limited here.
  • the mobile terminal extracts relevant parameters of the virtual object and the virtual identifier, generates a corresponding virtual image according to the relevant parameters by the virtual engine, and then superimposes the virtual image with the image captured by the target object to obtain a target image, and the target image has a target at the same time.
  • the real picture taken by the object and the virtual picture generated by the mobile terminal is a simple picture taken by the object and the virtual picture generated by the mobile terminal.
  • the mobile terminal displays the corresponding target image in addition to the virtual identifier, and displays corresponding
  • the preset screen for example, when the virtual marker is a gold coin, the mobile terminal displays a preset screen indicating the increase of the gold coin.
  • the invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
  • FIG. 3 another embodiment of a method for displaying a screen according to an embodiment of the present invention includes:
  • 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 image.
  • the virtual three-dimensional coordinate system is established by the Direct engine, and the 3D engine may be other engines, such as an OpenGL engine, etc., which is not limited herein.
  • a connection relationship has been established between the mobile terminal and the target object, and the target object is a real-time video transmission device with a mobile function and a shooting function, 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 captured image transmitted by the target object, and the actual three-dimensional coordinates include the latitude and longitude and height information of the target object.
  • the actual three-dimensional coordinates are converted into the first virtual three-dimensional coordinates according to a preset ratio, and the conversion ratio is set according to actual needs, for example, the ratio of the actual three-dimensional coordinates to the first virtual three-dimensional coordinates is set to 100:1.
  • the mobile terminal acquires the converted first virtual three-dimensional coordinates, simulates the first virtual three-dimensional coordinates onto the three-dimensional coordinate system by the virtual engine, and generates a virtual object in the established virtual three-dimensional system according to the virtual coordinates.
  • the mobile terminal can acquire the moving direction of the virtual object in real time, and the current moving party of the virtual object
  • the virtual identifier is set upwards, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates, and the virtual identifier may be a gold coin or an obstacle, etc., which is not limited herein.
  • the mobile terminal extracts relevant parameters of the virtual object and the virtual identifier, generates a corresponding virtual image according to the relevant parameters by the virtual engine, and then superimposes the virtual image with the image captured by the target object to obtain a target image, and the target image has a target at the same time.
  • the real picture taken by the object and the virtual picture generated by the mobile terminal is a simple picture taken by the object and the virtual picture generated by the mobile terminal.
  • the mobile terminal receives an operation instruction of the user, and the mobile terminal adjusts the virtual object according to the operation instruction, and the operation instruction is used to change a moving direction of the virtual object.
  • the mobile terminal calculates a linear distance between the virtual identifier and the virtual object according to the preset formula according to the obtained coordinate information of the virtual identifier and the virtual object.
  • the mobile terminal displays the corresponding preset image according to the difference of the virtual identifier, for example, when displaying the superimposed target image.
  • the mobile terminal displays a preset screen indicating the increase of the gold coin.
  • the invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
  • 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 image.
  • a connection relationship has been established between the mobile phone and the drone, and data transmission between the mobile phone and the drone can be performed.
  • the mobile phone remotely receives the actual three-dimensional coordinates, the actual moving direction and the captured image transmitted by the drone, and the actual three-dimensional coordinates include none. Longitude and latitude and altitude information of man-machine.
  • the mobile phone converts the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a ratio of 10:1. For example, the actual coordinates are (x: 113, y: 23, z: 100), and the first virtual three-dimensional coordinates are (x: 11.3, y).
  • the unit is meters.
  • mobile phones have multiple ways to obtain relevant information. For example, when the drone is in an open environment, the mobile phone can obtain the actual latitude and longitude of the drone according to the satellite positioning, and then obtain the actual level of the drone through the height measuring instrument installed on the drone; When the man-machine is in an indoor or semi-enclosed environment, the mobile phone can determine the distance between the drone and the surrounding wall or obstacle through the distance detector installed on the drone, and then calculate another set of virtual coordinates.
  • the mobile phone generates a virtual drone in a 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 unmanned are (x: 11.3, y: 2.3, z :10).
  • the drone is flying from south to north, then the moving direction of the virtual drone is the same as the actual flight direction of the drone, and the flight is from south to north, and the virtual logo is set in the forward direction of the virtual drone.
  • the mobile phone displays the virtual logo gold coin and virtual drone created by the virtual engine.
  • the coordinates of the virtual marker are (x: 8.3, y: 2.3, z: 6), and the straight line distance is S.
  • the user operates on the mobile phone, and controls the virtual drone to move toward the virtual marker gold coin.
  • the virtual drone approaches the gold coin, and the linear distance S of the virtual drone and the gold coin is less than 0.1 m, it is regarded as virtual
  • the drone collides with the gold coin.
  • the mobile phone additionally displays a picture of the increase of the gold coin.
  • the mobile terminal in the embodiment of the present invention is described in the following.
  • the acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a moving function and a shooting function;
  • 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, where 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 setting unit 403 configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
  • a superimposing unit 404 configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image
  • the display unit 405 when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than
  • the preset threshold is used to display a preset screen corresponding to the virtual marker on the basis of the target screen.
  • the acquiring unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, the target object has a moving function and a shooting function; and the generating unit 402 establishes the virtual three-dimensional coordinates according to the actual three-dimensional coordinates.
  • a virtual object is generated, 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 the virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the first Two virtual three-dimensional coordinates; the superimposing unit 404 superimposes the virtual object and the virtual identifier on the image captured by the target object to obtain a target image; when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, the display is performed.
  • the unit 405 displays a preset screen corresponding to the virtual marker on the basis of the target screen.
  • the invention sets a corresponding virtual identifier.
  • the mobile terminal is further different according to the movement of the real-time video transmission device.
  • the virtual marker controls the display of the virtual screen.
  • another embodiment of the mobile terminal in the embodiment of the present invention includes:
  • the acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a moving function and a shooting function;
  • 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, where 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 setting unit 403 configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
  • a superimposing unit 404 configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image
  • the display unit 405 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold.
  • the generating unit 402 includes:
  • the conversion module 4021 is configured to convert the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio
  • 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 coordinate, where the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object Same as the actual moving direction.
  • the display unit 405 can further include:
  • a calculation module 4051 configured to calculate a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to the preset formula
  • the display module 4052 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target screen when the linear distance is less than a preset threshold.
  • the acquiring unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, and the target object has a moving function and a shooting function; the converting module 4021 converts the actual three-dimensional coordinates into a preset ratio.
  • the generating module 4022 generates a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, the coordinate of the virtual object is the first virtual three-dimensional coordinate, and the moving direction of the virtual object is the same as the actual moving direction;
  • the unit 403 sets a virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates;
  • the superimposing unit 404 superimposes the virtual object and the virtual identifier on the image captured by the target object to obtain a target image; and the calculation module
  • the 4051 calculates a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to the preset formula.
  • the display module 4052 displays the preset image corresponding to the virtual identifier on the basis of the target image. .
  • the invention sets a corresponding virtual identifier.
  • the linear distance between the virtual identifier and the virtual object is less than a preset value, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal is further different according to the movement of the real-time video transmission device.
  • the virtual marker controls the display of the virtual screen.
  • FIG. 6 another embodiment of the mobile terminal in the embodiment of the present invention includes:
  • the acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a moving function and a shooting function;
  • 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, where 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 setting unit 403 configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
  • a superimposing unit 404 configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image
  • the display unit 405 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold.
  • the mobile terminal further includes:
  • 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:
  • the adjusting unit 407 is configured to adjust a moving direction of the virtual object according to an operation instruction of the user.
  • the establishing unit 406 starts the 3D engine and establishes a virtual three-dimensional coordinate system.
  • the obtaining unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, the target object has a moving function and a shooting function; the generating 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 the virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates;
  • the unit 404 superimposes the virtual object and the virtual marker on the screen shot by the target object to obtain a target screen; the adjusting unit 407 adjusts the moving direction of the virtual object according to the operation instruction of the user.
  • the display unit 405 displays a preset screen corresponding to the virtual identifier on the basis of the target image.
  • the invention sets a corresponding virtual identifier.
  • the linear distance between the virtual identifier and the virtual object is less than a preset value, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal is further different according to the movement of the real-time video transmission device.
  • the virtual marker controls the display of the virtual screen.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

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

An image display method and a mobile terminal for controlling image display according to movements of a real-time video transmission device comprises: acquiring a real three-dimensional coordinate of a target object, an actual moving direction, and an image taken by the target object, the target object having a moving function and a shooting function (201); generating a virtual object in an established virtual three-dimensional coordinate system on the basis of the actual three-dimensional coordinate, the coordinate of the virtual object being a first virtual three-dimensional coordinate, and the moving direction of the virtual object being the same as the actual moving direction (202); setting a virtual marker in the moving direction of the virtual object, the coordinates of the virtual marker being a second virtual three-dimensional coordinate (203); superimposing the virtual object and the virtual marker on the image shot by the target object to obtain a target image (204); displaying a preset image corresponding to the virtual marker on the basis of the target image when a straight line distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold (205).

Description

一种画面显示的方法及移动终端Method for displaying screen and mobile terminal 技术领域Technical field
本发明涉及计算机增强现实领域,尤其涉及一种画面显示的方法及移动终端。The present invention relates to the field of computer augmented reality, and in particular, to a method for displaying a picture and a mobile terminal.
背景技术Background technique
随着技术的发展,能够实现实时视频传输的产品得到了广泛应用,例如,无人机、遥控汽车等被广泛应用于航拍摄影、环境监测、森林防火等方面。部分厂商推出第一人称主视角(FPV,First Person View)传输装置,可以利用虚拟现实(VR,Virtual Reality)眼镜实现沉浸式的体验。已有的FPV装置,主要以拍摄为目的,携带平面摄像头或者全景摄像头,玩家可以利用移动终端或专用遥控器连接到FPV产品后,实时观看FPV装置拍摄的画面。With the development of technology, products capable of real-time video transmission have been widely used. For example, drones and remote-controlled cars are widely used in aerial photography, environmental monitoring, forest fire prevention and the like. Some vendors have introduced First Person View (FPV) transmission devices that can use VR (Virtual Reality) glasses to achieve an immersive experience. The existing FPV device mainly carries a flat camera or a panoramic camera for the purpose of shooting, and the player can connect to the FPV product by using a mobile terminal or a dedicated remote controller, and watch the picture taken by the FPV device in real time.
现有FPV装置,利用了摄像头所拍摄的画面,进行一定的数码处理,适配VR眼镜显示,给玩家带来强烈的可玩性,沉浸式的体验能带来更多的刺激感。FPV装置以第一人称的视角看世界,带来了一定的虚拟现实效果。The existing FPV device utilizes the picture taken by the camera to perform certain digital processing, adapts the display of the VR glasses, and brings strong playability to the player, and the immersive experience can bring more stimulation. The FPV device sees the world from the perspective of the first person, bringing a certain virtual reality effect.
但是,这些FPV装置都只能提供摄像头拍摄到的实际画面,结合VR眼镜或移动终端只提供了最基本的虚拟现实体验,换句话说,现有的显示画面的装置不能控制改变显示的画面内容。However, these FPV devices can only provide the actual picture captured by the camera. In combination with VR glasses or mobile terminals, only the most basic virtual reality experience is provided. In other words, the existing display device cannot control the changed display content. .
发明内容Summary of the invention
本发明实施例提供了一种画面显示的方法,用于根据实时视频传输装置的移动控制画面的显示。Embodiments of the present invention provide a method for displaying a picture for displaying a picture according to a mobile control device 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, comprising: acquiring an actual three-dimensional coordinate of a target object, an actual moving direction, and a picture captured by the target object, the target object having a moving function and a shooting function; The actual three-dimensional coordinates generate a virtual object in an established virtual three-dimensional coordinate system, the coordinates of the virtual object are first virtual three-dimensional coordinates, and the moving direction of the virtual object is the same as the actual moving direction; Setting a virtual identifier in a moving direction of the object, the coordinates of the virtual identifier being a second virtual three-dimensional coordinate; superimposing the virtual object and the virtual identifier on a picture captured by the target object to obtain a target image; When the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, in the target image The preset screen corresponding to the virtual identifier is displayed on the basis of the preset.
结合本发明实施例的第一方面,在本发明实施例第一方面的第一种实现方式中,所述根据所述实际三维坐标在已建立的虚拟三维坐标系中建立虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同包括:将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect of the embodiments, the virtual object is established in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, 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: converting the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio; according to the first virtual The three-dimensional coordinates generate a virtual object in the established virtual three-dimensional coordinate system, the coordinates of the virtual object being 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 a second implementation manner of the first aspect of the embodiment, the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset Displaying a preset screen corresponding to the virtual identifier on the basis of the target image includes: calculating a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to a preset formula; When the linear distance is less than a preset threshold, a preset screen corresponding to the virtual identifier is displayed on the basis of the target screen.
结合本发明实施例的第一方面至第一方面的第二种实现方式中的任一实现方式,在本发明实施例第一方面的第三种实现方式中,所述获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面之前,所述方法还包括:启动3D引擎,建立虚拟三维坐标系。With reference to any implementation of the first aspect of the embodiment of the present invention to the second implementation of the first aspect, in a third implementation manner of the first aspect of the embodiment of the present invention, the acquiring the actual three-dimensional object Before the coordinates, the actual moving direction, and the picture taken by the target object, the method further includes: starting the 3D engine to establish a virtual three-dimensional coordinate system.
结合本发明实施例的第一方面至第一方面的第二种实现方式中的任一实现方式,在本发明实施例第一方面的第四种实现方式中,将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面之后,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面之前,所述方法还包括:根据用户的操作指令调整所述虚拟对象的移动方向。With reference to any implementation of the first aspect of the embodiment of the present invention to the second implementation of the first aspect, in a fourth implementation manner of the first aspect of the embodiment, the virtual object and the virtual object are After the virtual identifier is superimposed on the picture captured by the target object, and after the target picture is obtained, before the preset picture corresponding to the virtual identifier is displayed on the basis of the target picture, the method further includes: according to the operation of the user The instruction adjusts a moving direction of the virtual object.
本发明第二方面提供了一种移动终端,所述移动终端包括:获取单元,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;生成单元,用于根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;设置单元,用于在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二 虚拟三维坐标;叠加单元,用于将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;显示单元,当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。A second aspect of the present invention provides a mobile terminal, where the mobile terminal includes: an acquiring unit, configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a mobile function and a shooting a generating unit, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, the coordinate of the virtual object is a first virtual three-dimensional coordinate, and the moving direction of the virtual object is related to the actual The moving direction is the same; the setting unit is configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second a virtual three-dimensional coordinate; a superimposing unit, configured to superimpose the virtual object and the virtual identifier onto a picture captured by the target object to obtain a target picture; and display unit, when the first virtual three-dimensional coordinate and the second When the linear distance of the virtual three-dimensional coordinates is less than a preset threshold, the preset screen corresponding to the virtual identifier is displayed on the basis of the target image.
结合本发明实施例的第二方面,在本发明实施例第二方面的第一种实现方式中,所述生成单元包括:转换模块,用于将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;生成模块,用于根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiments, the generating unit includes: a converting module, configured to convert the actual three-dimensional coordinates into a preset ratio according to a preset ratio a virtual three-dimensional coordinate; a generating module, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, the coordinate of the virtual object is the first virtual three-dimensional coordinate, the virtual object The moving direction is the same as the actual moving direction.
结合本发明实施例的第二方面,在本发明实施例第二方面的第二种实现方式中,所述显示单元包括:计算模块,用于根据预置公式计算所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离;显示模块,当所述直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。With reference to the second aspect of the embodiments of the present invention, in a second implementation manner of the second aspect of the embodiments, the display unit includes: a calculation module, configured to calculate the first virtual three-dimensional coordinates according to a preset formula a linear distance of the second virtual three-dimensional coordinate; a display module, configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance is less than a preset threshold.
结合本发明实施例的第二方面至第二方面的第二种实现方式中的任一实现方式,在本发明实施例第二方面的第三种实现方式中,所述移动终端还包括:建立单元,用于启动3D引擎,建立虚拟三维坐标系。With the implementation of the second aspect of the second aspect of the present invention, the second implementation of the second aspect of the present disclosure, the mobile terminal further includes: establishing The unit is used to start the 3D engine and establish a virtual three-dimensional coordinate system.
结合本发明实施例的第二方面至第二方面的第二种实现方式中的任一实现方式,在本发明实施例第二方面的第四种实现方式中,所述移动终端还包括:调整单元,用于根据用户的操作指令调整所述虚拟对象的移动方向。With the implementation of the second aspect of the second aspect of the present invention, the second implementation of the second aspect of the present disclosure, the mobile terminal further includes: adjusting And a unit, configured to adjust a moving direction of the virtual object according to an operation instruction of the user.
从以上技术方案可以看出,本发明实施例具有以下优点: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, an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object are acquired, the target object has a moving function and a shooting function; and the actual three-dimensional coordinate is in the established virtual three-dimensional coordinate system. Generating a virtual object, the coordinates of the virtual object being a first virtual three-dimensional coordinate, the moving direction of the virtual object is the same as the actual moving direction; setting a virtual identifier in the moving direction of the virtual object, the virtual identifier The coordinates of the object are second virtual three-dimensional coordinates; superimposing the virtual object and the virtual identifier on a picture taken by the target object to obtain a target picture; when the first virtual three-dimensional coordinates and the second virtual three-dimensional coordinates When the linear distance of the coordinate is less than a preset threshold, displaying the preset drawing corresponding to the virtual identifier on the basis of the target image surface. The invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
附图说明DRAWINGS
图1为本发明实施例中的一个具体应用场景的框架示意图;FIG. 1 is a schematic diagram of a framework of a specific application scenario according to an embodiment of the present invention;
图2为本发明实施例中画面显示的方法一个实施例示意图;2 is a schematic diagram of an embodiment of a method for displaying a screen according to an embodiment of the present invention;
图3为本发明实施例中画面显示的方法另一个实施例示意图;FIG. 3 is a schematic diagram of another embodiment of a method for displaying a screen according to an embodiment of the present invention; FIG.
图4为本发明实施例中移动终端的一个实施例示意图;4 is a schematic diagram of an embodiment of a mobile terminal according to an embodiment of the present invention;
图5为本发明实施例中移动终端的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention; FIG.
图6为本发明实施例中移动终端的另一个实施例示意图。FIG. 6 is a schematic diagram of another embodiment of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种画面显示的方法,用于根据实时视频传输装置的移动控制画面的显示。Embodiments of the present invention provide a method for displaying a picture for displaying a picture according to a mobile control device of a real-time video transmission device.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the term "comprises" or "comprises" or any variations thereof, is intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those that are clearly listed Steps or units, but may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
现有的实时视频传输装置只能进行视频的拍摄和传输,如图1所示,本发明实施例的一种具体应用场景的框架示意图,移动终端与无人机相连接,移动终端与从无人机之间能够传输相关信息,无人机与卫星之间建立无线连接,无人机通过卫星获取实际经纬度信息。The existing real-time video transmission device can only perform video capture and transmission. As shown in FIG. 1 , a schematic diagram of a specific application scenario of the embodiment of the present invention, the mobile terminal is connected with the drone, and the mobile terminal is The human-machine can transmit relevant information, and the drone establishes a wireless connection with the satellite, and the drone acquires the actual latitude and longitude information through the satellite.
为便于理解,下面对本发明实施例中的具体流程进行描述,请参阅图2, 本发明实施例画面显示的方法一个实施例包括:For ease of understanding, the specific process in the embodiment of the present invention is described below, please refer to FIG. 2, An embodiment of the method for displaying a picture in the embodiment of the present invention includes:
201、获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能。201. Acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, and 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, and the target object is a real-time video transmission device with a mobile function and a shooting function, 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 captured image transmitted by the target object, and the actual three-dimensional coordinates include the latitude and longitude 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 coordinate. The coordinate of the virtual object is the first virtual three-dimensional coordinate, 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 on the three-dimensional coordinate system by 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 a virtual coordinate system that has been established by the mobile terminal, and the moving direction of the virtual drone is the same as the moving direction of the actual drone.
203、在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标。203. Set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates.
移动终端能够实时获取虚拟对象的移动方向,在该虚拟对象当前的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标,该虚拟标识物可以是金币或障碍物等,还可以是具备其他含义的虚拟物,具体此处不做限定。The mobile terminal can acquire the moving direction of the virtual object in real time, and set a virtual identifier in the current moving direction of the virtual object, where the coordinates of the virtual identifier are the second virtual three-dimensional coordinates, and the virtual identifier can be a gold coin or an obstacle, etc. It can be a virtual object with other meanings, which is not limited here.
204、将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面。204. Superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image.
移动终端提取虚拟对象和虚拟标识物的相关参数,通过虚拟引擎根据相关参数生成相应的虚拟画面,再将该虚拟画面与目标对象拍摄的画面叠加在一起,得到目标画面,该目标画面同时具有目标对象拍摄的真实画面及移动终端生成的虚拟画面。The mobile terminal extracts relevant parameters of the virtual object and the virtual identifier, generates a corresponding virtual image according to the relevant parameters by the virtual engine, and then superimposes the virtual image with the image captured by the target object to obtain a target image, and the target image has a target at the same time. The real picture taken by the object and the virtual picture generated by the mobile terminal.
205、当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,在目标画面的基础上显示与虚拟标识物对应的预置画面。205. When a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, displaying a preset image corresponding to the virtual identifier on the basis of the target image.
当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,移动终端除了显示叠加后的目标画面,还要根据虚拟标识物的不同显示相应的 预置画面,例如,当虚拟标识物为金币时,移动终端显示表示金币增加的预置画面。When the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, the mobile terminal displays the corresponding target image in addition to the virtual identifier, and displays corresponding The preset screen, for example, when the virtual marker is a gold coin, the mobile terminal displays a preset screen indicating the increase of the gold coin.
本发明通过设置相应的虚拟标识物,当满足预设的条件时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。The invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
请参阅图3,本发明实施例画面显示的方法另一个实施例包括:Referring to FIG. 3, another embodiment of a method for displaying a screen according to an embodiment of the present invention includes:
301、启动3D引擎,建立虚拟三维坐标系。301. Start a 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 image. For example, the virtual three-dimensional coordinate system is established by the Direct engine, and the 3D engine may be other engines, such as an OpenGL engine, etc., which is not limited herein.
302、获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能。302. Acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, and 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, and the target object is a real-time video transmission device with a mobile function and a shooting function, 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 captured image transmitted by the target object, and the actual three-dimensional coordinates include the latitude and longitude and height information of the target object.
303、将实际三维坐标按照预置比例转换成第一虚拟三维坐标。303. Convert the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio.
将实际三维坐标按照预置比例转换成第一虚拟三维坐标,根据实际的需要对转换的比例进行设置,例如,将实际三维坐标与第一虚拟三维坐标的比例值设置为100:1。The actual three-dimensional coordinates are converted into the first virtual three-dimensional coordinates according to a preset ratio, and the conversion ratio is set according to actual needs, for example, the ratio of the actual three-dimensional coordinates to the first virtual three-dimensional 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 coordinate. The coordinate of the virtual object is the first virtual three-dimensional coordinate, and the moving direction of the virtual object is the same as the actual moving direction.
移动终端获取到转换后的第一虚拟三维坐标,通过虚拟引擎将第一虚拟三维坐标模拟到三维坐标系上,并根据该虚拟坐标在已建立的虚拟三维系中生成虚拟对象。The mobile terminal acquires the converted first virtual three-dimensional coordinates, simulates the first virtual three-dimensional coordinates onto the three-dimensional coordinate system by the virtual engine, and generates a virtual object in the established virtual three-dimensional system according to the virtual coordinates.
305、在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标。305. Set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates.
移动终端能够实时获取虚拟对象的移动方向,在该虚拟对象当前的移动方 向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标,该虚拟标识物可以是金币或障碍物等,具体此处不做限定。The mobile terminal can acquire the moving direction of the virtual object in real time, and the current moving party of the virtual object The virtual identifier is set upwards, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates, and the virtual identifier may be a gold coin or an obstacle, etc., which is not limited herein.
306、将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面。306. Superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image.
移动终端提取虚拟对象和虚拟标识物的相关参数,通过虚拟引擎根据相关参数生成相应的虚拟画面,再将该虚拟画面与目标对象拍摄的画面叠加在一起,得到目标画面,该目标画面同时具有目标对象拍摄的真实画面及移动终端生成的虚拟画面。The mobile terminal extracts relevant parameters of the virtual object and the virtual identifier, generates a corresponding virtual image according to the relevant parameters by the virtual engine, and then superimposes the virtual image with the image captured by the target object to obtain a target image, and the target image has a target at the same time. The real picture taken by the object and the virtual picture generated by the mobile terminal.
307、根据用户的操作指令调整虚拟对象的移动方向。307. Adjust a moving direction of the virtual object according to a user operation instruction.
移动终端接收用户的操作指令,移动终端根据该操作指令调整虚拟对象,该操作指令用于改变虚拟对象的移动方向。The mobile terminal receives an operation instruction of the user, and the mobile terminal adjusts the virtual object according to the operation instruction, and the operation instruction is used to change a moving direction of the virtual object.
308、根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离。308. Calculate a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to the preset formula.
移动终端根据获得的虚拟标识物和虚拟对象的坐标信息,根据预置的公式,计算出虚拟标识物和虚拟对象的直线距离。The mobile terminal calculates a linear distance between the virtual identifier and the virtual object according to the preset formula according to the obtained coordinate information of the virtual identifier and the virtual object.
309、当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,在目标画面的基础上显示与虚拟标识物对应的预置画面。309. When a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, displaying a preset image corresponding to the virtual identifier on the basis of the target image.
当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,移动终端除了显示叠加后的目标画面,还要根据虚拟标识物的不同显示相应的预置画面,例如,当虚拟标识物为金币时,移动终端显示表示金币增加的预置画面。When the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, the mobile terminal displays the corresponding preset image according to the difference of the virtual identifier, for example, when displaying the superimposed target image. When the virtual marker is a gold coin, the mobile terminal displays a preset screen indicating the increase of the gold coin.
本发明通过设置相应的虚拟标识物,当满足预设的条件时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。The invention sets the corresponding virtual identifier, and when the preset condition is met, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal controls the display of the virtual picture according to the movement of the real-time video transmission device and different virtual identifiers. .
为了便于理解,下面结合具体应用场景进行说明:For ease of understanding, the following describes the 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,
Figure PCTCN2016110740-appb-000001
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 image. A connection relationship has been established between the mobile phone and the drone, and data transmission between the mobile phone and the drone can be performed. The mobile phone remotely receives the actual three-dimensional coordinates, the actual moving direction and the captured image transmitted by the drone, and the actual three-dimensional coordinates include none. Longitude and latitude and altitude information of man-machine. The mobile phone converts the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a ratio of 10:1. For example, the actual coordinates are (x: 113, y: 23, z: 100), and the first virtual three-dimensional coordinates are (x: 11.3, y). :2.3,z:10), the unit is meters. According to different application scenarios, mobile phones have multiple ways to obtain relevant information. For example, when the drone is in an open environment, the mobile phone can obtain the actual latitude and longitude of the drone according to the satellite positioning, and then obtain the actual level of the drone through the height measuring instrument installed on the drone; When the man-machine is in an indoor or semi-enclosed environment, the mobile phone can determine the distance between the drone and the surrounding wall or obstacle through the distance detector installed on the drone, and then calculate another set of virtual coordinates. The mobile phone generates a virtual drone in a 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 unmanned are (x: 11.3, y: 2.3, z :10). At this time, the drone is flying from south to north, then the moving direction of the virtual drone is the same as the actual flight direction of the drone, and the flight is from south to north, and the virtual logo is set in the forward direction of the virtual drone. In addition to displaying the real picture taken by the drone, the mobile phone displays the virtual logo gold coin and virtual drone created by the virtual engine. The coordinates of the virtual marker are (x: 8.3, y: 2.3, z: 6), and the straight line distance is S.
Figure PCTCN2016110740-appb-000001
S=5, the user operates on the mobile phone, and controls the virtual drone to move toward the virtual marker gold coin. When the virtual drone approaches the gold coin, and the linear distance S of the virtual drone and the gold coin is less than 0.1 m, it is regarded as virtual The drone collides with the gold coin. On the basis of the current display screen, the mobile phone additionally displays a picture of the increase of the gold coin.
上面对本发明实施例中画面显示的方法进行了描述,下面对本发明实施例中的移动终端进行描述,请参阅图4,本发明实施例中的移动终端包括:The mobile terminal in the embodiment of the present invention is described in the following.
获取单元401,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;The acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where 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, where 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 identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;a superimposing unit 404, configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于 预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405, when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than The preset threshold is used to display a preset screen corresponding to the virtual marker on the basis of the target screen.
本发明实施例中,获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;生成单元402根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,显示单元405在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the acquiring unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, the target object has a moving function and a shooting function; and the generating unit 402 establishes the virtual three-dimensional coordinates according to the actual three-dimensional coordinates. A virtual object is generated, 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 the virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the first Two virtual three-dimensional coordinates; the superimposing unit 404 superimposes the virtual object and the virtual identifier on the image captured by the target object to obtain a target image; when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, the display is performed. The unit 405 displays a preset screen corresponding to the virtual marker on the basis of the target screen. The invention sets a corresponding virtual identifier. When the linear distance between the virtual identifier and the virtual object is less than a preset value, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal is further different according to the movement of the real-time video transmission device. The virtual marker 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 acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where 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, where 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 identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;a superimposing unit 404, configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold.
其中,生成单元402包括:The generating unit 402 includes:
转换模块4021,用于将实际三维坐标按照预置比例转换成第一虚拟三维坐标;The conversion module 4021 is configured to convert the actual three-dimensional coordinates into a first virtual three-dimensional coordinate 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 coordinate, where the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object Same as the actual moving direction.
其中,显示单元405可进一步包括:The display unit 405 can further include:
计算模块4051,用于根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离;a calculation module 4051, configured to calculate a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to the preset formula;
显示模块4052,当直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display module 4052 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target screen when the linear distance is less than a preset threshold.
本发明实施例中,获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;转换模块4021将实际三维坐标按照预置比例转换成第一虚拟三维坐标;生成模块4022根据第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;计算模块4051根据预置公式计算第一虚拟三维坐标与第二虚拟三维坐标的直线距离;当直线距离小于预设的阈值时,显示模块4052在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the acquiring unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, and the target object has a moving function and a shooting function; the converting module 4021 converts the actual three-dimensional coordinates into a preset ratio. a virtual three-dimensional coordinate; the generating module 4022 generates a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, the coordinate of the virtual object is the first virtual three-dimensional coordinate, and the moving direction of the virtual object is the same as the actual moving direction; The unit 403 sets a virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates; the superimposing unit 404 superimposes the virtual object and the virtual identifier on the image captured by the target object to obtain a target image; and the calculation module The 4051 calculates a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to the preset formula. When the linear distance is less than the preset threshold, the display module 4052 displays the preset image corresponding to the virtual identifier on the basis of the target image. . The invention sets a corresponding virtual identifier. When the linear distance between the virtual identifier and the virtual object is less than a preset value, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal is further different according to the movement of the real-time video transmission device. The virtual marker 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 acquiring unit 401 is configured to acquire an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture captured by the target object, where 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, where 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 identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
叠加单元404,用于将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面; a superimposing unit 404, configured to superimpose the virtual object and the virtual identifier on the screen captured by the target object to obtain a target image;
显示单元405,当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,用于在目标画面的基础上显示与虚拟标识物对应的预置画面。The display unit 405 is configured to display a preset screen corresponding to the virtual identifier on the basis of the target image when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold.
该移动终端还包括:The mobile terminal further 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 a moving direction of the virtual object according to an operation instruction of the user.
本发明实施例中,建立单元406启动3D引擎,建立虚拟三维坐标系。获取单元401获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,目标对象具有移动功能和拍摄功能;生成单元402根据实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,虚拟对象的坐标为第一虚拟三维坐标,虚拟对象的移动方向与实际移动方向相同;设置单元403在虚拟对象的移动方向上设置虚拟标识物,虚拟标识物的坐标为第二虚拟三维坐标;叠加单元404将虚拟对象和虚拟标识物叠加到目标对象拍摄的画面,得到目标画面;调整单元407根据用户的操作指令调整虚拟对象的移动方向。当第一虚拟三维坐标与第二虚拟三维坐标的直线距离小于预设的阈值时,显示单元405在目标画面的基础上显示与虚拟标识物对应的预置画面。本发明通过设置相应的虚拟标识物,当虚拟标识物与虚拟对象的直线距离小于预置的值时,除了显示实时视频传输装置拍摄的真实画面,移动终端还根据实时视频传输装置的移动和不同的虚拟标识物控制虚拟画面的显示。In the embodiment of the present invention, the establishing unit 406 starts the 3D engine and establishes a virtual three-dimensional coordinate system. The obtaining unit 401 acquires the actual three-dimensional coordinates of the target object, the actual moving direction, and the image captured by the target object, the target object has a moving function and a shooting function; the generating 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 the virtual identifier in the moving direction of the virtual object, and the coordinates of the virtual identifier are the second virtual three-dimensional coordinates; The unit 404 superimposes the virtual object and the virtual marker on the screen shot by the target object to obtain a target screen; the adjusting unit 407 adjusts the moving direction of the virtual object according to the operation instruction of the user. When the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, the display unit 405 displays a preset screen corresponding to the virtual identifier on the basis of the target image. The invention sets a corresponding virtual identifier. When the linear distance between the virtual identifier and the virtual object is less than a preset value, in addition to displaying the real picture captured by the real-time video transmission device, the mobile terminal is further different according to the movement of the real-time video transmission device. The virtual marker controls the display of the virtual screen.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 一种画面显示的方法,其特征在于,包括:A method for displaying a picture, comprising:
    获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;Obtaining an actual three-dimensional coordinate of the target object, an actual moving direction, and a picture taken by the target object, the target object having a moving function and a shooting function;
    根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;Generating a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, the coordinate of the virtual object is a first virtual three-dimensional coordinate, and the moving direction of the virtual object is the same as the actual moving direction;
    在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二虚拟三维坐标;Setting a virtual identifier in a moving direction of the virtual object, where coordinates of the virtual identifier are second virtual three-dimensional coordinates;
    将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;Superimposing the virtual object and the virtual identifier on a picture taken by the target object to obtain a target picture;
    当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。When the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, a preset screen corresponding to the virtual identifier is displayed on the basis of the target image.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述实际三维坐标在已建立的虚拟三维坐标系中建立虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同包括:The method according to claim 1, wherein the virtual object is established in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, and the coordinates of the virtual object are first virtual three-dimensional coordinates, and the virtual The moving direction of the object is the same as the actual moving direction, including:
    将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;Converting the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio;
    根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。Generating a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, the coordinate of the virtual object is the first virtual three-dimensional coordinate, and the moving direction of the virtual object is the same as the actual moving direction .
  3. 根据权利要求1所述的方法,其特征在于,所述当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面包括:The method according to claim 1, wherein when the linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold, displaying on the basis of the target image The preset screen corresponding to the virtual identifier includes:
    根据预置公式计算所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离;Calculating a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to a preset formula;
    当所述直线距离小于预设的阈值时,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。When the linear distance is less than a preset threshold, a preset screen corresponding to the virtual identifier is displayed on the basis of the target screen.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面之前,所述方法 还包括:The method according to any one of claims 1 to 3, wherein the method before acquiring the actual three-dimensional coordinates of the target object, the actual moving direction, and the image taken by the target object Also includes:
    启动3D引擎,建立虚拟三维坐标系。Start the 3D engine and create a virtual 3D coordinate system.
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面之后,在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein the virtual object and the virtual identifier are superimposed on a picture taken by the target object to obtain a target picture, after the target picture Before displaying the preset screen corresponding to the virtual identifier, the method further includes:
    根据用户的操作指令调整所述虚拟对象的移动方向。Adjusting the moving direction of the virtual object according to an operation instruction of the user.
  6. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    获取单元,用于获取目标对象的实际三维坐标、实际移动方向及目标对象拍摄的画面,所述目标对象具有移动功能和拍摄功能;An acquiring unit, configured to acquire actual three-dimensional coordinates of the target object, an actual moving direction, and a picture captured by the target object, where the target object has a moving function and a shooting function;
    生成单元,用于根据所述实际三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同;a generating unit, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the actual three-dimensional coordinate, the coordinate of the virtual object is a first virtual three-dimensional coordinate, a moving direction of the virtual object and the actual moving direction the same;
    设置单元,用于在所述虚拟对象的移动方向上设置虚拟标识物,所述虚拟标识物的坐标为第二虚拟三维坐标;a setting unit, configured to set a virtual identifier in a moving direction of the virtual object, where the coordinates of the virtual identifier are second virtual three-dimensional coordinates;
    叠加单元,用于将所述虚拟对象和所述虚拟标识物叠加到所述目标对象拍摄的画面,得到目标画面;a superimposing unit, configured to superimpose the virtual object and the virtual identifier on a picture taken by the target object to obtain a target picture;
    显示单元,当所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。a display unit, configured to display a preset corresponding to the virtual identifier on a basis of the target image when a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate is less than a preset threshold Picture.
  7. 根据权利要求6所述的移动终端,其特征在于,所述生成单元包括:The mobile terminal according to claim 6, wherein the generating unit comprises:
    转换模块,用于将所述实际三维坐标按照预置比例转换成第一虚拟三维坐标;a conversion module, configured to convert the actual three-dimensional coordinates into a first virtual three-dimensional coordinate according to a preset ratio;
    生成模块,用于根据所述第一虚拟三维坐标在已建立的虚拟三维坐标系中生成虚拟对象,所述虚拟对象的坐标为所述第一虚拟三维坐标,所述虚拟对象的移动方向与所述实际移动方向相同。a generating module, configured to generate a virtual object in the established virtual three-dimensional coordinate system according to the first virtual three-dimensional coordinate, where the coordinates of the virtual object are the first virtual three-dimensional coordinates, and the moving direction of the virtual object The actual moving direction is the same.
  8. 根据权利要求6所述的移动终端,其特征在于,所述显示单元包括:The mobile terminal according to claim 6, wherein the display unit comprises:
    计算模块,用于根据预置公式计算所述第一虚拟三维坐标与所述第二虚拟三维坐标的直线距离; a calculation module, configured to calculate a linear distance between the first virtual three-dimensional coordinate and the second virtual three-dimensional coordinate according to a preset formula;
    显示模块,当所述直线距离小于预设的阈值时,用于在所述目标画面的基础上显示与所述虚拟标识物对应的预置画面。And a display module, configured to display a preset screen corresponding to the virtual identifier on the basis of the target screen when the linear distance is less than a preset threshold.
  9. 根据权利要求6至8中任一项所述的移动终端,其特征在于,所述移动终端还包括:The mobile terminal according to any one of claims 6 to 8, wherein the mobile terminal further comprises:
    建立单元,用于启动3D引擎,建立虚拟三维坐标系。A unit is created for starting the 3D engine and establishing a virtual three-dimensional coordinate system.
  10. 根据权利要求6至8中任一项所述的移动终端,其特征在于,所述移动终端还包括:The mobile terminal according to any one of claims 6 to 8, wherein the mobile terminal further comprises:
    调整单元,用于根据用户的操作指令调整所述虚拟对象的移动方向。 And an adjusting unit, configured to adjust a moving direction of the virtual object according to an operation instruction of the user.
PCT/CN2016/110740 2016-12-19 2016-12-19 Image display method and mobile terminal WO2018112695A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/110740 WO2018112695A1 (en) 2016-12-19 2016-12-19 Image display method and mobile terminal
CN201680001968.3A CN107077216A (en) 2016-12-19 2016-12-19 Method and mobile terminal that a kind of picture is shown

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
WO2018112695A1 true WO2018112695A1 (en) 2018-06-28

Family

ID=59624331

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/110740 WO2018112695A1 (en) 2016-12-19 2016-12-19 Image display method and mobile terminal

Country Status (2)

Country Link
CN (1) CN107077216A (en)
WO (1) WO2018112695A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961423A (en) * 2018-07-03 2018-12-07 百度在线网络技术(北京)有限公司 Virtual information processing method, device, equipment and storage medium
CN109360277A (en) * 2018-11-08 2019-02-19 利亚德光电股份有限公司 Virtual emulation display control method and device, storage medium and electronic device
CN114067071A (en) * 2021-11-26 2022-02-18 湖南汽车工程职业学院 High-precision map making system based on big data

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109445103B (en) * 2018-12-10 2022-03-01 北京虚拟动点科技有限公司 Display picture updating method and device, storage medium and electronic device
CN110866940B (en) * 2019-11-05 2023-03-10 广东虚拟现实科技有限公司 Virtual picture control method and device, terminal equipment and storage medium
CN111833462B (en) * 2020-07-14 2024-05-17 深圳市瑞立视多媒体科技有限公司 Cutting method, device, equipment and storage medium based on illusion engine

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1436090A (en) * 2000-06-15 2003-08-13 英特尔公司 Mobile remote-control video gaming system
US20030232649A1 (en) * 2002-06-18 2003-12-18 Gizis Alexander C.M. Gaming system and method
US20100178966A1 (en) * 2007-02-13 2010-07-15 Parrot A method of recognizing objects in a shooter game for remote-controlled toys
CN104029825A (en) * 2014-06-13 2014-09-10 中国人民解放军装甲兵工程学院 Unmanned aerial vehicle system with in-site virtual-actual coupling
US20150080121A1 (en) * 2013-09-16 2015-03-19 Disney Enterprises, Inc. Method for tracking physical play objects by virtual players in online environments
CN105629470A (en) * 2016-01-15 2016-06-01 何军 Headset displayer and display method
CN106228615A (en) * 2016-08-31 2016-12-14 陈昊 Unmanned vehicle experiencing system based on augmented reality and experiential method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831401B (en) * 2012-08-03 2016-01-13 樊晓东 To following the tracks of without specific markers target object, three-dimensional overlay and mutual method and system
JP6572618B2 (en) * 2015-05-08 2019-09-11 富士通株式会社 Information processing device, information processing program, information processing method, terminal device, setting method, setting program
CN105589466A (en) * 2016-02-24 2016-05-18 谭圆圆 Flight control device of unmanned aircraft and flight control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1436090A (en) * 2000-06-15 2003-08-13 英特尔公司 Mobile remote-control video gaming system
US20030232649A1 (en) * 2002-06-18 2003-12-18 Gizis Alexander C.M. Gaming system and method
US20100178966A1 (en) * 2007-02-13 2010-07-15 Parrot A method of recognizing objects in a shooter game for remote-controlled toys
US20150080121A1 (en) * 2013-09-16 2015-03-19 Disney Enterprises, Inc. Method for tracking physical play objects by virtual players in online environments
CN104029825A (en) * 2014-06-13 2014-09-10 中国人民解放军装甲兵工程学院 Unmanned aerial vehicle system with in-site virtual-actual coupling
CN105629470A (en) * 2016-01-15 2016-06-01 何军 Headset displayer and display method
CN106228615A (en) * 2016-08-31 2016-12-14 陈昊 Unmanned vehicle experiencing system based on augmented reality and experiential method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961423A (en) * 2018-07-03 2018-12-07 百度在线网络技术(北京)有限公司 Virtual information processing method, device, equipment and storage medium
CN108961423B (en) * 2018-07-03 2023-04-18 百度在线网络技术(北京)有限公司 Virtual information processing method, device, equipment and storage medium
CN109360277A (en) * 2018-11-08 2019-02-19 利亚德光电股份有限公司 Virtual emulation display control method and device, storage medium and electronic device
CN109360277B (en) * 2018-11-08 2023-10-17 北京虚拟动点科技有限公司 Virtual simulation display control method and device, storage medium and electronic device
CN114067071A (en) * 2021-11-26 2022-02-18 湖南汽车工程职业学院 High-precision map making system based on big data
CN114067071B (en) * 2021-11-26 2022-08-30 湖南汽车工程职业学院 High-precision map making system based on big data

Also Published As

Publication number Publication date
CN107077216A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
WO2018112695A1 (en) Image display method and mobile terminal
US11796309B2 (en) Information processing apparatus, information processing method, and recording medium
JP6258953B2 (en) Fast initialization for monocular visual SLAM
JP5934368B2 (en) Portable device, virtual reality system and method
CN105807931B (en) A kind of implementation method of virtual reality
CN105824416B (en) A method of by virtual reality technology in conjunction with cloud service technology
US20150371447A1 (en) Method and Apparatus for Providing Hybrid Reality Environment
CN109997175B (en) Determining the size of a virtual object
US20190088025A1 (en) System and method for authoring and viewing augmented reality content with a drone
US10681276B2 (en) Virtual reality video processing to compensate for movement of a camera during capture
CN106683195B (en) AR scene rendering method based on indoor positioning
JPWO2017094543A1 (en) Information processing apparatus, information processing system, information processing apparatus control method, and parameter setting method
US10706634B1 (en) System for generating augmented reality content from a perspective view of an unmanned aerial vehicle
WO2020014987A1 (en) Mobile robot control method and apparatus, device, and storage medium
WO2016202034A1 (en) Reality enhancement-based smart home interaction method, and device and system utilizing same
KR102197615B1 (en) Method of providing augmented reality service and server for the providing augmented reality service
CN113454685A (en) Cloud-based camera calibration
CN107479701B (en) Virtual reality interaction method, device and system
US10296080B2 (en) Systems and methods to simulate user presence in a real-world three-dimensional space
KR20180120456A (en) Apparatus for providing virtual reality contents based on panoramic image and method for the same
KR102148103B1 (en) Method and apparatus for generating mixed reality environment using a drone equipped with a stereo camera
EP3665656B1 (en) Three-dimensional video processing
US11902499B2 (en) Simulation sighting binoculars, and simulation system and methods
CN105893452B (en) Method and device for presenting multimedia information
WO2021115192A1 (en) Image processing device, image processing method, program and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16924227

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16924227

Country of ref document: EP

Kind code of ref document: A1