Testing methods, devices, equipment, media and program products for VR equipment

Videos are obtained through high-speed vision cameras and cameras in VR devices, and test results are generated in comparison, which solves the problems of high cost and low efficiency of manual testing, and achieves efficient and accurate VR device testing.

CN114697645BActive Publication Date: 2025-03-25SHANGHAI MORUAN COMM TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210331634.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-03-25
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

Existing VR equipment testing methods rely on manual operations, resulting in high cost, low efficiency and low accuracy.

Method used

The picture video (first video) presented by the VR device is obtained through a high-speed visual camera, and compared it with the video (second video) obtained by the high-speed camera installed on the VR device, and generate picture synchronization test results to replace the manual testing process.

Benefits of technology

It improves the efficiency and accuracy of testing, reduces labor costs, and has the advantage of synchronous monitoring of picture effects, and is suitable for various models of VR equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114697645B_ABST
    Figure CN114697645B_ABST
Patent Text Reader

Abstract

The present application provides a test method, apparatus, device, medium and program product for VR equipment. In the method, by obtaining a first video and a second video, multiple video groups are obtained according to the corresponding relationship between the first sub-video and the second sub-video, and a screen synchronization test result is generated according to each video in each video group. In the technical solution, the first video and the second video replace the manual test process, which improves the efficiency and accuracy of the test, reduces the labor cost, has the advantage of being able to synchronously monitor the screen effect, and can support various models of VR equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual reality (VR) technology, and in particular to a testing method, apparatus, device, medium and program product for VR equipment. Background Art

[0002] With the development of VR technology and the increasing popularity of VR devices, people can wear VR devices to experience virtual scenes and enjoy immersive viewing and gaming experiences, which greatly enriches people's life content and quality of life.

[0003] In order to ensure the quality of VR equipment and the user experience, VR equipment needs to be tested before it leaves the factory. At present, the testing of VR equipment mainly involves relevant testers wearing VR equipment and manually testing the various functions of VR equipment, such as wearing VR glasses to watch movies and testing whether there is lag, etc., so as to obtain the picture synchronization test results.

[0004] However, the above manual testing process takes a lot of time and has the problems of high labor cost, low efficiency and accuracy. Summary of the invention

[0005] The present application provides a testing method, apparatus, device, medium and program product for a VR device to solve the problems of high labor cost, low efficiency and low accuracy.

[0006] In a first aspect, an embodiment of the present application provides a method for testing a VR device, including:

[0007] Acquire a first video and a second video, wherein the first video includes a plurality of first sub-videos, and the second video includes a plurality of second sub-videos, the first video is a video acquired by a high-speed visual camera and a VR camera of a virtual reality VR device, the high-speed visual camera is used to shoot a picture presented by the VR device, and the second sub-video is a video acquired by a high-speed camera installed on the VR device;

[0008] According to the correspondence between the first sub-video and the second sub-video, a plurality of video groups are obtained, each video group including at least one first sub-video and at least one second sub-video;

[0009] Generate a picture synchronization test result based on each video in each video group.

[0010] In a possible design of the first aspect, generating a picture synchronization test result according to each video in each video group includes:

[0011] The picture synchronization test result is generated according to the target marker and each video in each video group.

[0012] Optionally, generating the screen synchronization test result according to the target marker and each video in each video group includes:

[0013] For any video group, determining a first target time when the target marker appears in the first sub-video and a second target time when the target marker appears in the second sub-video;

[0014] The time difference between the first target time and the second target time is calculated, and the screen synchronization test result is generated according to the time difference and a preset time difference.

[0015] Optionally, generating the screen synchronization test result according to the target marker and each video in each video group includes:

[0016] For any video group, when the target marker appears in any video in the video group, start calculating the Hamming distance between the image frames at the same time in the first sub-video and the second sub-video;

[0017] The picture synchronization test result is generated according to the Hamming distance and the preset Hamming distance.

[0018] In a possible design of the first aspect, after acquiring the first video and the second video, the method further includes:

[0019] Get the frame rate of each first sub-video;

[0020] A frame rate test result is generated according to the frame rate and a preset frame rate.

[0021] Optionally, the total shooting range of the multiple high-speed cameras is greater than or equal to the total shooting range of the multiple VR cameras.

[0022] In a second aspect, an embodiment of the present application provides a testing device for a VR device, comprising:

[0023] An acquisition module, used to acquire a first video and a second video, wherein the first video includes a plurality of first sub-videos, and the second video includes a plurality of second sub-videos, the first video is a video acquired by a high-speed visual camera and a VR camera of a virtual reality VR device, the high-speed visual camera is used to shoot a picture presented by the VR device, and the second sub-video is a video acquired by a high-speed camera installed on the VR device;

[0024] The acquisition module is further used to acquire multiple video groups according to the corresponding relationship between the first sub-video and the second sub-video, each video group including at least one first sub-video and at least one second sub-video;

[0025] The generating module is used to generate the picture synchronization test result according to each video in each video group.

[0026] In a possible design of the second aspect, the generating module is specifically configured to:

[0027] The picture synchronization test result is generated according to the target marker and each video in each video group.

[0028] Optionally, the generating module is specifically used for:

[0029] For any video group, determining a first target time when the target marker appears in the first sub-video and a second target time when the target marker appears in the second sub-video;

[0030] The time difference between the first target time and the second target time is calculated, and the screen synchronization test result is generated according to the time difference and a preset time difference.

[0031] Optionally, the generating module is specifically used for:

[0032] For any video group, when the target marker appears in any video in the video group, start calculating the Hamming distance between the image frames at the same time in the first sub-video and the second sub-video;

[0033] The picture synchronization test result is generated according to the Hamming distance and the preset Hamming distance.

[0034] In a possible design of the second aspect, the acquisition module is further used to acquire a frame rate of each first sub-video;

[0035] The generating module is further used to generate a frame rate test result according to the frame rate and a preset frame rate.

[0036] Optionally, the total shooting range of the multiple high-speed cameras is greater than or equal to the total shooting range of the multiple VR cameras.

[0037] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to implement the first aspect and the methods provided by various possible designs when executing the computer program instructions.

[0038] In a fourth aspect, an embodiment of the present application may provide a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect and the methods provided by various possible designs.

[0039] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the first aspect and the methods provided by various possible designs.

[0040] The test method, device, equipment, medium and program product of VR equipment provided by the embodiment of the present application, in which the first video and the second video are obtained, and multiple video groups are obtained according to the corresponding relationship between the first sub-video and the second sub-video, and the screen synchronization test results are generated according to each video in each video group. In this technical solution, the first video and the second video replace the manual test process, which improves the efficiency and accuracy of the test, reduces the labor cost, has the advantage of being able to synchronously monitor the screen effect, and can support various models of VR equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] Figure 1 A schematic diagram of an application scenario of Embodiment 1 of the testing method for VR equipment provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of an application scenario of Embodiment 2 of the testing method for VR devices provided in an embodiment of the present application;

[0044] Figure 3 A flowchart of a first embodiment of a method for testing a VR device provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of a first video and a second video provided in an embodiment of the present application;

[0046] Figure 5 A flowchart of a second embodiment of a method for testing a VR device provided in an embodiment of the present application;

[0047] Figure 6 A flowchart of a third embodiment of a method for testing a VR device provided in an embodiment of the present application;

[0048] Figure 7 A flowchart of a fourth embodiment of a method for testing a VR device provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of the structure of a testing device for a VR device provided in an embodiment of the present application;

[0050] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0051] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] Before introducing the embodiments of the present application, the application background of the embodiments of the present application is first explained:

[0054] As VR devices become more and more popular, they are gradually entering people's horizons, bringing a lot of convenience to people's work and life. At the same time, people's requirements for VR devices are getting higher and higher. In order to provide users with immersive viewing and gaming experiences, VR devices also need to have higher accuracy and smoother running pictures. Therefore, higher testing requirements are required for VR devices, including testing the two most important operating indicators of VR devices (sensor operating orientation accuracy and picture smoothness).

[0055] At present, the testing of VR equipment mainly involves relevant testers wearing VR equipment and manually testing the various functions of VR equipment, such as wearing VR glasses to watch movies, testing whether there is lag, whether the picture is clear, whether the picture is distorted, etc., so as to obtain the picture synchronization test results. However, the above manual testing process takes a lot of time, has the problems of high labor cost, low efficiency and accuracy.

[0056] In view of the above problems, the invention of this application is as follows: in the process of testing VR equipment, since the rigor of the manual testing process cannot be guaranteed, there is a problem of low test efficiency and accuracy. Based on this, the inventor found that since the high-speed visual camera has the function of simulating the human eye, the picture presented by the VR lens can be shot by the high-speed visual camera to obtain the first video, and the second video can be synchronously obtained by the high-speed camera installed on the VR device, and the second video is used as a standard to determine whether the first video and the second video are synchronized, thereby generating a picture synchronization test result, replacing the manual processing process, which can solve the problem of low test efficiency and accuracy in the prior art, thereby reducing labor costs.

[0057] For example, the VR device testing method provided in the embodiment of the present application can be applied to Figure 1 In the application scenario diagram shown. Figure 1 The following is a schematic diagram of an application scenario of the first embodiment of the test method for VR devices provided in the present application, which is used to solve the above technical problems. Figure 1 As shown, the application scenario may include: a head model 11, a VR device 12 (such as Figure 1 VR glasses as shown), at least one high-speed camera (such as Figure 1 The head mold 11 is provided with a high-speed visual camera, and the VR device 12 includes at least one VR camera (such as Figure 1 VR camera 121, VR camera 122, VR camera 123 and VR camera 124).

[0058] Figure 2 A schematic diagram of an application scenario of Embodiment 2 of the testing method for VR devices provided in the present application, such as Figure 2 As shown, the application scenario may include: a head mold 11 and a VR device 12 , wherein a high-speed visual camera 111 is disposed in the head mold 11 , and the VR device 12 includes a VR lens 125 .

[0059] like Figure 1 and Figure 2 As shown, the target position can be determined in advance according to the preset focal length and the preset field of view, and the high-speed visual camera 111 can be placed at the target position through position calibration to collect VR shooting content in real time. At this time, the picture presented by the VR device 12 shot by the high-speed visual camera 111 is equivalent to the effect of watching VR with the eyes (Note: the content of the left and right eyes of the VR device 12 is the same).

[0060] The VR device 12 can obtain a video through at least one VR camera, and present the video in the VR lens 125 of the VR device 12 for the user to watch. The high-speed visual camera 111 can shoot the video presented in the VR lens 125 to obtain the first video. Similarly, multiple second sub-videos can be synchronously obtained by multiple high-speed cameras, and the multiple second sub-videos can be spliced ​​to obtain the second video.

[0061] Optionally, when the VR device 12 acquires video through at least one VR camera and acquires multiple second sub-videos synchronously through multiple high-speed cameras, the mechanical axis at the bottom of the head mold 11 can be controlled to change at multiple angles so that videos at multiple positions can be acquired, thereby improving the accuracy of subsequent tests.

[0062] Furthermore, the high-speed visual camera 111 can be used with an electronic device ( Figure 1 as well as Figure 2 The first video is sent to the electronic device by the high-speed visual camera 111 and the second video is sent to the electronic device by the VR device 12. The electronic device receives the first video sent by the high-speed visual camera 111 and the second video sent by the VR device 12, and executes the program code of the test method of the VR device to generate a screen synchronization test result.

[0063] exist Figure 1 and Figure 2 In the embodiment shown, the advantage of using four groups of high-speed cameras is that the field of view of the VR camera can be covered synchronously. If a delay problem occurs, the position of the VR camera with the problem can be directly located, thereby providing direction for analyzing the problem.

[0064] It is understandable that the execution subject of the embodiment of the present application may be an electronic device, and the electronic device may be a terminal device, such as a computer, a tablet computer, etc., or a server, such as a background processing platform, etc. Therefore, the present embodiment is explained by collectively referring to the terminal device and the server as an electronic device, and whether the electronic device is specifically a terminal device or a server can be determined according to actual conditions.

[0065] The technical solution of the present application is described in detail below through specific embodiments.

[0066] It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0067] Figure 3 This is a flow chart of the first embodiment of the testing method for VR equipment provided in the present application. Figure 3As shown, the testing method of the VR device may include the following steps:

[0068] S31, obtaining a first video and a second video.

[0069] The first video includes multiple first sub-videos, and the second video includes multiple second sub-videos.

[0070] Optionally, the multiple first sub-videos in the first video may be a spliced ​​structure, and similarly, the multiple second sub-videos in the second video may also be a spliced ​​structure.

[0071] Optionally, the first video is a video acquired by a high-speed visual camera and a VR camera of a VR device, the high-speed visual camera is used to shoot the picture presented by the VR device, and the second sub-video is a video acquired by a high-speed camera installed on the VR device.

[0072] In a possible implementation, the VR device shoots videos through various VR cameras, stitches the videos shot by various VR cameras, and displays the stitched videos in the lens of the VR device. Furthermore, the high-speed visual camera in the head model shoots the video presented in the lens of the VR device, obtains the first video, and sends it to the electronic device, so that the electronic device receives the first video sent by the high-speed visual camera.

[0073] Similarly, a plurality of high-speed cameras are pre-installed on the VR device, and a plurality of second sub-videos are acquired through the plurality of high-speed cameras. The plurality of second sub-videos are spliced ​​together to generate a second video, which is then sent to the electronic device, and the electronic device thereby receives the second video sent by the VR device.

[0074] Figure 4 Schematic diagram of the first video and the second video provided in the embodiment of the present application. Figure 4 As shown, the first video includes the first sub-video 1, the first sub-video 2, the first sub-video 3 and the first sub-video 4; the second video includes the second sub-video 1, the second sub-video 2, the second sub-video 3 and the second sub-video 4. The first video is a video spliced ​​according to the arrangement position and shooting range of the VR cameras corresponding to the first sub-videos, and the second video is a video spliced ​​according to the arrangement position and shooting range of the high-speed cameras corresponding to the second sub-videos.

[0075] Optionally, the VR device may be a head-mounted VR device, such as VR glasses. It should be understood that the VR device may also be other types of VR devices, which may be determined according to actual conditions, and the embodiment of the present application does not specifically limit the type and model of the VR device.

[0076] Optionally, the installation position of the high-speed camera on the VR device can be determined according to the distribution position of the VR camera of the VR device. For example, Figure 1 The installation position shown is not described in detail here.

[0077] Optionally, the high-speed camera may be a movable high-speed camera.

[0078] Optionally, the total shooting range of multiple high-speed cameras is greater than or equal to the total shooting range of multiple VR cameras, that is, the total coverage area of ​​multiple high-speed cameras is greater than or equal to the total coverage area of ​​multiple VR cameras. This can ensure that the content captured by multiple high-speed cameras and multiple VR cameras is the same, reduce the error of subsequently generated picture synchronization test results, and improve the accuracy of picture synchronization test results.

[0079] S32. Obtain multiple video groups according to the correspondence between the first sub-video and the second sub-video.

[0080] Each video group includes at least one first sub-video and at least one second sub-video.

[0081] Optionally, the correspondence between the first sub-video and the second sub-video may be pre-stored in an electronic device by relevant staff, or may be pre-acquired from a storage device storing the above correspondence.

[0082] Exemplarily, the above correspondence can be represented by Table 1:

[0083] Table 1

[0084] serial number First sub video Second sub video 1 First sub video 1 Second sub video 1 2 First sub video 2 Second sub video 2 3 First sub video 3 Second sub video 3

[0085] Among them, referring to Table 1, it can be known that the first sub-video 1 corresponds to the second sub-video 1, the first sub-video 2 corresponds to the second sub-video 2, and the first sub-video 3 corresponds to the second sub-video 3. According to the above correspondence, three video groups can be obtained, namely, the first sub-video 1 and the second sub-video 1, the first sub-video 2 and the second sub-video 2, and the first sub-video 3 and the second sub-video 3.

[0086] It should be understood that the above-mentioned correspondence may also include other contents and forms, which can be determined according to actual needs, and the embodiments of the present application do not impose specific limitations on this.

[0087] It should be understood that the embodiments of the present application do not limit the number of first sub-videos and second sub-videos in each video group, that is, each video group may include one first sub-video and one second sub-video, or one first sub-video and multiple second sub-videos, or multiple first sub-videos and one second sub-video.

[0088] S33. Generate a picture synchronization test result according to each video in each video group.

[0089] In one achievable manner, a picture synchronization test result is generated according to the target marker and each video in each video group.

[0090] The specific implementation steps and implementation principles of this method can be referred to Figure 5 and Figure 6 The embodiments shown will not be described in detail here.

[0091] In another achievable manner, for any video group, the Hamming distance between image frames at the same time in the first sub-video and the second sub-video is calculated, and a picture synchronization test result is generated according to the Hamming distance and a preset Hamming distance.

[0092] Among them, the picture synchronization test result indicates whether the VR device is visually synchronized, that is, the picture synchronization test result indicates whether the VR device has a delay problem.

[0093] Optionally, when the video group includes multiple first sub-videos or multiple second sub-videos, before calculating the Hamming distance between image frames at the same time in the first sub-video and the second sub-video, the multiple first sub-videos or multiple second sub-videos need to be spliced ​​in a pre-splicing manner.

[0094] The test method of VR device provided in the embodiment of the present application obtains the first video and the second video, obtains multiple video groups according to the corresponding relationship between the first sub-video and the second sub-video, and generates the screen synchronization test result according to each video in each video group. In this technical solution, the first video and the second video replace the manual test process, which improves the efficiency and accuracy of the test, reduces the labor cost, has the advantage of being able to synchronously monitor the screen effect, and can support various models of VR devices.

[0095] Optional, Figure 5 This is a flow chart of the second embodiment of the testing method for VR equipment provided in the embodiment of the present application. Figure 5 As shown, S33 can also be implemented by the following steps:

[0096] S51. For any video group, determine a first target moment when a target marker appears in a first sub-video and a second target moment when a target marker appears in a second sub-video.

[0097] Among them, the target marker can be a calibration object, which can be determined according to actual conditions, and the embodiments of the present application do not impose specific restrictions on this.

[0098] It should be understood that the first sub-video and the second sub-video respectively include a plurality of image frames, and each image frame corresponds to a time moment.

[0099] In one possible implementation, when the target marker appears for the first time in the first sub-video, the current moment is determined as the first target moment. Similarly, when the target marker appears for the first time in the second sub-video, the current moment is determined as the second target moment.

[0100] Among them, the first target time and the second target time can be specific times, such as XXXX year XX month XX day XX hour XX minute XX second XX milliseconds, or a time of the day, such as XX hour XX minute XX second XX milliseconds, or a relative time relative to the start time of the video, such as the first target time is the 3rd second after the start of the video, then the first target time is 3 seconds.

[0101] S52, calculating the time difference between the first target time and the second target time, and generating a screen synchronization test result according to the time difference and a preset time difference.

[0102] Exemplarily, the preset time difference may be 50 milliseconds, or 55 milliseconds, 60 milliseconds, etc., which may be determined according to actual test accuracy, and the embodiments of the present application do not impose any specific limitation on this.

[0103] When the time difference is greater than the preset time difference, a screen synchronization test result is generated, which indicates that the vision of the VR device is not synchronized and there is a delay. When the time difference is less than or equal to the preset time difference, a screen synchronization test result is generated, which indicates that the vision of the VR device is synchronized and there is no delay.

[0104] In the above embodiment, the screen synchronization test result is generated by the target marker, and there is no need to process each image frame in the first sub-video and the second sub-video, which reduces the amount of data to be processed and improves processing efficiency.

[0105] Optional, Figure 6 This is a flow chart of the third embodiment of the test method for VR equipment provided in the embodiment of the present application. Figure 6 As shown, S33 can also be implemented by the following steps:

[0106] S61. For any video group, when a target marker appears in any video in the video group, start calculating the Hamming distance between image frames at the same time in the first sub-video and the second sub-video.

[0107] The Hamming distance between the image frames at the same time in the first sub-video and the second sub-video can be calculated by the existing methods in the prior art, and the embodiments of the present application do not impose specific limitations on this.

[0108] It should be understood that the Hamming distance is used to characterize the similarity between image frames, and the smaller the Hamming distance is, the more similar the image frames are.

[0109] Optionally, when a target marker appears in any video in the video group, assuming that the resolutions of the first sub-video and the second sub-video are different, the resolution of the first sub-video is adjusted to be the same as the resolution of the second sub-video, or the resolutions of the first sub-video and the second sub-video are adjusted to preset resolutions at the same time.

[0110] S62, generating a picture synchronization test result according to the Hamming distance and a preset Hamming distance.

[0111] In a possible implementation, when the maximum value / average value among the multiple Hamming distances obtained is less than the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the vision of the VR device is synchronized and there is no delay. Similarly, when the maximum value / average value among the multiple Hamming distances obtained is greater than or equal to the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the vision of the VR device is not synchronized and there is a delay.

[0112] In another possible implementation, when all Hamming distances after a preset number are less than a preset Hamming distance, a screen synchronization test result is generated, which indicates that the vision of the VR device is synchronized and there is no delay. Similarly, when any Hamming distance after a preset number is greater than or equal to the preset Hamming distance, a screen synchronization test result is generated, which indicates that the vision of the VR device is not synchronized and there is a delay.

[0113] Exemplarily, the preset number may be 60, 70, 80, etc., which may be determined according to actual conditions, and the embodiments of the present application do not limit this. For example, when all the Hamming distances after the 60th are less than the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the visual synchronization of the VR device is not delayed. Similarly, when any Hamming distance after the 60th is greater than or equal to the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the visual synchronization of the VR device is not synchronized and there is a delay.

[0114] In the above embodiment, when the target marker appears in any video in the video group, the Hamming distance between the image frames at the same time in the first sub-video and the second sub-video is calculated, and the similarity between the image frames at the same time is judged based on the generated multiple Hamming distances, thereby generating a picture synchronization test result, thereby improving the accuracy of the test.

[0115] Optional, Figure 7 This is a flow chart of the fourth embodiment of the testing method for VR equipment provided in the embodiment of the present application. Figure 7As shown, after obtaining the first video and the second video, the testing method of the VR device may further include the following steps:

[0116] S71. Obtain the frame rate of each first sub-video.

[0117] The number of image frames of the first sub-video may be obtained in each second, thereby obtaining the frame rate of the first sub-video.

[0118] S72. Generate a frame rate test result according to the frame rate and the preset frame rate.

[0119] Optionally, the preset frame rate can be determined according to the actual test accuracy, such as 60 frames per second, 70 frames per second, 80 frames per second, etc., and the embodiment of the present application does not impose any specific restrictions on this.

[0120] In one possible implementation, when the frame rate obtained in S51 is greater than the preset frame rate and greater than or equal to the preset frame rate, a frame rate test result is generated, and the frame rate test result indicates that the first sub-video has a stuttering problem; similarly, when the frame rate obtained in S51 is greater than the preset frame rate and less than the preset frame rate, a frame rate test result is generated, and the frame rate test result indicates that the first sub-video does not have a stuttering problem.

[0121] In the above embodiment, by acquiring the frame rate of each first sub-video and generating a frame rate test result according to the frame rate and the preset frame rate, the manual testing process is replaced, thereby improving the accuracy and efficiency of the test.

[0122] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0123] Figure 8 This is a schematic diagram of the structure of the testing device for VR equipment provided in the embodiment of the present application. Figure 8 As shown, the test device of the VR device includes:

[0124] An acquisition module 81 is used to acquire a first video and a second video, wherein the first video includes a plurality of first sub-videos, and the second video includes a plurality of second sub-videos. The first video is a video acquired by a high-speed visual camera and a VR camera of a virtual reality VR device, wherein the high-speed visual camera is used to shoot a picture presented by the VR device, and the second sub-video is a video acquired by a high-speed camera installed on the VR device;

[0125] The acquisition module 81 is further used to acquire multiple video groups according to the corresponding relationship between the first sub-video and the second sub-video, each video group including at least one first sub-video and at least one second sub-video;

[0126] The generating module 82 is used to generate a picture synchronization test result according to each video in each video group.

[0127] In a possible design of the embodiment of the present application, the generating module 82 is specifically used for:

[0128] Generate picture synchronization test results based on the target markers and each video in each video group.

[0129] Optionally, the generating module 82 is specifically used for:

[0130] For any video group, determining a first target moment at which a target marker appears in a first sub-video and a second target moment at which a target marker appears in a second sub-video;

[0131] The time difference between the first target time and the second target time is calculated, and a screen synchronization test result is generated according to the time difference and the preset time difference.

[0132] Optionally, the generating module 82 is specifically used for:

[0133] For any video group, when a target marker appears in any video in the video group, start calculating the Hamming distance between the image frames at the same time in the first sub-video and the second sub-video;

[0134] Generate a picture synchronization test result according to the Hamming distance and the preset Hamming distance.

[0135] In a possible design of the embodiment of the present application, the acquisition module 81 is further used to acquire the frame rate of each first sub-video;

[0136] The generating module 82 is further used to generate a frame rate test result according to the frame rate and the preset frame rate.

[0137] Optionally, the total shooting range of the multiple high-speed cameras is greater than or equal to the total shooting range of the multiple VR cameras.

[0138] The testing device for VR equipment provided in the embodiment of the present application can be used to execute the testing method for VR equipment in any of the above embodiments. The implementation principle and technical effects are similar and will not be repeated here.

[0139] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0140] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device may include: a processor 91, a memory 92, and computer program instructions stored in the memory 92 and executable on the processor 91. When the processor 91 executes the computer program instructions, the testing method for the VR device provided in any of the aforementioned embodiments is implemented.

[0141] Optionally, the above-mentioned components of the electronic device may be connected via a system bus.

[0142] The memory 92 may be a separate storage unit or a storage unit integrated in a processor. The number of processors may be one or more.

[0143] Optionally, the electronic device may further include an interface for interacting with other devices.

[0144] It should be understood that the processor 91 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0145] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0146] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0147] The electronic device provided in the embodiment of the present application can be used to execute the testing method of the VR device provided in any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0148] An embodiment of the present application provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the above-mentioned testing method for the VR device.

[0149] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0150] Optionally, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0151] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the above-mentioned VR device testing method can be implemented.

[0152] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for testing a VR device, characterized in that: A plurality of high-speed cameras are pre-installed on the VR device, the VR device includes a plurality of VR cameras, the total shooting range of the plurality of high-speed cameras is greater than or equal to the total shooting range of the plurality of VR cameras, and the method includes: Acquire a first video and a second video, wherein the first video includes a plurality of first sub-videos, and the second video includes a plurality of second sub-videos, wherein the first video is acquired by shooting a screen displayed by the VR device with a high-speed visual camera, and the screen displayed by the VR device is obtained by stitching the videos shot by the plurality of VR cameras; and the second sub-video is a video acquired by a high-speed camera installed on the VR device; According to the correspondence between the first sub-video and the second sub-video, a plurality of video groups are obtained, each video group including at least one first sub-video and at least one second sub-video; For any video group, when a target marker appears in any video in the video group, start calculating the Hamming distance between image frames at the same time in the first sub-video and the second sub-video; When all the Hamming distances after the preset number are less than the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the visual synchronization of the VR device does not have a delay; When any Hamming distance after the preset number is greater than or equal to the preset Hamming distance, a screen synchronization test result is generated, and the screen synchronization test result indicates that the vision of the VR device is not synchronized and there is a delay; After obtaining the first video and the second video, the method further includes: Get the frame rate of each first sub-video; A frame rate test result is generated according to the frame rate and a preset frame rate.

2. A testing device for VR equipment, characterized in that: The VR device is pre-installed with a plurality of high-speed cameras, the VR device includes a plurality of VR cameras, the total shooting range of the plurality of high-speed cameras is greater than or equal to the total shooting range of the plurality of VR cameras, and the device includes: An acquisition module, used to acquire a first video and a second video, wherein the first video includes a plurality of first sub-videos, and the second video includes a plurality of second sub-videos, wherein the first video is acquired by shooting a screen displayed by the VR device with a high-speed visual camera, and the screen displayed by the VR device is obtained by splicing the videos shot by the plurality of VR cameras; and the second sub-video is a video acquired by a high-speed camera installed on the VR device; The acquisition module is further used to acquire multiple video groups according to the corresponding relationship between the first sub-video and the second sub-video, each video group including at least one first sub-video and at least one second sub-video; A generation module is used for, for any video group, when a target marker appears in any video in the video group, starting to calculate the Hamming distance between the image frames at the same time in the first sub-video and the second sub-video; when all the Hamming distances after a preset number are less than the preset Hamming distance, generating a screen synchronization test result, the screen synchronization test result indicating that the vision of the VR device is synchronized and there is no delay; when any Hamming distance after the preset number is greater than or equal to the preset Hamming distance, generating a screen synchronization test result, the screen synchronization test result indicating that the vision of the VR device is not synchronized and there is a delay; The acquisition module is further used to acquire the frame rate of each first sub-video; The generating module is further used to generate a frame rate test result according to the frame rate and a preset frame rate.

3. An electronic device, comprising: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to implement the testing method for the VR device as claimed in claim 1 when executing the computer program instructions.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the testing method for a VR device as claimed in claim 1.

5. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the testing method of the VR device as claimed in claim 1.

Citation Information

Patent Citations

  • Sensor timestamp synchronization test method, apparatus and device, medium and vehicle

    CN109194436A

  • Delay measurement method, device and system

    CN111243027A

  • Screen dynamic picture test method and system, electronic equipment and storage medium

    CN112837640A