VR collision detection method and system
By adopting three-dimensional collision detection mode and weight coefficient initialization technology in VR equipment, we solve the problems of poor collision detection accuracy, high cost and low safety of existing VR equipment when used by multiple people, and achieve low power consumption and low cost. Accurate collision detection improves user experience.
Patent Information
- Application Number
- CN202110871726.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-07-30
AI Technical Summary
Existing VR equipment has poor collision detection accuracy, high cost, high power consumption, and low safety when used by multiple people, which affects the user experience.
Three collision detection modes are adopted: the first is based on BLE connection and encrypted package verification, the second is high-frequency detection through infrared sensors, and the third is based on OBB direction bounding box detection, combined with visual and inertial weight coefficient initialization, to gradually improve detection. Accuracy and safety.
It reduces detection power consumption and cost, improves the accuracy and safety of collision detection, and meets users’ high-quality VR experience.
Smart Images

Figure CN113838215B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of collision detection technology, and more specifically, to a VR virtual collision detection method and system. Background Art
[0002] Virtual Reality (VR) refers to the use of modern high-tech means with computer technology as the core to generate a virtual environment. With the help of special input / output devices, users can interact naturally with objects in the virtual world and gain the same experience as the real world through vision, hearing, and touch. With the rapid development of 5G technology around the world, the VR market is becoming increasingly hot.
[0003] At present, due to the closed nature of VR head-mounted display devices, collisions may occur when multiple people interact with each other in the same scene. Correspondingly, virtual reality collision detection technology has also become a key technology for judging the performance of VR products.
[0004] However, existing VR devices mostly rely on expensive external auxiliary positioning devices, which have high costs and power consumption. In addition, when multiple people use VR headsets in the same area, the collision detection accuracy is poor and the safety is low, which affects the user experience. Summary of the invention
[0005] In view of the above problems, the purpose of the present invention is to provide a VR collision detection method and system to solve the problems of high cost, high power consumption, low safety performance, poor accuracy, etc. in the existing collision detection.
[0006] The VR collision detection method provided by the present invention includes: performing a first collision detection on all VR devices to be detected within the same scene range based on a first collision detection mode, and obtaining a corresponding first collision detection result; performing a second collision detection on the VR devices within the first collision detection result based on a second collision detection mode, and obtaining a corresponding second collision detection result; performing a third collision detection on the VR devices within the second collision detection result based on a third collision detection mode, and obtaining a final collision detection result between the VR devices.
[0007] In addition, an optional technical solution is that the detection process of the first collision detection mode includes: establishing a BLE connection with the VR device to be detected based on the ID information in the broadcast frame broadcasted by the scanned VR device to be detected, and the broadcast frame is constructed based on the degree of freedom posture information of the VR device to be detected and a preset ID; requesting the corresponding first public key from the server based on the ID information, and forming an encrypted package based on the first public key and the acquired position vector label of the current detection point; based on the verification result of the encrypted package by the VR device to be detected, obtaining the degree of freedom posture information sent by the VR device to be detected, and rendering the preliminary position corresponding to the VR device to be detected according to the degree of freedom posture information; determining the first collision detection result between the current detection point and the VR device to be detected based on the preliminary position.
[0008] In addition, an optional technical solution is that the detection process of the second collision detection mode includes: increasing the broadcast frequency in the first collision detection mode according to a preset amplitude; performing high-frequency collision detection on any VR device within the first collision detection result based on the detection process of the first collision detection mode after increasing the broadcast frequency, and obtaining the corresponding high-frequency collision detection result; emitting detection rays based on the infrared sensor of the current detection point, performing infrared collision detection on any VR device within the high-frequency collision detection result, and obtaining a second collision detection result.
[0009] In addition, an optional technical solution is that, based on the verification result of the encrypted package by the VR device to be detected, the process of obtaining the degree of freedom posture information sent by the VR device to be detected includes: the VR device to be detected extracts the position vector label in the encrypted package, and determines whether the distance between the detection point and the VR device to be detected satisfies the preset collision distance; if the distance between the detection point and the VR device to be detected satisfies the preset collision distance, a second public key of the VR device to be detected is generated, and a corresponding first public key is generated based on the first public key in the encrypted package; the detection point generates a corresponding second public key based on the second public key of the VR device to be detected, and obtains the degree of freedom posture information according to the second public key.
[0010] In addition, an optional technical solution is that the detection process of the third collision detection mode includes: generating corresponding enclosing vertices based on the distance sensor in the VR device within the second collision result and the outer contour of the VR device; forming a corresponding OBB direction enclosing box based on the enclosing vertices; based on the OBB collision detection method, obtaining the collision result between any two OBB direction enclosing boxes as the final collision detection result between the corresponding VR devices.
[0011] In addition, an optional technical solution is that before performing a collision detection on all VR devices to be detected within the same scene range based on the first collision detection mode, it also includes: initializing parameters of the VR device to be detected based on the scene's light and environmental texture to determine the inertia weight coefficient and visual weight coefficient of the VR device to be detected; based on the inertia weight coefficient and the visual weight coefficient, determining the degree of freedom posture information of the VR device to be detected.
[0012] In addition, an optional technical solution is a parameter initialization process, including: obtaining the light conditions of the scene based on the light sensor of the VR device to be detected; if the light conditions meet the requirements of a first preset threshold, obtaining an environmental image of the scene based on the visual sensor of the VR device to be detected; extracting point features and line features in the scene based on the environmental image; if both the point features and the line features meet the requirements of a second preset threshold, increasing the visual weight coefficient according to a preset ratio and reducing the inertia weight coefficient.
[0013] In addition, an optional technical solution is that if the lighting conditions do not meet the requirements of the first preset threshold, the inertia weight coefficient is increased according to a preset ratio and the visual weight coefficient is reduced; if the point features and line features do not meet the requirements of the second preset threshold, the inertia weight coefficient is increased according to a preset ratio and the visual weight coefficient is reduced.
[0014] In addition, an optional technical solution is that the expression formula of the degree of freedom posture information of the VR device to be detected is:
[0015] v=α*P+β*I
[0016] Among them, v represents the degree of freedom pose information, α represents the visual weight coefficient, β represents the inertial weight coefficient, P represents the 6-degree-of-freedom pose information obtained by the visual sensor, and I represents the 6-degree-of-freedom pose information of the inertial sensor.
[0017] According to another aspect of the present invention, a VR collision detection system is provided, including: a first collision detection unit, used to perform a collision detection on all VR devices to be detected within the same scene range based on a first collision detection mode, and obtain a corresponding first collision detection result; a second collision detection unit, used to perform a second collision detection on the VR devices within the first collision detection result based on a second collision detection mode, and obtain a corresponding second collision detection result; a third collision detection unit, used to perform a third collision detection on the VR devices within the second collision detection result based on a third collision detection mode, and obtain a final collision detection result between the VR devices.
[0018] By utilizing the VR collision detection method and system, collision detection is performed on all VR devices to be detected within the same scene range through the first collision detection, the second collision detection, and the third collision detection step by step. This can reduce detection power consumption and detection costs while improving detection efficiency and safety, thereby satisfying users' high-quality experience.
[0019] In order to achieve the above and related purposes, one or more aspects of the present invention include the features that will be described in detail later. The following description and the accompanying drawings describe some exemplary aspects of the present invention in detail. However, these aspects indicate only some of the various ways in which the principles of the present invention can be used. In addition, the present invention is intended to include all these aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more apparent and easy to understand. In the accompanying drawings:
[0021] Figure 1 is a flow chart of a VR collision detection method according to an embodiment of the present invention;
[0022] Figure 2 is a flowchart of encryption and decryption of an encrypted package according to an embodiment of the present invention;
[0023] Figure 3 is a parameter initialization flow chart according to an embodiment of the present invention;
[0024] Figure 4 is a detailed flow chart of a VR collision detection method according to an embodiment of the present invention;
[0025] Figure 5 4 is a logic block diagram of a VR collision detection system according to an embodiment of the present invention.
[0026] The same reference numerals throughout the drawings indicate similar or corresponding features or functions. DETAILED DESCRIPTION
[0027] In the following description, for the purpose of illustration, in order to provide a comprehensive understanding of one or more embodiments, many specific details are set forth. However, it is apparent that these embodiments may also be implemented without these specific details. In other examples, for ease of describing one or more embodiments, known structures and devices are shown in the form of block diagrams.
[0028] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0029] To describe the VR collision detection method and system of the present invention in detail, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0030] Figure 1 A flow chart of a VR collision detection method according to an embodiment of the present invention is shown.
[0031] like Figure 1 As shown, the VR collision detection method of the embodiment of the present invention includes:
[0032] S110: Perform a first collision detection on all to-be-detected VR devices within the same scene range based on the first collision detection mode, and obtain a corresponding first collision detection result.
[0033] The detection process of the first collision detection mode may include:
[0034] 1. Based on the ID information in the broadcast frame broadcasted by the scanned VR device to be detected, a BLE connection is established with the VR device to be detected. The broadcast frame is constructed based on the degree of freedom posture information of the VR device to be detected and the preset ID;
[0035] 2. Request the corresponding first public key from the server based on the ID information, and form an encrypted package based on the first public key and the acquired position vector label of the current detection point;
[0036] 3. Based on the verification result of the encrypted package by the VR device to be detected, obtain the degree of freedom posture information sent by the VR device to be detected, and render the preliminary position corresponding to the VR device to be detected according to the degree of freedom posture information;
[0037] 4. Determine the first collision detection result between the current detection point and the VR device to be detected based on the preliminary position.
[0038] Specifically, during the detection process of the first collision detection mode, the detected party (i.e., the VR device to be detected, the same below) will first combine the degree of freedom posture information of the VR device to be detected based on the inertia weight coefficient and the visual weight coefficient and the preset ID into a BLR broadcast frame for low-frequency and low-power broadcasting. At this time, the detecting party (i.e., the VR device at the current detection point, the same below) will also perform low-frequency scanning. When the detected party is scanned around, the detecting party will actively establish a BLE connection with the detected party based on the ID information in the broadcast, and request the cloud server for the first public key generated by the corresponding ID based on the ECDH algorithm, and then form a position vector tag with the geographic location information of the current detection point in the scene, and encrypt it together with the first public key in the BLE channel and pass it to the detected party.
[0039] Among them, the encryption and decryption process designed based on the ECDH algorithm can be referred to Figure 2 A specific example is shown in .
[0040] like Figure 2 As shown, based on the verification result of the encrypted package by the VR device to be detected, the process of obtaining the degree of freedom posture information sent by the VR device to be detected further includes:
[0041] First, the VR device to be detected extracts the position vector label in the encrypted package and determines whether the distance between the detection point and the VR device to be detected meets the preset collision distance. The preset collision distance is mainly used to determine whether the current geographical location of the detection is close to the geographical location of the detected party. If it is far away, the BLE connection can be terminated directly to end the position detection process.
[0042] If the distance between the detection point and the VR device to be detected meets the preset collision distance, the second public key of the VR device to be detected is generated at the detected party, and the corresponding first public key is generated based on the first public key in the encryption package. The second public key of the detected party is then sent to the detecting party, and the detecting party generates a corresponding second public key based on the second public key of the VR device to be detected. Through the first public key, the second public key, and the first public key, the second public key can realize the encrypted data transmission between the detecting party and the detected party, and obtain the degree of freedom posture information according to the second public key.
[0043] Finally, the detecting party can render the initial position of the detected party in the VR environment according to the degree of freedom posture information of the detected party, and determine the first collision detection result between the current detection point and the VR device to be detected according to the initial position. Generally, when the detecting party detects that the distance between the detected party and the detected party is less than the preset collision distance, it can be determined that there is a possibility of collision between the two. The first collision detection result includes all the detected parties that the detecting party can detect. This process belongs to the first level of collision detection, and the possible collision targets are preliminarily determined.
[0044] S120: Perform a second collision detection on the VR device in the first collision detection result based on the second collision detection mode, and obtain a corresponding second collision detection result.
[0045] In this step, the detection process of the second collision detection mode further includes:
[0046] 1. Increase the frequency of broadcasting in the first collision detection mode according to a preset amplitude;
[0047] 2. Based on the increased broadcast frequency, perform high-frequency collision detection on any VR device in the first collision detection result according to the first collision detection mode to obtain a corresponding high-frequency collision detection result;
[0048] 3. Based on the infrared sensor of the current detection point, the detection ray is emitted, and infrared collision detection is performed on any VR device within the high-frequency collision detection result, and the second collision detection result is obtained.
[0049] Specifically, when the first collision detection mode ends and there is a VR device in the first collision detection result, that is, when the first collision detection result is that there is a VR device that may collide, the BLE broadcast frequency can be increased, and the collision detection can be performed again according to the process of the first collision detection mode, so as to more accurately confirm the detection result. When the high-frequency BLE broadcast also confirms that there is a VR device that may collide, the detection party will further use the infrared sensor to emit detection rays, and further determine the second collision detection result based on the first collision detection result through the ray detection method.
[0050] If the first collision detection result is zero, that is, there is no possibility that the VR device will collide with the detection party, then there is no need to perform the second and third collision detections, thereby reducing power consumption. In addition, the second collision detection result is a higher-precision detection screening of the first collision detection result, so the range of the second collision detection result may be smaller than the first collision detection result.
[0051] S130: Perform a third collision detection on the VR devices in the second collision detection result based on the third collision detection mode, and obtain a final collision detection result between the VR devices.
[0052] The detection process of the third collision detection mode includes:
[0053] 1. Generate corresponding enclosing vertices based on the distance sensor in the VR device and the outer contour of the VR device in the second collision detection result;
[0054] 2. Form the corresponding OBB direction bounding box based on the enclosing vertices;
[0055] 3. Based on the OBB collision detection method, obtain the collision detection result between any two OBB direction bounding boxes as the final collision detection result between the corresponding VR devices.
[0056] Specifically, since multiple distance sensors are provided on each VR device, when there is a target VR device in the second collision detection result, the corresponding distance sensor can be used to form an enclosing vertex and an OBB direction enclosing box surrounding itself. When any two OBB direction enclosing boxes overlap, it can be determined that a collision has occurred between the two. At this time, the collision angle, position and other information can be determined based on the OBB direction enclosing box, and a warning can be given before the collision occurs.
[0057] It should be noted that the OBB direction bounding box can reserve a certain safety margin. When the OBB direction bounding boxes overlap, it is determined that the two VR devices in the virtual scene collide. However, in the real scene, there may still be a certain safety distance between the two to ensure user safety.
[0058] In a specific embodiment of the present invention, before performing the first collision detection on all VR devices to be detected within the same scene range based on the first collision detection mode, it may also include: performing parameter initialization processing on the VR device to be detected based on the light and environmental texture of the scene to determine the inertia weight coefficient and visual weight coefficient of the VR device to be detected; finally, determining the degree of freedom posture information of the VR device to be detected based on the inertia weight coefficient and the visual weight coefficient.
[0059] Specifically, Figure 3 A schematic flow chart of parameter initialization according to an embodiment of the present invention is shown.
[0060] like Figure 3 As shown, the parameter initialization process further includes: starting the initialization configuration process in the new environment, and then obtaining the light conditions of the scene based on the light sensor of the VR device to be detected; if the light conditions meet the requirements of the first preset threshold, obtaining the produced environment picture based on the visual sensor of the VR device to be detected; extracting point features and line features in the scene based on the environment picture; if both the point features and the line features meet the requirements of the second preset threshold, increasing the visual weight coefficient according to the preset ratio and reducing the inertia weight coefficient.
[0061] In addition, if the lighting conditions do not meet the requirements of the first preset threshold, the inertia weight coefficient is increased according to the preset ratio and the visual weight coefficient is reduced; if the point features and line features do not meet the requirements of the second preset threshold, the inertia weight coefficient is increased according to the preset ratio and the visual weight coefficient is reduced. The VR device can increase the inertia weight coefficient when the light is too dark or too bright, and increase the visual weight coefficient when the light is moderate, thereby avoiding the influence of environmental factors such as light and texture on the positioning accuracy of a single sensor.
[0062] As a specific example, the expression formula of the degree of freedom posture information of the VR device to be detected is:
[0063] v=α*P+β*I
[0064] Among them, v represents the degree of freedom posture information, α represents the visual weight coefficient, β represents the inertial weight coefficient, P represents the 6-degree-of-freedom posture information obtained by the visual sensor, and I represents the 6-degree-of-freedom posture information of the inertial sensor. The vision and inertial sensors are fused for positioning, and the weights can be dynamically adjusted according to the method of combining ambient light sensors and image feature point recognition, so as to more accurately integrate vision and inertial data and improve collision detection accuracy.
[0065] As a specific example, Figure 4 The detailed schematic flow of the VR collision detection method according to an embodiment of the present invention is shown.
[0066] like Figure 4 As shown, the VR collision detection method of the embodiment of the present invention includes:
[0067] 1. Initialize the weight coefficients of the visual sensor and inertial sensor, and then broadcast the collision detection service ID and the encrypted 6-DOF posture information through low-frequency BLE in the form of broadcast frames;
[0068] 2. When the detected party is detected by the detecting party, the first public key sent by the detecting party is verified, and when the verification is passed, the corresponding second public key of the detected party is obtained, and the first public key is obtained;
[0069] 3. Based on the first public key, average and encrypt the degree of freedom information for transmission;
[0070] 4. For the detection party, it will continue to perform low-frequency scanning until it scans the VR device, establish a BLE connection channel, and request the corresponding first public key from the cloud server based on the ID in the broadcast, and send it to the detected party in combination with its own geographic tag;
[0071] 5. The detecting party obtains the 6-DOF posture information and name code of the detected party according to the second public key, performs low-frequency model rendering in the virtual reality scene, determines the rough position, and completes the first level of the first collision detection mode; wherein, in this process, the posture information of the detected party obtained by parsing can be uploaded to the server for the server to build a virtual map between multiple VR devices;
[0072] 6. Perform the second collision detection mode of the second level, broadcast via high-frequency BLE, repeat the above steps, and then perform ray encirclement detection via the main infrared sensor;
[0073] 7. Perform the third collision detection mode of the third level, determine the OBB direction bounding box, return the final collision detection result based on the OBB direction bounding box, and issue a collision warning.
[0074] It should be noted that, for the convenience of description, the detecting party and the detected party involved in the present invention can be understood as VR devices within the same scene, each VR device can be understood as a detecting party and a detected party, and collision detection is also a detection between any two VR devices. Therefore, there is no special limitation on the detecting party and the detected party.
[0075] Corresponding to the above-mentioned VR collision detection method, the present invention also provides a VR collision detection system.
[0076] Specifically, Figure 4 A logic block diagram of a VR collision detection system according to an embodiment of the present invention is shown.
[0077] like Figure 4 As shown, the VR collision detection system 200 of the embodiment of the present invention includes:
[0078] The first collision detection unit 210 is used to perform a first collision detection on all VR devices to be detected within the same scene range based on the first collision detection mode, and obtain a corresponding first collision detection result;
[0079] A second collision detection unit 220, configured to perform a second collision detection on the VR device in the first collision detection result based on the second collision detection mode, and obtain a corresponding second collision detection result;
[0080] The third collision detection unit 230 is used to perform a third collision detection on the VR devices in the second collision detection result based on the third collision detection mode, and obtain a final collision detection result between the VR devices.
[0081] It should be noted that the embodiments of the above-mentioned VR collision detection system can refer to the description in the VR collision detection method embodiment, which will not be repeated here.
[0082] The VR collision detection method and system according to the present invention have the following advantages:
[0083] 1. Able to realize low-power, low-cost multi-person VR collision detection in the same scene.
[0084] 2. Combining geographic location information and BLE encryption and decryption process, it is possible to synchronize collision detection related information more safely and effectively, and realize the fusion of virtual posture information.
[0085] 3. It can adjust the proportion of visual and inertial sensors in the posture positioning process according to the actual usage scenarios of VR headsets, thereby overcoming the limitations of diverse usage scenarios and achieving more accurate and stable fusion positioning.
[0086] 4. Through multiple collision detections, a multi-level detection process is achieved to ensure the accuracy of the detection results.
[0087] As above Figure 1 and Figure 2 The VR collision detection method and system according to the present invention are described in an exemplary manner. However, those skilled in the art should understand that various improvements can be made to the VR collision detection method and system proposed in the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the content of the attached claims.
Claims
1. A VR collision detection method, characterized in that: The method comprises: Perform a first collision detection on all VR devices to be detected within the same scene range based on the first collision detection mode, and obtain corresponding first collision detection results; Performing a second collision detection on the VR device in the first collision detection result based on the second collision detection mode, and obtaining a corresponding second collision detection result; Based on the third collision detection mode, a third collision detection is performed on the VR devices in the second collision detection result, and a final collision detection result between the VR devices is obtained; the detection process of the first collision detection mode includes: Based on the ID information in the broadcast frame broadcasted by the scanned VR device to be detected, a BLE connection is established with the VR device to be detected, wherein the broadcast frame is constructed based on the degree of freedom posture information of the VR device to be detected and a preset ID; Requesting a corresponding first public key from a server based on the ID information, and forming an encrypted packet based on the first public key and the acquired position vector tag of the current detection point; Based on the verification result of the encrypted packet by the VR device to be detected, the degree of freedom posture information sent by the VR device to be detected is obtained, and a preliminary position corresponding to the VR device to be detected is rendered according to the degree of freedom posture information; Determine the first collision detection result between the current detection point and the VR device to be detected based on the preliminary position; The first collision detection mode, the second collision detection mode, and the third collision detection mode are all different.
2. The VR collision detection method according to claim 1, characterized in that: The detection process of the second collision detection mode includes: increasing the frequency of broadcasting in the first collision detection mode according to a preset amplitude; Based on the increased broadcast frequency, perform high-frequency collision detection on any VR device in the first collision detection result according to the first collision detection mode, and obtain a corresponding high-frequency collision detection result; Based on the infrared sensor of the current detection point emitting detection rays, infrared collision detection is performed on any VR device within the high-frequency collision detection result, and the second collision detection result is obtained.
3. The VR collision detection method according to claim 1, characterized in that: Based on the verification result of the encrypted packet by the VR device to be detected, the process of obtaining the degree of freedom posture information sent by the VR device to be detected includes: The VR device to be detected extracts the position vector label in the encrypted packet, and determines whether the distance between the detection point and the VR device to be detected meets the preset collision distance; If the distance between the detection point and the VR device to be detected meets the preset collision distance, a second public key of the VR device to be detected is generated, and a corresponding first public key is generated based on the first public key in the encrypted package; The detection point generates a corresponding second public key based on the second public key of the VR device to be detected, and obtains the degree of freedom posture information according to the second public key.
4. The VR collision detection method according to claim 1, characterized in that: The detection process of the third collision detection mode includes: Generate a corresponding enclosing vertex based on a distance sensor in the VR device and an outer contour of the VR device in the second collision detection result; Forming a corresponding OBB direction bounding box based on the enclosing vertices; Based on the OBB collision detection method, the collision detection result between any two OBB direction bounding boxes is obtained as the final collision detection result between the corresponding VR devices.
5. The VR collision detection method according to claim 1, characterized in that: Before performing the first collision detection on all VR devices to be detected within the same scene range based on the first collision detection mode, the method further includes: Based on the light and environmental texture of the scene, performing parameter initialization processing on the VR device to be detected to determine the inertia weight coefficient and the visual weight coefficient of the VR device to be detected; Based on the inertia weight coefficient and the visual weight coefficient, the degree of freedom position information of the VR device to be detected is determined.
6. The VR collision detection method according to claim 5, characterized in that: The parameter initialization process includes: Acquiring the light condition of the scene based on the light sensor of the VR device to be detected; If the light condition meets the requirement of the first preset threshold, acquiring an environmental image of the scene based on the visual sensor of the VR device to be detected; Extracting point features and line features in the scene based on the environment picture; If both the point feature and the line feature meet the requirement of the second preset threshold, the visual weight coefficient is increased according to a preset ratio, and the inertia weight coefficient is reduced.
7. The VR collision detection method according to claim 6, characterized in that: If the light condition does not meet the requirement of the first preset threshold, increasing the inertia weight coefficient according to the preset ratio and reducing the visual weight coefficient; If the point feature and the line feature do not meet the requirement of the second preset threshold, the inertia weight coefficient is increased according to the preset ratio, and the visual weight coefficient is reduced.
8. The VR collision detection method according to claim 6, characterized in that: The expression formula of the degree of freedom posture information of the VR device to be detected is: v=α*P+β*I Among them, v represents the degree of freedom posture information, α represents the visual weight coefficient, β represents the inertia weight coefficient, P represents the 6-degree-of-freedom posture information obtained by the visual sensor, and I represents the 6-degree-of-freedom posture information of the inertial sensor.
9. A VR collision detection system, characterized in that: include: A first collision detection unit, used to perform a first collision detection on all VR devices to be detected within the same scene range based on a first collision detection mode, and obtain a corresponding first collision detection result; a second collision detection unit, configured to perform a second collision detection on the VR device in the first collision detection result based on a second collision detection mode, and obtain a corresponding second collision detection result; a third collision detection unit, configured to perform a third collision detection on the VR devices in the second collision detection result based on a third collision detection mode, and obtain a final collision detection result between the VR devices; The detection of the first collision detection mode includes: Based on the ID information in the broadcast frame broadcasted by the scanned VR device to be detected, a BLE connection is established with the VR device to be detected, wherein the broadcast frame is constructed based on the degree of freedom posture information of the VR device to be detected and a preset ID; Requesting a corresponding first public key from a server based on the ID information, and forming an encrypted packet based on the first public key and the acquired position vector tag of the current detection point; Based on the verification result of the encrypted packet by the VR device to be detected, the degree of freedom posture information sent by the VR device to be detected is obtained, and a preliminary position corresponding to the VR device to be detected is rendered according to the degree of freedom posture information; Determine the first collision detection result between the current detection point and the VR device to be detected based on the preliminary position; The first collision detection mode, the second collision detection mode, and the third collision detection mode are all different.
