College of Sports, Henan Finance University, Zhengzhou, 450046 Henan, China.
Occup Ther Int. 2022 May 7;2022:4364360. doi: 10.1155/2022/4364360. eCollection 2022.
This paper adopts virtual reality technology to conduct in-depth research and analysis on sports rehabilitation training, designs a corresponding sports rehabilitation training program, and applies it to practice. An AR algorithm based on dynamic target tracking under VSLAM is proposed. The algorithm can effectively reject dynamic targets in static scenes while ensuring that the virtual objects registered based on dynamic template target tracking are still in the world coordinate system of VSLAM. To facilitate patients' hand function rehabilitation training, this paper uses OpenPose for 2D gesture pose recognition, combines camera pose information and depth information provided by VSLAM to map key points of the hand into the world coordinate system, and then completes the interaction by collision detection algorithm. The virtual interaction module is implemented in this paper to meet the demand for multiuser off-site interaction in virtual training. This paper uses the Unity3D software and Photon Server server to create a VR virtual scene and design a user interaction mechanism to realize a system that supports multiple users to train together online, which effectively extends the application scope of the VR training system. The module utilizes Unity3D's VR development capabilities to develop VR virtual basketball gym scenes and single-player offline interaction mechanisms such as virtual user single shooter and shooter; then, Photon Server is used to design and implement a multiuser remote login system and a multiuser interpass mechanism, thus achieving the effect of multiplayer remote online interaction in the same VR space. Finally, the proposed module was validated, and the results proved the effectiveness of the sports rehabilitation training program.
本文采用虚拟现实技术对运动康复训练进行深入研究和分析,设计了相应的运动康复训练方案,并将其应用于实践。提出了一种基于 VSLAM 下动态目标跟踪的 AR 算法。该算法能够有效地拒绝静态场景中的动态目标,同时确保基于动态模板目标跟踪注册的虚拟对象仍在 VSLAM 的世界坐标系中。为了方便患者手部功能康复训练,本文使用 OpenPose 进行 2D 手势姿态识别,结合 VSLAM 提供的相机姿态信息和深度信息,将手部关键点映射到世界坐标系中,然后通过碰撞检测算法完成交互。本文实现了虚拟交互模块,以满足虚拟训练中多用户异地交互的需求。本文使用 Unity3D 软件和 Photon Server 服务器创建了 VR 虚拟场景,并设计了用户交互机制,实现了支持多个用户在线共同训练的系统,有效扩展了 VR 训练系统的应用范围。该模块利用 Unity3D 的 VR 开发能力,开发了 VR 虚拟篮球馆场景和虚拟用户单射手和射手等单人离线交互机制;然后,使用 Photon Server 设计并实现了多用户远程登录系统和多用户交互机制,从而实现在同一 VR 空间中进行多人远程在线交互的效果。最后,对提出的模块进行了验证,结果证明了运动康复训练方案的有效性。