A parameter detection method, device and equipment

By designing a parameter detection device including a concealer, a VR display device, an imaging unit, a rotation mechanism and a driving device, the problem of the inability to record the rotation angle of the VR display device in real time and accurately in the prior art is solved, and more accurate rotation delay and angle drift measurements are achieved.

CN114596421BActive Publication Date: 2025-03-18CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011429634.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-07
Publication Date
2025-03-18
Estimated Expiration
2040-12-07

AI Technical Summary

Technical Problem

The existing methods of detecting the rotation delay and angular drift of VR display devices cannot record the actual angle of rotation of the device in real time and accurately, resulting in poor accuracy of the measurement results.

Method used

A parameter detection device is designed, including a concealer, a VR display device, an imaging unit, a rotating mechanism and a driving device. The driving device drives the rotating mechanism to drive the concealer to rotate in three preset directions. The imaging unit is fixed to the center of the eyepiece of the VR display device, and records and measures the rotation angle of the VR display device in real time.

Benefits of technology

Accurate control and real-time recording of the actual rotation angle of VR display devices is realized, and the accuracy of measurement results for measuring rotation delay and angle drift is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596421B_ABST
    Figure CN114596421B_ABST
Patent Text Reader

Abstract

The present invention provides a parameter detection method, device and equipment to solve the problem that the existing method for detecting the rotation delay and angle drift of VR display devices cannot record the actual angle of the device rotation in real time and accurately, resulting in poor accuracy of the measurement results. The device of the present invention includes: a VR display device to be tested and a camera unit located in a dark box, the camera unit is fixed at the center of the eyepiece of the VR display device; a rotating mechanism connected to the dark box and a driving device respectively, and a processor connected to the VR display device, the camera unit and the driving device respectively, wherein the driving device drives the rotating mechanism to rotate, driving the dark box to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin. The present invention can realize the precise control and real-time recording of the actual rotation angle of the VR display device, and improve the accuracy of the subsequent measurement results of the rotation delay and angle drift of the VR display device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a parameter detection method, device and equipment. Background Art

[0002] Virtual Reality (VR) technology is a computer simulation system that can create and experience a virtual world. It uses computers to generate a simulated environment and immerses users in the simulated environment through multi-source information fusion, interactive three-dimensional dynamic vision and system simulation of entity behavior.

[0003] Among them, rotation delay and angle drift are two important indicators for users to purchase VR display devices. Detecting whether the rotation delay and angle drift of VR display devices meet the standards has also become an important inspection item before the product leaves the factory. The existing detection scheme often adopts the method of marking and encoding several specific positions on the platform, collecting the positions and times of these marks in sequence during the measurement process, performing linear fitting and estimation on the rotation process, and indirectly completing the measurement of the display device position. It is impossible to record the actual angle of rotation of the device in real time and accurately, which in turn affects the error of the fitting calculation and causes the problem of poor accuracy of the measurement results. Summary of the invention

[0004] The purpose of the present invention is to provide a parameter detection method, device and equipment to solve the problem that the existing method for detecting the rotation delay and angle drift of VR display devices cannot record the actual angle of rotation of the device in real time and accurately, which in turn affects the error of the fitting calculation and causes the problem of poor accuracy of the measurement results.

[0005] In order to achieve the above object, the present invention provides a parameter detection device, comprising:

[0006] Camera obscura;

[0007] A virtual reality (VR) display device and a camera unit to be tested are located in the dark box, wherein the camera unit is fixed at the center of the eyepiece of the VR display device;

[0008] A rotating mechanism connected to the dark box;

[0009] A driving device, wherein the driving device is connected to the rotating mechanism, the driving device drives the rotating mechanism to rotate, and the rotating mechanism drives the dark box to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin;

[0010] A processor, wherein the processor is respectively connected to the VR display device, the camera unit and the driving device.

[0011] Wherein, the rotating mechanism comprises: a plurality of rotating shafts, and the driving device comprises: a plurality of servo motors;

[0012] Wherein, the servo motor drives the corresponding rotating shaft to rotate in the corresponding preset direction, so as to drive the dark box to rotate in the corresponding preset direction.

[0013] The present invention further provides a parameter detection method, which is applied to the parameter detection device as in the above embodiment, comprising:

[0014] Acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere;

[0015] When the VR display device displays the VR image, the accumulated rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is acquired at each corresponding moment;

[0016] Obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image;

[0017] According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated;

[0018] Among them, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

[0019] The step of obtaining a virtual reality VR image and a color value of each pixel of the VR image includes:

[0020] Draw a VR image and obtain the position coordinates of each pixel point of the VR image;

[0021] Based on the position coordinates of each pixel point, each pixel point is color-coded to obtain a color value of each pixel point, and the position coordinates of each pixel point and the color value have a preset corresponding relationship.

[0022] Wherein, obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image includes:

[0023] According to the color values ​​of the plurality of preset pixel points on each plane image, position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image are obtained;

[0024] According to the position coordinates of the VR image corresponding to the positions of a plurality of preset pixel points on each plane image, the rotation angle of the VR image at each moment is calculated.

[0025] The plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions at four vertices of the plane image.

[0026] The present invention also provides a parameter detection device, comprising:

[0027] A first acquisition module is used to acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the sphere center;

[0028] A second acquisition module is used to record the cumulative rotation angle of the driving device at each moment when the VR display device displays the VR image, and to respectively acquire each plane image captured by the camera unit at each corresponding moment;

[0029] A first processing module, configured to obtain a rotation angle of the VR image at each moment according to color values ​​of a plurality of preset pixel positions on each plane image;

[0030] A first calculation module is used to calculate the rotation delay time and angle drift of the VR display device according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment;

[0031] Among them, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

[0032] The present invention also provides a parameter detection device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the parameter detection method as described above is implemented.

[0033] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the parameter detection method as described above are implemented.

[0034] The above technical solution of the present invention has at least the following beneficial effects:

[0035] In an embodiment of the present invention, a virtual reality VR display device and a camera unit to be tested are located in a dark box, and the camera unit is fixed at the center of the eyepiece of the VR display device; a rotating mechanism connected to the dark box and a driving device, respectively, is connected to the processors of the VR display device, the camera unit and the driving device, wherein the driving device drives the rotating mechanism to rotate, and drives the dark box to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, so that the driving device drives the rotating mechanism to rotate, and drives the dark box, that is, the VR display device, to rotate in the three preset directions respectively, and the VR display device to be tested can rotate freely, and can realize accurate control and real-time recording of the actual rotation angle of the VR display device, thereby improving the accuracy of the measurement results of the subsequent measurement of the rotation delay and angle drift of the VR display device. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 One of the structural schematic diagrams showing the parameter detection device according to the embodiment of the present invention;

[0037] Figure 2 A second structural schematic diagram showing a parameter detection device according to an embodiment of the present invention;

[0038] Figure 3 A schematic diagram showing a flow chart of a parameter detection method according to an embodiment of the present invention;

[0039] Figure 4 A schematic diagram showing a VR image according to an embodiment of the present invention;

[0040] Figure 5 A schematic diagram showing the rotation angle of a VR device and a VR image over time according to an embodiment of the present invention;

[0041] Figure 6 A schematic diagram showing a module of a parameter detection device according to an embodiment of the present invention;

[0042] Figure 7 A schematic diagram showing the structure of a parameter detection device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0044] The present invention aims to provide a parameter detection method, device and equipment for the problem that the existing method for detecting the rotation delay and angle drift of VR display devices cannot record the actual angle of device rotation in real time and accurately, which further affects the error of fitting calculation and causes poor accuracy of measurement results.

[0045] like Figures 1-2 The figure is a schematic diagram of the structure of the parameter detection device provided by the embodiment of the present invention. The parameter detection device comprises: a dark box 1; a virtual reality VR display device 2 and a camera unit 3 to be tested located in the dark box 1, and the camera unit 3 is fixed at the center of the eyepiece of the VR display device 2; a rotating mechanism, the rotating mechanism is connected to the dark box 1, and a driving device is connected to the rotating mechanism, the driving device drives the rotating mechanism to rotate, and the rotating mechanism drives the dark box 1 to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device 2 as the origin; a processor 4, and the processor 4 is respectively connected to the VR display device 2, the camera unit 3 and the driving device.

[0046] Optionally, the camera unit 3 is a high-definition camera. The camera unit 3 is fixed at the center of the eyepiece of the VR display device 2, and the camera unit 3 moves synchronously with the VR display device, that is, the camera unit 3 rotates with the rotation of the VR display device.

[0047] It should be noted that the virtual reality VR display device 2 and the camera unit 3 to be tested are both placed in a dark box 1, which can avoid the influence of external light on the measurement accuracy.

[0048] Here, the processor 4 and the driving device may be integrated into one device.

[0049] It should be noted that, since the VR display device 2 is placed in the dark box 1, the rotating mechanism drives the dark box 1 to rotate in three preset directions respectively, that is, the rotating mechanism drives the VR display device 2 to rotate in three preset directions respectively.

[0050] Here, the three-dimensional coordinate system is a three-dimensional Cartesian coordinate system, and the three coordinate axes in the coordinate system are respectively an x-axis, a y-axis, and a z-axis. Since the rotation mechanism can drive the VR display device 2 to rotate in three preset directions respectively, the rotation delay and angle drift of the VR display device in three rotational degrees of freedom can be detected.

[0051] Optionally, the rotating mechanism includes: multiple rotating shafts, and the driving device includes: multiple servo motors (not shown in the figure); wherein the servo motors drive the corresponding rotating shafts to rotate in corresponding preset directions to drive the darkroom 1 to rotate in the corresponding preset direction.

[0052] Specifically, each of the multiple rotating shafts is driven by a servo motor, that is, the rotation angle of each of the multiple rotating shafts is controlled by a servo motor.

[0053] As an optional implementation, the plurality of rotating axes include: a first rotating axis 5, a second rotating axis 6 and a third rotating axis 7, wherein the first rotating axis 5, the second rotating axis 6 and the third rotating axis 7 are respectively distributed in the three preset directions. The driving device includes: a first servo motor, a second servo motor and a third servo motor.

[0054] Specifically, the three preset directions include the x-axis direction, the y-axis direction, and the z-axis direction of a three-dimensional coordinate system with the VR display device 2 as the origin.

[0055] Here, the first rotation axis 5 is distributed in the y-axis direction, and the first rotation axis 5 can be called the pitch rotation axis; the second rotation axis 6 is distributed in the x-axis direction, and the second rotation axis 6 can be called the roll rotation axis; the third rotation axis 7 is distributed in the z-axis direction, and the third rotation axis 7 can be called the yaw rotation axis.

[0056] Here, specifically, the first servo motor is used to drive the first rotating shaft 5 to rotate, and the first rotating shaft 5 drives the dark box 1 to rotate in the y-axis direction; the second servo motor is used to drive the second rotating shaft 6 to rotate, and the second rotating shaft 6 drives the dark box 1 to rotate in the x-axis direction; the third servo motor is used to drive the third rotating shaft 7 to rotate, and the third rotating shaft 7 drives the dark box 1 to rotate in the z-axis direction.

[0057] In order to achieve simultaneous measurement of the rotation delay time and the angle drift in three preset directions, i.e., three rotational degrees of freedom, further, as Figure 1 As shown, as an optional implementation, the rotating mechanism of the embodiment of the present invention may further include:

[0058] A first bracket 8 connected to the first rotating shaft 5, and the dark box 1 is fixed to the first bracket 8; a second bracket 9 connected to the first rotating shaft 5 and the second rotating shaft 6 respectively; and a third bracket 10 connected to the second rotating shaft 6 and the third rotating shaft 7 respectively.

[0059] When the first servo motor drives the first rotating shaft 5 to rotate, the first rotating shaft 5 drives the first bracket 8 and the dark box 1 to rotate in a first preset direction. For example, the first preset direction is the y-axis direction.

[0060] When the second servo motor drives the second rotating shaft 6 to rotate, the second rotating shaft 6 drives the second bracket 9, the first rotating shaft 5 and the dark box 1 to rotate in the second preset direction. For example, the second preset direction is the x-axis direction.

[0061] It should be noted that, in this case, the first rotating shaft 5 does not affect the rotation of the first bracket 8 and the dark box 1 in the first preset direction. That is to say, when the second servo motor drives the second rotating shaft 6 to rotate and the first servo motor drives the first rotating shaft 5 to rotate, the dark box 1 can rotate in the second preset direction and the first preset direction at the same time.

[0062] When the third servo motor drives the third rotating shaft 7 to rotate, the third rotating shaft 7 drives the third bracket, the second rotating shaft 6 and the dark box 1 to rotate in a third preset direction. For example, the third preset direction is the z-axis direction.

[0063] It should be noted that, in this case, it does not affect the first rotating shaft 5 driving the first bracket 8 and the dark box 1 to rotate in the first preset direction and the second rotating shaft 6 driving the second bracket 9 to rotate in the second preset direction. That is to say, when the third servo motor drives the third rotating shaft 7 to rotate, the second servo motor drives the second rotating shaft 6 to rotate, and the first servo motor drives the first rotating shaft 5 to rotate, the dark box 1 can rotate in the third preset direction, the second preset direction and the first preset direction at the same time.

[0064] Optionally, the first bracket 8, the second bracket 9 and the third bracket 10 are all annular brackets. The radius of the first bracket 8 is smaller than the radius of the second bracket 9, and the radius of the second bracket 9 is smaller than the radius of the third bracket 10. In this way, when the three rotation axes rotate in their respective preset directions, they can have no influence on each other and do not affect the dark box 1, that is, the VR display device 2, which rotates in three preset directions at the same time.

[0065] The parameter detection device of the embodiment of the present invention is through the virtual reality VR display device and the camera unit to be tested located in the dark box, and the camera unit is fixed at the center of the eyepiece of the VR display device; the rotating mechanisms are respectively connected to the dark box and the driving device, and are respectively connected to the processors of the VR display device, the camera unit and the driving device, wherein the driving device drives the rotating mechanism to rotate, and drives the dark box to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin, so that the driving device drives the rotating mechanism to rotate, and drives the dark box, that is, the VR display device, to rotate in the three preset directions respectively, and the VR display device to be tested can rotate freely, and can realize accurate control and real-time recording of the actual rotation angle of the VR display device, thereby improving the accuracy of the measurement results of the subsequent measurement of the rotation delay and angle drift of the VR display device.

[0066] like Figure 3 FIG. 1 is a flow chart of a parameter detection method provided by an embodiment of the present invention. The method is applied to the parameter detection device as described above. The method may include:

[0067] Step 301, obtaining a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere;

[0068] In this step, the VR image is a pre-drawn virtual space image, that is, the VR image is a specially made virtual space image.

[0069] Among them, this step may specifically include:

[0070] Draw a VR image and obtain the position coordinates of each pixel point of the VR image;

[0071] Here, the VR image is a spherical image, and any pixel point on the spherical image can be uniquely determined by a two-dimensional coordinate. The position coordinates of each pixel point of the VR image can be the coordinate values ​​under the corresponding polar coordinate system.

[0072] Based on the position coordinates of each pixel point, each pixel point is color-coded to obtain a color value of each pixel point, and the position coordinates of each pixel point and the color value have a preset corresponding relationship.

[0073] In this step, if Figure 4 As shown, taking RGB (RGB represents the colors of the three channels of red, green, and blue) color and polar coordinates as an example, any pixel point on the spherical image It can be uniquely determined by the two-dimensional coordinates, so the color value at point P can be used as its coordinates The function is coded and colored.

[0074] Optionally, let the color at any pixel point P be

[0075] in, Δθ are the spherical center angles (or motor step angles) corresponding to a single pixel point on the spherical image in two dimensions, and mod is the modulo function.

[0076] Through the above color coding of the pixels, the position coordinates of each pixel have a preset corresponding relationship with the color value. That is, the position of the pixel in the spherical image, that is, the VR image, that is, the position coordinates can be determined by the color value of the pixel.

[0077] Step 302, when the VR display device displays the VR image, record the cumulative rotation angle of the driving device at each moment, and obtain each plane image captured by the camera unit at each corresponding moment;

[0078] Optionally, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin. The camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

[0079] It should be noted that the accumulated rotation angle of the driving device at each moment is recorded, that is, the time series of the rotation angles of the VR display device in three preset directions is recorded.

[0080] Here, before the driving device drives the VR display device to rotate, it is necessary to ensure that the dark box 1 is in a stationary state.

[0081] Step 303, obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image;

[0082] In this step, each plane image is a partial image of the VR image, and as the driving device drives the VR display device to rotate in three preset directions respectively, the plane images captured by the camera unit at each corresponding moment are also the same. In other words, the plane images captured by the camera unit correspond to partial images of the VR image at different rotation angles.

[0083] Here, the position and number of preset pixel points on each plane image are the same.

[0084] Since the position coordinates and color values ​​of each pixel point of the VR image have a preset corresponding relationship, each plane image is a partial image of the VR image. The color values ​​of multiple preset pixel points on each plane image are known, and the position coordinates of the multiple preset pixel points on the VR image at each moment can be obtained, and then the rotation angle of the VR image at each moment can be calculated through the position coordinates.

[0085] Step 304, calculating the rotation delay time and angle drift of the VR display device according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment;

[0086] In this step, refer to Figure 5 , a schematic diagram of the rotation angle of the VR device and the VR image over time. The angle drift Δs can be obtained by taking the angle of rotation of the drive device at the same moment and the angle of rotation of the VR image at the same moment, and calculating the difference between the two angles; the rotation delay time Δt can be obtained by calculating the difference in time when the drive device and the VR image reach the same rotation angle.

[0087] As an optional implementation, step 303 of the method in the embodiment of the present invention may include:

[0088] According to the color values ​​of the plurality of preset pixel points on each plane image, position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image are obtained;

[0089] In this step, the position coordinates of the multiple preset pixel positions on each plane image corresponding to the VR image can be obtained by decoding the color values ​​of the multiple preset pixel positions on each plane image.

[0090] Specifically, through the inverse process of the encoding process of obtaining the color value of the pixel point from the position coordinates of the pixel point, that is, the decoding process, the position coordinates of multiple preset pixel points on each plane image corresponding to the VR image are obtained.

[0091] Of course, the position coordinates and color value of each pixel point may also be recorded, and the position coordinates of a plurality of preset pixel points on each plane image corresponding to the VR image may be obtained by looking up a table.

[0092] According to the position coordinates of the VR image corresponding to the positions of a plurality of preset pixel points on each plane image, the rotation angle of the VR image at each moment is calculated.

[0093] Optionally, the plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions located at four vertices of the plane image.

[0094] It should be noted that the reason for selecting multiple preset pixel positions is that the calculation accuracy can be improved through multiple calculations. In particular, when the VR display device is tilted (rotated around the y-axis), the coordinates of the pixel position corresponding to the center of the field of view of the camera unit in the plane image remain unchanged. Therefore, in this case, it is necessary to calculate the tilt angle in the VR image displayed by the VR display device through the coordinates of the pixel positions at the four vertices of the plane image.

[0095] The parameter detection method of the embodiment of the present invention obtains a virtual reality VR image and the color value of each pixel point of the VR image, and the color values ​​of different pixels are different. The VR image is a spherical image with the VR display device to be tested as the sphere center; when the VR display device displays the VR image, the cumulative rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is respectively obtained at each corresponding moment; according to the color values ​​of multiple preset pixel positions on each plane image, the rotation angle of the VR image at each moment is obtained; according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image, so that the actual rotation angle of the VR display device can be accurately controlled and recorded in real time, and the accuracy of the measurement results of the rotation delay and angle drift of the VR display device can be improved.

[0096] like Figure 6 As shown, an embodiment of the present invention further provides a parameter detection device, the device comprising:

[0097] The first acquisition module 601 is used to acquire a virtual reality VR image and a color value of each pixel of the VR image. Different pixels have different color values. The VR image is a spherical image with the VR display device to be tested as the center of the sphere.

[0098] The second acquisition module 602 is used to record the cumulative rotation angle of the driving device at each moment when the VR display device displays the VR image, and to respectively acquire each plane image captured by the camera unit at each corresponding moment;

[0099] The first processing module 603 is used to obtain the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image;

[0100] A first calculation module 604 is used to calculate the rotation delay time and angle drift of the VR display device according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment;

[0101] Among them, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

[0102] Optionally, the first acquisition module 601 includes:

[0103] A drawing unit, used to draw a VR image and obtain the position coordinates of each pixel point of the VR image;

[0104] The first acquisition unit is used to color-code each pixel based on the position coordinates of each pixel to obtain the color value of each pixel, and the position coordinates of each pixel and the color value have a preset corresponding relationship.

[0105] Optionally, the first processing module 603 includes:

[0106] A first processing unit, configured to obtain position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image according to color values ​​of the plurality of preset pixel points on each plane image;

[0107] The second processing unit is used to calculate the rotation angle of the VR image at each moment according to the position coordinates of a plurality of preset pixel points on each plane image corresponding to the VR image.

[0108] Optionally, the plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions located at four vertices of the plane image.

[0109] The parameter detection device of the embodiment of the present invention obtains a virtual reality VR image and the color value of each pixel point of the VR image, and the color values ​​of different pixels are different. The VR image is a spherical image with the VR display device to be tested as the sphere center; when the VR display device displays the VR image, the cumulative rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is respectively obtained at each corresponding moment; according to the color values ​​of multiple preset pixel positions on each plane image, the rotation angle of the VR image at each moment is obtained; according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image, so that the actual rotation angle of the VR display device can be accurately controlled and recorded in real time, and the accuracy of the measurement results of the rotation delay and angle drift of the VR display device can be improved.

[0110] It should be noted here that the above-mentioned device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0111] In order to better achieve the above goals, Figure 7 As shown, an embodiment of the present invention further provides a parameter detection device, including a processor 700 and a transceiver 710, wherein the transceiver 710 receives and sends data under the control of the processor, and the processor 700 is used to perform the following process:

[0112] Acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere;

[0113] When the VR display device displays the VR image, the accumulated rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is acquired at each corresponding moment;

[0114] Obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image;

[0115] According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated;

[0116] Among them, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

[0117] Optionally, the processor 700 is further configured to execute the following process:

[0118] Draw a VR image and obtain the position coordinates of each pixel point of the VR image;

[0119] Based on the position coordinates of each pixel point, each pixel point is color-coded to obtain a color value of each pixel point, and the position coordinates of each pixel point and the color value have a preset corresponding relationship.

[0120] Optionally, the processor 700 is further configured to execute the following process:

[0121] According to the color values ​​of the plurality of preset pixel points on each plane image, position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image are obtained;

[0122] According to the position coordinates of the VR image corresponding to the positions of a plurality of preset pixel points on each plane image, the rotation angle of the VR image at each moment is calculated.

[0123] Optionally, the plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions located at four vertices of the plane image.

[0124] The parameter detection device of the embodiment of the present invention obtains a virtual reality VR image and the color value of each pixel point of the VR image, and the color values ​​of different pixels are different. The VR image is a spherical image with the VR display device to be tested as the sphere center; when the VR display device displays the VR image, the cumulative rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is respectively obtained at each corresponding moment; according to the color values ​​of multiple preset pixel positions on each plane image, the rotation angle of the VR image at each moment is obtained; according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image, so that the actual rotation angle of the VR display device can be accurately controlled and recorded in real time, and the accuracy of the measurement results of the rotation delay and angle drift of the VR display device can be improved.

[0125] An embodiment of the present invention also provides a parameter detection device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the parameter detection method embodiment described above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.

[0126] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the parameter detection method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0127] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0128] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.

[0129] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0130] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0131] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A parameter detection device, characterized in that: include: Camera obscura; A virtual reality (VR) display device and a camera unit to be tested are located in the dark box, wherein the camera unit is fixed at the center of the eyepiece of the VR display device; A rotating mechanism connected to the dark box; A driving device, wherein the driving device is connected to the rotating mechanism, the driving device drives the rotating mechanism to rotate, and the rotating mechanism drives the dark box to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin; A processor, wherein the processor is respectively connected to the VR display device, the camera unit and the driving device, and the processor is used to detect the rotation delay and angle drift of the VR display device in three preset directions.

2. The device according to claim 1, characterized in that The rotating mechanism comprises: a plurality of rotating shafts, and the driving device comprises: a plurality of servo motors; Wherein, the servo motor drives the corresponding rotating shaft to rotate in the corresponding preset direction, so as to drive the dark box to rotate in the corresponding preset direction.

3. A parameter detection method, applied to the parameter detection device according to any one of claims 1 to 2, characterized in that: include: Acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere; When the VR display device displays the VR image, the accumulated rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is acquired at each corresponding moment; Obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image; According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated; Among them, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

4. The method according to claim 3, characterized in that The obtaining of a virtual reality VR image and a color value of each pixel of the VR image includes: Draw a VR image and obtain the position coordinates of each pixel point of the VR image; Based on the position coordinates of each pixel point, each pixel point is color-coded to obtain a color value of each pixel point, and the position coordinates of each pixel point and the color value have a preset corresponding relationship.

5. The method according to claim 3, characterized in that: The step of obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image comprises: According to the color values ​​of the plurality of preset pixel points on each plane image, position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image are obtained; According to the position coordinates of the VR image corresponding to the positions of a plurality of preset pixel points on each plane image, the rotation angle of the VR image at each moment is calculated.

6. The method according to claim 3, characterized in that The plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions located at four vertices of the plane image.

7. A parameter detection device, characterized in that: include: A first acquisition module is used to acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the sphere center; A second acquisition module is used to record the cumulative rotation angle of the driving device at each moment when the VR display device displays the VR image, and to respectively acquire each plane image captured by the camera unit at each corresponding moment; A first processing module, configured to obtain a rotation angle of the VR image at each moment according to color values ​​of a plurality of preset pixel positions on each plane image; A first calculation module is used to calculate the rotation delay time and angle drift of the VR display device according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment; Among them, the VR display device rotates following the driving device, and the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

8. A parameter detection device, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Acquire a virtual reality VR image and a color value of each pixel of the VR image, where different pixels have different color values, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere; When the VR display device displays the VR image, the accumulated rotation angle of the driving device at each moment is recorded, and each plane image captured by the camera unit is acquired at each corresponding moment; Obtaining the rotation angle of the VR image at each moment according to the color values ​​of a plurality of preset pixel positions on each plane image; According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and angle drift of the VR display device are calculated; Among them, the VR display device rotates following the driving device, and the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the directions of three coordinate axes of a three-dimensional coordinate system formed with the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each of the plane images is a partial image of the VR image.

9. The parameter detection device according to claim 8, characterized in that: The processor is also used to execute the following process: Draw a VR image and obtain the position coordinates of each pixel point of the VR image; Based on the position coordinates of each pixel point, each pixel point is color-coded to obtain a color value of each pixel point, and the position coordinates of each pixel point and the color value have a preset corresponding relationship.

10. The parameter detection device according to claim 8, characterized in that: The processor is also used to perform the following process: According to the color values ​​of the plurality of preset pixel points on each plane image, position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image are obtained; According to the position coordinates of the VR image corresponding to the positions of a plurality of preset pixel points on each plane image, the rotation angle of the VR image at each moment is calculated.

11. The parameter detection device according to claim 8, characterized in that: The plurality of preset pixel positions include: a pixel position in the plane image corresponding to a center of a field of view of the camera unit and pixel positions located at four vertices of the plane image.

12. A parameter detection device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the parameter detection method according to any one of claims 3 to 6 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the parameter detection method according to any one of claims 3 to 6 are implemented.

Citation Information

Patent Citations

  • Image display method and image display apparatus

    CN106375750A

  • Virtual reality realization method based on augmented reality

    CN107016704A