CN109255839A - Scene method of adjustment and device - Google Patents

Scene method of adjustment and device Download PDF

Info

Publication number
CN109255839A
CN109255839A CN201810936481.5A CN201810936481A CN109255839A CN 109255839 A CN109255839 A CN 109255839A CN 201810936481 A CN201810936481 A CN 201810936481A CN 109255839 A CN109255839 A CN 109255839A
Authority
CN
China
Prior art keywords
scene
moving object
equipment
user perspective
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810936481.5A
Other languages
Chinese (zh)
Other versions
CN109255839B (en
Inventor
付文君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810936481.5A priority Critical patent/CN109255839B/en
Publication of CN109255839A publication Critical patent/CN109255839A/en
Application granted granted Critical
Publication of CN109255839B publication Critical patent/CN109255839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to scene method of adjustment and devices.This method comprises: obtaining the location information of moving object in AR scene;According to the location information of moving object and the user perspective range of AR equipment, the adjusting parameter of AR scene is determined;AR scene is adjusted according to the adjusting parameter of AR scene, moving object is within the scope of the user perspective of AR equipment in AR scene after the adjustment.The disclosure is located at moving object within the scope of the user perspective of AR equipment by adjusting AR scene, keep the user perspective range of AR equipment constant, it does not need user and rotates body or head to find movable role or window, it is user-friendly, it can be improved user experience.

Description

Scene method of adjustment and device
Technical field
This disclosure relates to field of terminal technology more particularly to scene method of adjustment and device.
Background technique
Augmented reality (AR, Augmented Reality) be a kind of position for calculating camera image in real time and Angle and the technology for adding respective image, the target of this technology is on the screen virtual world Seamless integration- in real world And it is interacted.With the promotion of accompanied electronic product operational capability, the purposes of AR technology is more and more wider.
In the related technology, it is carried out in AR experience of the process in user using AR equipment, when the character location or window in AR scene When mouth position changes, user needs to adjust the user perspective range of AR equipment by way of rotation body or head, seeks Look for movable role or window.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of scene method of adjustment and device.Institute It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of scene method of adjustment is provided, comprising:
Obtain the location information of moving object in virtual reality technology AR scene;
According to the location information of the moving object and the user perspective range of AR equipment, the adjustment of the AR scene is determined Parameter;
The AR scene, moving object described in AR scene after the adjustment are adjusted according to the adjusting parameter of the AR scene Within the scope of user perspective in the AR equipment.
It is in one embodiment, described according to the location information of the moving object and the user perspective range of AR equipment, Determine the adjusting parameter of the AR scene, comprising:
According to the location information of the moving object and the user perspective range of AR equipment, the position of the moving object is determined Set the deviation value with the user perspective range of the AR equipment;
When the deviation value is higher than preset threshold, the adjusting parameter of the AR scene is determined according to the deviation value.
It is in one embodiment, described according to the location information of the moving object and the user perspective range of AR equipment, Determine the deviation value of the position of the moving object and the user perspective range of the AR equipment, comprising:
According to the location information of the moving object, the central point of the moving object is determined;
According to the user perspective range of AR equipment, the optic centre point of the user perspective range of the AR equipment is determined;
The difference of the optic centre point of the central point of the moving object and the user perspective range of the AR equipment is calculated, The difference is determined as to the deviation value of the position of the moving object and the user perspective range of the AR equipment.
In one embodiment, the location information for obtaining moving object in AR scene, comprising:
The camera of the AR equipment is called to acquire the location information of moving object in the AR scene.
In one embodiment, the moving object includes at least: active window or movable role.
According to the second aspect of an embodiment of the present disclosure, a kind of scene adjustment device is provided, comprising:
Module is obtained, for obtaining the location information of moving object in virtual reality technology AR scene;
Determining module, for determining institute according to the location information of the moving object and the user perspective range of AR equipment State the adjusting parameter of AR scene;
Scene adjusts module, for adjusting the AR scene according to the adjusting parameter of the AR scene, AR after the adjustment Moving object described in scene is within the scope of the user perspective of the AR equipment.
In one embodiment, the determining module, comprising:
Deviation value determines submodule, for according to the location information of the moving object and the user perspective model of AR equipment It encloses, determines the deviation value of the position of the moving object and the user perspective range of the AR equipment;
Adjusting parameter determines submodule, for being determined according to the deviation value when the deviation value is higher than preset threshold The adjusting parameter of the AR scene.
In one embodiment, the deviation value determines submodule, according to the location information of the moving object, determines institute State the central point of moving object;According to the user perspective range of AR equipment, the view of the user perspective range of the AR equipment is determined Feel central point;Calculate the difference of the optic centre point of the central point of the moving object and the user perspective range of the AR equipment The difference, is determined as the deviation value of the position of the moving object and the user perspective range of the AR equipment by value.
In one embodiment, the module that obtains calls the camera of the AR equipment to acquire activity in the AR scene The location information of object.
According to the third aspect of an embodiment of the present disclosure, a kind of scene adjustment device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to realizing method described in above-mentioned first aspect any embodiment.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with The step of machine instruction, which realizes above-mentioned first aspect any embodiment the method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits: the technical solution is by adjusting AR Scene is located at moving object within the scope of the user perspective of AR equipment, keeps the user perspective range of AR equipment constant, is not required to Want user's rotation body or head to find movable role or window, it is user-friendly, it can be improved user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart of scene method of adjustment shown according to an exemplary embodiment.
Fig. 2 is the flow chart of scene method of adjustment shown according to an exemplary embodiment.
Fig. 3 is the flow chart of scene method of adjustment shown according to an exemplary embodiment.
Fig. 4 is the block diagram of scene adjustment device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of scene adjustment device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of scene adjustment device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of scene adjustment device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of scene adjustment device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology, it is carried out in AR experience of the process in user using AR equipment, when the character location or window in AR scene When mouth position changes, user needs to adjust the user perspective range of AR equipment by way of rotation body or head, seeks Look for movable role or window.But user is to adjust the user perspective range of AR equipment, required rotation body or head it is dynamic It is larger to make amplitude;Also, if character location variation is more frequent in AR scene, user needs ceaselessly through rotation body The mode on body or head adjusts the user perspective range of AR equipment, and to capture movable role, this results in the experience of user Cheng Feichang is tired, seriously affects user experience.
To solve the above-mentioned problems, the embodiment of the present disclosure provides a kind of scene method of adjustment, and method includes: to obtain AR The location information of moving object in scape;According to the location information of moving object and the user perspective range of AR equipment, AR are determined The adjusting parameter of scape;AR scene is adjusted according to the adjusting parameter of AR scene, moving object is in AR in AR scene after the adjustment Within the scope of the user perspective of equipment.The scene method of adjustment that the embodiment of the present disclosure provides keeps activity right by adjusting AR scene It within the scope of being located at the user perspective of AR equipment, keeps the user perspective range of AR equipment constant, does not need user and rotate body Body or head are user-friendly to find movable role or window, can be improved user experience.
Based on above-mentioned analysis, following specific embodiment is proposed.
Fig. 1 is a kind of flow chart of scene method of adjustment shown according to an exemplary embodiment;As shown in Figure 1, the party Method includes the following steps 101-103:
In a step 101, the location information of moving object in AR scene is obtained.
Exemplary, the executing subject of this method can be AR equipment.Moving object at least may include: active window or Movable role etc..The location information of moving object refers to relative position information of the moving object in AR scene in AR scene.AR Equipment can know the location information of the quantity of moving object and each moving object in AR scene.For example, by calling AR to set Standby camera can collect the location information of moving object in the AR scene.
In a step 102, according to the location information of moving object and the user perspective range of AR equipment, AR scene is determined Adjusting parameter.
It is exemplary, the user perspective range of AR equipment refer to the eyes of user in entire AR scene it can be seen that range. According to the location information of the moving object and the user perspective range of AR equipment, determine the position of the moving object with it is described The deviation value of the user perspective range of AR equipment;Judge whether the deviation value is higher than preset threshold: when the deviation value is higher than When preset threshold, the adjusting parameter of the AR scene is determined according to the deviation value;When the deviation value is not higher than preset threshold When, process terminates.
Exemplary, the adjusting parameter of AR scene for example can be the direction and angular dimension that AR scene needs to rotate.
It is exemplary, determine the implementation of the deviation value of the position of moving object and the user perspective range of the AR equipment It may include: that the central point of the moving object is determined according to the location information of the moving object;According to the user of AR equipment Angular field of view determines the optic centre point of the user perspective range of the AR equipment;Calculate the central point of the moving object with The difference, is determined as the position of the moving object by the difference of the optic centre point of the user perspective range of the AR equipment With the deviation value of the user perspective range of the AR equipment.The central point of moving object, such as can be the level of moving object The crosspoint of middle line and median vertical line.
In step 103, AR scene, moving object in AR scene after the adjustment are adjusted according to the adjusting parameter of AR scene Within the scope of user perspective in AR equipment.
It is exemplary, according to the adjusting parameter of AR scene, through rotation AR scene, adjustment user at a distance from moving object etc. Moving object is adjusted within the scope of the user perspective of AR equipment by mode, the AR scene after being adjusted.
The technical scheme provided by this disclosed embodiment makes moving object be located at the user of AR equipment by adjusting AR scene It within angular field of view, keeps the user perspective range of AR equipment constant, does not need user and rotate body or head to find activity Role or window, it is user-friendly, it can be improved user experience.
Fig. 2 is a kind of flow chart of scene method of adjustment shown according to an exemplary embodiment.As shown in Fig. 2, in Fig. 1 On the basis of illustrated embodiment, this disclosure relates to scene method of adjustment may comprise steps of 201-205:
In step 201, the location information of moving object in AR scene is obtained.
In step 202, according to the location information of moving object and the user perspective range of AR equipment, moving object is determined Position and AR equipment user perspective range deviation value.
It is exemplary, according to the location information of the moving object, determine the central point of the moving object;According to AR equipment User perspective range, determine the optic centre point of the user perspective range of the AR equipment;Then, the moving object is calculated Central point and the AR equipment user perspective range optic centre point difference, the difference is determined as the activity The deviation value of the user perspective range of the position of object and the AR equipment.
In step 203, judge whether deviation value is higher than preset threshold;When deviation value is higher than preset threshold, step is gone to Rapid 204;When deviation value is not higher than preset threshold, process terminates.
It is exemplary, when deviation value is higher than preset threshold, assert that some or all of described moving object is in the AR Except the user perspective range of equipment.When deviation value is not higher than preset threshold, it is described to assert that the moving object is completely in Within the scope of the user perspective of AR equipment.
In step 204, the adjusting parameter of AR scene is determined according to deviation value.
In step 205, AR scene, moving object in AR scene after the adjustment are adjusted according to the adjusting parameter of AR scene Within the scope of user perspective in AR equipment.
The technical scheme provided by this disclosed embodiment is regarded by the user of position and the AR equipment to moving object The deviation value of angular region is analyzed, and when deviation value is higher than preset threshold, assert some or all of moving object place Except the user perspective range of the AR equipment, adjustment AR scene make moving object be located at AR equipment user perspective range it It is interior, it keeps the user perspective range of AR equipment constant, does not need user and rotate body or head to find movable role or window, Facilitate operation.
In a kind of possible embodiment, AR equipment can support scene intelligent adjustment function, when user opens scene intelligence It is not in user perspective range when AR equipment recognizes active window in AR scene or movable role after function capable of being adjusted When interior, AR equipment rotates adjustment AR scene automatically, and active window or activity point of view are adjusted within the scope of user perspective.
The technical scheme provided by this disclosed embodiment cooperates user by rotating adjustment AR scene automatically, and user is not With transformation visual angle, AR equipment automatically by AR scene activity point of view or window etc. give user's exhibition by way of rotating AR scene Show, it is user-friendly without user's rotation body or head to find movable role or window, improve user experience.
Fig. 3 is a kind of flow chart of scene method of adjustment shown according to an exemplary embodiment.As shown in figure 3, in Fig. 1 On the basis of illustrated embodiment, this disclosure relates to scene method of adjustment may comprise steps of 301-303:
In step 301, the location information of moving object in the camera acquisition AR scene of AR equipment is called.
In step 302, according to the location information of moving object and the user perspective range of AR equipment, AR scene is determined Adjusting parameter.
In step 303, AR scene, moving object in AR scene after the adjustment are adjusted according to the adjusting parameter of AR scene Within the scope of user perspective in AR equipment.
The technical scheme provided by this disclosed embodiment, it is AR described by calling the camera of AR equipment that can collect The location information of moving object in scape, then according to the location information of the moving object and the user perspective range of AR equipment, Adjustment AR scene is located at moving object within the scope of the user perspective of AR equipment, does not need user and rotates body or head to seek Movable role or window are looked for, it is user-friendly.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of scene adjustment device shown according to an exemplary embodiment;The device can be using each Kind of mode is implemented, for example, in AR equipment implementing device all components, alternatively, implementing in a coupled manner in AR equipment side Component in device;The device can by software, hardware or both be implemented in combination with it is above-mentioned this disclosure relates to method;Such as Shown in Fig. 4, scene adjustment device includes: to obtain module 401, determining module 402 and scene adjustment module 403, in which:
Module 401 is obtained to be configured as obtaining the location information of moving object in AR scene;
Determining module 402 is configured as the user perspective range of location information and AR equipment according to the moving object, Determine the adjusting parameter of the AR scene;
Scene adjustment module 403 is configured as adjusting the AR scene according to the adjusting parameter of the AR scene, is adjusting Moving object described in AR scene afterwards is within the scope of the user perspective of the AR equipment.
The device that the embodiment of the present disclosure provides can be used in executing the technical solution of embodiment illustrated in fig. 1, executive mode Similar with beneficial effect, details are not described herein again.
In a kind of possible embodiment, as shown in figure 5, the scene adjustment device shown in Fig. 4 can also include really Cover half block 402 is configured to include: that deviation value determines that submodule 501 and adjusting parameter determine submodule 502, in which:
Deviation value determines that submodule 501 is configured as user's view of the location information and AR equipment according to the moving object Angular region determines the deviation value of the position of the moving object and the user perspective range of the AR equipment;
Adjusting parameter determines that submodule 502 is configured as when the deviation value is higher than preset threshold, according to the deviation Value determines the adjusting parameter of the AR scene.
In a kind of possible embodiment, the deviation value determines submodule 501, according to the position of the moving object Information determines the central point of the moving object, determines that the user of the AR equipment regards according to the user perspective range of AR equipment The optic centre point of angular region, in the vision for calculating the central point of the moving object and the user perspective range of the AR equipment The difference is determined as the deviation of the position of the moving object and the user perspective range of the AR equipment by the difference of heart point Value.
In a kind of possible embodiment, the module 401 that obtains is called described in the camera acquisition of the AR equipment The location information of moving object in AR scene.
Fig. 6 is a kind of block diagram of scene adjustment device 600 shown according to an exemplary embodiment, and scene adjusts device 600 can adopt in various manners to implement, for example, in AR equipment implementing device all components, or in AR equipment side with coupling Component in the mode implementing device of conjunction;Scene adjusts device 600
Processor 601;
Memory 602 for storage processor executable instruction;
Wherein, processor 601 is configured as:
Obtain the location information of moving object in AR scene;
According to the location information of the moving object and the user perspective range of AR equipment, the adjustment of the AR scene is determined Parameter;
The AR scene, moving object described in AR scene after the adjustment are adjusted according to the adjusting parameter of the AR scene Within the scope of user perspective in the AR equipment.
In one embodiment, above-mentioned processor 601 is also configured to:
According to the location information of the moving object and the user perspective range of AR equipment, the position of the moving object is determined Set the deviation value with the user perspective range of the AR equipment;
When the deviation value is higher than preset threshold, the adjusting parameter of the AR scene is determined according to the deviation value.
In one embodiment, above-mentioned processor 601 is also configured to:
According to the location information of the moving object, the central point of the moving object is determined;
According to the user perspective range of AR equipment, the optic centre point of the user perspective range of the AR equipment is determined;
The difference of the optic centre point of the central point of the moving object and the user perspective range of the AR equipment is calculated, The difference is determined as to the deviation value of the position of the moving object and the user perspective range of the AR equipment.
In one embodiment, above-mentioned processor 601 is also configured to:
The camera of the AR equipment is called to acquire the location information of moving object in the AR scene.
In one embodiment, above-mentioned processor 601 is also configured to:
The moving object includes at least: active window or movable role.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is a kind of block diagram of scene adjustment device shown according to an exemplary embodiment;It is suitable that scene adjusts device 700 For AR equipment;It may include following one or more components that scene, which adjusts device 700: processing component 702, memory 704, electricity Source component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714, with And communication component 716.
Processing component 702 usually control scene adjustment device 700 integrated operation, such as with display, call, data Communication, camera operation and record operate associated operation.Processing component 702 may include one or more processors 720 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 702 may include one or more Module, convenient for the interaction between processing component 702 and other assemblies.For example, processing component 702 may include multi-media module, To facilitate the interaction between multimedia component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support to adjust the operation of device 700 in scene.These The example of data includes the instruction of any application or method for operating on scene adjustment device 700, contacts number According to, telephone book data, message, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memories Equipment or their combination are realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 706 provides electric power for the various assemblies that scene adjusts device 700.Power supply module 706 may include electricity Management system, one or more power supplys and other to generate, manage, and distribute electric power associated with device 700 is adjusted for scene Component.
Multimedia component 708 includes adjusting the screen of one output interface of offer between device 700 and user in scene. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch or sliding action Boundary, but also detect and touch or the relevant duration and pressure of slide.In some embodiments, multimedia group Part 708 includes a front camera and/or rear camera.When scene adjustment device 700 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when scene adjustment device 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, wheat Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 704 or warp It is sent by communication component 716.In some embodiments, audio component 710 further includes a loudspeaker, for exporting audio letter Number.
I/O interface 712 provides interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, provides various aspects for adjusting device 700 for scene Status assessment.For example, sensor module 714, which can detecte scene adjustment device 700, opens/closes state, the phase of component To positioning, such as component is the display and keypad that scene adjusts device 700, and sensor module 714 can also detect scene The position change of device 700 or scene adjustment 700 1 components of device is adjusted, user deposits with what scene adjustment device 700 contacted Or be not present, scene adjusts the temperature change of 700 orientation of device or acceleration/deceleration and scene adjustment device 700.Sensor group Part 714 may include proximity sensor, be configured to detect the presence of nearby objects without any physical contact.It passes Sensor component 714 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications.One In a little embodiments, which can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure biography Sensor or temperature sensor.
Communication component 716 is configured to facilitate wired or wireless way between scene adjustment device 700 and other equipment Communication.Scene adjustment device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their group It closes.In one exemplary embodiment, communication component 716 receives the broadcast from external broadcasting management system via broadcast channel Signal or broadcast related information.In one exemplary embodiment, communication component 716 further includes near-field communication (NFC) module, with Promote short range communication.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, scene adjustment device 700 can be by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 704 of instruction, the processor 720 that above-metioned instruction can be adjusted device 700 by scene is executed to complete above-mentioned side Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Fig. 8 is a kind of block diagram of scene adjustment device shown according to an exemplary embodiment.For example, scene adjusts device 800 may be provided as a server.It includes processing component 802 that scene, which adjusts device 800, further comprises one or more Processor, and the memory resource as representated by memory 803, for store can by the instruction of the execution of processing component 802, Such as application program.The application program stored in memory 803 may include it is one or more each correspond to one The module of group instruction.In addition, processing component 802 is configured as executing instruction, to execute the above method.
Scene adjustment device 800 can also include that a power supply module 806 is configured as executing scene adjustment device 800 Power management, a wired or wireless network interface 805 are configured as scene adjustment device 800 being connected to network and one Input and output (I/O) interface 808.Scene adjustment device 800 can be operated based on the operating system for being stored in memory 803, example Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium by scene adjust device 700 or Scene adjust device 800 processor execute when so that scene adjustment device 700 or scene adjustment device 800 be able to carry out as Lower scene method of adjustment, method include:
Obtain the location information of moving object in virtual reality technology AR scene;
According to the location information of the moving object and the user perspective range of AR equipment, the adjustment of the AR scene is determined Parameter;
The AR scene, moving object described in AR scene after the adjustment are adjusted according to the adjusting parameter of the AR scene Within the scope of user perspective in the AR equipment.
It is in one embodiment, described according to the location information of the moving object and the user perspective range of AR equipment, Determine the adjusting parameter of the AR scene, comprising:
According to the location information of the moving object and the user perspective range of AR equipment, the position of the moving object is determined Set the deviation value with the user perspective range of the AR equipment;
When the deviation value is higher than preset threshold, the adjusting parameter of the AR scene is determined according to the deviation value.
It is in one embodiment, described according to the location information of the moving object and the user perspective range of AR equipment, Determine the deviation value of the position of the moving object and the user perspective range of the AR equipment, comprising:
According to the location information of the moving object, the central point of the moving object is determined;
According to the user perspective range of AR equipment, the optic centre point of the user perspective range of the AR equipment is determined;
The difference of the optic centre point of the central point of the moving object and the user perspective range of the AR equipment is calculated, The difference is determined as to the deviation value of the position of the moving object and the user perspective range of the AR equipment.
In one embodiment, the location information for obtaining moving object in AR scene, comprising:
The camera of the AR equipment is called to acquire the location information of moving object in the AR scene.
In one embodiment, the moving object includes at least: active window or movable role.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of scene method of adjustment characterized by comprising
Obtain the location information of moving object in virtual reality technology AR scene;
According to the location information of the moving object and the user perspective range of AR equipment, the adjustment ginseng of the AR scene is determined Number;
The AR scene is adjusted according to the adjusting parameter of the AR scene, moving object described in AR scene after the adjustment is in Within the scope of the user perspective of the AR equipment.
2. the method according to claim 1, wherein described set according to the location information and AR of the moving object Standby user perspective range determines the adjusting parameter of the AR scene, comprising:
According to the location information of the moving object and the user perspective range of AR equipment, determine the position of the moving object with The deviation value of the user perspective range of the AR equipment;
When the deviation value is higher than preset threshold, the adjusting parameter of the AR scene is determined according to the deviation value.
3. according to the method described in claim 2, it is characterized in that, described set according to the location information and AR of the moving object Standby user perspective range determines the deviation value of the position of the moving object and the user perspective range of the AR equipment, packet It includes:
According to the location information of the moving object, the central point of the moving object is determined;
According to the user perspective range of AR equipment, the optic centre point of the user perspective range of the AR equipment is determined;
The difference for calculating the optic centre point of the central point of the moving object and the user perspective range of the AR equipment, by institute State the deviation value that difference is determined as the position of the moving object and the user perspective range of the AR equipment.
4. the method according to claim 1, wherein it is described obtain AR scene in moving object location information, Include:
The camera of the AR equipment is called to acquire the location information of moving object in the AR scene.
5. the method according to claim 1, wherein the moving object includes at least: active window or activity Role.
6. a kind of scene adjusts device characterized by comprising
Module is obtained, for obtaining the location information of moving object in virtual reality technology AR scene;
Determining module, for determining the AR according to the location information of the moving object and the user perspective range of AR equipment The adjusting parameter of scene;
Scene adjusts module, for adjusting the AR scene according to the adjusting parameter of the AR scene, AR scene after the adjustment Described in moving object be within the scope of the user perspective of the AR equipment.
7. device according to claim 6, which is characterized in that the determining module, comprising:
Deviation value determines submodule, for according to the location information of the moving object and the user perspective range of AR equipment, really The deviation value of the user perspective range of the position and AR equipment of the fixed moving object;
Adjusting parameter determines submodule, is used for when the deviation value is higher than preset threshold, according to deviation value determination The adjusting parameter of AR scene.
8. device according to claim 7, which is characterized in that the deviation value determines submodule, right according to the activity The location information of elephant determines the central point of the moving object;According to the user perspective range of AR equipment, the AR equipment is determined User perspective range optic centre point;Calculate the central point of the moving object and the user perspective range of the AR equipment Optic centre point difference, the difference is determined as to the position of the moving object and the user perspective model of the AR equipment The deviation value enclosed.
9. device according to claim 6, which is characterized in that the acquisition module calls the camera of the AR equipment to adopt Collect the location information of moving object in the AR scene.
10. a kind of scene adjusts device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to realizing method described in any one of claims 1 to 5.
11. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of claims 1 to 5 the method is realized when execution.
CN201810936481.5A 2018-08-16 2018-08-16 Scene adjustment method and device Active CN109255839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810936481.5A CN109255839B (en) 2018-08-16 2018-08-16 Scene adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810936481.5A CN109255839B (en) 2018-08-16 2018-08-16 Scene adjustment method and device

Publications (2)

Publication Number Publication Date
CN109255839A true CN109255839A (en) 2019-01-22
CN109255839B CN109255839B (en) 2023-04-28

Family

ID=65050213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810936481.5A Active CN109255839B (en) 2018-08-16 2018-08-16 Scene adjustment method and device

Country Status (1)

Country Link
CN (1) CN109255839B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium
TWI795762B (en) * 2020-04-26 2023-03-11 大陸商北京外號信息技術有限公司 Method and electronic equipment for superimposing live broadcast character images in real scenes

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014169692A1 (en) * 2013-04-15 2014-10-23 Tencent Technology (Shenzhen) Company Limited Method,device and storage medium for implementing augmented reality
CN106997618A (en) * 2017-04-14 2017-08-01 陈柳华 A kind of method that virtual reality is merged with real scene
CN107122107A (en) * 2017-04-26 2017-09-01 网易(杭州)网络有限公司 Visual angle regulating method, device, medium and electronic equipment in virtual scene
CN107239140A (en) * 2017-05-25 2017-10-10 北京小米移动软件有限公司 Processing method, device and the terminal of VR scenes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014169692A1 (en) * 2013-04-15 2014-10-23 Tencent Technology (Shenzhen) Company Limited Method,device and storage medium for implementing augmented reality
CN106997618A (en) * 2017-04-14 2017-08-01 陈柳华 A kind of method that virtual reality is merged with real scene
CN107122107A (en) * 2017-04-26 2017-09-01 网易(杭州)网络有限公司 Visual angle regulating method, device, medium and electronic equipment in virtual scene
CN107239140A (en) * 2017-05-25 2017-10-10 北京小米移动软件有限公司 Processing method, device and the terminal of VR scenes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈冠臣等: "基于AR的三维城市信息系统设计与实现", 《地理信息世界》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI795762B (en) * 2020-04-26 2023-03-11 大陸商北京外號信息技術有限公司 Method and electronic equipment for superimposing live broadcast character images in real scenes
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium

Also Published As

Publication number Publication date
CN109255839B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN105550637B (en) Profile independent positioning method and device
CN106791893A (en) Net cast method and device
JP2016531362A (en) Skin color adjustment method, skin color adjustment device, program, and recording medium
CN110889382A (en) Virtual image rendering method and device, electronic equipment and storage medium
CN107680033A (en) Image processing method and device
CN106210543B (en) Imaging apparatus control method and device
CN107330868A (en) image processing method and device
CN103970500A (en) Method and device for displaying picture
CN110049221B (en) Shooting method and mobile terminal
CN108154466A (en) Image processing method and device
CN107977934A (en) Image processing method and device
CN109840939A (en) Three-dimensional rebuilding method, device, electronic equipment and storage medium
KR20220005087A (en) Filming method and terminal
CN107341777A (en) image processing method and device
CN116097120A (en) Display method and display device
CN108924422B (en) Panoramic photographing method and mobile terminal
CN106503682A (en) Crucial independent positioning method and device in video data
CN108319363A (en) Product introduction method, apparatus based on VR and electronic equipment
CN110782532A (en) Image generation method, image generation device, electronic device, and storage medium
CN108776957A (en) Face image processing process and device
CN109542285A (en) Image processing method and device
CN109255839A (en) Scene method of adjustment and device
CN111416935A (en) Shooting method and electronic equipment
US10270963B2 (en) Angle switching method and apparatus for image captured in electronic terminal
CN109726614A (en) 3D stereoscopic imaging method and device, readable storage medium storing program for executing, electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant