WO2018227757A1 - Prompting method and vr device - Google Patents

Prompting method and vr device Download PDF

Info

Publication number
WO2018227757A1
WO2018227757A1 PCT/CN2017/098593 CN2017098593W WO2018227757A1 WO 2018227757 A1 WO2018227757 A1 WO 2018227757A1 CN 2017098593 W CN2017098593 W CN 2017098593W WO 2018227757 A1 WO2018227757 A1 WO 2018227757A1
Authority
WO
WIPO (PCT)
Prior art keywords
subject
preset position
determining
positional relationship
images
Prior art date
Application number
PCT/CN2017/098593
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 华为技术有限公司
Publication of WO2018227757A1 publication Critical patent/WO2018227757A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Definitions

  • the present application relates to the field of terminals, and in particular, to a prompting method and a VR device.
  • VR virtual reality
  • the embodiment of the invention provides a prompting method and a VR device, which are used for acquiring an image and issuing an early warning prompt according to the image.
  • a first aspect of the embodiments of the present invention provides a prompting method, where the method is applied to a VR device, the method includes: the VR device collects at least two images by using a camera, and any two images of the at least two images are from different At the time point, the at least two images have the same subject, and in some possible embodiments, the subject may be a hand or a dice. Then, the VR device may determine a change in the positional relationship between the subject and the preset position according to the at least two images, and issue a prompt according to the positional relationship change between the subject and the preset position.
  • the prompt includes an alarm sound, a closed VR video, a text prompt on the screen of the VR device, or an image prompt, which is not limited herein.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • a first implementation manner of the first aspect of the embodiment of the present invention includes: determining, by the VR device, the location of the object and the preset location by using the at least two images a relationship change, the positional relationship change is used to indicate a distance between the subject and the preset position, and a motion trajectory of the subject, if the distance between the subject and the preset position is shortened and the moving direction of the subject For the preset position, it can be considered that an abnormal situation has occurred, and the VR device can issue a prompt.
  • the positional relationship change between the two can be determined by the distance between the subject and the preset position and the moving direction of the subject, and the distance between the two is shortened according to the positional relationship change, and the moving direction of the subject Whether or not the preset position is determined is a method for judging whether or not an abnormal condition exists.
  • a second implementation manner of the first aspect of the embodiments of the present invention includes: including, in the at least two images, a first image and a second image, the first image and the The photographing time of the second image is different. Assuming that the first image is before the second image, the VR device respectively determines a first position of the subject according to the first image, and determines the photographing according to the second image. The second position of the object. Since the photographing time of the first image and the second image are different, after determining the first position and the second position of the subject, the first position and the first The second position is the motion trajectory of the subject.
  • the VR device may determine a change in the positional relationship with the preset position according to the motion trajectory of the subject, and in some feasible embodiments, the preset position is relative to the The VR device is in a fixed position, such as a pocket, or a backpack. In some possible embodiments, the preset position is within the shooting range of the camera of the VR device, such as a backpack or other VR device that can be photographed at the chest.
  • the manner of determining the motion trajectory of the subject is clarified .
  • a third implementation manner of the first aspect of the embodiment of the present invention includes: the VR device can acquire a motion track of the VR device, because the preset location is relative to the VR device For a fixed position, the motion track of the preset position can be determined by the motion track, and the VR device can determine the subject and the preset position according to the motion track of the subject and the motion track of the preset position. The positional relationship changes.
  • the motion track of the preset position may be determined according to the motion track of the VR device, and then the positional relationship and the positional relationship between the subject and the preset position are determined. Variety.
  • a fourth implementation manner of the first aspect of the embodiments of the present invention includes: the VR device can collect motion information in real time through at least one sensor, obtain motion data, and generate motion data according to the motion data. Determine the motion trajectory of the VR device.
  • the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device is determined based on the motion data, the determination manner of the motion trajectory of the VR device is determined.
  • a fifth implementation manner of the first aspect of the embodiments of the present invention includes: determining, by the VR device, a first maximum grayscale block of the first image and the second image, respectively a second maximum gray scale block, and then determining a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then determining a first position of the first centroid and a second centroid of the second centroid Two locations.
  • the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device can be accurately determined.
  • a second aspect of the embodiments of the present invention provides a prompting method, where the method is applied to a VR device, including: the VR device collects at least two images by using a camera, and the two images are taken at different time points, such as a video. Two adjacent frames in the middle, the at least two images have the same subject, and the subject may be a hand or a dice, or other items showing danger.
  • the VR device can respectively determine a first maximum gray block of the first image and a second maximum gray block of the second image, and determine a first centroid and the second maximum gray of the first maximum gray block a second centroid of the block, and determining a first position of the first centroid and a second position of the second centroid, wherein the first position and the second position are positions of the subject at different points in time, Then the first position and the second position are motion trajectories of the subject.
  • the motion trajectory of the subject is determined, if the VR device is moving, it is also necessary to determine its own motion trajectory, and the VR device can collect its own motion information in real time through at least one sensor, obtain motion data, and pass the The motion data determines the motion trajectory of the VR device.
  • the preset position is a fixed position relative to the VR device, and the motion trajectory of the preset position may be determined according to the motion trajectory of the VR device. In some feasible embodiments, in order to ensure that the situation can be accurately determined, the preset position may be within the shooting range of the camera of the VR device.
  • the VR device can determine the positional relationship change of the subject with the preset position. If the positional relationship change indicates that the distance between the subject and the preset position is shortened, and the movement of the subject If the direction is the preset position, the VR device can issue a prompt, including an alarm sound, turning off the VR video, a text prompt on the screen of the VR device, or an image prompt.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • a third aspect of the embodiments of the present invention provides a VR device, including an acquisition module and a prompt module.
  • the acquiring module collects at least two images having the same subject through the camera, and the prompting module issues a prompt according to the positional relationship change between the subject and the preset position, and the positional relationship between the subject and the preset position changes.
  • the VR device is determined based on the at least two images.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • the first implementation manner of the third aspect of the embodiment of the present invention includes: the prompting module includes a determining submodule and a prompting submodule, wherein the determining determining submodule is based on the at least two images Determining a change in the positional relationship between the subject and the preset position, and if the distance between the subject and the preset position is shortened according to the change in the positional relationship, and the moving direction of the subject is the preset position, The prompt submodule issues a prompt.
  • the second implementation manner of the first aspect of the embodiment of the present invention includes a first determining unit, a second determining unit, and a third determining unit, wherein the first determining unit respectively according to the at least The first image and the second image of the two images determine a first position and a second position of the subject, and then the second determining unit determines a motion trajectory of the subject according to the first position and the second position, Then the third determining unit is based on the motion track of the subject
  • the manner of determining the motion trajectory of the subject is clarified .
  • the acquiring unit acquires a motion track of the VR device, and then the fourth determining unit determines, according to the motion track of the VR device The motion trajectory of the preset position, and then the third determining unit determines a change in the positional relationship between the subject and the preset position according to the motion trajectory of the subject and the motion trajectory of the preset position.
  • the motion track of the preset position may be determined according to the motion track of the VR device, and then the positional relationship and the positional relationship between the subject and the preset position are determined. Variety.
  • the collecting subunit collects motion information in real time by using at least one sensor to obtain motion data, and then determines that the subunit is configured according to the The motion data determines the motion trajectory of the VR device.
  • the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device is determined based on the motion data, the determination manner of the motion trajectory of the VR device is determined.
  • the first determining subunit respectively determines the first maximum grayscale block and the second image of the first image a second maximum gray scale block, and then the second determining subunit determines a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then a third The determining subunit determines a first position of the first centroid and a second position of the second centroid.
  • the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device can be accurately determined.
  • a fourth aspect of the embodiments of the present invention provides a VR device.
  • the acquiring module collects at least two images by using a camera, where the at least two images have the same subject, in some feasible embodiments.
  • the subject includes a hand or a dice.
  • the at least two images include a first image and a second image, and then the first determining unit determines the first position and the second position of the subject according to the first image and the second image, respectively, and then the first determining subunit Determining a first maximum grayscale block of the first image and a second maximum grayscale block of the second image, respectively, the second determining subunit may determine a first centroid and the second maximum of the first largest grayscale block The second centroid of the gray scale block, such that the third determining subunit can determine the first position of the first centroid and the second position of the second centroid.
  • the collecting sub-unit can collect the motion information in real time through the at least one sensor, and obtain the motion data, so that the determining subunit determines the motion trajectory of the VR device according to the motion data.
  • the preset position is relative to the The VR device is a fixed position
  • the fourth determining unit may determine a motion trajectory of the preset position according to the motion trajectory of the VR device
  • the third determining unit is configured according to the motion track of the object and the preset position.
  • the motion trajectory determines a change in the positional relationship of the subject with the preset position.
  • the preset position is within the shooting range of the camera of the VR device.
  • the prompting sub-module may issue a prompt, in some feasible embodiments.
  • the prompt includes an alarm sound, a VR video off, a text prompt or an image prompt on the screen of the VR device.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • a fifth aspect of the embodiments of the present invention provides a VR device, including:
  • a processor a memory
  • one or more applications wherein the one or more applications are stored in the memory, the one or more applications including instructions that, when executed by the VR device, cause the The VR device performs the method of the above aspects.
  • a sixth aspect of the embodiments of the present invention provides a computer program product, characterized in that, when the computer program product is run on a VR device, the VR device is caused to perform the method of the above aspects.
  • a seventh aspect of an embodiment of the present invention provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • FIG. 1 is a schematic flowchart diagram of a prompting method in an embodiment of the present application
  • FIG. 2 is another schematic flowchart of a prompting method in an embodiment of the present application
  • 3-1 is a schematic diagram of a VR device according to an embodiment of the present application.
  • FIG. 3-2 is another schematic diagram of a VR device according to an embodiment of the present application.
  • FIG. 3-3 is another schematic diagram of a VR device according to an embodiment of the present application.
  • 3-4 is another schematic diagram of a VR device according to an embodiment of the present application.
  • FIG. 3-5 another schematic diagram of a VR device according to an embodiment of the present application.
  • FIG. 3-6 is another schematic diagram of a VR device according to an embodiment of the present application.
  • 4-1 is a schematic diagram of a collection of terminals and VR components in the embodiment of the present application.
  • 4-2 is a schematic diagram of a screen effect of a terminal in an embodiment of the present application.
  • 4-3 is a schematic diagram of a main device of a terminal in an embodiment of the present application.
  • 5-1 is a flowchart of operation of a VR device in the present application in the embodiment of the present application;
  • 5-2 is a schematic diagram of a motion trajectory of a VR device from point A to point B in the embodiment of the present application;
  • 5-3 is a schematic diagram of a fixed position coordinate system in the embodiment of the present application.
  • FIG. 5-4 is a schematic diagram of a VR coordinate system according to an embodiment of the present application.
  • 5-5 are schematic diagrams of coordinates of point C in the embodiment of the present application.
  • 5-6 are schematic diagrams of photographing effects in the embodiment of the present application.
  • FIG. 5-7 are schematic diagrams of images collected by a DVS camera in the embodiment of the present application.
  • 5-9 are schematic diagrams showing a centroid of a gray scale block in an embodiment of the present application.
  • 5-11 are schematic diagrams of coordinates of a point D in a VR device coordinate system according to an embodiment of the present application.
  • 5-12 are schematic diagrams showing coordinates of point D in a fixed position coordinate system in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of the early warning system E in the embodiment of the present application.
  • FIG. 7-1 is a schematic flowchart of an embodiment of an embodiment of the present application.
  • FIG. 7-2 is a schematic diagram of a user using a VR device in the embodiment of the present application.
  • FIG. 7-3 is a schematic diagram of a user walking in the embodiment of the present application.
  • the VR device can determine a fixed point A and a fixed point coordinate system with the point A as the origin in the embodiment of the present application;
  • FIG. 7-6 is a schematic diagram of a moving hand intercepted by a DVS camera in the embodiment of the present application.
  • FIGS. 7-7 are schematic diagrams of grayscale blocks and centroids of an image of a moving hand in an embodiment of the present application.
  • 7-9 are coordinates of a VR device coordinate system of point F in the embodiment of the present application.
  • FIGS. 7-11 are schematic diagrams of valuable items of a user in an embodiment of the present application.
  • FIG. 7-13 is a schematic diagram showing a moving direction of point F and a positional relationship with G in the embodiment of the present application;
  • FIG. 7-14 are schematic diagrams showing warnings on a screen of a VR device in the embodiment of the present application.
  • FIGS. 7-15 are schematic diagrams showing an early warning of displaying text on a screen of a VR device according to an embodiment of the present application.
  • FIGS. 7-16 are schematic diagrams of an early warning of a VR device emitting a strong light or an alarm sound according to an embodiment of the present application.
  • the VR device when the VR device is used by the user, the VR device can detect at least two images according to the at least two images, and if there is an abnormal situation, the VR device can issue a prompt to make the user Be alert to improve safety.
  • the embodiment of the present application provides a prompting method.
  • the prompting method in the embodiment of the present application includes steps 101 and 102 .
  • the VR device collects at least two images through the camera, and the at least two images have the same subject. 102.
  • the VR device sends a prompt according to the change of the positional relationship between the subject and the preset position, and the positional relationship between the subject and the preset position is changed by the VR device according to the at least two images.
  • FIG. 2 it is a schematic flowchart of a prompting method. The method includes steps 201-210.
  • the VR device collects at least two images through a camera.
  • the VR device may have one or more cameras built in or externally used for taking an image.
  • the VR device can capture at least two images at different time points by using any built-in camera, such as at least two frames in a video segment obtained by the screen shooting, or at least in the pre-made time. Two images are not limited here.
  • the at least two images are used by the VR device to determine whether there is an abnormal situation, such as a person or an object approaching, and the target is a valuable item on the body, and if there is an abnormal situation, a prompt may be issued.
  • the at least two images may be photographed to the same subject, and the subject may be a human hand or a dice, or other object that may cause a threat, if it is determined that the photograph is abnormal.
  • a prompt can be issued to alert the user to improve the security of the user.
  • the camera may be a DVS camera, and the DVS camera is used to capture a moving image. If no object in the moving image has motion, no subject may be captured, and if there is a moving object, the camera The DVS camera can determine the relevant subject.
  • the VR device may set at least two DVS cameras at different positions for determining the position of the human eye through at least two DVS cameras when capturing a moving subject. The principle determines the position of the subject relative to itself.
  • the position of the subject may be determined by the following method. Specifically, refer to step 202-step 204.
  • the VR device determines a first maximum grayscale block of the first image and a second largest grayscale block of the second image, respectively.
  • the image of the subject in the image can be determined by determining the maximum grayscale block of the image.
  • the at least two images include the first image and the second image, the largest grayscale block in the first image and the second image may be separately determined.
  • the at least two images may be only the first image and the second image, and may further include other multiple images.
  • the following steps 203 to 204 in the embodiment of the present application the first image and the second image The image is taken as an example for explanation.
  • the VR device determines a first centroid of the first maximum grayscale block and a second centroid of the second largest grayscale block.
  • the centroid of the maximum gray scale block may be determined, and the centroid is used as the centroid of the subject. Then the VR device can determine the first centroid and the second centroid according to the first maximum gray scale block and the second maximum gray scale block.
  • the VR device determines a first location of the first centroid and a second location of the second centroid.
  • the VR device can determine the first position of the first image and the second position of the second image of the subject in the at least two images according to the first centroid and the second centroid.
  • the VR device determines a motion trajectory of the subject according to the first location and the second location.
  • two different positions of the object at two different time points may be determined, and the subject may be determined.
  • Motion trajectories at two different points in time When more than two images are taken, such as a video, the motion trajectory of the subject in the video can be determined.
  • the VR device may be stationary or mobile, and if the subject is determined to gradually approach the VR device with respect to the motion track of the VR device, The VR device is based on whether or not to issue a prompt.
  • the motion trajectory of the subject relative to the VR device may gradually approach the VR device. In this case, it should not be judged. It is an abnormal situation. Therefore, in the embodiment of the present application, the motion trajectory of the VR device can be added as a consideration factor to determine whether a prompt should be issued. Specifically, please refer to step 206-step 208.
  • the VR device collects motion information of the VR device in real time through at least one sensor to obtain motion data.
  • the VR device can collect its own motion information in real time through at least one built-in sensor to obtain motion data.
  • the sensor may be a motion sensor or an inertial sensor, and the motion information of the VR device is obtained by the sensor to obtain motion data, such as speed and direction, which are not limited herein.
  • the VR device determines a motion trajectory of the VR device by using the motion data.
  • the motion trajectory of the VR device can be determined according to the speed and direction.
  • the VR device may use the starting point as a fixed point, and obtain the speed and direction of each time point after starting from the fixed point by using the fixed point, thereby determining the displacement and direction of each time period, thereby obtaining The position of the VR device relative to the fixed point is determined relative to the position of the fixed point at each point in time.
  • the preset position may be a position of an item that the user needs to protect, such as a critical part of the body or an important part, such as a placement position of a valuable object, which is not limited herein.
  • the preset position A fixed position that can be fixed relative to the VR device, that is, when determining the position of the VR device relative to a certain fixed point, that is, determining the position of the preset position relative to the fixed point, when determining that the VR device is relative to the certain
  • the motion trajectory of a fixed point that is, the trajectory of the preset position relative to the fixed point is determined.
  • the preset position may be within the shooting range of the camera of the VR device.
  • the camera of the VR device when the camera of the VR device is adjustable in angle, the camera may be set. Automatically aligning the preset position, or the user adjusts the camera to the preset position so that the preset position is placed within the range monitored by the camera; if the camera of the VR device is not adjustable, Place valuables and the like on the position that the camera of the VR device can capture, and use this position as a preset position to enhance the monitoring of the preset position.
  • the VR device determines, according to the motion track of the object and the motion track of the preset position, a change in the positional relationship between the object and the preset position.
  • the motion trajectory of the subject relative to the VR device and the motion trajectory of the VR device when the motion trajectory of the subject relative to the VR device and the motion trajectory of the VR device are determined, the motion trajectory of the subject relative to the fixed position may be determined thereby, thereby determining the Whether the subject is moving to avoid a situation in which the erroneous judgment is made that the subject is abnormal due to the VR device gradually approaching the subject due to the preset position.
  • the VR device may determine the position of the subject and the preset position according to the motion track of the subject relative to the fixed position and the motion track of the preset position relative to the fixed position. Relationship changes.
  • the other side of the motion is stationary, or both are stationary, or both have motion, so the positional relationship between the two can be gradually separated.
  • One party gradually approaches the other, both are in motion but the distance is constant, etc., and is not limited here.
  • the position change relationship is displayed, the subject is moving, and the moving direction is the preset position, the subject is considered to be gradually approaching the preset position. If it is determined that the subject continues to be close to the preset position, and the distance is already less than the preset distance, then an abnormal situation may be considered, and a prompt may be issued.
  • the VR device can issue a prompt.
  • the VR device may issue a prompt, which may include displaying text on the user's VR video, such as "There is an abnormal situation, please pay attention to personal safety", or pop up an animation or other image information to indicate There is an abnormal situation, or an alarm sounds to indicate that there is an abnormal situation.
  • a strong light can also be emitted. If the other party is a theft or other abnormal situation, the other party can indicate that he or she has detected that the VR video can be turned off. , open the rear camera to see the situation in front of you, not limited here.
  • an embodiment of the present application further provides a VR device 300, including:
  • the acquiring module 301 can collect images having the same subject by using a camera. If at least two images are acquired at different time points, the prompting module 302 can determine a positional relationship between the subject and the preset position, and A prompt is issued according to the change in the positional relationship.
  • the VR device 300 can capture at least two images, and the abnormality can be indicated according to the at least two images. If an abnormal situation exists, a prompt can be issued to improve the alert for the user to improve security. Sex.
  • the prompting module 302 may include a determining sub-module 3022 and a prompting sub-module 3021, wherein the determining sub-module 3022 determines the subject according to the at least two images and the Preset position In the positional relationship of each image, the change of the positional relationship may be determined. If the abnormality is indicated according to the change of the positional relationship, if the distance between the subject and the preset position is shortened, and the moving direction of the subject is the pre- With the location set, the prompt sub-module 3022 can issue a prompt.
  • the determining submodule 3021 may include a first determining unit 30211, a second determining unit 30212, and a third determining unit 30213.
  • the first determining unit 30211 may determine a first position of the subject according to the first image, and determine a second of the subject according to the second image position. If there is a third image, the VR device may determine the third position of the subject according to the third determination, so at least two positions of the subject may be determined according to the at least two images, and then the second determining unit 30212 A motion trajectory of the subject is determined according to the at least two positions, that is, at least two positions at different time points.
  • the third determining unit 30213 determines a change in the positional relationship with the preset position according to the motion trajectory of the subject, and the positional relationship change may be that the two gradually move away, one of the parties gradually approaches the other, and both are moving but the distance is not Change, etc., not limited here.
  • the manner of determining the motion trajectory of the subject is clarified .
  • the determining submodule 3021 further includes an obtaining unit 30214 and a fourth determining unit 30215.
  • the obtaining unit 30214 can obtain the motion track of the VR device 300. Since the preset position is a fixed position with respect to the VR device 300, the fourth determining unit 30215 can determine the motion track according to the motion track of the VR device 300. The motion track of the preset position, and then the third determining unit 30213 determines a change in the positional relationship between the subject and the preset position according to the motion track of the subject and the motion track of the preset position.
  • the motion trajectory of the preset position may be determined according to the motion trajectory of the VR device 300, and then the positional relationship between the subject and the preset position may be determined. The positional relationship changes.
  • the obtaining unit 30214 further includes a collecting subunit 302141 and a determining subunit 302142, wherein the collecting subunit 302141 can collect motion information in real time through at least one sensor.
  • the motion data includes speed and motion direction of the VR device at different time points, so that the determining subunit 302142 determines a motion trajectory of the VR device 300 according to the motion data.
  • the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device 300 is determined based on the motion data, the determination manner of the motion trajectory of the VR device 300 is determined.
  • the second determining unit 3012 may further include a first determining subunit 302121 and a second determining subunit 302122 and a third determining subunit 302123.
  • the first determining subunit 302121 is configured to respectively determine a first maximum grayscale block of the first image and a second largest grayscale block of the second image, so that the second determining subunit 302122 determines a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then a third determining subunit 302123 determines a first position of the first centroid and a second position of the second centroid, Then the second determining unit may determine at least two locations of the subject.
  • the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device 300 can be accurately determined.
  • the embodiment of the present invention further provides a VR device 300.
  • the acquisition module 301 can collect images having the same subject through a camera. If at least two images are acquired at different time points, the first of the at least two images An image and a second image, the first determining unit 30211 may determine a first position of the subject according to the first image, and determine a second position of the subject according to the second image. If there is a third image, the VR device may determine the third position of the subject according to the third determination, so at least two positions of the subject may be determined according to the at least two images.
  • the first determining subunit 302121 is then configured to respectively determine a first maximum grayscale block of the first image and a second largest grayscale block of the second image, such that the second determining subunit 302122 determines the first maximum grayscale a first centroid of the block and a second centroid of the second largest grayscale block, and then the third determining subunit 302123 determines a first location of the first centroid and a second location of the second centroid, then the second determining unit At least two positions of the subject can be determined.
  • the collection subunit 302141 may collect motion information in real time by using at least one sensor to obtain motion data, where the motion data includes speed and motion direction of the VR device at different time points, so that the determining subunit 302142 is based on the motion data.
  • the motion trajectory of the VR device 300 is determined. Therefore, the fourth determining unit 30215 can determine the motion trajectory of the preset position according to the motion trajectory of the VR device 300, and then the third determining unit 30213 determines the motion trajectory of the subject and the motion trajectory of the preset position. The positional relationship between the subject and the preset position changes.
  • the third determining unit 30213 determines a change in the positional relationship with the preset position according to the motion trajectory of the subject, and the positional relationship change may be that the two gradually move away, one of the parties gradually approaches the other, and both are moving but the distance is not It is not limited here.
  • the position change relationship is displayed, the subject is moving, and the moving direction is the preset position, the subject is considered to be gradually If the object continues to be close to the preset position and the distance is already less than the preset distance, the abnormality may be considered, and the prompting sub-module 3022 may issue a prompt.
  • the VR device may issue a prompt, which may include displaying text on the user's VR video, such as "There is an abnormal situation, please pay attention to personal safety", or pop up an animation or other image information to indicate There is an abnormal situation, or an alarm sounds to indicate that there is an abnormal situation.
  • a strong light can also be emitted. If the other party is a theft or other abnormal situation, the other party can indicate that he or she has detected that the VR video can be turned off. , open the rear camera to see the situation in front of you, not limited here.
  • the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
  • the following describes the function device of the VR device as an example.
  • the following describes the VR device as a terminal and the VR device as an example.
  • the VR device can be a terminal. It can also be a collection of terminals and VR accessories. As long as the related functions can be performed, it is not limited here. Please refer to Figure 4-1, which is a collection of terminals and VR accessories.
  • the VR accessory may be a VR glasses.
  • the terminal screen can achieve the effect shown in FIG. 4-2 (FIG. 4-2, which is a schematic diagram of the screen effect of the terminal), and the image on the left side is viewed by the left eye.
  • FIG. 4-2 which is a schematic diagram of the screen effect of the terminal
  • the image on the left side is viewed by the left eye.
  • the image on the right is viewed by the right eye, and the images on the two sides are slightly different on the screen to simulate the viewing mode of the two eyes.
  • a three-dimensional viewing effect can be obtained.
  • FIG. 4-3 is a schematic diagram of a main device of the terminal A, which may include a mobile phone, a tablet computer, a personal digital assistant (PDA), and a point of sales (Point of Sales, POS), on-board computer and other terminal devices, taking the terminal as a mobile phone as an example:
  • PDA personal digital assistant
  • POS point of sales
  • the mobile phone includes: radio frequency (RF) circuit C-10, memory C-20, input unit C-30, display unit C-40, sensor C-50, audio circuit C-60, wireless Components such as the wireless fidelity (Wi-Fi) module C-70, processor C-80, and power supply C-90.
  • RF radio frequency
  • the handset structure illustrated in Figures 4-3 does not constitute a limitation to a handset, and may include more or fewer components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit C-10 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor C-80. In addition, the uplink data is designed to be sent to the base station.
  • RF circuit C-10 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit C-10 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory C-20 can be used to store software programs and modules, and the processor C-80 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory C-20.
  • the memory C-20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the storage data area may be Stores data created based on the use of the phone (such as audio data, phone book, etc.).
  • the memory C-20 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • Input unit C-30 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit C-30 may include a touch panel C-31 and other VR devices C-32.
  • the touch panel C-31 also called a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like, on any suitable object or accessory on the touch panel C-31 or in touch The operation near the panel C-31), and the corresponding connecting device is driven according to a preset program.
  • the touch panel C-31 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor C-80 is provided and can receive commands from the processor C-80 and execute them.
  • the touch panel C-31 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit C-30 may also include other VR devices C-32.
  • other VR devices C-32 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit C-40 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit C-40 may include a display panel C-41.
  • the display panel C-41 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel C-31 can cover the display panel C-41, and when the touch panel C-31 detects a touch operation on or near it, it is transmitted to the processor C-80 to determine the type of the touch event. Processor C-80 then provides a corresponding visual output on display panel C-41 depending on the type of touch event.
  • the touch panel C-31 and the display panel C-41 are used as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel C may be The -31 integrates with the display panel C-41 to realize the input and output functions of the mobile phone.
  • the handset may also include at least one sensor C-50, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel C-41 according to the brightness of the ambient light, and the proximity sensor may close the display panel C when the mobile phone moves to the ear. -41 and / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • Audio circuit C-60, speaker C-61, and microphone C-62 provide an audio interface between the user and the handset.
  • the audio circuit C-60 can transmit the converted electrical signal of the received audio data to the speaker C-61, and convert it into a sound signal output by the speaker C-61; on the other hand, the microphone C-62 converts the collected sound signal.
  • the electrical signal is received by the audio circuit C-60 and converted into audio data, and then processed by the audio data output processor C-80, sent to the other mobile phone via the RF circuit C-10, or output the audio data to Memory C-20 for further processing.
  • Wi-Fi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive e-mail, browse web pages and access streaming media through the Wi-Fi module C-70. It provides users with wireless broadband Internet access.
  • FIG. 4-3 shows the Wi-Fi module C-70, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor C-80 is the control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory C-20, and calling the memory in the memory C-
  • the data in 20 the various functions of the mobile phone and the processing of data, so as to monitor the mobile phone as a whole.
  • the processor C-80 may include one or more processing units; preferably, the processor C-80 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system and a user interface. And applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor C-80.
  • the mobile phone also includes a power source C-90 (such as a battery) that supplies power to various components.
  • a power source C-90 such as a battery
  • the power source can be logically connected to the processor C-80 through a power management system to manage charging, discharging, and power management through the power management system. And other functions.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the present invention performs data collection on the acquired image by performing motion pattern recognition on the VR device, and then performs image processing, thereby determining whether the distance between the object and itself and whether the object gradually approaches itself, thereby determining whether an early warning is required. If necessary, the user can be notified, so it can effectively help the user to eliminate dangerous situations when using the VR device.
  • FIG. 5-1 is a schematic flowchart of performing the embodiment of the present application by the VR device in the present application:
  • the user can enable the early warning mode on the VR application of the terminal, or enable the early warning mode on the VR accessory (for example, pressing a shortcut key on the VR accessory), which is not limited herein.
  • the VR device can automatically start the early warning mode. For example, after the user wears the VR device, the current geographic location is collected in real time, and the early warning mode is automatically started according to the geographical location information (for example, when the current geographic location is monitored as a relatively large traffic volume) , the warning mode is automatically turned on; or, after the user wears the VR device, the current acceleration is collected in real time, and the early warning mode is automatically turned on when the acceleration reaches a certain threshold (for example, when the current user is in a mobile environment, such as a bus) In the car, the warning mode is automatically turned on).
  • a certain threshold for example, when the current user is in a mobile environment, such as a bus
  • the VR device When the warning mode is turned on, the VR device recognizes its own motion mode through inertial sensors or other sensors to obtain its own motion information, such as motion speed (including real-time speed and average speed), motion direction, displacement distance, and motion. Trajectories, etc., and can represent the position of VR devices, motion trajectories, and other items by calculating points in the coordinate system.
  • the VR device can obtain its own motion data, such as speed, direction, and displacement through the inertial sensor in the motion recognition module, and then process the above data, so that the VR device can obtain its own motion track and real-time.
  • the speed of movement is.
  • Figure 5-2 is a schematic diagram of the motion trajectory from point A to point B using a VR device.
  • the motion trajectory of the VR device is the dotted line from point A to point B, and the VR device is in the process from point A to point B.
  • the speed, direction and displacement are obtained by the inertial sensor, and the motion trajectory and real-time speed are obtained through waveform recognition.
  • FIG. 5-3 it is a schematic diagram of a fixed position coordinate system.
  • the VR device can set the A point as the starting point and set the point to the origin (0, 0, 0) of the fixed position coordinate system, and determine The directions of the x-axis, the y-axis, and the z-axis are used to obtain a fixed-position coordinate system, wherein the x-axis, the y-axis, and the z-axis can be selected at will, as long as the amount is vertical, and generally, the x-axis and the y-axis are set.
  • the axis of the ground plane, z is perpendicular to the ground plane, and its positive direction points to the sky. Since the origin A of the fixed position coordinate system is a fixed point with reference to the earth, the fixed position coordinate system can also be called the earth coordinate system.
  • the coordinates of any point in the path from point A to point B and the point of point B can be determined by inertial sensor and waveform recognition, and point B is set.
  • the coordinates of the fixed position coordinate system are (b1', b2', b3'), that is, the value of the vector AB.
  • a coordinate system also referred to as a VR coordinate system, as shown in FIG. 5-4, is a schematic diagram of the VR coordinate system.
  • the VR coordinate system takes the B point as the origin (0, 0).
  • the x-axis, y-axis, and z-axis directions coincide with the x-axis, y-axis, and z-axis directions of the fixed position coordinate system, so the coordinates of the VR coordinate system at point B are (0, 0, 0),
  • FIG. 1 A schematic diagram of the coordinates of point C.
  • the VR device can convert the coordinates of the VR coordinate system at any point to the coordinates of the fixed position coordinate system, and can be used to determine whether one point is gradually approaching another point.
  • the VR device can acquire an object around the VR device through image acquisition, for example, through a camera of a mobile phone or a camera of the VR glasses.
  • data acquisition can be performed by a motion recognition camera (DVS) on the VR device.
  • DVS motion recognition camera
  • two or more DVSs are built in the VR device, and the DVS is used to capture moving objects, that is, non-moving objects cannot be photographed. The principle of judging the distance between two human eyes is simulated, and the positional relationship between the object and itself is judged by the images taken by the two DVSs.
  • the image acquisition module is used to collect images.
  • images can also be acquired by a color camera.
  • images can also be acquired by a Dynamic Vision Sensor (DVS) camera.
  • the DVS camera is used to capture moving objects, and can only capture moving objects.
  • the captured images can be black and white.
  • Figure 5-6 shows the shooting effect. Some palms are moving, such as waving and intercepting.
  • One of the frames is a black and white rendering of the DVS camera.
  • the position and movement state of the object can be known by the motion pattern recognition, and the position of the object relative to itself can be obtained through image acquisition, and the position of the object can be obtained.
  • the position of the object By recording the object and its position multiple times, it is judged whether the object is gradually approaching itself, and whether it is dangerous or not, whether an early warning is required.
  • the maximum connected domain may be processed for the image, and a grayscale block is obtained.
  • the gray scale block can be considered as an object.
  • Figure 5-8 shows the processing effect of the maximum connected domain.
  • the centroid of the gray block is determined according to the sliding window method, as shown in FIG. 5-9, which is a schematic diagram of the centroid of the gray block, and the centroid is set to point D.
  • the D point in the image is determined, the position of the D point in the three-dimensional space can be determined.
  • the position of the D point is different for different DVS cameras, as shown in FIG. 5-10, and the D points are respectively in the two DVS cameras.
  • Figure 5-12 is the coordinate diagram of the D point in the fixed position coordinate system.
  • the coordinates of the D point relative to the fixed position coordinate system can be calculated.
  • the specific calculation method is Let the coordinates of the fixed position coordinate system of D be (d1', d2', d3'), then:
  • the distance between the two points can be determined.
  • the D point moves relative to the fixed position coordinate
  • point B it can be determined whether point D is getting closer to the VR device.
  • the other two points may also be determined, and the fixed position coordinates of the two points are periodically acquired to determine whether the two points are gradually approaching, which is not limited herein.
  • the warning method can include Displaying text or images on the VR video that the user is watching may also emit a strong light or a sound, etc., which is not limited herein.
  • the VR device can be built with an early warning system E.
  • FIG. 6 is a schematic diagram of the early warning system E.
  • the early warning system E includes a system setting module E1, a motion pattern recognition module E2, and image acquisition.
  • the module E3, the image processing detection module E4, and the warning module E5 are respectively used to run the functions of the above D1-D5.
  • FIG. 7-1 a flow chart of the embodiment is shown.
  • FIG. 7-2 a schematic diagram of the VR device for the user.
  • the user when the user uses the VR device, if the VR device is fully enclosed and worn by the user, the user may not be able to observe surrounding objects and things happening through the glasses.
  • the user uses the VR device outdoors, if there is someone stealing or other dangerous situations, an early warning function is required.
  • the user walks in the outdoor park as an example for description.
  • the VR device automatically starts the early warning function, and may also be opened by the button, or may be opened by a voice command, or may be opened by other means, which is not limited herein.
  • the VR device may be a mobile phone and a VR glasses, or may be an integrated VR device, which is not limited herein.
  • the image acquisition module built in the VR device may include two DVS cameras for capturing an object and determining the position of the observed object in a three-dimensional space.
  • the user walks in the park using the VR device, as shown in FIG. 7-3, which is a schematic diagram of walking for the user.
  • the VR device can determine a fixed point A and a fixed position coordinate system with the point A as the origin.
  • the VR device with the point B as the origin can be determined.
  • a coordinate system in which the value of the vector AB is a coordinate system conversion coefficient ⁇ AB for transforming an arbitrary point between the coordinates of the VR device coordinate system and the coordinates of the fixed position coordinate system.
  • the image of the motion can be obtained by the DVS camera, such as the motion.
  • Human hand please refer to Figure 7-6 for a schematic diagram of the moving hand taken by the DVS camera. Since the VR device has two DVS cameras built in, two DVS cameras respectively capture the image of the hand, and the principle of the human eye determines the position of the hand for the VR device.
  • the image processing module may perform processing. Specifically, the grayscale block in the image is determined by the maximum connected domain method, and then the centroid F of the grayscale block is determined, (as shown in FIG. 7-7, the grayscale block of the image of the moving hand and the schematic diagram of the centroid) Two different images are presented in the two DVS cameras (as shown in Figure 7-8, where the center of mass of the moving hand is in the two DVS cameras), then the coordinates of the F point for the VR device can be determined ( F1, f2, f3) ( Figure 7-9, the coordinates of the VR device coordinate system at point F).
  • the coordinates (f1', f2', f3') of the fixed position coordinate system of the F point can be calculated by the coordinate system conversion coefficient ⁇ AB ( As shown in Figure 7-10, the coordinates of the coordinate system of the fixed point device at point F), specifically:
  • FIG. 7-11 a schematic diagram of a user's valuables, assuming that there is a valuable item in the bag of the user's shoulder, the valuable object is a mobile phone, and the coordinates of the mobile phone relative to the VR device, ie, VR
  • the coordinates of the device coordinate system can be preset before the warning mode is turned on.
  • the position of the mobile phone is G point
  • the coordinate of the VR device coordinate system is (g1, g2, g3), which is converted into the coordinate of the fixed position coordinate system. Is (g1', g2', g3').
  • the valuable item is a fixed position for the VR device, that is, the valuable item is stationary with respect to the VR device.
  • the valuable item is placed as far as possible within the shooting range of the camera of the VR device.
  • the DVS camera of the VR device is adjustable in angle, the automatic item can be automatically aligned to make the valuable item within the shooting range of the DVS camera. If the DVS camera is not adjustable, The user can try to place valuables in the position that the DVS camera can capture to enhance its security.
  • the coordinates of the fixed position coordinate system of the position G of the valuable item and the position F of the moving hand are determined.
  • the positional relationship between the G point and the F point is shown in Fig. 7-12 with respect to the fixed position coordinate system. Is the positional relationship between the G point and the F point of the fixed position coordinate system.
  • the basis for determining whether the moving hand is dangerous may be: whether the F point gradually approaches the G point, and if the F point gradually approaches the G point, and the distance from the F point and the G point is within a preset range, Then point F is determined to be a dangerous event.
  • FIG. 7-13 is a schematic diagram of the moving direction of the F point and the positional relationship with the G.
  • the VR device can start the counter M, the initial value of M can be 0, and record G point and F periodically (such as once every 0.1 seconds).
  • M the threshold
  • the value of M may be reset to zero if the terminal F point is away from the G point or the direction of the transfer.
  • the early warning module may perform an early warning.
  • the specific warning mode can display an alarm on the screen of the VR device, as shown in Figure 7-14.
  • the alarm is displayed on the screen of the VR device.
  • the warning can be a text warning.
  • You can also display the image captured by the DVS camera (as shown in Figure 7-15, which is a schematic diagram of the warning of the text displayed on the screen of the VR device). It can also emit a strong light or an alarm sound ( Figure 7-16, VR).
  • a schematic diagram of the device emitting a strong light or warning of an alarm sound which is not limited here.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, Fiber, Digital Subscriber Line (DSL) or wireless (eg infrared, wireless, microwave, etc.) is transmitted to another website, computer, server or data center.
  • wired eg coaxial cable, Fiber, Digital Subscriber Line (DSL)
  • wireless eg infrared, wireless, microwave, etc.
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Alarm Systems (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed in the present application are a prompting method and a VR device. The method in the present application comprises: a VR device collects at least two images by means of a camera, the at least two images having a same photographed object; and the VR device gives a prompt according to a change of a position relationship between the photographed object and a preset position, the change of the position relationship between the photographed object and the preset position being determined by the VR device according to the at least two images. When a user uses the VR device, the VR device can take at least two images; accordingly, the existence of an abnormal situation can be indicated according to the at least two images; and if the abnormal situation exists, a prompt can be given to make the user boost alertness, so as to improve the safety.

Description

一种提示方法以及VR设备A prompting method and VR device
本申请要求于2017年6月16日提交中国专利局、申请号为201710458137.5、发明名称为“一种VR预警的终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application, filed on Jun. 16, 2017, the application Serial No.
技术领域Technical field
本申请涉及终端领域,尤其涉及一种提示方法以及VR设备。The present application relates to the field of terminals, and in particular, to a prompting method and a VR device.
背景技术Background technique
当用户在公共场合使用虚拟现实(virtual reality,VR)设备时,由于双眼佩戴了VR设备,无暇顾及周围,可能会遇到盗窃之类危险事件,因此,需要一种措施对周围可能遇到的危险事件进行预警。When a user uses a virtual reality (VR) device in public, since the VR device is worn by both eyes, there is no danger of incidents such as theft. Therefore, a measure is needed for the surrounding. Early warning of dangerous events.
发明内容Summary of the invention
本发明实施例提供了一种提示方法以及VR设备,用于采集的图像并根据图像发出预警提示。The embodiment of the invention provides a prompting method and a VR device, which are used for acquiring an image and issuing an early warning prompt according to the image.
本发明实施例的第一方面提供一种提示方法,该方法应用于VR设备,该方法包括:该VR设备通过摄像头采集至少两张图像,该至少两张图像中的任意两张图像来自不同的时间点,该至少两张图像具有相同的被摄对象,在一些可行的实施例中,该被摄对象可以为手或镊子。接着,该VR设备可以根据该至少两张图像确定该被摄对象与预设位置的位置关系变化,并根据该被摄对象与预设位置的位置关系变化发出提示。在一些可行的实施例中,该提示包括警报声、关闭VR视频、该VR设备的屏幕上的文字提示或影像提示,此处不做限定。A first aspect of the embodiments of the present invention provides a prompting method, where the method is applied to a VR device, the method includes: the VR device collects at least two images by using a camera, and any two images of the at least two images are from different At the time point, the at least two images have the same subject, and in some possible embodiments, the subject may be a hand or a dice. Then, the VR device may determine a change in the positional relationship between the subject and the preset position according to the at least two images, and issue a prompt according to the positional relationship change between the subject and the preset position. In some possible embodiments, the prompt includes an alarm sound, a closed VR video, a text prompt on the screen of the VR device, or an image prompt, which is not limited herein.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第一种实现方式,包括:该VR设备可以通过该至少两张图像确定该被摄对象和该预设位置的位置关系变化,该位置关系变化用于指示该被摄对象与该预设位置的距离和被摄对象的运动轨迹,若该被摄对象与该预设位置的距离缩短且该被摄对象的运动方向为该预设位置,则可以认为发生了异常情况,则该VR设备可以发出提示。With reference to the first aspect of the embodiments of the present invention, a first implementation manner of the first aspect of the embodiment of the present invention includes: determining, by the VR device, the location of the object and the preset location by using the at least two images a relationship change, the positional relationship change is used to indicate a distance between the subject and the preset position, and a motion trajectory of the subject, if the distance between the subject and the preset position is shortened and the moving direction of the subject For the preset position, it can be considered that an abnormal situation has occurred, and the VR device can issue a prompt.
由于可以通过该被摄对象和该预设位置的距离和该被摄对象的运动方向确定两者的位置关系变化,并根据该位置关系变化指出两者是否距离缩短,且被摄对象的运动方向是否为该预设位置,确定了判断是否存在异常情况的方法。The positional relationship change between the two can be determined by the distance between the subject and the preset position and the moving direction of the subject, and the distance between the two is shortened according to the positional relationship change, and the moving direction of the subject Whether or not the preset position is determined is a method for judging whether or not an abnormal condition exists.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第二种实现方式,包括:在该至少两张图像中包括第一图像和第二图像,该第一图像和该第二图像的拍摄时间是不同的,假设该第一图像在该第二图像之前,该VR设备分别根据该第一图像确定该被摄对象的第一位置,根据该第二图像确定该被摄对象的第二位置。由于该第一图像和该第二图像的拍摄时间是不同的,当确定被摄对象的该第一位置和第二位置后,则可以认为该第一位置和该第 二位置为该被摄对象的运动轨迹。当确定了该被摄对象的运动轨迹,则该VR设备可以根据该被摄对象的运动轨迹确定与该预设位置的位置关系变化,在一些可行的实施例中,该预设位置相对于该VR设备为一个固定位置,如口袋,或者背包。在一些可行的实施例中,该预设位置在该VR设备的摄像头的拍摄范围之内,如背在胸前的背包或者其他VR设备可以拍摄到的位置。With reference to the first aspect of the embodiments of the present invention, a second implementation manner of the first aspect of the embodiments of the present invention includes: including, in the at least two images, a first image and a second image, the first image and the The photographing time of the second image is different. Assuming that the first image is before the second image, the VR device respectively determines a first position of the subject according to the first image, and determines the photographing according to the second image. The second position of the object. Since the photographing time of the first image and the second image are different, after determining the first position and the second position of the subject, the first position and the first The second position is the motion trajectory of the subject. When the motion trajectory of the subject is determined, the VR device may determine a change in the positional relationship with the preset position according to the motion trajectory of the subject, and in some feasible embodiments, the preset position is relative to the The VR device is in a fixed position, such as a pocket, or a backpack. In some possible embodiments, the preset position is within the shooting range of the camera of the VR device, such as a backpack or other VR device that can be photographed at the chest.
由于通过第一图像和第二图像确定第一位置和第二位置,并以该第一位置和该第二位置为该被摄对象的运动轨迹,因此明确了确定被摄对象的运动轨迹的方式。Since the first position and the second position are determined by the first image and the second image, and the first position and the second position are the motion trajectory of the subject, the manner of determining the motion trajectory of the subject is clarified .
结合本发明实施例的第一方面,在本发明实施例的第一方面的第三种实现方式,包括:该VR设备可以获取该VR设备的运动轨迹,由于该预设位置相对于该VR设备为一固定位置,因此可以通过该运动轨迹确定该预设位置的运动轨迹,则该VR设备可以根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。With reference to the first aspect of the embodiments of the present invention, a third implementation manner of the first aspect of the embodiment of the present invention includes: the VR device can acquire a motion track of the VR device, because the preset location is relative to the VR device For a fixed position, the motion track of the preset position can be determined by the motion track, and the VR device can determine the subject and the preset position according to the motion track of the subject and the motion track of the preset position. The positional relationship changes.
由于该预设位置相对于该VR设备为一固定位置,因此可以根据该VR设备的运动轨迹确定了该预设位置的运动轨迹,并进而确定被摄对象和预设位置的位置关系和位置关系变化。Since the preset position is a fixed position relative to the VR device, the motion track of the preset position may be determined according to the motion track of the VR device, and then the positional relationship and the positional relationship between the subject and the preset position are determined. Variety.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第四种实现方式,包括:该VR设备可以通过至少一个传感器实时采集运动信息,得到运动数据,并根据该运动数据确定该VR设备的运动轨迹。With reference to the first aspect of the embodiments of the present invention, a fourth implementation manner of the first aspect of the embodiments of the present invention includes: the VR device can collect motion information in real time through at least one sensor, obtain motion data, and generate motion data according to the motion data. Determine the motion trajectory of the VR device.
由于可以通过至少一个传感器采集到运动信息,并因此得到运动数据,且根据该运动数据确定VR设备的运动轨迹,因此确定了VR设备的运动轨迹的确定方式。Since the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device is determined based on the motion data, the determination manner of the motion trajectory of the VR device is determined.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第五种实现方式,包括:该VR设备分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,然后确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,接着确定该第一质心的第一位置和该第二质心的第二位置。With reference to the first aspect of the embodiments of the present invention, a fifth implementation manner of the first aspect of the embodiments of the present invention includes: determining, by the VR device, a first maximum grayscale block of the first image and the second image, respectively a second maximum gray scale block, and then determining a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then determining a first position of the first centroid and a second centroid of the second centroid Two locations.
由于通过最大灰度块确定质心,通过质心确定位置,因此可以准确地确定VR设备的位置。Since the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device can be accurately determined.
本发明实施例的第二方面提供了一种提示方法,该方法应用于VR设备,包括:该VR设备通过摄像头采集至少两张图像,该两张图像为不同的时间点拍摄的,如一个视频中的相邻的两个帧,该至少两张图像具有相同的被摄对象,该被摄对象可以为手或镊子,或者其他显示危险的物品。则该VR设备可以分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,并确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,且确定该第一质心的第一位置和该第二质心的第二位置,以该第一位置和该第二位置为该被摄对象在不同的时间点上位置,则该第一位置和该第二位置为该被摄对象的运动轨迹。当确定了被摄对象的运动轨迹,若该VR设备是运动的,则还需要确定自身的运动轨迹,则该VR设备可以通过至少一个传感器实时采集自身的运动信息,得到运动数据,并通过该运动数据确定该VR设备的运动轨迹。A second aspect of the embodiments of the present invention provides a prompting method, where the method is applied to a VR device, including: the VR device collects at least two images by using a camera, and the two images are taken at different time points, such as a video. Two adjacent frames in the middle, the at least two images have the same subject, and the subject may be a hand or a dice, or other items showing danger. Then the VR device can respectively determine a first maximum gray block of the first image and a second maximum gray block of the second image, and determine a first centroid and the second maximum gray of the first maximum gray block a second centroid of the block, and determining a first position of the first centroid and a second position of the second centroid, wherein the first position and the second position are positions of the subject at different points in time, Then the first position and the second position are motion trajectories of the subject. When the motion trajectory of the subject is determined, if the VR device is moving, it is also necessary to determine its own motion trajectory, and the VR device can collect its own motion information in real time through at least one sensor, obtain motion data, and pass the The motion data determines the motion trajectory of the VR device.
在一些可行的实施例中,预设位置相对于该VR设备是固定位置,则可以根据该VR设备的运动轨迹确定该预设位置的运动轨迹。在一些可行的实施例中,为了保障可以准确确定情况,可以将该预设位置在该VR设备的摄像头的拍摄范围之内。当确定了该被摄对象的运动轨迹和该预设位置的运动轨迹后,该VR设备可以以此确定该被摄对象与预设位置的位置关系变化。若根据该位置关系变化指示该被摄对象与该预设位置的距离缩短,且该被摄对象的运动 方向为该预设位置,则该VR设备可以发出提示,该提示包括警报声、关闭VR视频、该VR设备的屏幕上的文字提示或影像提示。In some feasible embodiments, the preset position is a fixed position relative to the VR device, and the motion trajectory of the preset position may be determined according to the motion trajectory of the VR device. In some feasible embodiments, in order to ensure that the situation can be accurately determined, the preset position may be within the shooting range of the camera of the VR device. After determining the motion trajectory of the subject and the motion trajectory of the preset position, the VR device can determine the positional relationship change of the subject with the preset position. If the positional relationship change indicates that the distance between the subject and the preset position is shortened, and the movement of the subject If the direction is the preset position, the VR device can issue a prompt, including an alarm sound, turning off the VR video, a text prompt on the screen of the VR device, or an image prompt.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
本发明实施例第三方面提供了一种VR设备,包括采集模块和提示模块。其中,该采集模块通过摄像头采集具有相同被摄对象的至少两张图像,该提示模块根据该被摄对象与预设位置的位置关系变化发出提示,该被摄对象与预设位置的位置关系变化为该VR设备根据该至少两张图像确定的。A third aspect of the embodiments of the present invention provides a VR device, including an acquisition module and a prompt module. The acquiring module collects at least two images having the same subject through the camera, and the prompting module issues a prompt according to the positional relationship change between the subject and the preset position, and the positional relationship between the subject and the preset position changes. The VR device is determined based on the at least two images.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
结合本发明实施例的第三方面,在本发明实施例的第三方面的第一种实现方式包括:该提示模块包括确定子模块和提示子模块,其中改确定子模块根据该至少两张图像确定该被摄对象和该预设位置的位置关系变化,若根据该位置关系变化指示该被摄对象与该预设位置的距离缩短,且该被摄对象的运动方向为该预设位置,则提示子模块发出提示。With reference to the third aspect of the embodiments of the present invention, the first implementation manner of the third aspect of the embodiment of the present invention includes: the prompting module includes a determining submodule and a prompting submodule, wherein the determining determining submodule is based on the at least two images Determining a change in the positional relationship between the subject and the preset position, and if the distance between the subject and the preset position is shortened according to the change in the positional relationship, and the moving direction of the subject is the preset position, The prompt submodule issues a prompt.
由于可以通过该被摄对象和该预设位置的距离和该被摄对象的运动方向确定两者的位置关系变化,提供了VR设备是否发出提出的具体依据。Since the positional relationship change between the subject and the preset position and the moving direction of the subject can be determined, whether or not the VR device issues a specific basis is provided.
结合本发明实施例的第三方面,在本发明实施例的第一方面的第二种实现方式包括第一确定单元、第二确定单元和第三确定单元,其中第一确定单元分别根据该至少两张图像中的第一图像和第二图像确定该被摄对象的第一位置和第二位置,然后第二确定单元根据该第一位置和该第二位置确定该被摄对象的运动轨迹,接着第三确定单元根据该被摄对象的运动轨With reference to the third aspect of the embodiments of the present invention, the second implementation manner of the first aspect of the embodiment of the present invention includes a first determining unit, a second determining unit, and a third determining unit, wherein the first determining unit respectively according to the at least The first image and the second image of the two images determine a first position and a second position of the subject, and then the second determining unit determines a motion trajectory of the subject according to the first position and the second position, Then the third determining unit is based on the motion track of the subject
由于通过第一图像和第二图像确定第一位置和第二位置,并以该第一位置和该第二位置为该被摄对象的运动轨迹,因此明确了确定被摄对象的运动轨迹的方式。Since the first position and the second position are determined by the first image and the second image, and the first position and the second position are the motion trajectory of the subject, the manner of determining the motion trajectory of the subject is clarified .
结合本发明实施例的第三方面,在本发明实施例的第一方面的第三种实现方式中,获取单元获取该VR设备的运动轨迹,接着第四确定单元根据该VR设备的运动轨迹确定该预设位置的运动轨迹,然后该第三确定单元根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。With reference to the third aspect of the embodiments of the present invention, in a third implementation manner of the first aspect of the embodiment, the acquiring unit acquires a motion track of the VR device, and then the fourth determining unit determines, according to the motion track of the VR device The motion trajectory of the preset position, and then the third determining unit determines a change in the positional relationship between the subject and the preset position according to the motion trajectory of the subject and the motion trajectory of the preset position.
由于该预设位置相对于该VR设备为一固定位置,因此可以根据该VR设备的运动轨迹确定了该预设位置的运动轨迹,并进而确定被摄对象和预设位置的位置关系和位置关系变化。Since the preset position is a fixed position relative to the VR device, the motion track of the preset position may be determined according to the motion track of the VR device, and then the positional relationship and the positional relationship between the subject and the preset position are determined. Variety.
结合本发明实施例的第三方面,在本发明实施例的第一方面的第四种实现方式中,采集子单元通过至少一个传感器实时采集运动信息,以得到运动数据,接着确定子单元根据该运动数据确定该VR设备的运动轨迹。With reference to the third aspect of the embodiments of the present invention, in a fourth implementation manner of the first aspect of the embodiment, the collecting subunit collects motion information in real time by using at least one sensor to obtain motion data, and then determines that the subunit is configured according to the The motion data determines the motion trajectory of the VR device.
由于可以通过至少一个传感器采集到运动信息,并因此得到运动数据,且根据该运动数据确定VR设备的运动轨迹,因此确定了VR设备的运动轨迹的确定方式。Since the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device is determined based on the motion data, the determination manner of the motion trajectory of the VR device is determined.
结合本发明实施例的第三方面,在本发明实施例的第一方面的第五种实现方式中,第一确定子单元分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,接着第二确定子单元确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,然后第三 确定子单元确定该第一质心的第一位置和该第二质心的第二位置。With reference to the third aspect of the embodiments of the present invention, in a fifth implementation manner of the first aspect of the embodiments, the first determining subunit respectively determines the first maximum grayscale block and the second image of the first image a second maximum gray scale block, and then the second determining subunit determines a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then a third The determining subunit determines a first position of the first centroid and a second position of the second centroid.
由于通过最大灰度块确定质心,通过质心确定位置,因此可以准确地确定VR设备的位置。Since the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device can be accurately determined.
本发明实施例的第四方面提供了一种VR设备,在该第四方面中,采集模块通过摄像头采集至少两张图像,该至少两张图像具有相同的被摄对象,在一些可行的实施例中,该被摄对象包括手或镊子。该至少两张图像包括第一图像和第二图像,然后第一确定单元分别根据该第一图像和该第二图像确定该被摄对象的第一位置和第二位置,接着第一确定子单元分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,则第二确定子单元可以确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,以使得第三确定子单元可以确定该第一质心的第一位置和该第二质心的第二位置。接着,采集子单元可以通过至少一个传感器实时采集运动信息,得到运动数据,以使得确定子单元根据该运动数据确定该VR设备的运动轨迹,在一些可行的实施例中,该预设位置相对于该VR设备为一个固定位置,则第四确定单元可以根据该VR设备的运动轨迹确定该预设位置的运动轨迹,且该第三确定单元根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。在一些可行的实施例中,该预设位置在该VR设备的摄像头的拍摄范围之内。最后若根据该位置关系变化指示该被摄对象与该预设位置的距离缩短,且该被摄对象的运动方向为该预设位置,则提示子模块可以发出提示,在一些可行的实施例中,该提示包括警报声、关闭VR视频、该VR设备的屏幕上的文字提示或影像提示。A fourth aspect of the embodiments of the present invention provides a VR device. In the fourth aspect, the acquiring module collects at least two images by using a camera, where the at least two images have the same subject, in some feasible embodiments. In the middle, the subject includes a hand or a dice. The at least two images include a first image and a second image, and then the first determining unit determines the first position and the second position of the subject according to the first image and the second image, respectively, and then the first determining subunit Determining a first maximum grayscale block of the first image and a second maximum grayscale block of the second image, respectively, the second determining subunit may determine a first centroid and the second maximum of the first largest grayscale block The second centroid of the gray scale block, such that the third determining subunit can determine the first position of the first centroid and the second position of the second centroid. Then, the collecting sub-unit can collect the motion information in real time through the at least one sensor, and obtain the motion data, so that the determining subunit determines the motion trajectory of the VR device according to the motion data. In some feasible embodiments, the preset position is relative to the The VR device is a fixed position, and the fourth determining unit may determine a motion trajectory of the preset position according to the motion trajectory of the VR device, and the third determining unit is configured according to the motion track of the object and the preset position. The motion trajectory determines a change in the positional relationship of the subject with the preset position. In some possible embodiments, the preset position is within the shooting range of the camera of the VR device. Finally, if the distance between the subject and the preset position is shortened according to the change of the positional relationship, and the moving direction of the subject is the preset position, the prompting sub-module may issue a prompt, in some feasible embodiments. The prompt includes an alarm sound, a VR video off, a text prompt or an image prompt on the screen of the VR device.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
本发明实施例第五方面提供了一种VR设备,包括:A fifth aspect of the embodiments of the present invention provides a VR device, including:
处理器、存储器、一个或多个应用程序,其中,该一个或多个应用程序被存储在该存储器中,该一个或多个应用程序包括指令,当该指令被该VR设备执行时,使得该VR设备执行上述各方面该的方法。a processor, a memory, one or more applications, wherein the one or more applications are stored in the memory, the one or more applications including instructions that, when executed by the VR device, cause the The VR device performs the method of the above aspects.
本发明实施例的第六方面提供一种计算机程序产品,其特征在于,当该计算机程序产品在VR设备上运行时,使得该VR设备执行上述各方面该的方法。A sixth aspect of the embodiments of the present invention provides a computer program product, characterized in that, when the computer program product is run on a VR device, the VR device is caused to perform the method of the above aspects.
本发明实施例的第七方面提供提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面该的方法。A seventh aspect of an embodiment of the present invention provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
附图说明DRAWINGS
图1,为本申请实施例中的提示方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a prompting method in an embodiment of the present application;
图2,为本申请实施例中的提示方法的另一流程示意图;FIG. 2 is another schematic flowchart of a prompting method in an embodiment of the present application;
图3-1,为本申请实施例还提供了一种VR设备的示意图;3-1 is a schematic diagram of a VR device according to an embodiment of the present application;
图3-2,为本申请实施例还提供了一种VR设备的另一示意图;FIG. 3-2 is another schematic diagram of a VR device according to an embodiment of the present application;
图3-3,为本申请实施例还提供了一种VR设备的另一示意图; FIG. 3-3 is another schematic diagram of a VR device according to an embodiment of the present application;
图3-4,为本申请实施例还提供了一种VR设备的另一示意图;3-4 is another schematic diagram of a VR device according to an embodiment of the present application;
图3-5,为本申请实施例还提供了一种VR设备的另一示意图;3-5, another schematic diagram of a VR device according to an embodiment of the present application;
图3-6,为本申请实施例还提供了一种VR设备的另一示意图;FIG. 3-6 is another schematic diagram of a VR device according to an embodiment of the present application;
图4-1,为本申请实施例中其为终端和VR配件的集合示意图;4-1 is a schematic diagram of a collection of terminals and VR components in the embodiment of the present application;
图4-2,为本申请实施例中终端的屏幕效果的示意图;4-2 is a schematic diagram of a screen effect of a terminal in an embodiment of the present application;
图4-3,为本申请实施例中一种终端的主体设备的示意图;4-3 is a schematic diagram of a main device of a terminal in an embodiment of the present application;
图5-1,为本申请实施例中本申请中的VR设备的运行流程图;5-1 is a flowchart of operation of a VR device in the present application in the embodiment of the present application;
图5-2,为本申请实施例中使用VR设备从A点到B点的运动轨迹示意图;5-2 is a schematic diagram of a motion trajectory of a VR device from point A to point B in the embodiment of the present application;
图5-3,为本申请实施例中固定位置坐标系的示意图;5-3 is a schematic diagram of a fixed position coordinate system in the embodiment of the present application;
图5-4,为本申请实施例中VR坐标系的示意图;FIG. 5-4 is a schematic diagram of a VR coordinate system according to an embodiment of the present application; FIG.
图5-5,为本申请实施例中C点的坐标示意图;5-5 are schematic diagrams of coordinates of point C in the embodiment of the present application;
图5-6,为本申请实施例中拍摄效果示意图;5-6 are schematic diagrams of photographing effects in the embodiment of the present application;
图5-7,为本申请实施例中DVS摄像机采集的图像示意图;5-7 are schematic diagrams of images collected by a DVS camera in the embodiment of the present application;
图5-8,为本申请实施例中最大连通域的处理效果示意图;5-8 are schematic diagrams of processing effects of a maximum connected domain in the embodiment of the present application;
图5-9,为本申请实施例中灰度块的质心示意图;5-9 are schematic diagrams showing a centroid of a gray scale block in an embodiment of the present application;
图5-10,为本申请实施例中D点分别在两个DVS摄像头中的位置;5-10, the position of point D in two DVS cameras in the embodiment of the present application;
图5-11,为本申请实施例中D点在VR设备坐标系下的坐标示意图;5-11 are schematic diagrams of coordinates of a point D in a VR device coordinate system according to an embodiment of the present application;
图5-12,为本申请实施例中D点在固定位置坐标系下的坐标示意图;5-12 are schematic diagrams showing coordinates of point D in a fixed position coordinate system in the embodiment of the present application;
图6,为本申请实施例中该预警系统E的示意图;FIG. 6 is a schematic diagram of the early warning system E in the embodiment of the present application;
图7-1,为本申请实施例中实施例的进行流程示意图;7-1 is a schematic flowchart of an embodiment of an embodiment of the present application;
图7-2,为本申请实施例中用户使用VR设备的示意图;7-2 is a schematic diagram of a user using a VR device in the embodiment of the present application;
图7-3,为本申请实施例中用户散步的示意图;7-3 is a schematic diagram of a user walking in the embodiment of the present application;
图7-4,为本申请实施例中VR设备可以确定一个固定点A和以A点为本申请实施例中原点的固定位置坐标系;7-4, in the embodiment of the present application, the VR device can determine a fixed point A and a fixed point coordinate system with the point A as the origin in the embodiment of the present application;
图7-5,为本申请实施例中用户面前出现人物示意图;7-5 are schematic diagrams of characters appearing in front of a user in the embodiment of the present application;
图7-6,为本申请实施例中DVS摄像机截取的运动的手的示意图;7-6 is a schematic diagram of a moving hand intercepted by a DVS camera in the embodiment of the present application;
图7-7,为本申请实施例中运动的手的图像的灰度块以及质心的示意图;7-7 are schematic diagrams of grayscale blocks and centroids of an image of a moving hand in an embodiment of the present application;
图7-8,为本申请实施例中运动的手的质心分别在2个DVS摄像机中的位置;7-8, the positions of the centroids of the moving hands in the two DVS cameras in the embodiment of the present application;
图7-9,为本申请实施例中F点的VR设备坐标系的坐标;7-9 are coordinates of a VR device coordinate system of point F in the embodiment of the present application;
图7-10,为本申请实施例中F点的固定点设备坐标系的坐标;7-10 are coordinates of a fixed point device coordinate system of point F in the embodiment of the present application;
图7-11,为本申请实施例中用户的贵重物品的示意图;7-11 are schematic diagrams of valuable items of a user in an embodiment of the present application;
图7-12,为本申请实施例中固定位置坐标系的G点和F点的位置关系;7-12, the positional relationship between the G point and the F point of the fixed position coordinate system in the embodiment of the present application;
图7-13,为本申请实施例中F点的运动方向以及与G的位置关系的示意图;FIG. 7-13 is a schematic diagram showing a moving direction of point F and a positional relationship with G in the embodiment of the present application;
图7-14,为本申请实施例中在VR设备的屏幕上显示预警示意图;7-14 are schematic diagrams showing warnings on a screen of a VR device in the embodiment of the present application;
图7-15,为本申请实施例中VR设备的屏幕中显示文字的预警的示意图;7-15 are schematic diagrams showing an early warning of displaying text on a screen of a VR device according to an embodiment of the present application;
图7-16,为本申请实施例中VR设备的发出强光或者发出警报声的预警的示意图。 7-16 are schematic diagrams of an early warning of a VR device emitting a strong light or an alarm sound according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。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 obvious that the described embodiments are only a part of the embodiments of the present invention, but not all 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 terms "comprises" and "comprises" and "the" and "the" are 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 steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本申请实施例中,当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,VR设备可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。In the embodiment of the present application, when the VR device is used by the user, the VR device can detect at least two images according to the at least two images, and if there is an abnormal situation, the VR device can issue a prompt to make the user Be alert to improve safety.
基于以上,本申请实施例提供了提示方法,请参考图1,为本申请实施例中的提示方法,该方法包括步骤101和102。Based on the above, the embodiment of the present application provides a prompting method. Referring to FIG. 1 , the prompting method in the embodiment of the present application includes steps 101 and 102 .
其中,101、该VR设备通过摄像头采集至少两张图像,该至少两张图像具有相同的被摄对象。102、该VR设备根据该被摄对象与预设位置的位置关系变化发出提示,该被摄对象与预设位置的位置关系变化为该VR设备根据该至少两张图像确定的。Wherein, the VR device collects at least two images through the camera, and the at least two images have the same subject. 102. The VR device sends a prompt according to the change of the positional relationship between the subject and the preset position, and the positional relationship between the subject and the preset position is changed by the VR device according to the at least two images.
为便于理解,下面对本申请实施例中的具体流程进行描述,请参考图2,为一种提示方法的流程示意图,该方法包括步骤201-步骤210。For the sake of understanding, the specific process in the embodiment of the present application is described below. Referring to FIG. 2, it is a schematic flowchart of a prompting method. The method includes steps 201-210.
201、该VR设备通过摄像头采集至少两张图像。201. The VR device collects at least two images through a camera.
在本申请实施例中,VR设备可以内置或外接一个或多个摄像头,用于拍摄图像。在本申请实施例中,该VR设备可以通过内置的任一摄像头在不同的时间点拍摄至少两张图像,如屏拍摄得到的一个视频片段中的至少两个帧,或者在预制时间内拍摄至少两张图像,此处不做限定。该至少两张图像被该VR设备用于判断是否有异常情况,如人或物靠近,且目标为身上的贵重物品,若存在异常情况,则可以发出提示。在一些可行的实施例中,该至少两张图像可以拍摄到相同的被摄对象,该被摄对象可以为人的手或者镊子,或者其他有可能造成威胁的对象,若确定该被摄存在异常情况,从而对用户可能造成威胁,则可以发出提示,以使得用户警觉起来,以提高用户的安全性。In the embodiment of the present application, the VR device may have one or more cameras built in or externally used for taking an image. In the embodiment of the present application, the VR device can capture at least two images at different time points by using any built-in camera, such as at least two frames in a video segment obtained by the screen shooting, or at least in the pre-made time. Two images are not limited here. The at least two images are used by the VR device to determine whether there is an abnormal situation, such as a person or an object approaching, and the target is a valuable item on the body, and if there is an abnormal situation, a prompt may be issued. In some feasible embodiments, the at least two images may be photographed to the same subject, and the subject may be a human hand or a dice, or other object that may cause a threat, if it is determined that the photograph is abnormal. In order to pose a threat to the user, a prompt can be issued to alert the user to improve the security of the user.
具体的,该摄像头可以为DVS摄像头,该DVS摄像头用于拍摄动态图像,若该动态图像中的没有任何被摄对象有运动,则拍摄不到任何被摄对象,若存在运动的物体,则该DVS摄像头可以确定相关的被摄对象。在一些可行的实施例中,该VR设备可以在不同的位置设置至少两个DVS摄像头,用于当拍摄到运动的被摄对象时,可以通过至少两个DVS摄像头,类似两个人眼判断位置的原理,确定该被摄对象相对于自身的位置。Specifically, the camera may be a DVS camera, and the DVS camera is used to capture a moving image. If no object in the moving image has motion, no subject may be captured, and if there is a moving object, the camera The DVS camera can determine the relevant subject. In some possible embodiments, the VR device may set at least two DVS cameras at different positions for determining the position of the human eye through at least two DVS cameras when capturing a moving subject. The principle determines the position of the subject relative to itself.
在一些可行的实施例中,若通过DVS摄像机拍摄到黑白图像,可以通过以下方式确定该被摄对象的位置,具体的,请参考步骤202-步骤204。In some possible embodiments, if a black and white image is captured by the DVS camera, the position of the subject may be determined by the following method. Specifically, refer to step 202-step 204.
202、该VR设备分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块。202. The VR device determines a first maximum grayscale block of the first image and a second largest grayscale block of the second image, respectively.
在本申请实施例中,由于DVS摄像机拍摄得到的图像中有不同部位具有相同的灰度,为 了确定被摄对象的范围,可以通过确定图像的最大灰度块,以此作为该被摄对象在图像中的影像。当拍摄到至少两张图像时,若该至少两张图像包括第一图像和第二图像,则可以分别确定该第一图像和第二图像中的最大灰度块。需要说明的是,该至少两张图像可以仅第一图像和第二图像,还可以包括其他多个图像,为了简要说明,本申请实施例中的以下步骤203-步骤204第一图像和第二图像为例进行说明。In the embodiment of the present application, since different parts of the image captured by the DVS camera have the same gray level, To determine the range of the subject, the image of the subject in the image can be determined by determining the maximum grayscale block of the image. When at least two images are captured, if the at least two images include the first image and the second image, the largest grayscale block in the first image and the second image may be separately determined. It should be noted that the at least two images may be only the first image and the second image, and may further include other multiple images. For the sake of brief description, the following steps 203 to 204 in the embodiment of the present application, the first image and the second image The image is taken as an example for explanation.
203、该VR设备确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心。203. The VR device determines a first centroid of the first maximum grayscale block and a second centroid of the second largest grayscale block.
在本申请实施例中,当确定了一个图像的最大灰度块后,可以确定该最大灰度块的质心,并以该质心作为该被摄对象的质心。则该VR设备可以根据该第一最大灰度块和该第二最大灰度块确定第一质心和第二质心。In the embodiment of the present application, after determining the maximum gray scale block of an image, the centroid of the maximum gray scale block may be determined, and the centroid is used as the centroid of the subject. Then the VR device can determine the first centroid and the second centroid according to the first maximum gray scale block and the second maximum gray scale block.
204、该VR设备确定该第一质心的第一位置和该第二质心的第二位置。204. The VR device determines a first location of the first centroid and a second location of the second centroid.
在一些可行的实施例中,对于VR设备若拍摄到被摄对象中的一帧时,若通过两个DVS摄像机拍摄到两张图像,该两张图像各自确定了两个质心,则可以通过该两个质心确定该被摄对象在这一帧中相对于自身的位置。则VR设备可以根据第一质心和第二质心确定该被摄对象在至少两张图像中的第一图像的第一位置和第二图像的第二位置。In some feasible embodiments, if a frame is captured by the VR device, if two images are captured by two DVS cameras, each of which determines two centroids, the The two centroids determine the position of the subject relative to itself in this frame. Then the VR device can determine the first position of the first image and the second position of the second image of the subject in the at least two images according to the first centroid and the second centroid.
205、该VR设备根据该第一位置和该第二位置确定该被摄对象的运动轨迹。205. The VR device determines a motion trajectory of the subject according to the first location and the second location.
在本申请实施例中,若确定了被摄对象的第一位置和第二位置,则可以确定被摄对象在两个不同的时间点上的两个不同的位置,则可以确定该被摄对象在两个不同的时间点上的运动轨迹。当拍摄的了多于两张图像时,如一段视频,则可以确定在该段视频中,被摄对象的运动轨迹。In the embodiment of the present application, if the first position and the second position of the object are determined, two different positions of the object at two different time points may be determined, and the subject may be determined. Motion trajectories at two different points in time. When more than two images are taken, such as a video, the motion trajectory of the subject in the video can be determined.
在一些可行的实施例中,VR设备可能是静止的,也可能是运动的,若仅凭被摄对象相对于VR设备的运动轨迹确定该被摄对象是否逐渐靠近该VR设备,并以此为VR设备对于是否发出提示的依据,当VR设备在运动而被摄对象为静止时,相对于VR设备的被摄对象的运动轨迹也可能逐渐靠近VR设备,这种情况下,是不应该被判为异常情况的,因此在本申请实施例中,可以加入VR设备的运动轨迹作为考量因素,以判断是否应该发出提示。具体的,请参考步骤206-步骤208。In some feasible embodiments, the VR device may be stationary or mobile, and if the subject is determined to gradually approach the VR device with respect to the motion track of the VR device, The VR device is based on whether or not to issue a prompt. When the VR device is in motion and the subject is stationary, the motion trajectory of the subject relative to the VR device may gradually approach the VR device. In this case, it should not be judged. It is an abnormal situation. Therefore, in the embodiment of the present application, the motion trajectory of the VR device can be added as a consideration factor to determine whether a prompt should be issued. Specifically, please refer to step 206-step 208.
206、该VR设备通过至少一个传感器实时采集自身的运动信息,得到运动数据。206. The VR device collects motion information of the VR device in real time through at least one sensor to obtain motion data.
在本申请实施例中,VR设备可以通过内置的至少一个传感器实时采集自身的运动信息,得到运动数据。具体的,该传感器可以为运动传感器或惯性传感器,通过该传感器获取VR设备的运动信息,得到运动数据,如速度和方向,此处不做限定。In the embodiment of the present application, the VR device can collect its own motion information in real time through at least one built-in sensor to obtain motion data. Specifically, the sensor may be a motion sensor or an inertial sensor, and the motion information of the VR device is obtained by the sensor to obtain motion data, such as speed and direction, which are not limited herein.
207、该VR设备通过该运动数据确定该VR设备的运动轨迹。207. The VR device determines a motion trajectory of the VR device by using the motion data.
在一些可行的实施例中,当确定该VR设备在不同时间点上的速度和方向时,可以根据该速度和方向确定该VR设备的运动轨迹。具体的,VR设备可以以起始点为固定点,以该固定点,获取从该固定点出发后每个时间点的速度和方向,以此确定每个时间段的位移和方向,以此得到以相对于该固定点的各个时间点的位置,以此确定VR设备相对于该固定点的运动轨迹。In some possible embodiments, when determining the speed and direction of the VR device at different points in time, the motion trajectory of the VR device can be determined according to the speed and direction. Specifically, the VR device may use the starting point as a fixed point, and obtain the speed and direction of each time point after starting from the fixed point by using the fixed point, thereby determining the displacement and direction of each time period, thereby obtaining The position of the VR device relative to the fixed point is determined relative to the position of the fixed point at each point in time.
208、根据该VR设备的运动轨迹确定该预设位置的运动轨迹。208. Determine a motion track of the preset position according to a motion track of the VR device.
在一些可行的实施例中,该预设位置可以为用户需要保护的物品的位置,如身体的要害或者重要部位,如贵重物体的放置位置,此处不做限定。在一些可行的实施例中,预设位置 可以相对于VR设备而言为不动的固定位置,即当确定VR设备相对于某一固定点的位置,即确定该预设位置相对于该固定点的位置,当确定了VR设备相对于某一固定点的运动轨迹,即确定了该预设位置相对于该固定点运动轨迹。其中,在一些可行的实施例中,可以将该预设位置在该VR设备的摄像头的拍摄范围之内,需要说明的是,当该VR设备的摄像头为可调节角度的,则可以设置该摄像头自动对准预设位置,或者用户将该摄像头调节至对准该预设位置,以使得该预设位置放置于该摄像头监控的范围内;若该VR设备的摄像头为不可调节角度的,则可以将贵重物品等放置在该VR设备的摄像头可以拍摄到的位置上,并以此位置作为预设位置,以加强对该预设位置的监控。In some possible embodiments, the preset position may be a position of an item that the user needs to protect, such as a critical part of the body or an important part, such as a placement position of a valuable object, which is not limited herein. In some possible embodiments, the preset position A fixed position that can be fixed relative to the VR device, that is, when determining the position of the VR device relative to a certain fixed point, that is, determining the position of the preset position relative to the fixed point, when determining that the VR device is relative to the certain The motion trajectory of a fixed point, that is, the trajectory of the preset position relative to the fixed point is determined. In some feasible embodiments, the preset position may be within the shooting range of the camera of the VR device. It should be noted that when the camera of the VR device is adjustable in angle, the camera may be set. Automatically aligning the preset position, or the user adjusts the camera to the preset position so that the preset position is placed within the range monitored by the camera; if the camera of the VR device is not adjustable, Place valuables and the like on the position that the camera of the VR device can capture, and use this position as a preset position to enhance the monitoring of the preset position.
209、VR设备根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。209. The VR device determines, according to the motion track of the object and the motion track of the preset position, a change in the positional relationship between the object and the preset position.
在本申请实施例中,当确定了被摄对象相对于该VR设备的运动轨迹以及该VR设备的运动轨迹,可以以此确定该被摄对象相对于该固定位置的运动轨迹,以此判断该被摄对象是否运动,以避免由于该预设位置随着VR设备逐渐接近该被摄对象则造成误判为被摄对象存在异常的情况。In the embodiment of the present application, when the motion trajectory of the subject relative to the VR device and the motion trajectory of the VR device are determined, the motion trajectory of the subject relative to the fixed position may be determined thereby, thereby determining the Whether the subject is moving to avoid a situation in which the erroneous judgment is made that the subject is abnormal due to the VR device gradually approaching the subject due to the preset position.
在本申请实施例中,该VR设备可以根据该被摄对象相对于该固定位置的运动轨迹,和该预设位置相对于该固定位置的运动轨迹确定该被摄对象和该预设位置的位置关系变化。在一些可行的实施例中,根据两者的运动轨迹可以看出一方运动另一方静止,或者两者皆静止,或者两者皆有运动,因此两者的位置关系变化可以为两者逐渐远离、一方逐渐接近另一方、两者都在运动但是距离不变等,此处不做限定。在一些可行的实施例中,若该位置变化关系显示,该被摄对象是运动的,且运动方向为该预设位置,即可认为该被摄对象是逐渐持续接近该预设位置的,当确定该被摄对象持续接近该预设位置,且距离已经小于预设距离,则可以认为存在异常情况,则可以发出提示。In the embodiment of the present application, the VR device may determine the position of the subject and the preset position according to the motion track of the subject relative to the fixed position and the motion track of the preset position relative to the fixed position. Relationship changes. In some feasible embodiments, according to the motion trajectories of the two, it can be seen that the other side of the motion is stationary, or both are stationary, or both have motion, so the positional relationship between the two can be gradually separated. One party gradually approaches the other, both are in motion but the distance is constant, etc., and is not limited here. In some feasible embodiments, if the position change relationship is displayed, the subject is moving, and the moving direction is the preset position, the subject is considered to be gradually approaching the preset position. If it is determined that the subject continues to be close to the preset position, and the distance is already less than the preset distance, then an abnormal situation may be considered, and a prompt may be issued.
210、该VR设备可以发出提示。210. The VR device can issue a prompt.
在一些可以行的实施例中,该VR设备可以发出提示,该提示可以包括在用户的VR视频上显示文字,如“存在异常情况,请注意人身安全”,或者弹出动画或其他影像信息以指示存在异常情况,或者发出警报声以指示存在异常情况,在一些可行的实施例中,还可以发出强光,若对方是盗窃或者其他异常情况,可以让对方表示自身已经察觉,还可以关闭VR视频,打开后置摄像头,以看到眼前的情况,此处不做限定。In some embodiments, the VR device may issue a prompt, which may include displaying text on the user's VR video, such as "There is an abnormal situation, please pay attention to personal safety", or pop up an animation or other image information to indicate There is an abnormal situation, or an alarm sounds to indicate that there is an abnormal situation. In some feasible embodiments, a strong light can also be emitted. If the other party is a theft or other abnormal situation, the other party can indicate that he or she has detected that the VR video can be turned off. , open the rear camera to see the situation in front of you, not limited here.
以上以一种提示方法的角度进行描述,以下对执行该提示方法的功能装置的角度进行描述,请参考图3-1,为本申请实施例还提供了一种VR设备300,包括:The above description is made in the perspective of a method for prompting the following. The following describes the perspective of the function device for performing the prompting method. Referring to FIG. 3-1, an embodiment of the present application further provides a VR device 300, including:
采集模块301和提示模块302。该采集模块301可以通过摄像头采集具有相同被摄对象的图像,若在不同的时间点获取了至少两张图像,则该提示模块302可以确定该被摄对象与预设位置的位置关系变化,并根据该位置关系变化发出提示。The acquisition module 301 and the prompt module 302. The acquiring module 301 can collect images having the same subject by using a camera. If at least two images are acquired at different time points, the prompting module 302 can determine a positional relationship between the subject and the preset position, and A prompt is issued according to the change in the positional relationship.
当用户使用该VR设备300,由于VR设备300可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the VR device 300 is used by the user, the VR device 300 can capture at least two images, and the abnormality can be indicated according to the at least two images. If an abnormal situation exists, a prompt can be issued to improve the alert for the user to improve security. Sex.
在一些可行的实施例中,请参考图3-2,该提示模块302可以包括确定子模块3022和提示子模块3021,其中该确定子模块3022根据该至少两张图像确定该被摄对象和该预设位置 在每个图像的位置关系,则可以确定位置关系变化,若根据该位置关系变化指示存在异常,如该被摄对象与该预设位置的距离缩短,且该被摄对象的运动方向为该预设位置,则提示子模块3022可以发出提示。In some possible embodiments, referring to FIG. 3-2, the prompting module 302 may include a determining sub-module 3022 and a prompting sub-module 3021, wherein the determining sub-module 3022 determines the subject according to the at least two images and the Preset position In the positional relationship of each image, the change of the positional relationship may be determined. If the abnormality is indicated according to the change of the positional relationship, if the distance between the subject and the preset position is shortened, and the moving direction of the subject is the pre- With the location set, the prompt sub-module 3022 can issue a prompt.
由于可以通过该被摄对象和该预设位置的距离和该被摄对象的运动方向确定两者的位置关系变化,提供了提示子模块3022是否发出提出的具体依据。Since the positional relationship change between the subject and the preset position and the moving direction of the subject can be determined, whether the prompting sub-module 3022 issues the proposed specific basis is provided.
在一些可行的实施例中,请参考图3-3,确定子模块3021可以包括第一确定单元30211、第二确定单元30212和第三确定单元30213。该至少两张图像中的第一图像和第二图像,第一确定单元30211可以根据该第一图像确定确定该被摄对象的第一位置,根据该第二图像确定该被摄对象的第二位置。若存在第三图像,该VR设备可以根据该第三确定确定该被摄对象的第三位置,因此可以根据该至少两张图像确定该被摄对象的至少两个位置,然后第二确定单元30212根据该至少两个位置确定该被摄对象的运动轨迹,该运动轨迹即为在不同的时间点上所处的至少两个位置。接着第三确定单元30213根据该被摄对象的运动轨迹确定与该预设位置的位置关系变化,该位置关系变化可以为两者逐渐远离、一方逐渐接近另一方、两者都在运动但是距离不变等,此处不做限定。In some possible embodiments, referring to FIG. 3-3, the determining submodule 3021 may include a first determining unit 30211, a second determining unit 30212, and a third determining unit 30213. a first image and a second image of the at least two images, the first determining unit 30211 may determine a first position of the subject according to the first image, and determine a second of the subject according to the second image position. If there is a third image, the VR device may determine the third position of the subject according to the third determination, so at least two positions of the subject may be determined according to the at least two images, and then the second determining unit 30212 A motion trajectory of the subject is determined according to the at least two positions, that is, at least two positions at different time points. Then, the third determining unit 30213 determines a change in the positional relationship with the preset position according to the motion trajectory of the subject, and the positional relationship change may be that the two gradually move away, one of the parties gradually approaches the other, and both are moving but the distance is not Change, etc., not limited here.
由于通过第一图像和第二图像确定第一位置和第二位置,并以该第一位置和该第二位置为该被摄对象的运动轨迹,因此明确了确定被摄对象的运动轨迹的方式。Since the first position and the second position are determined by the first image and the second image, and the first position and the second position are the motion trajectory of the subject, the manner of determining the motion trajectory of the subject is clarified .
在一些可行的实施例中,请参考图3-4,该确定子模块3021还包括获取单元30214和第四确定单元30215。其中,获取单元30214可以获取该VR设备300的运动轨迹,由于该预设位置相对于该VR设备300而言为固定位置,因此可以使得第四确定单元30215根据该VR设备300的运动轨迹确定该预设位置的运动轨迹,接着该第三确定单元30213根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。In some possible embodiments, referring to FIG. 3-4, the determining submodule 3021 further includes an obtaining unit 30214 and a fourth determining unit 30215. The obtaining unit 30214 can obtain the motion track of the VR device 300. Since the preset position is a fixed position with respect to the VR device 300, the fourth determining unit 30215 can determine the motion track according to the motion track of the VR device 300. The motion track of the preset position, and then the third determining unit 30213 determines a change in the positional relationship between the subject and the preset position according to the motion track of the subject and the motion track of the preset position.
由于该预设位置相对于该VR设备300为一固定位置,因此可以根据该VR设备300的运动轨迹确定了该预设位置的运动轨迹,并进而确定被摄对象和预设位置的位置关系和位置关系变化。Since the preset position is a fixed position relative to the VR device 300, the motion trajectory of the preset position may be determined according to the motion trajectory of the VR device 300, and then the positional relationship between the subject and the preset position may be determined. The positional relationship changes.
在一些可行的实施例中,具体的,请参考图3-5,获取单元30214还包括采集子单元302141和确定子单元302142,其中,该采集子单元302141可以通过至少一个传感器实时采集运动信息,以得到运动数据,该运动数据包括该VR设备在不同时间点的速度和运动方向,以使得该确定子单元302142根据该运动数据确定该VR设备300的运动轨迹。In some possible embodiments, specifically, referring to FIG. 3-5, the obtaining unit 30214 further includes a collecting subunit 302141 and a determining subunit 302142, wherein the collecting subunit 302141 can collect motion information in real time through at least one sensor. To obtain motion data, the motion data includes speed and motion direction of the VR device at different time points, so that the determining subunit 302142 determines a motion trajectory of the VR device 300 according to the motion data.
由于可以通过至少一个传感器采集到运动信息,并因此得到运动数据,且根据该运动数据确定VR设备300的运动轨迹,因此确定了VR设备300的运动轨迹的确定方式。Since the motion information can be acquired by the at least one sensor, and thus the motion data is obtained, and the motion trajectory of the VR device 300 is determined based on the motion data, the determination manner of the motion trajectory of the VR device 300 is determined.
在一些可行的实施例中,请参考图3-6,该第二确定单元30212还可以包括第一确定子单元302121和第二确定子单元302122和第三确定子单元302123。在本申请实施例中,第一确定子单元302121用于分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,以使得第二确定子单元302122确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,然后第三确定子单元302123确定该第一质心的第一位置和该第二质心的第二位置,则该第二确定单元可以确定该被摄对象的至少两个位置。In some possible embodiments, referring to FIG. 3-6, the second determining unit 3012 may further include a first determining subunit 302121 and a second determining subunit 302122 and a third determining subunit 302123. In the embodiment of the present application, the first determining subunit 302121 is configured to respectively determine a first maximum grayscale block of the first image and a second largest grayscale block of the second image, so that the second determining subunit 302122 determines a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block, and then a third determining subunit 302123 determines a first position of the first centroid and a second position of the second centroid, Then the second determining unit may determine at least two locations of the subject.
由于通过最大灰度块确定质心,通过质心确定位置,因此可以准确地确定VR设备300的位置。 Since the centroid is determined by the maximum gray scale block, the position is determined by the centroid, so the position of the VR device 300 can be accurately determined.
本发明实施例还提供了一种VR设备300中,采集模块301可以通过摄像头采集具有相同被摄对象的图像,若在不同的时间点获取了至少两张图像,该至少两张图像中的第一图像和第二图像,第一确定单元30211可以根据该第一图像确定确定该被摄对象的第一位置,根据该第二图像确定该被摄对象的第二位置。若存在第三图像,该VR设备可以根据该第三确定确定该被摄对象的第三位置,因此可以根据该至少两张图像确定该被摄对象的至少两个位置。The embodiment of the present invention further provides a VR device 300. The acquisition module 301 can collect images having the same subject through a camera. If at least two images are acquired at different time points, the first of the at least two images An image and a second image, the first determining unit 30211 may determine a first position of the subject according to the first image, and determine a second position of the subject according to the second image. If there is a third image, the VR device may determine the third position of the subject according to the third determination, so at least two positions of the subject may be determined according to the at least two images.
然后第一确定子单元302121用于分别确定该第一图像的第一最大灰度块和该第二图像的第二最大灰度块,以使得第二确定子单元302122确定该第一最大灰度块的第一质心和该第二最大灰度块的第二质心,然后第三确定子单元302123确定该第一质心的第一位置和该第二质心的第二位置,则该第二确定单元可以确定该被摄对象的至少两个位置。The first determining subunit 302121 is then configured to respectively determine a first maximum grayscale block of the first image and a second largest grayscale block of the second image, such that the second determining subunit 302122 determines the first maximum grayscale a first centroid of the block and a second centroid of the second largest grayscale block, and then the third determining subunit 302123 determines a first location of the first centroid and a second location of the second centroid, then the second determining unit At least two positions of the subject can be determined.
其中,该采集子单元302141可以通过至少一个传感器实时采集运动信息,以得到运动数据,该运动数据包括该VR设备在不同时间点的速度和运动方向,以使得该确定子单元302142根据该运动数据确定该VR设备300的运动轨迹。因此可以使得第四确定单元30215根据该VR设备300的运动轨迹确定该预设位置的运动轨迹,接着该第三确定单元30213根据该被摄对象的运动轨迹和该预设位置的运动轨迹确定该被摄对象与预设位置的位置关系变化。The collection subunit 302141 may collect motion information in real time by using at least one sensor to obtain motion data, where the motion data includes speed and motion direction of the VR device at different time points, so that the determining subunit 302142 is based on the motion data. The motion trajectory of the VR device 300 is determined. Therefore, the fourth determining unit 30215 can determine the motion trajectory of the preset position according to the motion trajectory of the VR device 300, and then the third determining unit 30213 determines the motion trajectory of the subject and the motion trajectory of the preset position. The positional relationship between the subject and the preset position changes.
接着第三确定单元30213根据该被摄对象的运动轨迹确定与该预设位置的位置关系变化,该位置关系变化可以为两者逐渐远离、一方逐渐接近另一方、两者都在运动但是距离不变等,此处不做限定,在一些可行的实施例中,若该位置变化关系显示,该被摄对象是运动的,且运动方向为该预设位置,即可认为该被摄对象是逐渐持续接近该预设位置的,当确定该被摄对象持续接近该预设位置,且距离已经小于预设距离,则可以认为存在异常情况,则提示子模块3022可以发出提示。Then, the third determining unit 30213 determines a change in the positional relationship with the preset position according to the motion trajectory of the subject, and the positional relationship change may be that the two gradually move away, one of the parties gradually approaches the other, and both are moving but the distance is not It is not limited here. In some feasible embodiments, if the position change relationship is displayed, the subject is moving, and the moving direction is the preset position, the subject is considered to be gradually If the object continues to be close to the preset position and the distance is already less than the preset distance, the abnormality may be considered, and the prompting sub-module 3022 may issue a prompt.
在一些可以行的实施例中,该VR设备可以发出提示,该提示可以包括在用户的VR视频上显示文字,如“存在异常情况,请注意人身安全”,或者弹出动画或其他影像信息以指示存在异常情况,或者发出警报声以指示存在异常情况,在一些可行的实施例中,还可以发出强光,若对方是盗窃或者其他异常情况,可以让对方表示自身已经察觉,还可以关闭VR视频,打开后置摄像头,以看到眼前的情况,此处不做限定。In some embodiments, the VR device may issue a prompt, which may include displaying text on the user's VR video, such as "There is an abnormal situation, please pay attention to personal safety", or pop up an animation or other image information to indicate There is an abnormal situation, or an alarm sounds to indicate that there is an abnormal situation. In some feasible embodiments, a strong light can also be emitted. If the other party is a theft or other abnormal situation, the other party can indicate that he or she has detected that the VR video can be turned off. , open the rear camera to see the situation in front of you, not limited here.
当用户使用该VR设备,由于VR设备可以拍摄至少两张图像,可以根据该至少两张图像指示存在异常情况,若存在异常情况,则可以发出提示,以使得用户提高警觉,以提高安全性。When the user uses the VR device, the VR device can capture at least two images, and the abnormality can be indicated according to the at least two images. If there is an abnormal situation, a prompt can be issued to make the user alert to improve security.
以上以该VR设备的功能装置为例进行了说明,以下结合具体的实施例进行说明,在本申请实施例中,以VR设备为终端和VR配件为例进行说明,VR设备可以为一个终端,也可以为终端和VR配件的集合,只要可以执行相关功能,此处不做限定,请参考图4-1,其为终端和VR配件的集合示意图。The following describes the function device of the VR device as an example. The following describes the VR device as a terminal and the VR device as an example. The VR device can be a terminal. It can also be a collection of terminals and VR accessories. As long as the related functions can be performed, it is not limited here. Please refer to Figure 4-1, which is a collection of terminals and VR accessories.
在本申请实施例中,该VR配件可以为VR眼镜,当终端和VR眼镜配合使用时,用户可以通过VR眼镜的镜片观看到3维效果。在一些可行的实施例中,该VR配件还可以与终端连接,以通过耳机向用户播放相关音频,此处不做限定。在本申请实施例中,VR设备运行时,终端屏幕可以实现如图4-2所示的效果(图4-2,为终端的屏幕效果的示意图),左边的图像为左眼观看到的,右边的图像为右眼观看到的,两边的图像在屏幕上的位置稍有不同,以模拟两眼的观看方式,当使用用户将终端的屏幕配合VR眼镜则可以得到3维的观看效果。 In the embodiment of the present application, the VR accessory may be a VR glasses. When the terminal and the VR glasses are used together, the user can view the 3-dimensional effect through the lens of the VR glasses. In some possible embodiments, the VR accessory can also be connected to the terminal to play related audio to the user through the earphone, which is not limited herein. In the embodiment of the present application, when the VR device is running, the terminal screen can achieve the effect shown in FIG. 4-2 (FIG. 4-2, which is a schematic diagram of the screen effect of the terminal), and the image on the left side is viewed by the left eye. The image on the right is viewed by the right eye, and the images on the two sides are slightly different on the screen to simulate the viewing mode of the two eyes. When the user uses the screen of the terminal with the VR glasses, a three-dimensional viewing effect can be obtained.
具体的,请参考图4-3,为一种终端A的主体设备的示意图,该终端A可以为包括手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)、车载电脑等任意终端设备,以终端为手机为例:Specifically, please refer to FIG. 4-3, which is a schematic diagram of a main device of the terminal A, which may include a mobile phone, a tablet computer, a personal digital assistant (PDA), and a point of sales (Point of Sales, POS), on-board computer and other terminal devices, taking the terminal as a mobile phone as an example:
图4-3示出的是与本发明实施例提供的终端A相关的手机的部分结构的框图。参考图4-3,手机包括:射频(Radio Frequency,RF)电路C-10、存储器C-20、输入单元C-30、显示单元C-40、传感器C-50、音频电路C-60、无线保真(wireless fidelity,Wi-Fi)模块C-70、处理器C-80、以及电源C-90等部件。本领域技术人员可以理解,图4-3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。4-3 is a block diagram showing a part of the structure of a mobile phone related to the terminal A provided by the embodiment of the present invention. Referring to FIG. 4-3, the mobile phone includes: radio frequency (RF) circuit C-10, memory C-20, input unit C-30, display unit C-40, sensor C-50, audio circuit C-60, wireless Components such as the wireless fidelity (Wi-Fi) module C-70, processor C-80, and power supply C-90. Those skilled in the art will appreciate that the handset structure illustrated in Figures 4-3 does not constitute a limitation to a handset, and may include more or fewer components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图4-3对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in conjunction with Figure 4-3:
RF电路C-10可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器C-80处理;另外,将设计上行的数据发送给基站。通常,RF电路C-10包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路C-10还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit C-10 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor C-80. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit C-10 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit C-10 can also communicate with the network and other devices through wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器C-20可用于存储软件程序以及模块,处理器C-80通过运行存储在存储器C-20的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器C-20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器C-20可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory C-20 can be used to store software programs and modules, and the processor C-80 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory C-20. The memory C-20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the storage data area may be Stores data created based on the use of the phone (such as audio data, phone book, etc.). Further, the memory C-20 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元C-30可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元C-30可包括触控面板C-31以及其他VR设备C-32。触控面板C-31,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板C-31上或在触控面板C-31附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板C-31可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器C-80,并能接收处理器C-80发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板C-31。除了触控面板C-31,输入单元C-30还可以包括其他VR设备C-32。具体地,其他VR设备C-32可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Input unit C-30 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit C-30 may include a touch panel C-31 and other VR devices C-32. The touch panel C-31, also called a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like, on any suitable object or accessory on the touch panel C-31 or in touch The operation near the panel C-31), and the corresponding connecting device is driven according to a preset program. Optionally, the touch panel C-31 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor C-80 is provided and can receive commands from the processor C-80 and execute them. In addition, the touch panel C-31 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel C-31, the input unit C-30 may also include other VR devices C-32. Specifically, other VR devices C-32 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元C-40可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。 显示单元C-40可包括显示面板C-41,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板C-41。进一步的,触控面板C-31可覆盖显示面板C-41,当触控面板C-31检测到在其上或附近的触摸操作后,传送给处理器C-80以确定触摸事件的类型,随后处理器C-80根据触摸事件的类型在显示面板C-41上提供相应的视觉输出。虽然在图4-3中,触控面板C-31与显示面板C-41是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板C-31与显示面板C-41集成而实现手机的输入和输出功能。The display unit C-40 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit C-40 may include a display panel C-41. Alternatively, the display panel C-41 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. . Further, the touch panel C-31 can cover the display panel C-41, and when the touch panel C-31 detects a touch operation on or near it, it is transmitted to the processor C-80 to determine the type of the touch event. Processor C-80 then provides a corresponding visual output on display panel C-41 depending on the type of touch event. Although in FIG. 4-3, the touch panel C-31 and the display panel C-41 are used as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel C may be The -31 integrates with the display panel C-41 to realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器C-50,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板C-41的亮度,接近传感器可在手机移动到耳边时,关闭显示面板C-41和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor C-50, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel C-41 according to the brightness of the ambient light, and the proximity sensor may close the display panel C when the mobile phone moves to the ear. -41 and / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路C-60、扬声器C-61,传声器C-62可提供用户与手机之间的音频接口。音频电路C-60可将接收到的音频数据转换后的电信号,传输到扬声器C-61,由扬声器C-61转换为声音信号输出;另一方面,传声器C-62将收集的声音信号转换为电信号,由音频电路C-60接收后转换为音频数据,再将音频数据输出处理器C-80处理后,经RF电路C-10以发送给比如另一手机,或者将音频数据输出至存储器C-20以便进一步处理。Audio circuit C-60, speaker C-61, and microphone C-62 provide an audio interface between the user and the handset. The audio circuit C-60 can transmit the converted electrical signal of the received audio data to the speaker C-61, and convert it into a sound signal output by the speaker C-61; on the other hand, the microphone C-62 converts the collected sound signal. The electrical signal is received by the audio circuit C-60 and converted into audio data, and then processed by the audio data output processor C-80, sent to the other mobile phone via the RF circuit C-10, or output the audio data to Memory C-20 for further processing.
Wi-Fi属于短距离无线传输技术,手机通过Wi-Fi模块C-70可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4-3示出了Wi-Fi模块C-70,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wi-Fi is a short-range wireless transmission technology. The mobile phone can help users to send and receive e-mail, browse web pages and access streaming media through the Wi-Fi module C-70. It provides users with wireless broadband Internet access. Although FIG. 4-3 shows the Wi-Fi module C-70, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
处理器C-80是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器C-20内的软件程序和/或模块,以及调用存储在存储器C-20内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器C-80可包括一个或多个处理单元;优选的,处理器C-80可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器C-80中。The processor C-80 is the control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory C-20, and calling the memory in the memory C- The data in 20, the various functions of the mobile phone and the processing of data, so as to monitor the mobile phone as a whole. Optionally, the processor C-80 may include one or more processing units; preferably, the processor C-80 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system and a user interface. And applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor C-80.
手机还包括给各个部件供电的电源C-90(比如电池),优选的,电源可以通过电源管理系统与处理器C-80逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。The mobile phone also includes a power source C-90 (such as a battery) that supplies power to various components. Preferably, the power source can be logically connected to the processor C-80 through a power management system to manage charging, discharging, and power management through the power management system. And other functions. Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
当用户在公共场合使用VR设备时,由于双眼佩戴了VR设备,无暇顾及周围,可能会遇到盗窃之类危险事件,因此,需要一种措施对周围可能遇到的危险事件进行预警。当前,可以通过超声波测试周围物体与设备的距离以进行预警,但是这样只能得到物体与自身的距离,并不能因此得出这是危险的结论。When a user uses a VR device in a public place, since the VR device is worn by both eyes, there is no danger of incidents such as theft, and therefore, a measure is needed to warn dangerous events that may be encountered around. At present, it is possible to perform an early warning by ultrasonically testing the distance between the surrounding object and the device, but this can only obtain the distance between the object and itself, and thus cannot conclude that this is dangerous.
本申请通过对VR设备的运动模式识别,对采集的图像进行数据采集,随后进行图像处理,从而得以判断物体与自身的距离以及物体是否逐渐靠近自身,从而判断是否需要进行预警。 若需要,则可以通知用户注意,因此可有效地帮助用户在使用VR设备时排除危险的情况。The present invention performs data collection on the acquired image by performing motion pattern recognition on the VR device, and then performs image processing, thereby determining whether the distance between the object and itself and whether the object gradually approaches itself, thereby determining whether an early warning is required. If necessary, the user can be notified, so it can effectively help the user to eliminate dangerous situations when using the VR device.
具体的,请参考图5-1,为本申请中的VR设备执行本申请实施例的流程示意图:Specifically, please refer to FIG. 5-1, which is a schematic flowchart of performing the embodiment of the present application by the VR device in the present application:
D1、开启预警模式。D1, open the early warning mode.
用户可以通过在终端的VR应用上开启预警模式,也可以在VR配件上开启预警模式(例如按压VR配件上的某个快捷键),此处不做限定。进一步地,VR设备也可自动开启预警模式,例如在用户佩戴好VR设备后,实时采集当前的地理位置,根据地理位置信息自动开启预警模式(例如在监测到当前地理位置为人流量比较大的商场,则自动开启预警模式);或者,在用户佩戴好VR设备后,实时采集当前的加速度,当加速度达到一定的阈值时候自动开启预警模式(例如在监测到当前用户处于移动的环境中,如公交车上,则自动开启预警模式)。The user can enable the early warning mode on the VR application of the terminal, or enable the early warning mode on the VR accessory (for example, pressing a shortcut key on the VR accessory), which is not limited herein. Further, the VR device can automatically start the early warning mode. For example, after the user wears the VR device, the current geographic location is collected in real time, and the early warning mode is automatically started according to the geographical location information (for example, when the current geographic location is monitored as a relatively large traffic volume) , the warning mode is automatically turned on; or, after the user wears the VR device, the current acceleration is collected in real time, and the early warning mode is automatically turned on when the acceleration reaches a certain threshold (for example, when the current user is in a mobile environment, such as a bus) In the car, the warning mode is automatically turned on).
D2、运动模式识别。D2, motion pattern recognition.
当开启了预警模式后,VR设备会通过惯性传感器或者其他传感器对自身的运动模式进行识别,以获得自身的运动信息,如运动速度(包括实时速度和平均速度)、运动方向、位移距离以及运动轨迹等,并可以通过计算以坐标系的点表达VR设备、运动轨迹以及其他物品的位置。When the warning mode is turned on, the VR device recognizes its own motion mode through inertial sensors or other sensors to obtain its own motion information, such as motion speed (including real-time speed and average speed), motion direction, displacement distance, and motion. Trajectories, etc., and can represent the position of VR devices, motion trajectories, and other items by calculating points in the coordinate system.
在本申请实施例中,VR设备可以通过运动识别模块中的惯性传感器获取自身的运动数据,如速度、方向和位移等,再对以上数据进行处理,则VR设备可以得到自身的运动轨迹以及实时移动的速度。图5-2为使用VR设备从A点到B点的运动轨迹示意图,在该示意图中,VR设备的运动轨迹为A点到B点的虚线,VR设备在从A点到B点的过程中通过惯性传感器获取其速度、方向和位移,并通过波形识别得到运动轨迹和实时速度。In the embodiment of the present application, the VR device can obtain its own motion data, such as speed, direction, and displacement through the inertial sensor in the motion recognition module, and then process the above data, so that the VR device can obtain its own motion track and real-time. The speed of movement. Figure 5-2 is a schematic diagram of the motion trajectory from point A to point B using a VR device. In this diagram, the motion trajectory of the VR device is the dotted line from point A to point B, and the VR device is in the process from point A to point B. The speed, direction and displacement are obtained by the inertial sensor, and the motion trajectory and real-time speed are obtained through waveform recognition.
如图5-3,为固定位置坐标系的示意图,在该示意图中,VR设备可以设置A点为起始点,且设置该点为固定位置坐标系的原点(0,0,0),并确定x轴、y轴和z轴的方向,以得到一个固定位置坐标系,其中x轴、y轴和z轴可以随意选择,只要量量垂直即可,一般的,会设置x轴和y轴为地平面的轴,z为垂直于地平面,其正方向指向天空。由于固定位置坐标系的原点A点以地球为参考是一个不动点,该固定位置坐标系也可以称为地球坐标系。As shown in Figure 5-3, it is a schematic diagram of a fixed position coordinate system. In this diagram, the VR device can set the A point as the starting point and set the point to the origin (0, 0, 0) of the fixed position coordinate system, and determine The directions of the x-axis, the y-axis, and the z-axis are used to obtain a fixed-position coordinate system, wherein the x-axis, the y-axis, and the z-axis can be selected at will, as long as the amount is vertical, and generally, the x-axis and the y-axis are set. The axis of the ground plane, z is perpendicular to the ground plane, and its positive direction points to the sky. Since the origin A of the fixed position coordinate system is a fixed point with reference to the earth, the fixed position coordinate system can also be called the earth coordinate system.
在本申请实施例中,当VR设备从A点运动到B点的过程中,可以通过惯性传感器和波形识别确定A点到B点的路径中的任意一点的坐标以及B点坐标,设B点的固定位置坐标系的坐标为(b1’,b2’,b3’),即向量AB的值。In the embodiment of the present application, when the VR device moves from point A to point B, the coordinates of any point in the path from point A to point B and the point of point B can be determined by inertial sensor and waveform recognition, and point B is set. The coordinates of the fixed position coordinate system are (b1', b2', b3'), that is, the value of the vector AB.
然而,对于VR设备,也可以形成一个坐标系,称为VR坐标系,如图5-4,为VR坐标系的示意图,在该示意图中,该VR坐标系以B点为原点(0,0,0),其x轴、y轴和z轴方向与固定位置坐标系的x轴、y轴和z轴方向一致,因此B点的VR坐标系的坐标为(0,0,0),A点的VR坐标系的坐标为(a1,a2,a3),即向量BA的值,相当于(a1,a2,a3)=-(b1’,b2’,b3’)。However, for a VR device, a coordinate system, also referred to as a VR coordinate system, as shown in FIG. 5-4, is a schematic diagram of the VR coordinate system. In the schematic diagram, the VR coordinate system takes the B point as the origin (0, 0). , 0), the x-axis, y-axis, and z-axis directions coincide with the x-axis, y-axis, and z-axis directions of the fixed position coordinate system, so the coordinates of the VR coordinate system at point B are (0, 0, 0), A The coordinates of the VR coordinate system of the point are (a1, a2, a3), that is, the value of the vector BA, which is equivalent to (a1, a2, a3) = - (b1', b2', b3').
在一些可行的实施例中,对于任意一点C,C点对于VR设备坐标系的坐标为(c1,c2,c3),对于固定位置坐标系的坐标为(c1’,c2’,c3’),由于(c1,c2,c3)其实为向量BC的值,(c1’,c2’,c3’)为向量AC的值,因此向量AC=向量AB+向量BC,即对于任意一点C,其固定位置坐标系的坐标与VR设备坐标系的坐标的关系为:(c1’,c2’,c3’)=(b1’,b2’,b3’)+(c1,c2,c3),如图5-5,为C点的坐标示意图。对于固定的点B而言,(b1’,b2’,b3’)是固定的,因此可以假设其对于B点的VR坐标系的坐标转换为A点的固 定位置坐标系的坐标的转换系数△A-B。当确定了转换系数△A-B,则VR设备获取任何一点的VR坐标系的坐标时,都可以转换为固定位置坐标系的坐标,可以用于判定其中一点是否逐渐靠近另一点。In some possible embodiments, for any point C, the coordinates of point C for the VR device coordinate system are (c1, c2, c3), and the coordinates for the fixed position coordinate system are (c1', c2', c3'), Since (c1, c2, c3) is actually the value of vector BC, (c1', c2', c3') is the value of vector AC, so vector AC = vector AB + vector BC, ie for any point C, its fixed position coordinates The relationship between the coordinates of the system and the coordinates of the VR device coordinate system is: (c1', c2', c3') = (b1', b2', b3') + (c1, c2, c3), as shown in Figure 5-5. A schematic diagram of the coordinates of point C. For the fixed point B, (b1', b2', b3') is fixed, so it can be assumed that the coordinate of the coordinate of the VR coordinate system of point B is converted to the coordinate of the fixed position coordinate system of point A. AB . When the conversion coefficient Δ AB is determined, the VR device can convert the coordinates of the VR coordinate system at any point to the coordinates of the fixed position coordinate system, and can be used to determine whether one point is gradually approaching another point.
D3、图像采集。D3, image acquisition.
在本申请实施例中,VR设备可以通过图像采集,例如通过手机的摄像头或VR眼镜的摄像头,获取VR设备周围的物体。在一些可行的实施例中,可以通过VR设备上的运动识别摄像机(DVS)进行数据采集。具体的,在该VR设备上内置2个或以上的DVS,该DVS用于拍摄运动的物体,即非运动的物体无法进行拍摄。模拟2个人眼判断远近的原理,通过2个DVS拍摄出来的图像判断物体与自身的位置关系。In the embodiment of the present application, the VR device can acquire an object around the VR device through image acquisition, for example, through a camera of a mobile phone or a camera of the VR glasses. In some possible embodiments, data acquisition can be performed by a motion recognition camera (DVS) on the VR device. Specifically, two or more DVSs are built in the VR device, and the DVS is used to capture moving objects, that is, non-moving objects cannot be photographed. The principle of judging the distance between two human eyes is simulated, and the positional relationship between the object and itself is judged by the images taken by the two DVSs.
在本申请实施例中,图像采集模块用于采集图像。可选地,还可以通过彩色摄像头采集图像。可选地,为降低彩色摄像头产生的功耗,也可以通过动态视觉传感器(Dynamic Vision Sensor,DVS)摄像头采集图像。该DVS摄像头用于拍摄运动的物体,并仅能拍摄到运动的物体,其拍摄得到的图片可以为黑白的,图5-6所示为拍摄效果示意图,若干手掌是运动的,如挥手,截取其中一帧,为DVS摄像机拍摄得到的黑白效果图。In the embodiment of the present application, the image acquisition module is used to collect images. Alternatively, images can also be acquired by a color camera. Optionally, to reduce the power consumption of the color camera, images can also be acquired by a Dynamic Vision Sensor (DVS) camera. The DVS camera is used to capture moving objects, and can only capture moving objects. The captured images can be black and white. Figure 5-6 shows the shooting effect. Some palms are moving, such as waving and intercepting. One of the frames is a black and white rendering of the DVS camera.
D4、图像处理。D4, image processing.
当进行了运动模式识别和图像采集之后,通过运动模式识别可获知自身的位置和移动状态,通过图像采集获知物体相对于自身的位置和移动状态,则可以得到物体的位置。通过多次记录物体和自身的位置,判断物体是否逐渐靠近自身,并以此判断是否处于危险,是否需要进行预警。After the motion pattern recognition and image acquisition are performed, the position and movement state of the object can be known by the motion pattern recognition, and the position of the object relative to itself can be obtained through image acquisition, and the position of the object can be obtained. By recording the object and its position multiple times, it is judged whether the object is gradually approaching itself, and whether it is dangerous or not, whether an early warning is required.
在本申请实施例中,当图像采集模块采集到图像时,如图5-7所示,为DVS摄像机采集的图像示意图,可以对该图像进行最大连通域的处理,得到灰度块,在此可以认为该灰度块为一个物体。如图5-8所示,为最大连通域的处理效果示意图。In the embodiment of the present application, when the image acquisition module collects an image, as shown in FIG. 5-7, a schematic diagram of an image acquired by the DVS camera, the maximum connected domain may be processed for the image, and a grayscale block is obtained. The gray scale block can be considered as an object. Figure 5-8 shows the processing effect of the maximum connected domain.
再根据滑动窗口法确定该该灰度块的质心,如图5-9所示,该图为灰度块的质心示意图,设该质心为D点。当确定了图像中的D点后,可以确定D点在三维空间中的位置。Then, the centroid of the gray block is determined according to the sliding window method, as shown in FIG. 5-9, which is a schematic diagram of the centroid of the gray block, and the centroid is set to point D. When the D point in the image is determined, the position of the D point in the three-dimensional space can be determined.
在本申请实施例中,由于通过2个DVS摄像头进行拍摄,因此得到D点对于不同的DVS摄像头而言的位置有所不同,如图5-10所示,为D点分别在两个DVS摄像头中的位置。In the embodiment of the present application, since the shooting is performed by two DVS cameras, the position of the D point is different for different DVS cameras, as shown in FIG. 5-10, and the D points are respectively in the two DVS cameras. The location in .
类似人眼的原理,通过D点对于两个DVS摄像机的不同,如图得出D相对于VR设备的坐标,设为(d1,d2,d3),如图5-11所示,为D点在VR设备坐标系下的坐标示意图。Similar to the principle of the human eye, through the difference of D points for two DVS cameras, the coordinates of D relative to the VR device are obtained as shown in (d1, d2, d3), as shown in Figure 5-11, which is D point. Schematic diagram of coordinates in the VR device coordinate system.
请参考图5-12,为D点在固定位置坐标系下的坐标示意图,当确定了D点的VR设备坐标系后,可以计算D点相对于固定位置坐标系的坐标,具体的计算方法为,设D的固定位置坐标系的坐标为(d1’,d2’,d3’),则:Please refer to Figure 5-12, which is the coordinate diagram of the D point in the fixed position coordinate system. When the VR device coordinate system of the D point is determined, the coordinates of the D point relative to the fixed position coordinate system can be calculated. The specific calculation method is Let the coordinates of the fixed position coordinate system of D be (d1', d2', d3'), then:
(d1’,d2’,d3’)=(d1,d2,d3)+(b1’,b2’,b3’)=(d1,d2,d3)+△A-B.(d1', d2', d3') = (d1, d2, d3) + (b1', b2', b3') = (d1, d2, d3) + △ AB .
在本申请实施例中,当确定了D点和B点的固定位置坐标,可以确定两点之间的距离,当相对于固定位置坐标而言D点运动了,可以确定D点的运动方向是否为B点,即可以确定D点是否逐渐靠近VR设备。在一些可行的实施例中,也可以确定另外2点,通过周期性获取2点的固定位置坐标,以判断2点是否逐渐靠近,此处不做限定。In the embodiment of the present application, when the fixed position coordinates of the D point and the B point are determined, the distance between the two points can be determined. When the D point moves relative to the fixed position coordinate, it can be determined whether the moving direction of the D point is For point B, it can be determined whether point D is getting closer to the VR device. In some feasible embodiments, the other two points may also be determined, and the fixed position coordinates of the two points are periodically acquired to determine whether the two points are gradually approaching, which is not limited herein.
D5、进行预警。D5, for early warning.
若经过图像处理判断为有危险需要进行预警,则发出预警。具体的,预警方式可以包括 在用户正在观看的VR视频上显示文字或图像,也可以发出强光或者发出声音等,此处不做限定。If an early warning is required if it is judged to be dangerous by image processing, an early warning is issued. Specifically, the warning method can include Displaying text or images on the VR video that the user is watching may also emit a strong light or a sound, etc., which is not limited herein.
需要说明的是,为了满足以上功能,该VR设备可以内置预警系统E,请参考图6,为该预警系统E的示意图,该预警系统E包括系统设置模块E1、运动模式识别模块E2、图像采集模块E3、图像处理检测模块E4和预警模块E5,分别用于运行以上D1-D5的功能。It should be noted that, in order to meet the above functions, the VR device can be built with an early warning system E. Please refer to FIG. 6 , which is a schematic diagram of the early warning system E. The early warning system E includes a system setting module E1, a motion pattern recognition module E2, and image acquisition. The module E3, the image processing detection module E4, and the warning module E5 are respectively used to run the functions of the above D1-D5.
以上描述了图像采集模块、运动识别模块和图像处理模块的功能以及实现原理,以下结合实施例进行说明,请参考图7-1,为实施例的进行流程示意图。The functions and implementation principles of the image acquisition module, the motion recognition module, and the image processing module are described above. The following is described in conjunction with the embodiments. Referring to FIG. 7-1, a flow chart of the embodiment is shown.
S1、开启预警功能。S1, open the warning function.
请参考图7-2,为用户使用VR设备的示意图。在本申请实施例中,当用户使用VR设备时,若该VR设备是全封闭式被用户佩戴的,则用户可能无法通过眼镜观察到周围的物体和发生的事情。当用户在户外使用该VR设备时,若有人盗窃或者发生其他危险情况,则需要预警功能,在本申请实施例中,以用户在户外的公园散步为例进行说明。Please refer to Figure 7-2 for a schematic diagram of the VR device for the user. In the embodiment of the present application, when the user uses the VR device, if the VR device is fully enclosed and worn by the user, the user may not be able to observe surrounding objects and things happening through the glasses. When the user uses the VR device outdoors, if there is someone stealing or other dangerous situations, an early warning function is required. In the embodiment of the present application, the user walks in the outdoor park as an example for description.
在一些可行的实施例中,VR设备开机自动启动预警功能,也可以由认为按钮开启,也可以通过语音指令开启,也可以通过其他方式开启,此处不做限定。需要说明的是,该VR设备可以是手机和VR眼镜,也可以是一体的VR设备,此处不做限定。在本申请实施例中,VR设备内置的图像采集模块可以包括2个DVS摄像机,用于拍摄物体并确定观察的物体在三维空间的位置。In some possible embodiments, the VR device automatically starts the early warning function, and may also be opened by the button, or may be opened by a voice command, or may be opened by other means, which is not limited herein. It should be noted that the VR device may be a mobile phone and a VR glasses, or may be an integrated VR device, which is not limited herein. In the embodiment of the present application, the image acquisition module built in the VR device may include two DVS cameras for capturing an object and determining the position of the observed object in a three-dimensional space.
S2、采集运动数据。S2, collecting motion data.
在本申请实施例中,用户使用VR设备在公园散步,如图7-3,为用户散步的示意图。则此时,请参考图7-4,VR设备可以确定一个固定点A和以A点为原点的固定位置坐标系,当用户运动到B点时,则可以确定以B点为原点的VR设备坐标系,其中以向量AB的值为坐标系转换系数△A-B,用于对任意点在VR设备坐标系的坐标和固定位置坐标系的坐标之间进行转化。In the embodiment of the present application, the user walks in the park using the VR device, as shown in FIG. 7-3, which is a schematic diagram of walking for the user. At this time, please refer to Figure 7-4. The VR device can determine a fixed point A and a fixed position coordinate system with the point A as the origin. When the user moves to point B, the VR device with the point B as the origin can be determined. A coordinate system in which the value of the vector AB is a coordinate system conversion coefficient Δ AB for transforming an arbitrary point between the coordinates of the VR device coordinate system and the coordinates of the fixed position coordinate system.
S3、获取图像。S3. Acquire an image.
在本申请实施例中,当用户面前或周围出现运动的人或物(请参考图7-5,为用户面前出现人物示意图),则可以通过DVS摄像机获取其运动的图像,如运动的是该人的手(请参考图7-6,为DVS摄像机截取的运动的手的示意图)。由于VR设备内置2个DVS摄像机,2个DVS摄像机分别拍摄了该手的图像,类似人眼的原理确定该手对于VR设备的位置。In the embodiment of the present application, when a person or thing that appears to be moving in front of or around the user (refer to FIG. 7-5, a schematic diagram of the character appears in front of the user), the image of the motion can be obtained by the DVS camera, such as the motion. Human hand (please refer to Figure 7-6 for a schematic diagram of the moving hand taken by the DVS camera). Since the VR device has two DVS cameras built in, two DVS cameras respectively capture the image of the hand, and the principle of the human eye determines the position of the hand for the VR device.
S4、判别危险行为。S4, discriminate dangerous behavior.
在本申请实施例中,当通过DVS摄像机获取了运动的手的图像后,可以通过图像处理模块进行处理。具体的,通过最大连通域法确定图像中的灰度块,再确定该灰度块的质心F,(如图7-7,为运动的手的图像的灰度块以及质心的示意图)则在2个DVS摄像机中分别呈现出2个不同的图像(如图7-8,为运动的手的质心分别在2个DVS摄像机中的位置),则可以以此确定F点对于VR设备的坐标(f1,f2,f3)(如图7-9,为F点的VR设备坐标系的坐标)。In the embodiment of the present application, after the image of the moving hand is acquired by the DVS camera, the image processing module may perform processing. Specifically, the grayscale block in the image is determined by the maximum connected domain method, and then the centroid F of the grayscale block is determined, (as shown in FIG. 7-7, the grayscale block of the image of the moving hand and the schematic diagram of the centroid) Two different images are presented in the two DVS cameras (as shown in Figure 7-8, where the center of mass of the moving hand is in the two DVS cameras), then the coordinates of the F point for the VR device can be determined ( F1, f2, f3) (Figure 7-9, the coordinates of the VR device coordinate system at point F).
在本申请实施例中,当确定了F点的VR设备坐标系的坐标,则可以通过坐标系转换系数△A-B计算F点的固定位置坐标系的坐标(f1’,f2’,f3’)(如图7-10,为F点的固定点设备坐标系的坐标),具体的: In the embodiment of the present application, when the coordinates of the VR device coordinate system of the F point are determined, the coordinates (f1', f2', f3') of the fixed position coordinate system of the F point can be calculated by the coordinate system conversion coefficient Δ AB ( As shown in Figure 7-10, the coordinates of the coordinate system of the fixed point device at point F), specifically:
(f1’,f2’,f3’)=(f1,f2,f3)+△A-B (f1', f2', f3') = (f1, f2, f3) + △ AB
在一些可行的实施例中,如图7-11,为用户的贵重物品的示意图,假设用户肩背的包里有贵重物品,该贵重物体为手机,该手机相对于VR设备的坐标,即VR设备坐标系的坐标可以在开启预警模式时预先设置,在此,假设该手机的位置为G点,其VR设备坐标系的坐标为(g1,g2,g3),转换为固定位置坐标系的坐标为(g1’,g2’,g3’)。需要说明的是,该贵重物品对于VR设备而言为一个固定位置,即该贵重物品相对于VR设备是静止的。另外,一般的,当用户在开启VR设备的预警功能时,尽量把该贵重物品放置在VR设备的摄像头的拍摄范围之内。具体的,若该VR设备的DVS摄像头为可以调节角度的,则可以设置自动对准将该贵重物品,以使得该贵重物品在该DVS摄像头的拍摄范围内,若该DVS摄像头为不可调节角度的,则用户可以尽量把贵重物品放在该DVS摄像头可以拍摄到的位置,以增强其安全性。In some feasible embodiments, as shown in FIG. 7-11, a schematic diagram of a user's valuables, assuming that there is a valuable item in the bag of the user's shoulder, the valuable object is a mobile phone, and the coordinates of the mobile phone relative to the VR device, ie, VR The coordinates of the device coordinate system can be preset before the warning mode is turned on. Here, it is assumed that the position of the mobile phone is G point, and the coordinate of the VR device coordinate system is (g1, g2, g3), which is converted into the coordinate of the fixed position coordinate system. Is (g1', g2', g3'). It should be noted that the valuable item is a fixed position for the VR device, that is, the valuable item is stationary with respect to the VR device. In addition, in general, when the user turns on the early warning function of the VR device, the valuable item is placed as far as possible within the shooting range of the camera of the VR device. Specifically, if the DVS camera of the VR device is adjustable in angle, the automatic item can be automatically aligned to make the valuable item within the shooting range of the DVS camera. If the DVS camera is not adjustable, The user can try to place valuables in the position that the DVS camera can capture to enhance its security.
综上该,则确定了贵重物品的位置G点和运动的手的位置F点的固定位置坐标系的坐标了,相对于固定位置坐标系,G点和F点的位置关系如图7-12,为固定位置坐标系的G点和F点的位置关系。In summary, the coordinates of the fixed position coordinate system of the position G of the valuable item and the position F of the moving hand are determined. The positional relationship between the G point and the F point is shown in Fig. 7-12 with respect to the fixed position coordinate system. Is the positional relationship between the G point and the F point of the fixed position coordinate system.
在本申请实施例中,判定该运动的手是否危险的依据可以为:F点是否逐渐接近G点,若F点逐渐接近G点,且与F点与G点的距离在预置范围内,则确定F点为危险事件。具体的,请参考图7-13,为F点的运动方向以及与G的位置关系的示意图。当F点与G点的距离小于等于第一阈值(如2米)时,VR设备可以启动计数器M,M的初始值可以为0,并周期性(如0.1秒一次)地记录G点和F点的位置关系以及F点的运动方向;若第二次记录到F点到G点的距离缩小,且F点的运动方向为G点,则M会累加1,即M=M+1=1;若第三次记录到F点到G点的距离缩小,且F点的运动方向为G点,则M会累加1,即M=M+1=2;以此类推,当F点持续接近G点,则M持续累加,直到M达到阈值M0(如M0=10),当M>=M0,且F点和G点的距离小于等于第二阈值(如1米)时,则可以判定F点所代表的运动的手是危险的,即存在危险情况!在一些可行的实施例中,若在终端F点远离G点或者转移方向,则M的值可以被重置为0。In the embodiment of the present application, the basis for determining whether the moving hand is dangerous may be: whether the F point gradually approaches the G point, and if the F point gradually approaches the G point, and the distance from the F point and the G point is within a preset range, Then point F is determined to be a dangerous event. Specifically, please refer to FIG. 7-13, which is a schematic diagram of the moving direction of the F point and the positional relationship with the G. When the distance between point F and point G is less than or equal to the first threshold (such as 2 meters), the VR device can start the counter M, the initial value of M can be 0, and record G point and F periodically (such as once every 0.1 seconds). The positional relationship of the point and the moving direction of the point F; if the distance from the second point to the point G is reduced, and the moving direction of the point F is the point G, then M will be incremented by 1, ie, M=M+1=1 If the distance from the F point to the G point is reduced in the third time, and the movement direction of the point F is G point, then M will accumulate 1 , that is, M=M+1=2; and so on, when the point F continues to approach At point G, M continues to accumulate until M reaches the threshold M0 (eg, M0=10). When M>=M0, and the distance between point F and point G is less than or equal to the second threshold (eg, 1 meter), then F can be determined. The hand of the movement represented by the point is dangerous, that is, there is a dangerous situation! In some possible embodiments, the value of M may be reset to zero if the terminal F point is away from the G point or the direction of the transfer.
S5、进行预警。S5, for early warning.
在本申请实施例中,当通过图像处理模块的处理下确定有危险情况,则可以通过预警模块进行预警。具体的预警方式,可以在VR设备的屏幕上显示预警,如图7-14所示,为在VR设备的屏幕上显示预警示意图,该预警可以为文字预警,如“请注意,有疑似盗窃行为!”也可以显示DVS摄像头摄取的图像(如图7-15,为VR设备的屏幕中显示文字的预警的示意图),也可以对发出强光或者发出警报声(如图7-16,为VR设备的发出强光或者发出警报声的预警的示意图),此处不做限定。In the embodiment of the present application, when a dangerous situation is determined by the processing of the image processing module, the early warning module may perform an early warning. The specific warning mode can display an alarm on the screen of the VR device, as shown in Figure 7-14. The alarm is displayed on the screen of the VR device. The warning can be a text warning. For example, please note that there is a suspected theft. !) You can also display the image captured by the DVS camera (as shown in Figure 7-15, which is a schematic diagram of the warning of the text displayed on the screen of the VR device). It can also emit a strong light or an alarm sound (Figure 7-16, VR). A schematic diagram of the device emitting a strong light or warning of an alarm sound, which is not limited here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、 光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。 The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, Fiber, Digital Subscriber Line (DSL) or wireless (eg infrared, wireless, microwave, etc.) is transmitted to another website, computer, server or data center. The computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Claims (24)

  1. 一种提示方法,所述方法应用于VR设备,其特征在于,包括:A prompting method, the method being applied to a VR device, comprising:
    所述VR设备通过摄像头采集至少两张图像,所述至少两张图像具有相同的被摄对象;The VR device collects at least two images through a camera, the at least two images having the same subject;
    所述VR设备根据所述被摄对象与预设位置的位置关系变化发出提示,所述被摄对象与预设位置的位置关系变化为所述VR设备根据所述至少两张图像确定的。The VR device issues a prompt according to a change in the positional relationship between the subject and the preset position, and the positional relationship between the subject and the preset position is changed by the VR device according to the at least two images.
  2. 根据权利要求1所述方法,其特征在于,所述VR设备根据所述被摄对象与预设位置的位置关系变化发出提示包括:The method according to claim 1, wherein the prompting by the VR device according to the change of the positional relationship between the subject and the preset position comprises:
    所述VR设备根据所述至少两张图像确定所述被摄对象和所述预设位置的位置关系变化;Determining, by the VR device, a change in a positional relationship between the subject and the preset position according to the at least two images;
    若根据所述位置关系变化指示所述被摄对象与所述预设位置的距离缩短,且所述被摄对象的运动方向为所述预设位置,则所述VR设备发出提示。The VR device issues a prompt if the distance between the subject and the preset position is shortened according to the positional relationship change, and the moving direction of the subject is the preset position.
  3. 根据权利要求2所述方法,其特征在于,所述VR设备根据所述至少两张图像确定所述被摄对象和所述预设位置的位置关系变化包括:The method according to claim 2, wherein the determining, by the VR device, the change in the positional relationship between the subject and the preset position according to the at least two images comprises:
    所述VR设备分别根据所述至少两张图像中的第一图像和第二图像确定所述被摄对象的第一位置和第二位置;Determining, by the VR device, a first location and a second location of the subject according to the first image and the second image of the at least two images, respectively;
    所述VR设备根据所述第一位置和所述第二位置确定所述被摄对象的运动轨迹;Determining, by the VR device, a motion trajectory of the subject according to the first location and the second location;
    所述VR设备根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化。The VR device determines a change in the positional relationship with the preset position according to a motion trajectory of the subject.
  4. 根据权利要求1-3中任一项所述方法,其特征在于,所述预设位置相对于所述VR设备为一个固定位置。The method of any of claims 1-3, wherein the predetermined position is a fixed position relative to the VR device.
  5. 根据权利要求1-4中任一项所述方法,所述预设位置在所述VR设备的摄像头的拍摄范围之内。The method according to any one of claims 1 to 4, wherein the preset position is within a shooting range of a camera of the VR device.
  6. 根据权利要求3或4所述方法,其特征在于,所述VR设备根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化之前,还包括:The method according to claim 3 or 4, wherein before the VR device determines the change in the positional relationship with the preset position according to the motion trajectory of the subject, the method further includes:
    所述VR设备获取所述VR设备的运动轨迹;The VR device acquires a motion track of the VR device;
    所述VR设备根据所述VR设备的运动轨迹确定所述预设位置的运动轨迹;Determining, by the VR device, a motion trajectory of the preset position according to a motion trajectory of the VR device;
    所述VR设备根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化包括:Determining, by the VR device, a change in the positional relationship with the preset position according to the motion trajectory of the subject includes:
    所述VR设备根据所述被摄对象的运动轨迹和所述预设位置的运动轨迹确定所述被摄对象与预设位置的位置关系变化。The VR device determines a change in the positional relationship between the subject and the preset position according to the motion trajectory of the subject and the motion trajectory of the preset position.
  7. 根据权利要求6所述方法,其特征在于,所述VR设备获取所述VR设备的运动轨迹包括:The method of claim 6, wherein the acquiring, by the VR device, the motion track of the VR device comprises:
    所述VR设备通过至少一个传感器实时采集运动信息,得到运动数据;The VR device collects motion information in real time through at least one sensor to obtain motion data;
    所述VR设备根据所述运动数据确定所述VR设备的运动轨迹。The VR device determines a motion trajectory of the VR device according to the motion data.
  8. 根据权利要求2-7中任一项所述方法,其特征在于,所述VR设备分别根据所述至少两张图像中的第一图像和第二图像确定所述被摄对象的第一位置和第二位置包括:The method according to any one of claims 2-7, wherein the VR device determines a first position of the subject and a first image based on the first image and the second image of the at least two images, respectively The second location includes:
    所述VR设备分别确定所述第一图像的第一最大灰度块和所述第二图像的第二最大灰度块;Determining, by the VR device, a first maximum grayscale block of the first image and a second largest grayscale block of the second image, respectively;
    所述VR设备确定所述第一最大灰度块的第一质心和所述第二最大灰度块的第二质心;Determining, by the VR device, a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block;
    所述VR设备确定所述第一质心的第一位置和所述第二质心的第二位置。The VR device determines a first location of the first centroid and a second location of the second centroid.
  9. 根据权利要求1-8中任一项所述方法,其特征在于,所述被摄对象包括手或镊子。A method according to any one of claims 1-8, wherein the subject comprises a hand or a dice.
  10. 根据权利要求1-9中任一项所述方法,其特征在于,所述提示包括警报声、关闭VR 视频、所述VR设备的屏幕上的文字提示或影像提示。Method according to any of the claims 1-9, characterized in that the prompt comprises an alarm sound and the VR is turned off Video, text prompts or image prompts on the screen of the VR device.
  11. 一种VR设备,其特征在于,包括:A VR device, comprising:
    采集模块,用于通过摄像头采集至少两张图像,所述至少两张图像具有相同的被摄对象;An acquisition module, configured to acquire at least two images by using a camera, the at least two images having the same subject;
    提示模块,用于根据所述被摄对象与预设位置的位置关系变化发出提示,所述被摄对象与预设位置的位置关系变化为所述VR设备根据所述至少两张图像确定的。And a prompting module, configured to issue a prompt according to the change of the positional relationship between the subject and the preset position, where the positional relationship between the subject and the preset position is changed by the VR device according to the at least two images.
  12. 根据权利要求11所述VR设备,其特征在于,所述提示模块包括:The VR device according to claim 11, wherein the prompting module comprises:
    确定子模块,用于根据所述至少两张图像确定所述被摄对象和所述预设位置的位置关系变化;Determining a sub-module, configured to determine, according to the at least two images, a change in a positional relationship between the subject and the preset position;
    提示子模块,用于若根据所述位置关系变化指示所述被摄对象与所述预设位置的距离缩短,且所述被摄对象的运动方向为所述预设位置,则发出提示。The prompting sub-module is configured to issue a prompt if the distance between the subject and the preset position is shortened according to the positional relationship change, and the moving direction of the subject is the preset position.
  13. 根据权利要求12所述VR设备,其特征在于,所述确定子模块包括:The VR device according to claim 12, wherein the determining submodule comprises:
    第一确定单元,用于分别根据所述至少两张图像中的第一图像和第二图像确定所述被摄对象的第一位置和第二位置;a first determining unit, configured to determine a first location and a second location of the subject according to the first image and the second image of the at least two images, respectively;
    第二确定单元,用于根据所述第一位置和所述第二位置确定所述被摄对象的运动轨迹;a second determining unit, configured to determine a motion trajectory of the subject according to the first location and the second location;
    第三确定单元,用于根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化。And a third determining unit, configured to determine a change in the positional relationship with the preset position according to the motion trajectory of the subject.
  14. 根据权利要求12或13所述VR设备,其特征在于,所述确定子模块还包括:The VR device according to claim 12 or 13, wherein the determining submodule further comprises:
    获取单元,用于获取所述VR设备的运动轨迹;An acquiring unit, configured to acquire a motion track of the VR device;
    第四确定单元,用于根据所述VR设备的运动轨迹确定所述预设位置的运动轨迹;a fourth determining unit, configured to determine a motion trajectory of the preset position according to a motion trajectory of the VR device;
    所述第三确定单元,具体用于根据所述被摄对象的运动轨迹和所述预设位置的运动轨迹确定所述被摄对象与预设位置的位置关系变化。The third determining unit is specifically configured to determine a positional relationship change between the subject and the preset position according to the motion trajectory of the subject and the motion trajectory of the preset position.
  15. 根据权利要求14所述VR设备,其特征在于,所述获取单元包括:The VR device according to claim 14, wherein the obtaining unit comprises:
    采集子单元,用于通过至少一个传感器实时采集运动信息,得到运动数据;The collecting subunit is configured to collect motion information in real time by using at least one sensor to obtain motion data;
    确定子单元,用于根据所述运动数据确定所述VR设备的运动轨迹。Determining a subunit for determining a motion trajectory of the VR device based on the motion data.
  16. 根据权利要求12-15中任一项所述VR设备,其特征在于,所述第二确定单元包括:The VR device according to any one of claims 12-15, wherein the second determining unit comprises:
    第一确定子单元,用于分别确定所述第一图像的第一最大灰度块和所述第二图像的第二最大灰度块;a first determining subunit, configured to respectively determine a first maximum grayscale block of the first image and a second largest grayscale block of the second image;
    第二确定子单元,用于确定所述第一最大灰度块的第一质心和所述第二最大灰度块的第二质心;a second determining subunit, configured to determine a first centroid of the first maximum grayscale block and a second centroid of the second largest grayscale block;
    第三确定子单元,用于确定所述第一质心的第一位置和所述第二质心的第二位置。And a third determining subunit, configured to determine a first position of the first centroid and a second position of the second centroid.
  17. 一种VR设备,其特征在于,包括:处理器、存储器、一个或多个应用程序;其中,A VR device, comprising: a processor, a memory, one or more applications; wherein
    所述一个或多个应用程序被存储在所述存储器中,所述一个或多个应用程序包括指令,当所述指令被所述VR设备执行时,使得所述VR设备执行以下步骤:The one or more applications are stored in the memory, the one or more applications including instructions that, when executed by the VR device, cause the VR device to perform the following steps:
    通过摄像头采集至少两张图像,所述至少两张图像具有相同的被摄对象;Acquiring at least two images by a camera, the at least two images having the same subject;
    根据所述被摄对象与预设位置的位置关系变化发出提示,所述被摄对象与预设位置的位置关系变化为所述VR设备根据所述至少两张图像确定的。And prompting according to the change of the positional relationship between the subject and the preset position, the positional relationship of the subject and the preset position is changed by the VR device according to the at least two images.
  18. 根据权利要求17所述VR设备,其特征在于,在根据所述被摄对象与预设位置的位置关系变化发出提示步骤中,所述至少一个处理器执行所述若干指令使所述VR设备至少执行如下步骤: The VR device according to claim 17, wherein in said step of issuing a prompt according to a change in positional relationship between said subject and a preset position, said at least one processor executes said plurality of instructions to cause said VR device to at least Perform the following steps:
    根据所述至少两张图像确定所述被摄对象和所述预设位置的位置关系变化;Determining a change in a positional relationship between the subject and the preset position according to the at least two images;
    若根据所述位置关系变化指示所述被摄对象与所述预设位置的距离缩短,且所述被摄对象的运动方向为所述预设位置,则发出提示。And indicating that the distance between the subject and the preset position is shortened according to the positional relationship change, and the moving direction of the subject is the preset position.
  19. 根据权利要求18所述VR设备,其特征在于,在所述VR设备根据所述至少两张图像确定所述被摄对象和所述预设位置的位置关系变化步骤中,所述至少一个处理器执行所述若干指令使所述VR设备至少执行如下步骤:The VR device according to claim 18, wherein in the step of determining a positional relationship between the subject and the preset position based on the at least two images, the at least one processor Executing the instructions causes the VR device to perform at least the following steps:
    分别根据所述至少两张图像中的第一图像和第二图像确定所述被摄对象的第一位置和第二位置;Determining a first location and a second location of the subject according to the first image and the second image of the at least two images, respectively;
    根据所述第一位置和所述第二位置确定所述被摄对象的运动轨迹;Determining a motion trajectory of the subject according to the first position and the second position;
    根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化。A change in the positional relationship with the preset position is determined according to a motion trajectory of the subject.
  20. 根据权利要求18或19所述VR设备,其特征在于,所述至少一个处理器执行所述若干指令使所述VR设备还执行如下步骤:The VR device according to claim 18 or 19, wherein said at least one processor executes said plurality of instructions to cause said VR device to further perform the following steps:
    获取所述VR设备的运动轨迹;Obtaining a motion track of the VR device;
    根据所述VR设备的运动轨迹确定所述预设位置的运动轨迹;Determining a motion trajectory of the preset position according to a motion trajectory of the VR device;
    根据所述被摄对象的运动轨迹确定与所述预设位置的位置关系变化包括:Determining a change in the positional relationship with the preset position according to the motion trajectory of the subject includes:
    根据所述被摄对象的运动轨迹和所述预设位置的运动轨迹确定所述被摄对象与预设位置的位置关系变化。Determining a change in the positional relationship of the subject with the preset position according to the motion trajectory of the subject and the motion trajectory of the preset position.
  21. 根据权利要求20所述VR设备,其特征在于,在获取所述VR设备的运动轨迹步骤中,所述至少一个处理器执行所述若干指令使所述VR设备至少执行如下步骤:The VR device according to claim 20, wherein in the step of acquiring a motion track of the VR device, the at least one processor executing the instructions causes the VR device to perform at least the following steps:
    通过至少一个传感器实时采集运动信息,得到运动数据;Collecting motion information in real time through at least one sensor to obtain motion data;
    根据所述运动数据确定所述VR设备的运动轨迹。A motion trajectory of the VR device is determined based on the motion data.
  22. 根据权利要求17-21中任一项所述VR设备,其特征在于,在分别根据所述至少两张图像中的第一图像和第二图像确定所述被摄对象的第一位置和第二位置步骤中,所述至少一个处理器执行所述若干指令使所述VR设备至少执行如下步骤:The VR device according to any one of claims 17 to 21, wherein the first position and the second position of the subject are determined based on the first image and the second image of the at least two images, respectively In the location step, the at least one processor executes the instructions to cause the VR device to perform at least the following steps:
    分别确定所述第一图像的第一最大灰度块和所述第二图像的第二最大灰度块;Determining a first maximum grayscale block of the first image and a second largest grayscale block of the second image, respectively;
    确定所述第一最大灰度块的第一质心和所述第二最大灰度块的第二质心;Determining a first centroid of the first maximum gray scale block and a second centroid of the second maximum gray scale block;
    确定所述第一质心的第一位置和所述第二质心的第二位置。A first position of the first centroid and a second position of the second centroid are determined.
  23. 一种计算机程序产品,其特征在于,当所述计算机程序产品在VR设备上运行时,使得所述VR设备执行如权利要求1-10中任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on a VR device, the VR device is caused to perform the method of any of claims 1-10.
  24. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在VR设备上运行时,使得所述VR设备执行如权利要求1-10中任一项所述的方法。 A computer readable storage medium comprising instructions, wherein the instructions, when executed on a VR device, cause the VR device to perform the method of any of claims 1-10.
PCT/CN2017/098593 2017-06-16 2017-08-23 Prompting method and vr device WO2018227757A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710458137 2017-06-16
CN201710458137.5 2017-06-16

Publications (1)

Publication Number Publication Date
WO2018227757A1 true WO2018227757A1 (en) 2018-12-20

Family

ID=64659025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098593 WO2018227757A1 (en) 2017-06-16 2017-08-23 Prompting method and vr device

Country Status (1)

Country Link
WO (1) WO2018227757A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721758A (en) * 2020-05-26 2021-11-30 华为技术有限公司 Fitness guiding method and electronic equipment
CN116840833A (en) * 2023-08-31 2023-10-03 沈阳顺义科技有限公司 Method for measuring track of mass body

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170330A (en) * 2013-03-02 2014-09-18 Yasuaki Iwai Virtual reality presentation system, virtual reality presentation method and virtual reality presentation device
US20160155187A1 (en) * 2014-12-01 2016-06-02 Verizon Patent And Licensing Inc. Customized virtual reality user environment control
CN105807920A (en) * 2016-03-03 2016-07-27 北京小鸟看看科技有限公司 Virtual reality equipment as well as method and device for monitoring ground obstacles under using scene of virtual reality equipment
CN106295581A (en) * 2016-08-15 2017-01-04 联想(北京)有限公司 Obstacle detection method, device and virtual reality device
CN106652345A (en) * 2016-12-26 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Safety monitoring method, safety monitoring device and virtual reality equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170330A (en) * 2013-03-02 2014-09-18 Yasuaki Iwai Virtual reality presentation system, virtual reality presentation method and virtual reality presentation device
US20160155187A1 (en) * 2014-12-01 2016-06-02 Verizon Patent And Licensing Inc. Customized virtual reality user environment control
CN105807920A (en) * 2016-03-03 2016-07-27 北京小鸟看看科技有限公司 Virtual reality equipment as well as method and device for monitoring ground obstacles under using scene of virtual reality equipment
CN106295581A (en) * 2016-08-15 2017-01-04 联想(北京)有限公司 Obstacle detection method, device and virtual reality device
CN106652345A (en) * 2016-12-26 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Safety monitoring method, safety monitoring device and virtual reality equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721758A (en) * 2020-05-26 2021-11-30 华为技术有限公司 Fitness guiding method and electronic equipment
CN116840833A (en) * 2023-08-31 2023-10-03 沈阳顺义科技有限公司 Method for measuring track of mass body
CN116840833B (en) * 2023-08-31 2023-11-10 沈阳顺义科技有限公司 Method for measuring track of mass body

Similar Documents

Publication Publication Date Title
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN107943551A (en) A kind of screen display method and mobile terminal
CN108362304B (en) Data processing method and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN109862504A (en) A kind of display methods and terminal device
CN108919883A (en) A kind of camera head protecting method and mobile terminal
CN109618218B (en) Video processing method and mobile terminal
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN110300267A (en) Photographic method and terminal device
CN110213485A (en) A kind of image processing method and terminal
CN108564613A (en) A kind of depth data acquisition methods and mobile terminal
US20230115445A1 (en) Time display method and apparatus, and electronic device
CN109718559A (en) Game control method, mobile terminal and computer readable storage medium
CN108429856A (en) A kind of location information acquisition methods and mobile terminal
WO2018227757A1 (en) Prompting method and vr device
CN114205701B (en) Noise reduction method, terminal device and computer readable storage medium
CN109558009A (en) Video broadcasting method, mobile terminal and computer readable storage medium
CN108848321A (en) Expose optimization method, device and computer readable storage medium
CN112232898A (en) Space display method and device, electronic equipment and storage medium
CN109753776B (en) Information processing method and device and mobile terminal
CN108632466B (en) Volume compensation method and mobile terminal
CN107911585B (en) Image processing method and device of mobile terminal and mobile terminal
CN109618278A (en) A kind of localization method and mobile terminal
CN109701279A (en) Game control method, mobile terminal and computer readable storage 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: 17913252

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: 17913252

Country of ref document: EP

Kind code of ref document: A1