[go: up one dir, main page]

CN117919677A - Archery training and competition simulation system - Google Patents

Archery training and competition simulation system Download PDF

Info

Publication number
CN117919677A
CN117919677A CN202311733399.XA CN202311733399A CN117919677A CN 117919677 A CN117919677 A CN 117919677A CN 202311733399 A CN202311733399 A CN 202311733399A CN 117919677 A CN117919677 A CN 117919677A
Authority
CN
China
Prior art keywords
competition
target
athlete
information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311733399.XA
Other languages
Chinese (zh)
Inventor
王坤
林思伶
黄涛
陈诚
柳文希
陈海宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN202311733399.XA priority Critical patent/CN117919677A/en
Publication of CN117919677A publication Critical patent/CN117919677A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种射箭训练与比赛模拟系统,其包括:箭靶识别模块、生理特征检测模块、环境探测模块以及比赛模拟模块;其中:箭靶识别模块采用基于卷积神经网络的箭靶自动识别方法识别箭靶上箭矢的坐标;生理特征检测模块用于实时获取用户生理特征;环境探测模块用于实时获取环境信息;比赛模拟模块,用于和使用者交互,以安排使用者进行模拟比赛;模拟比赛过程中,通过箭靶识别模块检测使用者的命中成绩,通过生理特征检测模块检测使用者的生理特征,并通过环境探测模块探测赛场的环境信息。该系统可进行实时生理体征检测、环境信息监测、比赛流程自动化调度,解决了现有技术存在的问题。

The invention discloses an archery training and competition simulation system, which includes: a target recognition module, a physiological characteristic detection module, an environment detection module and a competition simulation module; wherein: the target recognition module uses a target automatic recognition method based on a convolutional neural network to recognize the coordinates of an arrow on a target; the physiological characteristic detection module is used to obtain the user's physiological characteristics in real time; the environment detection module is used to obtain environmental information in real time; the competition simulation module is used to interact with the user to arrange the user to perform a simulated competition; during the simulated competition, the user's hit score is detected by the target recognition module, the user's physiological characteristics are detected by the physiological characteristic detection module, and the environmental information of the competition field is detected by the environment detection module. The system can perform real-time physiological sign detection, environmental information monitoring, and automatic scheduling of competition processes, solving the problems existing in the prior art.

Description

一种射箭训练与比赛模拟系统An archery training and competition simulation system

技术领域Technical Field

本发明涉及运动训练领域,尤其涉及一种射箭训练与比赛模拟系统。The invention relates to the field of sports training, and in particular to an archery training and competition simulation system.

背景技术Background technique

随着时代的发展,科技的进步影响了人们生活的方方面面。在各大体育赛事中,科技越来越多地参与融合进比赛的各个过程。训练过程中,运动员佩戴智能穿戴设备实时监控生理特征,以便进行更精细化的分析。智能化的分析系统也更进一步地影响比赛过程,在足球运动领域,一些关于视频助理裁判(VAR)对协会足球裁判决策的影响的研究被展开,由于科学化的数据分析方法对比赛判别的正确预测概率的提升,成功影响了裁判的比赛判断决策,因而已被用于例如世界杯的大型国际赛事中。利用体育运动项目仿真训练系统能够为运动员和教练员提供更加有效的、科学的训练方法,在对比分析了训练与模拟比赛环境下柔道运动员背负投动作三维运动学后,研究者得出了模拟比赛中运动员完成相应动作的时间较短,稳定性较高的结论。With the development of the times, the progress of science and technology has affected all aspects of people's lives. In major sports events, science and technology are increasingly involved in the integration of various processes of the game. During training, athletes wear smart wearable devices to monitor physiological characteristics in real time for more refined analysis. Intelligent analysis systems also further affect the game process. In the field of football, some studies on the impact of video assistant referees (VAR) on the decision-making of association football referees have been carried out. Due to the improvement of the correct prediction probability of game judgment by scientific data analysis methods, it has successfully influenced the referee's game judgment and decision-making, and has been used in large-scale international events such as the World Cup. The use of sports simulation training systems can provide athletes and coaches with more effective and scientific training methods. After comparing and analyzing the three-dimensional kinematics of judo athletes' back throwing movements in training and simulated competition environments, the researchers concluded that athletes in simulated competitions have shorter time to complete the corresponding movements and higher stability.

射箭作为一项历史悠久的运动,作为打猎求生的手段诞生于远古时代,作为战争的重要工具发展于冷兵器时代,直至今日作为一门现代运动登上了大型国际赛事的舞台。射箭运动员的数量日渐庞大,射箭也逐渐从一个小众的运动项目发展为更大众的爱好。然而现如今,无论是大型国际赛事还是小型射箭场馆,射箭与科技的结合仍处于初始阶段。在报靶方面,射箭项目的得分播报及统计仍停留在人工阶段,需要人通过小型望远镜观察几十米外靶子具体情况,这样的方法危险且低效;射箭项目的规则混乱,只训练简单的拉弓射箭很难锻炼运动员的大赛心态;数据收集与分析仍处于原始阶段,无论是箭着点的热点分析还是生理特征数据分析仍停留在理论层面。这些现在落后的射箭训练系统存在的弊端妨碍了整体射箭运动水平的提高。Archery is a sport with a long history. It was born in ancient times as a means of hunting for survival. It developed as an important tool of war in the cold weapon era. Until today, it has been on the stage of large-scale international competitions as a modern sport. The number of archery athletes is growing day by day, and archery has gradually developed from a niche sport to a more popular hobby. However, nowadays, whether it is a large international competition or a small archery venue, the combination of archery and technology is still in its initial stage. In terms of target reporting, the score broadcasting and statistics of archery events are still in the manual stage, requiring people to observe the specific situation of the target dozens of meters away through a small telescope. This method is dangerous and inefficient; the rules of archery events are confusing, and it is difficult to train athletes' mentality for competitions by only training simple bow and arrow shooting; data collection and analysis are still in the primitive stage, whether it is the hot spot analysis of arrow impact points or the analysis of physiological characteristics data, it still remains at the theoretical level. These shortcomings of the backward archery training system have hindered the improvement of the overall level of archery.

发明内容Summary of the invention

本发明的目的是提供一种射箭训练与比赛模拟系统,以解决目前射箭训练中所缺乏的流程管理和自动化比赛演进的问题。The purpose of the present invention is to provide an archery training and competition simulation system to solve the problems of process management and automated competition evolution that are currently lacking in archery training.

为了解决上述问题,本发明提供了一种射箭训练与比赛模拟系统,其包括:箭靶识别模块、生理特征检测模块、环境探测模块以及比赛模拟模块;其中:In order to solve the above problems, the present invention provides an archery training and competition simulation system, which includes: a target recognition module, a physiological feature detection module, an environment detection module and a competition simulation module; wherein:

箭靶识别模块采用基于卷积神经网络的箭靶自动识别方法识别箭靶上箭矢的坐标;The target recognition module uses a convolutional neural network-based target automatic recognition method to identify the coordinates of the arrow on the target;

生理特征检测模块用于实时获取用户生理特征;The physiological characteristic detection module is used to obtain the user's physiological characteristics in real time;

环境探测模块用于实时获取环境信息;The environment detection module is used to obtain environmental information in real time;

比赛模拟模块,用于和使用者交互,以安排使用者进行模拟比赛;模拟比赛过程中,通过箭靶识别模块检测使用者的命中成绩,通过生理特征检测模块检测使用者的生理特征,并通过环境探测模块探测赛场的环境信息。The competition simulation module is used to interact with the user to arrange the user to participate in a simulated competition; during the simulated competition, the user's hit score is detected by the target recognition module, the user's physiological characteristics are detected by the physiological characteristic detection module, and the environmental information of the competition venue is detected by the environmental detection module.

本发明的进一步改进在于,箭靶识别模块采用的基于卷积神经网络的箭靶自动识别方法包括:A further improvement of the present invention is that the target recognition module adopts a convolutional neural network-based target automatic recognition method comprising:

S11、获取箭靶的RGB视频图像,将各帧进行仿射变换以及图像截取,形成统一大小的原始RGB图像,从而得到RGB视频帧图像序列;S11, obtaining an RGB video image of the target, performing affine transformation on each frame and image interception to form an original RGB image of a uniform size, thereby obtaining an RGB video frame image sequence;

S12、对RGB视频帧图像序列通过比较相邻帧变化获取关键帧信息;S12, obtaining key frame information by comparing changes of adjacent frames in the RGB video frame image sequence;

S13、对S2中所得的RGB视频帧图像序列中的关键帧进行目标检测,得到初检的视频帧箭矢坐标位置及角度信息;S13, performing target detection on the key frames in the RGB video frame image sequence obtained in S2, and obtaining the coordinate position and angle information of the arrow of the video frame of the initial inspection;

S14、采用作差的方法,提取S2中的关键帧与前一帧非关键帧的差异,获得目标图片,并对目标图片进行处理,获得带有箭矢信息的二值图像;S14, using a difference method to extract the difference between the key frame in S2 and the previous non-key frame, obtain a target image, and process the target image to obtain a binary image with arrow information;

S15、结合S3获得的箭矢坐标位置及角度信息及S4获得的带有箭矢信息的二值图像,确定箭矢目标的关键点位置。S15. Determine the key point position of the arrow target by combining the arrow coordinate position and angle information obtained in S3 and the binary image with arrow information obtained in S4.

本发明的进一步改进在于,生理特征检测模块的检测过程包括:A further improvement of the present invention is that the detection process of the physiological characteristic detection module includes:

S21:将运动员的光电容积脉搏波信号通过智能指环进行采集,并进行预处理,得到PPG信号波形;S21: collecting the athlete's photoelectric volume pulse wave signal through the smart ring, and preprocessing it to obtain a PPG signal waveform;

S22:将指环采集到的PPG信号通过蓝牙传输到运动员个人手机APP中;S22: The PPG signal collected by the ring is transmitted to the athlete's personal mobile phone APP via Bluetooth;

S23:手机APP每2s将信号转发至远程服务器端;S23: The mobile APP forwards the signal to the remote server every 2 seconds;

S24:服务器每2s针对指环信息和运动员信息进行计算,通过运动伪影去除和频率估计算法得到运动员的心率和心率变异性信息,并保存在服务器中;S24: the server calculates the ring information and the athlete information every 2 seconds, obtains the athlete's heart rate and heart rate variability information through motion artifact removal and frequency estimation algorithms, and stores the information in the server;

S25:射箭系统请求服务器数据,将该运动员的心率和心率变异性数据显示在大屏幕上。S25: The archery system requests the server for data and displays the athlete's heart rate and heart rate variability data on the big screen.

本发明的进一步改进在于,在步骤S21中:A further improvement of the present invention is that in step S21:

智能指环通过led向运动员皮肤发射绿光,经过血管反射后形成光电容积脉搏波信号,通过指环的传感器获取信号,然后通过电路进行信号预处理,通过信号做差去除环境光的影响。The smart ring emits green light to the athlete's skin through LED, which reflects from the blood vessels to form a photoelectric volumetric pulse wave signal. The signal is acquired through the sensor of the ring, and then pre-processed through the circuit, and the influence of ambient light is removed by signal subtraction.

本发明的进一步改进在于,在步骤S22中:A further improvement of the present invention is that in step S22:

通过智能指环的蓝牙模块将PPG信号和加速度信号传输到与之配对的智能手机APP中。The PPG signal and acceleration signal are transmitted to the paired smartphone APP through the Bluetooth module of the smart ring.

本发明的进一步改进在于,在步骤S24中:A further improvement of the present invention is that in step S24:

步骤S41:服务器将手机端发送的2s PPG和加速度信号数据保存在数据库中,并读取当前时刻前10s的PPG和加速度信号数据、历史心率、历史峰峰距离等计算参数输入到算法函数中;Step S41: the server saves the 2s PPG and acceleration signal data sent by the mobile phone in a database, and reads the PPG and acceleration signal data, historical heart rate, historical peak-to-peak distance and other calculation parameters 10s before the current moment and inputs them into the algorithm function;

步骤S42:算法通过信号滤波、伪影去除、频率计算、峰峰距拟合等算法,得到运动员的心率和心率变异性数据,保存在数据库中。Step S42: The algorithm obtains the athlete's heart rate and heart rate variability data through algorithms such as signal filtering, artifact removal, frequency calculation, and peak-to-peak distance fitting, and stores them in a database.

本发明的进一步改进在于,模比赛模拟模块包括:A further improvement of the present invention is that the simulation module for the simulated game comprises:

运动员管理模块,运动员包括用户运动员和模拟运动员,每一位运动员都有唯一的user_ID,不可重复;运动员类型包括男子单人,女子单人,男子团体,女子团体,混合团体;运动员录入个人信息且生理健康设备绑定,以便比赛系统对于以运动员个体为单位进行信息存入分析及管理;Athlete management module. Athletes include user athletes and simulated athletes. Each athlete has a unique user_ID, which cannot be repeated. Athlete types include men's single, women's single, men's team, women's team, and mixed team. Athletes enter their personal information and bind their physiological health equipment so that the competition system can store, analyze, and manage information for individual athletes.

设备管理模块,包括对于系统包含的硬件设备进行管理的功能;用于选通和绑定赛事所需的靶面摄像头,运动员侧摄像头及相应的环境检测设备;用于查看和测验赛事所需的靶面摄像头,运动员侧摄像头及相应的环境检测设备的预览画面和信息稳定性;用于选择摄像头画面感兴趣区域并发送数据至后台;The equipment management module includes functions for managing the hardware devices included in the system; for selecting and binding the target cameras, athlete side cameras and corresponding environmental detection equipment required for the event; for viewing and testing the preview images and information stability of the target cameras, athlete side cameras and corresponding environmental detection equipment required for the event; for selecting the area of interest of the camera image and sending data to the background;

计划制定模块,包括用于制定数据库内包含运动员的模拟比赛计划,还用于查看与管理数据库内包含运动员的模拟比赛计划;其中,可以根据需要管理和查看计划,计划类型包括可选的训练模式和比赛模式,比赛类型包括可选的男子单人,女子单人,男子团体,女子团体,混合团体;可以制定特定用户运动员的训练计划,包括选定计划类型,比赛类型,模拟运动员,模拟赛事类型,比赛顺序,环境加强模式选定,比赛模式下制定计划后台会生成相应的决赛计划表;可以管理过往计划成绩,用户可以根据过往训练数据进行针对性的训练。The plan making module includes a module for making simulated game plans for athletes included in the database, and is also used to view and manage simulated game plans for athletes included in the database; wherein, plans can be managed and viewed as needed, and plan types include optional training modes and competition modes, and competition types include optional men's singles, women's singles, men's teams, women's teams, and mixed teams; training plans can be made for specific user athletes, including selecting plan types, competition types, simulated athletes, simulated event types, competition sequence, and environmental enhancement mode selection; when making plans in competition mode, the background will generate a corresponding final schedule; past plan results can be managed, and users can conduct targeted training based on past training data.

本发明的进一步改进在于,还包括赛事进行版面,用于在模拟比赛过程中通过展示所需的实时信息以及提示信息。完整的比赛流程警示音,即比赛准备提示音,比赛开始提示音和比赛结束提示音;射箭警示灯,当轮至用户运动员比赛轮次时,将会亮起警示灯提醒运动员开始射箭,当时间用尽或判靶结束,警示灯将会熄灭;当轮射箭得分提示,用于展示本轮用户运动员和模拟运动员的得分情况及输赢状况;倒计时展示,根据计划制定的不同比赛类型,实施不同的倒计时并提示运动员剩余时间;历史成绩展示,用于展示在本次比赛中运动员对手之间的成绩;实时生理特征信息,用于展示运动员实时的心率,血氧及心率变应性等信息;实时环境信息,用于展示当前射箭场地的风速,风向,温度及湿度。A further improvement of the present invention is that it also includes a competition layout, which is used to display the required real-time information and prompt information during the simulated competition. The complete competition process warning sound, namely the competition preparation prompt sound, the competition start prompt sound and the competition end prompt sound; the archery warning light, when it is the user athlete's turn to compete, the warning light will light up to remind the athlete to start archery, and when the time is up or the target is judged, the warning light will go out; the archery score prompt for the current round is used to display the score and win-loss status of the user athlete and the simulated athlete in this round; the countdown display, according to the different competition types planned, different countdowns are implemented and the athlete is prompted with the remaining time; the historical results display is used to display the results between the athlete's opponents in this competition; the real-time physiological characteristics information is used to display the athlete's real-time heart rate, blood oxygen and heart rate responsiveness and other information; the real-time environmental information is used to display the wind speed, wind direction, temperature and humidity of the current archery venue.

模比赛模拟模块还包括赛事管理模块,其包括完整的基于射箭比赛决赛赛制底层逻辑的赛事流程;其中,用户可以根据计划开始比赛,在开始比赛后,按照比赛赛制完成比赛,在比赛过程中,用户的射箭得分,生理特征变化以及环境信息变化实时地展现在赛事面板上,并引导用户进行下一步操作;在一组比赛完成后,用户可手动修改比赛得分,以应对图像识别算法不够精准的情况;比赛结束后,比赛信息包括分数情况,热点统计,生理特征变化等信息会录入赛事数据库,便于下一步分析与调整训练计划。The competition simulation module also includes an event management module, which includes a complete event process based on the underlying logic of the archery final competition system; wherein, the user can start the competition according to the plan, and after starting the competition, complete the competition according to the competition system. During the competition, the user's archery score, physiological characteristic changes and environmental information changes are displayed in real time on the event panel, and guide the user to the next step; after a group of competitions are completed, the user can manually modify the competition score to deal with the situation where the image recognition algorithm is not accurate enough; after the competition, the competition information including score situation, hot spot statistics, physiological characteristic changes and other information will be entered into the event database, which is convenient for the next step of analysis and adjustment of the training plan.

计划制定模块为每场比赛赋予唯一的比赛ID,用户可以根据计划比赛的关键信息,如关键字,计划类型,比赛类型,比赛状态,开始时间以及结束时间快速索引至对应比赛;用户可以查看任意一场历史计划的详细计划信息及比赛日志。The planning module assigns a unique game ID to each game. Users can quickly index to the corresponding game based on key information of the planned game, such as keywords, plan type, game type, game status, start time and end time; users can view detailed plan information and game logs of any historical plan.

进一步地,计划制定模块在选取训练模式时,会根据数据库中的选手成绩建模及模拟比赛分数匹配机制,计划选取对手的虚拟成绩,并在比赛过程中呈现出来;用户还可以根据自己的需求,选取不同成绩概率模型的选手匹配竞赛。Furthermore, when selecting a training mode, the planning module will model the players' scores in the database and simulate the match score matching mechanism, plan to select the opponent's virtual scores, and present them during the game; users can also select players with different score probability models to match the competition according to their own needs.

赛事进行版面将会展示完整的比赛流程,其中包括开始比赛时,先手运动员开始射箭,若先手运动员为用户运动员,则画面展示运动员侧摄像头拍摄画面,当运动员搭弓准备射箭,画面切换至靶面摄像头画面,完整展示箭从入靶到读取得分的所有画面;若先手运动员为模拟运动员,则画面展示后台根据计划配置的模拟运动员人像画面及根据不同成绩概率模型生成的靶面成绩画面。当先手运动员射箭及判靶结束,则迅速切换至下一位顺序运动员继续比赛流程,直至胜负分明。The event progress page will display the complete competition process, including the first athlete starting to shoot arrows at the beginning of the game. If the first athlete is a user athlete, the screen will show the athlete's side camera shooting screen. When the athlete draws the bow and prepares to shoot, the screen switches to the target camera screen, showing all the pictures from the arrow hitting the target to reading the score. If the first athlete is a simulated athlete, the screen will show the simulated athlete portrait screen configured according to the plan and the target score screen generated according to different score probability models. When the first athlete finishes shooting and judging the target, it will quickly switch to the next athlete in order to continue the competition process until the winner is clear.

本发明提供的装置具有以下技术效果:The device provided by the present invention has the following technical effects:

1、本发明的视频图像分析处理模块通过高清摄像头获取RGB原始图像序列,并通过图像检测算法获取得分识别结果,本算法识别精度高,速度较快,能满足实时得分判别的需求,实现全自动判靶;本模块适用性强,可针对现有的射箭环境使用,无需进行多余硬件改变,改造成本较低。1. The video image analysis and processing module of the present invention obtains the RGB original image sequence through a high-definition camera, and obtains the score recognition result through an image detection algorithm. The algorithm has high recognition accuracy and fast speed, can meet the needs of real-time score discrimination, and realizes fully automatic target discrimination; the module has strong applicability and can be used for existing archery environments without unnecessary hardware changes, and the modification cost is low.

2、本发明的生理特征检测算法采用高性能传感器和信号处理电路组成的智能指环,采集信号位置好、精度高、续航时间长、佩戴压力低;在室外运动及训练场景下,采集到的PPG信号容易收到环境光和运动伪影的干扰,我们的算法能够有效去除这些噪声,在同等条件下提高运动员的心率和心率变异性监测准度。2. The physiological characteristic detection algorithm of the present invention adopts a smart ring composed of high-performance sensors and signal processing circuits, which has good signal collection position, high accuracy, long battery life and low wearing pressure. In outdoor sports and training scenarios, the collected PPG signals are easily interfered by ambient light and motion artifacts. Our algorithm can effectively remove these noises and improve the monitoring accuracy of athletes' heart rate and heart rate variability under the same conditions.

3、本发明实现了一个复合智能比分识别,实时生理体征检测,环境信息监测,比赛流程自动化的射箭训练与比赛模拟系统,实现了从运动员数据管理分析,比赛计划制定,比赛设备管理,比赛流程自动化执行等一系列流程的线上系统,更方便运动员和教练进行模拟训练,科学训练。3. The present invention realizes an archery training and competition simulation system with composite intelligent score recognition, real-time physiological sign detection, environmental information monitoring, and automated competition process. It realizes an online system for a series of processes from athlete data management and analysis, competition plan formulation, competition equipment management, to automated execution of competition processes, making it more convenient for athletes and coaches to conduct simulated training and scientific training.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例提供的射箭训练与比赛模拟系统的整体功能框架图;FIG1 is an overall functional framework diagram of an archery training and competition simulation system provided by an embodiment of the present invention;

图2为本发明实施例提供的射箭训练与比赛模拟系统硬件部署示意图;FIG2 is a schematic diagram of hardware deployment of an archery training and competition simulation system provided by an embodiment of the present invention;

图3为本发明实施例提供的射箭训练与比赛模拟系统比赛板块流程图;FIG3 is a flow chart of a competition section of an archery training and competition simulation system provided by an embodiment of the present invention;

图4为基于卷积神经网络的箭靶自动识别方法的流程图;FIG4 is a flow chart of a method for automatic target recognition based on a convolutional neural network;

图5为基于卷积神经网络的箭靶自动识别方法采用的神经网络的架构图。FIG5 is a diagram showing the architecture of a neural network used in an automatic target recognition method based on a convolutional neural network.

具体实施方式Detailed ways

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图示中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present invention, and thus the illustrations only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

如图1所示,本发明的实施例提供一种射箭训练与比赛模拟系统,其包括:箭靶识别模块、生理特征检测模块、环境探测模块以及比赛模拟模块;其中:As shown in FIG1 , an embodiment of the present invention provides an archery training and competition simulation system, which includes: a target recognition module, a physiological characteristic detection module, an environment detection module and a competition simulation module; wherein:

箭靶识别模块采用基于卷积神经网络的箭靶自动识别方法识别箭靶上箭矢的坐标;The target recognition module uses a convolutional neural network-based target automatic recognition method to identify the coordinates of the arrow on the target;

生理特征检测模块用于实时获取用户生理特征;The physiological characteristic detection module is used to obtain the user's physiological characteristics in real time;

环境探测模块用于实时获取环境信息;The environment detection module is used to obtain environmental information in real time;

比赛模拟模块,用于和使用者交互,以安排使用者进行模拟比赛;模拟比赛过程中,通过箭靶识别模块检测使用者的命中成绩,通过生理特征检测模块检测使用者的生理特征,并通过环境探测模块探测赛场的环境信息。The competition simulation module is used to interact with the user to arrange the user to participate in a simulated competition; during the simulated competition, the user's hit score is detected by the target recognition module, the user's physiological characteristics are detected by the physiological characteristic detection module, and the environmental information of the competition venue is detected by the environmental detection module.

本实施例系统可进行复合智能比分识别、实时生理体征检测、环境信息监测、比赛流程自动化布置。其中,硬件设备包含箭靶侧摄像头,运动员侧摄像头,环境信息采集设备,智能指环,工作站,路由器,智能手机,显示大屏,信息传输网线电线等,设备部署方式如图2所示。The system of this embodiment can perform composite intelligent score recognition, real-time physiological sign detection, environmental information monitoring, and automatic arrangement of competition process. Among them, the hardware equipment includes a target side camera, an athlete side camera, an environmental information collection device, a smart ring, a workstation, a router, a smart phone, a large display screen, information transmission network cables and wires, etc. The equipment deployment method is shown in Figure 2.

在本实施例中,比赛模拟模块包含运动员管理模块,设备管理模块,计划制定模块和赛事管理模块,如图1所示展示了各个模块间的关系,下面对各个组成模块进行详细阐述。In this embodiment, the game simulation module includes an athlete management module, an equipment management module, a plan making module and an event management module. FIG1 shows the relationship between the modules, and each component module is described in detail below.

运动员管理模块:包含运动员信息识别,运动员类型管理,运动员设备绑定等功能。Athlete management module: includes functions such as athlete information identification, athlete type management, and athlete equipment binding.

运动员管理通过以下方式实现:运动员类型包含用户运动员和模拟运动员,其中模拟运动员通过后台录入配置,普通用户无编辑权限,仅可对用户运动员进行添加,编辑,查看和删除等操作。普通用户通过输入团队名称(录入的用户运动员名称),选择团队类型(包含男子单人,女子单人,男子团体,女子团体,混合团体),指定智能指环MAC地址(为12位MAC地址,例如00:00:00:00:00:00,与运动员绑定),以及添加备注来生成用户运动员。每一用户运动员生成后,系统生成唯一的用户ID。普通用户可以根据用户ID,团队名称,团队类型,指环MAC地址来索引并查看该用户运动员的详细信息,并可以对以上所有用户运动员的信息进行重编辑,可以删除所创建的用户运动员。用户运动员录入个人信息且生理健康设备绑定之后,比赛系统以用户运动员个体为单位进行信息存入分析及管理。Athlete management is achieved in the following ways: Athlete types include user athletes and simulated athletes, where simulated athletes are configured through background entry, and ordinary users have no editing privileges and can only add, edit, view and delete user athletes. Ordinary users generate user athletes by entering the team name (user athlete name entered), selecting the team type (including men's single, women's single, men's group, women's group, mixed group), specifying the smart ring MAC address (a 12-bit MAC address, such as 00:00:00:00:00:00, bound to the athlete), and adding notes. After each user athlete is generated, the system generates a unique user ID. Ordinary users can index and view the detailed information of the user athlete according to the user ID, team name, team type, and ring MAC address, and can re-edit the information of all the above user athletes, and can delete the created user athletes. After the user athlete enters personal information and the physiological health equipment is bound, the competition system stores information analysis and management on an individual basis.

设备管理模块包括对于系统包含的硬件设备进行管理的功能。设备管理通过以下方式实现:管理员用户可以通过输入摄像头ID,摄像头名称,摄像头类型,摄像头状态新建摄像头,并将其录入后台数据库;普通用户无新建摄像头权限。普通用户可以查看数据库中所有摄像头拍摄的预览画面,并操作使其上下左右移动以使其完整拍摄靶面或运动员画面;可以查看及编辑摄像头ID,摄像头名称,摄像头类型(可选类型为面对运动员和面对靶子)并对其添加备注;可以选择启用或停用某摄像头以绑定赛事所需的靶面摄像头,运动员侧摄像头;对于摄像头类型为面对靶子的,可以进行选择摄像头画面感兴趣区域,具体操作为鼠标依次点选靶子图像的左上,左下,右上,右下,系统会记录点选点相对摄像头拍摄标准图像的坐标,并发送数据至后台。The device management module includes the function of managing the hardware devices included in the system. Device management is achieved in the following ways: Administrator users can create new cameras by entering camera ID, camera name, camera type, and camera status, and enter them into the background database; ordinary users do not have the authority to create new cameras. Ordinary users can view the preview images taken by all cameras in the database, and operate them to move up, down, left, and right to fully capture the target surface or athlete screen; they can view and edit the camera ID, camera name, camera type (optional types are facing the athlete and facing the target) and add notes to them; they can choose to enable or disable a camera to bind the target surface camera and athlete side camera required for the event; for cameras facing the target, you can select the area of interest of the camera screen. The specific operation is to click the upper left, lower left, upper right, and lower right of the target image with the mouse in turn. The system will record the coordinates of the clicked points relative to the standard image taken by the camera and send the data to the background.

计划制订模块包括制定,查看与管理数据库内包含运动员的模拟比赛计划。计划制定通过以下方式实现:在模拟计划栏目,普通用户通过“新增按钮”新建模拟比赛计划。计划类型分为训练和比赛,其中,选择训练模式时,后台将根据选择匹配的模拟运动员生成随机数种子,根据该运动员的历史大赛成绩分配不同环数(10环,9环,8环,7环,6环)在比赛中出现的概率;选择比赛模式时,后台将调出所选模拟运动员被选择的某过往大赛成绩及对应的真实视频。选定计划类型之后,选择需要的比赛类型(包含男子单人,女子单人,男子团体,女子团体,混合团体),模拟赛事类型,选择运动员管理模块录入的用户运动员,以及数据库中的模拟运动员(在比赛模式下,需要选择7个不同的比赛团体及其对应的真实比赛场次,后台生成8强对阵图),选择射箭比赛开始时的先手队员(包括用户运动员先手,模拟运动员先手和随机模式),选择是否播放环境音,可选添加备注,点击“计划”按钮即完成模拟比赛计划的创建,后台将赋予每一个模拟计划唯一的ID。The plan making module includes making, viewing and managing simulated game plans containing athletes in the database. Plan making is achieved in the following ways: In the simulated plan column, ordinary users create a new simulated game plan through the "Add button". The plan types are divided into training and competition. Among them, when the training mode is selected, the background will generate a random number seed based on the selected matching simulated athlete, and assign different numbers of rings (10 rings, 9 rings, 8 rings, 7 rings, 6 rings) according to the athlete's historical competition results. The probability of appearing in the game; when the competition mode is selected, the background will call up the selected simulated athlete's selected past competition results and the corresponding real video. After selecting the plan type, select the required competition type (including men's individual, women's individual, men's team, women's team, mixed team), simulated event type, select the user athletes entered in the athlete management module, and the simulated athletes in the database (in competition mode, you need to select 7 different competition groups and their corresponding real competition matches, and the background will generate a top 8 matchup chart), select the first player at the start of the archery competition (including user athlete first, simulated athlete first and random mode), choose whether to play ambient sound, optionally add notes, and click the "Plan" button to complete the creation of the simulated competition plan. The background will assign a unique ID to each simulated plan.

计划管理通过以下方式实现:用户可以根据计划比赛的关键信息,如关键字,计划类型,比赛类型,比赛状态,开始时间以及结束时间快速索引至对应比赛;用户可以查看任意一场历史计划的详细计划信息及比赛日志。在一场模拟计划结束之后(所以比赛流程都完成),普通用户可以点击“成绩”按钮查看该计划中所有模拟比赛的成绩(包括比赛的局分及每一局的小分)。普通用户可以点击“删除”按钮删除特定未完成所有比赛的模拟比赛计划,所有计划的信息(关键字,计划类型,比赛类型,比赛状态,比赛成绩,计划ID,开始时间以及结束时间)将存入数据库。Plan management is achieved in the following ways: users can quickly index to the corresponding game based on the key information of the planned game, such as keywords, plan type, game type, game status, start time and end time; users can view the detailed plan information and game log of any historical plan. After a simulation plan is completed (so all the game processes are completed), ordinary users can click the "Results" button to view the results of all simulated games in the plan (including the game scores and the sub-scores of each game). Ordinary users can click the "Delete" button to delete a specific simulation game plan that has not completed all games. All plan information (keywords, plan type, game type, game status, game results, plan ID, start time and end time) will be stored in the database.

赛事管理模块包括完整的基于射箭比赛决赛赛制底层逻辑的赛事流程。其中,赛事开始面板上显示必要的信息,其中包括当前局数,当前对局小分,历史局数小分,当前比赛双方团队名称,当前比赛局分,当前所射箭支数及其对应的环数,警示灯,倒计时时间,生理特征(包含心率,血氧,心率变应性),动作捕捉模块实时展示(展示运动员射箭姿态),环境信息(包含温度,湿度,风速,风向)以及比赛画面实时展示视频模块。The event management module includes a complete event process based on the underlying logic of the archery finals. Among them, the necessary information is displayed on the event start panel, including the current number of rounds, the current match score, the historical number of rounds, the names of the two teams in the current game, the current match score, the current number of arrows shot and the corresponding number of rings, warning lights, countdown time, physiological characteristics (including heart rate, blood oxygen, heart rate responsiveness), real-time display of motion capture module (showing the athlete's archery posture), environmental information (including temperature, humidity, wind speed, wind direction) and real-time display of the game screen video module.

赛事运行的流程如图3所示,其通过以下方式实现:以单人比赛类型为例,在计划模块点击所需要执行的计划的“开始比赛”按钮进入比赛界面,经过10s的准备时间过后,比赛正式开始。如果在计划中选择了先手运动员为用户运动员,则比赛画面实时展示视频模块将展示运动员侧摄像头拍摄画面,当运动员完成拉弓射箭动作后,比赛画面实时展示视频模块将切换成箭靶侧摄像头画面,在接收到视频图像分析处理算法传回的箭靶图像分析成绩后,比赛画面实时展示视频模块切换至模拟运动员视频画面,倒计时暂停,依次这样交替进行,直至一局比赛结束;如果在计划中选择了先手运动员为模拟运动员,当选择的计划类型为训练时,首先比赛画面实时展示视频模块将展示数据库中所选模拟运动员视频画面,在模拟运动员视频播放结束后,比赛画面实时展示视频模块将切换成数据库中的箭靶视频画面,其中箭靶视频的选取由后台计划完成,在箭靶视频播放结束后,比赛画面实时展示视频模块切换至用户运动员视频画面,倒计时开始,依次这样交替进行,直至一局比赛结束,当选择的计划类型为比赛时,模拟运动员画面将由数据库中所选运动员的某场比赛画面组成;随机模式下,后台将以随机数的形式生成概率均等的模拟运动员和用户运动员先手比赛模式。混合团体比赛与团体比赛的比赛流程与单人比赛接近,在播放单个运动员画面(对于模拟运动员,即模拟运动员视频画面和箭靶视频画面的接续视频画面;对于用户运动员,即运动员侧摄像头拍摄画面和箭靶侧摄像头画面的接续画面)后,会切换成同队运动员画面,直至该队运动员画面轮转结束,再切换至另一类型运动员画面。The process of event operation is shown in Figure 3, which is implemented in the following way: Taking the single-player competition type as an example, in the planning module, click the "Start Competition" button of the plan to be executed to enter the competition interface. After 10 seconds of preparation time, the competition officially begins. If the first player is selected as the user player in the plan, the real-time display video module of the game screen will display the picture taken by the camera on the side of the player. When the player completes the action of drawing the bow and shooting the arrow, the real-time display video module of the game screen will switch to the picture of the camera on the side of the target. After receiving the target image analysis result sent back by the video image analysis processing algorithm, the real-time display video module of the game screen will switch to the video picture of the simulated player, and the countdown will be paused. This will be carried out alternately in sequence until the end of a game. If the first player is selected as the simulated player in the plan, when the selected plan type is training, the real-time display video module of the game screen will first display the video picture of the simulated player selected in the database. After the simulated player video is played, the real-time display video module of the game screen will switch to the target video picture in the database, wherein the selection of the target video is completed by the background plan. After the target video is played, the real-time display video module of the game screen will switch to the user player video picture, and the countdown will start. This will be carried out alternately in sequence until the end of a game. When the selected plan type is competition, the simulated player picture will be composed of a certain game picture of the athlete selected in the database. In the random mode, the background will generate the simulated player and user player first-hand competition mode with equal probability in the form of random numbers. The competition process of mixed team competitions and team competitions is similar to that of single-player competitions. After playing the screen of a single athlete (for simulated athletes, it is the continuous video screen of the simulated athlete and the target video screen; for user athletes, it is the continuous screen of the athlete's side camera screen and the target side camera screen), it will switch to the screen of the athletes on the same team until the rotation of the team's athletes' screens is completed, and then switch to the screen of another type of athlete.

赛事流程包含完整的分数获取和统计功能。其中,分数的获取实时进行,用户运动员将箭射击到靶面上后,视频图像分析处理算法对视频图像进行分析处理,得到当前箭支对应的分数,并通过mqtt通信协议回传至系统后台,并将其实时展示到赛事开始面板上的当前对局小分上,模拟运动员的分数则由系统后台从数据库中调出,并展示到赛事开始面板上的当前对局小分上。一组比赛结束后,用户可手动修改比赛得分,以应对图像识别算法不够精准的情况。一局比赛结束后,历史局数小分将会录入后台并展示在赛事开始面板上。当所有计划比赛完成,比赛信息(包括所有对局小分,箭靶着点热点数据,生理特征连续数据)可以在计划管理界面查看。The event process includes complete score acquisition and statistics functions. Among them, the score acquisition is carried out in real time. After the user athlete shoots the arrow onto the target, the video image analysis and processing algorithm analyzes and processes the video image to obtain the score corresponding to the current arrow, and transmits it back to the system background through the MQTT communication protocol, and displays it in real time on the current game score on the event start panel. The score of the simulated athlete is retrieved from the database by the system background and displayed on the current game score on the event start panel. After a group of games is over, the user can manually modify the game score to deal with the situation where the image recognition algorithm is not accurate enough. After a game is over, the historical game score will be entered into the background and displayed on the event start panel. When all planned games are completed, the game information (including all game scores, target impact hotspot data, and physiological characteristics continuous data) can be viewed on the plan management interface.

赛事进行版面展示所需的实时信息及必要提示如图5所示,包括:完整的比赛流程警示音,即比赛准备提示音,比赛开始提示音和比赛结束提示音;射箭警示灯,当轮至用户运动员比赛轮次时,将会亮起警示灯提醒运动员开始射箭,当时间用尽或判靶结束,警示灯将会熄灭;当轮射箭得分提示,用于展示本轮用户运动员和模拟运动员的得分情况及输赢状况;当计划中选择了开启环境音时,后台调用数据库中实地比赛赛场的环境声(包含观众欢呼声,观众嘘声,嘈杂声,风声等),以便模拟更真实的赛场场面;倒计时展示,根据计划制定的不同比赛类型(男子单人,女子单人,男子团体,女子团体,混合团体),实施不同的倒计时并提示运动员剩余时间;历史成绩展示,用于展示在本次比赛中运动员对手之间的成绩;实时生理特征信息,用于展示运动员实时的心率,血氧及心率变应性等信息;实时环境信息,用于展示当前射箭场地的风速,风向,温度及湿度。The real-time information and necessary prompts required for the layout display of the event are shown in Figure 5, including: a complete game process warning sound, namely, the game preparation prompt sound, the game start prompt sound and the game end prompt sound; an archery warning light, when it is the turn of the user athlete to compete, the warning light will light up to remind the athlete to start archery, and when the time is up or the target is judged, the warning light will go out; the archery score prompt for the current round is used to display the score and win-loss status of the user athlete and the simulated athlete in this round; when the plan chooses to turn on the ambient sound, the background calls the ambient sound of the actual competition venue in the database (including audience cheers, audience boos, noise, wind, etc.) to simulate a more realistic competition scene; countdown display, according to the different competition types planned (men's singles, women's singles, men's teams, women's teams, mixed teams), different countdowns are implemented and athletes are prompted with the remaining time; historical results display is used to display the results between the athletes' opponents in this competition; real-time physiological characteristics information is used to display the athlete's real-time heart rate, blood oxygen and heart rate allergy information; real-time environmental information is used to display the wind speed, wind direction, temperature and humidity of the current archery venue.

如图4所示,本实施例中的箭靶识别模块采用的基于卷积神经网络的箭靶自动识别方法包括:As shown in FIG4 , the target recognition module in this embodiment adopts a convolutional neural network-based target automatic recognition method including:

S11、获取箭靶的RGB视频图像,将各帧进行仿射变换以及图像截取,形成统一大小的原始RGB图像,从而得到RGB视频帧图像序列;S11, obtaining an RGB video image of the target, performing affine transformation on each frame and image interception to form an original RGB image of a uniform size, thereby obtaining an RGB video frame image sequence;

S12、对RGB视频帧图像序列通过比较相邻帧变化获取关键帧信息;S12, obtaining key frame information by comparing changes of adjacent frames in the RGB video frame image sequence;

S13、对S2中所得的RGB视频帧图像序列中的关键帧进行目标检测,得到初检的视频帧箭矢坐标位置及角度信息;S13, performing target detection on the key frames in the RGB video frame image sequence obtained in S2, and obtaining the coordinate position and angle information of the arrow of the video frame of the initial inspection;

S14、采用作差的方法,提取S2中的关键帧与前一帧非关键帧的差异,获得目标图片,并对目标图片进行处理,获得带有箭矢信息的二值图像;S14, using a difference method to extract the difference between the key frame in S2 and the previous non-key frame, obtain a target image, and process the target image to obtain a binary image with arrow information;

S15、结合S3获得的箭矢坐标位置及角度信息及S4获得的带有箭矢信息的二值图像,确定箭矢目标的关键点位置。S15. Determine the key point position of the arrow target by combining the arrow coordinate position and angle information obtained in S3 and the binary image with arrow information obtained in S4.

在本实施例的步骤S11中,获取RGB视频帧图像序列的过程包括如下步骤:首先使用高清网络摄像头(靶面摄像头)捕获箭靶图像,通过流媒体技术获取其rtsp流,并使用图像队列捕获RGB图像;对于获取到的RGB图像,利用尺度不变特征转换(Scale-invariantfeature transform,SIFT),获取原始RGB图像与模板图像的匹配特征点,并获得其单应性矩阵,进行仿射变换,最后将图像截取处理为统一大小尺寸的原始RGB图像。In step S11 of the present embodiment, the process of obtaining the RGB video frame image sequence includes the following steps: first, a high-definition network camera (target surface camera) is used to capture the target image, its RTSP stream is obtained through streaming technology, and an RGB image is captured using an image queue; for the obtained RGB image, the scale-invariant feature transform (SIFT) is used to obtain the matching feature points of the original RGB image and the template image, and the homography matrix thereof is obtained, and an affine transformation is performed, and finally the image is intercepted and processed into an original RGB image of uniform size.

在本实施例的步骤S12中,根据射箭箭靶识别这一应用场景,使用了三帧帧间差法对RGB视频帧图像序列进行处理,以检测关键帧。其中,所需保存在硬件中的图像帧包括前中后三帧,前中和中后两帧分别两两组成图像帧对,并不断根据识别结果对于组成这些帧对的图像帧进行更新。In step S12 of this embodiment, according to the application scenario of archery target recognition, the three-frame inter-frame difference method is used to process the RGB video frame image sequence to detect key frames. Among them, the image frames required to be stored in the hardware include the front, middle and back three frames, and the front, middle and back two frames form image frame pairs respectively, and the image frames constituting these frame pairs are continuously updated according to the recognition results.

图像帧更新算法由以下步骤实现:对于标准的原始RGB视频帧序列,获取以时间为顺序排列的前中后三帧图像(下称帧A,帧B,帧C)。分别对帧A帧B,帧B帧C进行差减得到这些图像帧中的运动参数。在理想状态下,非关键帧之间的差减,对于无新增箭矢在靶面待检测区域的两帧差减结果运动参数为零;在实际应用场景下,由于环境因素,箭矢射入靶面的震动因素,箭矢掠过拍摄区域的飞行姿态,靶面区域无新增箭矢的两帧之间的差减也会呈现运动参数不为零的情况。解决上述问题的方法为:对待判断的运动参数不为零的图像帧差进行形态学处理,采用滞后阈值目标区域分割,排除由于光照等环境因素,产生不连续的线检出现象;具体的,要获得关键帧B(靶面区域新增箭矢且箭矢稳定不动),则应该对于帧A帧B之差,经过上述方法处理后,控制其运动参数不为0;对于帧B帧C之差,经过上述方法处理后,控制其运动参数为零,因此排除由于箭矢射入靶面的震动因素,箭矢掠过拍摄区域的飞行姿态导致的关键帧判断不准确进而影响分数判别的问题。获得的帧B即为关键帧。The image frame update algorithm is implemented by the following steps: For a standard original RGB video frame sequence, obtain the first, middle, and last three frames of images (hereinafter referred to as frame A, frame B, and frame C) arranged in time order. Subtract frame A from frame B, frame B from frame C, and obtain the motion parameters in these image frames. Under ideal conditions, the subtraction between non-key frames will result in zero motion parameters for two frames with no new arrows in the target surface to be detected; in actual application scenarios, due to environmental factors, the vibration factor of the arrow shooting into the target surface, the flight posture of the arrow passing through the shooting area, and the subtraction between two frames with no new arrows in the target surface area will also show that the motion parameters are not zero. The method to solve the above problem is: morphological processing is performed on the image frame difference whose motion parameter is not zero, and the target area segmentation is performed using the hysteresis threshold to eliminate the phenomenon of discontinuous line detection caused by environmental factors such as illumination; specifically, to obtain key frame B (a new arrow is added to the target area and the arrow is stable), the difference between frame A and frame B should be processed by the above method to control its motion parameter to be not 0; the difference between frame B and frame C should be processed by the above method to control its motion parameter to be zero, thereby eliminating the problem of inaccurate key frame judgment caused by the vibration factor of the arrow shooting into the target surface and the flying posture of the arrow passing through the shooting area, which affects the score judgment. The obtained frame B is the key frame.

视频待处理帧的更新逻辑由如下步骤实现:当判定帧B为非关键帧且处理前的帧间差运动参数为0时,视为无箭矢射入靶面,将视频序列中的新增图像帧D,取代时间顺序排列的最新帧帧C,此前的帧C和帧B依次顺延替代帧B和帧A;若判定帧B为非关键帧且处理前的帧间差运动参数不为0时,视为存在震动或环境噪声等干扰项,则去除该图像帧,从视频帧序列中获取新的图像帧D代替帧C,帧C代替帧B。若判定帧B为关键帧时,获取关键帧(帧B)与距离关键帧最近的无干扰非关键帧(帧A)的帧差,得到处理后的关键帧二值图像及RGB关键帧图像。The update logic of the video frames to be processed is implemented by the following steps: when frame B is determined to be a non-key frame and the inter-frame difference motion parameter before processing is 0, it is considered that no arrow has entered the target surface, and the newly added image frame D in the video sequence replaces the latest frame C in chronological order, and the previous frames C and B replace frames B and A in turn; if frame B is determined to be a non-key frame and the inter-frame difference motion parameter before processing is not 0, it is considered that there are interference items such as vibration or environmental noise, then the image frame is removed, and a new image frame D is obtained from the video frame sequence to replace frame C, and frame C replaces frame B. If frame B is determined to be a key frame, the frame difference between the key frame (frame B) and the non-interference non-key frame (frame A) closest to the key frame is obtained to obtain the processed key frame binary image and RGB key frame image.

上述射箭训练与比赛模拟系统中,在步骤三中,首先完成数据集采集。收集由不同天气条件,不同拍摄角度,不同箭矢数量构成的箭靶图像,对图像中的箭矢目标进行人工标注,标注图像采用旋转框标注方式,并划分训练集和测试集。其次,设计卷积神经网络模型,设定学习率、批大小、迭代次数等超参数。最后读取训练图像数据集,通过此前设计的卷积神经网络模型为核心的检测方法进行训练,通过训练来降低实际网络输出与指定目标输出之间的误差值,当达到一定迭代次数后,停止训练,得到最终模型。在神经网络的设计上,具体的神经网络组成架构如图5所示:In the above-mentioned archery training and competition simulation system, in step three, the data set collection is first completed. Target images composed of different weather conditions, different shooting angles, and different numbers of arrows are collected, and the arrow targets in the images are manually annotated. The annotated images are annotated using a rotating box annotation method, and are divided into training sets and test sets. Secondly, a convolutional neural network model is designed, and hyperparameters such as learning rate, batch size, and number of iterations are set. Finally, the training image data set is read, and the detection method with the previously designed convolutional neural network model as the core is used for training. The error value between the actual network output and the specified target output is reduced through training. When a certain number of iterations is reached, the training is stopped to obtain the final model. In the design of the neural network, the specific neural network composition architecture is shown in Figure 5:

利用神经网络进行识别的步骤如下:对相邻关键帧作差所得的图像进行S×S的网格划分;对于每个网格,预测B个边界框(包括每个边界框是目标的置信度,每个边界框区域在箭矢类别上的概率,以及当预测框是箭矢目标时,检测框的倾斜角度)置信度包括两层含义:一是该边界框含有目标的可能性大小Pr(object),当该边界框不包含目标时,Pr(object)=0,反之若该边界框包含目标时,则Pr(object)=1;二是这个边界框的准确度。边界框的准确度可以用预测框与实际框的交并比IOU来记录,记为IOU。综上,置信度的表达式可由Pr(object)×IOU给出。边界框的大小与位置可以用184维向量表征:(x,y,w,h,θ0,…,θ179),其中(x,y)是边界框的中心坐标,而w,h分别是边界框的宽,高,θn是边界框的倾斜角度分类概率。特别地,边界框的预测值实际为nc+5+180维向量(x,y,w,h,conf.,θ0,…,θ179,C0,…,Cnc),其中nc为待检测目标类别数,在该实施例中为1,conf.为置信度。在进行预测时,可以得到S×S×B个目标窗口,然后根据阈值去除可能性比较低的目标窗口,最后使用非极大值抑制算法去除冗余窗口。其中,非极大值抑制算法的使用主要解决一个目标被多次检测的问题。在所有的检测框中找到置信度最高的框,逐个计算其与剩余框的IOU,若其值始终大于一定阈值,就将该框删除,重复进行上述过程,直到处理完毕所有的检测框。The steps of using neural network for recognition are as follows: divide the image obtained by subtracting adjacent key frames into S×S grids; for each grid, predict B bounding boxes (including the confidence that each bounding box is a target, the probability that each bounding box area is in the arrow category, and the tilt angle of the detection box when the predicted box is an arrow target). The confidence includes two meanings: one is the probability that the bounding box contains the target, Pr(object). When the bounding box does not contain the target, Pr(object) = 0, otherwise if the bounding box contains the target, Pr(object) = 1; the other is the accuracy of the bounding box. The accuracy of the bounding box can be recorded by the intersection of the predicted box and the actual box, IOU, recorded as IOU. In summary, the expression of confidence can be given by Pr(object)×IOU. The size and position of the bounding box can be represented by a 184-dimensional vector: (x, y, w, h, θ 0 , ..., θ 179 ), where (x, y) is the center coordinate of the bounding box, and w, h are the width and height of the bounding box, respectively, and θ n is the classification probability of the tilt angle of the bounding box. In particular, the predicted value of the bounding box is actually nc+5+180-dimensional vector (x, y, w, h, conf., θ 0 , ..., θ 179 , C 0 , ..., C nc ), where nc is the number of target categories to be detected, which is 1 in this embodiment, and conf. is the confidence level. When making a prediction, S×S×B target windows can be obtained, and then the target windows with relatively low probability are removed according to the threshold, and finally the non-maximum suppression algorithm is used to remove redundant windows. Among them, the use of the non-maximum suppression algorithm mainly solves the problem of multiple detections of a target. Find the box with the highest confidence among all the detection boxes, calculate its IOU with the remaining boxes one by one, and if its value is always greater than a certain threshold, delete the box and repeat the above process until all the detection boxes are processed.

在此前得到的关键帧和前后帧对中,将两个图像帧对转换为灰度图,分别进行图像差减,并进行颜色空间转换,获得初始二值图。获得的初始二值图进行形态学处理,对于获得的二值图像,采用滞后阈值分割方法,将所有梯度值大于高阈值的像素被认为是强边缘,所有梯度值小于低阈值的像素被认为是非边缘,而在高低阈值之间的像素被标记为弱边缘,最后将弱边缘与强边缘相连,得到处理后的图像;最后利用霍夫变换对获得的图像进行直线检测和轮廓检测,将获得的轮廓信息中端点坐标提取出来,并根据摄像头摆放角度和箭矢箭靶模型转换得到实际坐标,输出处理后的包含箭矢位置信息的二值图。In the key frame and the previous and next frame pairs obtained previously, the two image frame pairs are converted into grayscale images, and image difference is performed respectively, and color space conversion is performed to obtain the initial binary image. The initial binary image obtained is subjected to morphological processing. For the binary image obtained, the hysteresis threshold segmentation method is used, and all pixels with gradient values greater than the high threshold are considered to be strong edges, and all pixels with gradient values less than the low threshold are considered to be non-edges, and the pixels between the high and low thresholds are marked as weak edges. Finally, the weak edges are connected with the strong edges to obtain the processed image; finally, the Hough transform is used to perform line detection and contour detection on the obtained image, and the endpoint coordinates in the obtained contour information are extracted, and the actual coordinates are obtained according to the camera placement angle and the arrow target model. The processed binary image containing the arrow position information is output.

最后结合将处理好的RGB图像输入训练好的卷积神经网络,获得的初检的视频帧箭矢坐标位置及角度信息,以及权利要求7所述的包含箭矢信息的二值图,通过对提取坐标进行求均值操作得到最终的箭矢精确坐标。Finally, the processed RGB image is input into the trained convolutional neural network to obtain the arrow coordinate position and angle information of the initial inspection video frame, and the binary image containing the arrow information as described in claim 7, and the final precise coordinates of the arrow are obtained by averaging the extracted coordinates.

本实施例中,生理特征检测模块的检测过程包括:In this embodiment, the detection process of the physiological characteristic detection module includes:

S21:将运动员的光电容积脉搏波信号通过智能指环进行采集,并进行预处理,得到PPG信号波形;S21: collecting the athlete's photoelectric volume pulse wave signal through the smart ring, and preprocessing it to obtain a PPG signal waveform;

S22:将指环采集到的PPG信号通过蓝牙传输到运动员个人手机APP中;S22: The PPG signal collected by the ring is transmitted to the athlete's personal mobile phone APP via Bluetooth;

S23:手机APP每2s将信号转发至远程服务器端;S23: The mobile APP forwards the signal to the remote server every 2 seconds;

S24:服务器每2s针对指环信息和运动员信息进行计算,通过运动伪影去除和频率估计算法得到运动员的心率和心率变异性信息,并保存在服务器中;S24: the server calculates the ring information and the athlete information every 2 seconds, obtains the athlete's heart rate and heart rate variability information through motion artifact removal and frequency estimation algorithms, and stores the information in the server;

S25:射箭系统请求服务器数据,将该运动员的心率和心率变异性数据显示在大屏幕上。S25: The archery system requests the server for data and displays the athlete's heart rate and heart rate variability data on the big screen.

在步骤S21中:智能指环通过led向运动员皮肤发射绿光,经过血管反射后形成光电容积脉搏波信号,通过指环的传感器获取信号,然后通过电路进行信号预处理,通过信号做差去除环境光的影响。In step S21: the smart ring emits green light to the athlete's skin through the LED, which forms a photoelectric volumetric pulse wave signal after reflection through the blood vessels. The signal is acquired through the sensor of the ring, and then the signal is pre-processed through the circuit, and the influence of ambient light is removed by signal subtraction.

在步骤S22中:通过智能指环的蓝牙模块将PPG信号和加速度信号传输到与之配对的智能手机APP中。In step S22: the PPG signal and the acceleration signal are transmitted to the paired smartphone APP via the Bluetooth module of the smart ring.

在步骤S24中:步骤S41:服务器将手机端发送的2s PPG和加速度信号数据保存在数据库中,并读取当前时刻前10s的PPG和加速度信号数据、历史心率、历史峰峰距离等计算参数输入到算法函数中;In step S24: Step S41: the server saves the 2s PPG and acceleration signal data sent by the mobile phone in the database, and reads the PPG and acceleration signal data, historical heart rate, historical peak-to-peak distance and other calculation parameters 10s before the current moment and inputs them into the algorithm function;

步骤S42:算法通过信号滤波、伪影去除、频率计算、峰峰距拟合等算法,得到运动员的心率和心率变异性数据,保存在数据库中。Step S42: The algorithm obtains the athlete's heart rate and heart rate variability data through algorithms such as signal filtering, artifact removal, frequency calculation, and peak-to-peak distance fitting, and stores them in a database.

本实施例实现了一种射箭训练与比赛模拟系统,实现了从运动员数据管理分析,比赛计划制定,比赛设备管理,比赛流程自动化执行等一系列流程的线上系统。其优点为:This embodiment implements an archery training and competition simulation system, and realizes an online system for a series of processes including athlete data management and analysis, competition plan formulation, competition equipment management, and automatic execution of competition processes. Its advantages are:

1、提高比赛流程的规范性。当前射箭模拟比赛系统处于尚不成熟的发展阶段,基本只有识别比赛射箭环数的简单功能。本实施例实现了从制订比赛计划,完成比赛流程,复核比赛情况一体的流程设计,可供使用者更高效地理解比赛规则,提高训练效率。1. Improve the standardization of the competition process. The current archery simulation competition system is in an immature development stage, and basically only has a simple function of identifying the number of archery rings in the competition. This embodiment realizes an integrated process design from formulating a competition plan, completing the competition process, and reviewing the competition situation, which allows users to understand the competition rules more efficiently and improve training efficiency.

2、完成比赛关键数据的收集与整合。通过研判过往比赛数据及训练数据,提取了对比赛选手较为关键的影响因素,对于环境因素,生理特征因素进行了可量化处理,通过智能设备及传感器等,实现实时收集比赛和训练环境中的相关数据。既方便选手在比赛中根据数据调整射箭姿势,又便于教练在赛后分析调整训练方法。2. Complete the collection and integration of key competition data. By analyzing past competition data and training data, we extracted the key factors affecting the contestants, quantified environmental factors and physiological characteristics, and collected relevant data in the competition and training environment in real time through smart devices and sensors. This not only makes it convenient for contestants to adjust their archery posture according to the data during the competition, but also makes it convenient for coaches to analyze and adjust training methods after the competition.

上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims (8)

1.一种射箭训练与比赛模拟系统,其特征在于包括:箭靶识别模块、生理特征检测模块、环境探测模块以及比赛模拟模块;其中:1. An archery training and competition simulation system, characterized by comprising: a target recognition module, a physiological characteristic detection module, an environment detection module and a competition simulation module; wherein: 箭靶识别模块采用基于卷积神经网络的箭靶自动识别方法识别箭靶上箭矢的坐标;The target recognition module uses a convolutional neural network-based target automatic recognition method to identify the coordinates of the arrow on the target; 生理特征检测模块用于实时获取用户生理特征;The physiological characteristic detection module is used to obtain the user's physiological characteristics in real time; 环境探测模块用于实时获取环境信息;The environment detection module is used to obtain environmental information in real time; 比赛模拟模块,用于和使用者交互,以安排使用者进行模拟比赛;模拟比赛过程中,通过箭靶识别模块检测使用者的命中成绩,通过生理特征检测模块检测使用者的生理特征,并通过环境探测模块探测赛场的环境信息。The competition simulation module is used to interact with the user to arrange the user to participate in a simulated competition; during the simulated competition, the user's hit score is detected by the target recognition module, the user's physiological characteristics are detected by the physiological characteristic detection module, and the environmental information of the competition venue is detected by the environmental detection module. 2.根据权利要求1所述的一种射箭训练与比赛模拟系统,其特征在于,箭靶识别模块采用的基于卷积神经网络的箭靶自动识别方法包括:2. An archery training and competition simulation system according to claim 1, characterized in that the target automatic recognition method based on convolutional neural network adopted by the target recognition module comprises: S11、获取箭靶的RGB视频图像,将各帧进行仿射变换以及图像截取,形成统一大小的原始RGB图像,从而得到RGB视频帧图像序列;S11, obtaining an RGB video image of the target, performing affine transformation on each frame and image interception to form an original RGB image of a uniform size, thereby obtaining an RGB video frame image sequence; S12、对RGB视频帧图像序列通过比较相邻帧变化获取关键帧信息;S12, obtaining key frame information by comparing changes of adjacent frames in the RGB video frame image sequence; S13、对S2中所得的RGB视频帧图像序列中的关键帧进行目标检测,得到初检的视频帧箭矢坐标位置及角度信息;S13, performing target detection on the key frames in the RGB video frame image sequence obtained in S2, and obtaining the coordinate position and angle information of the arrow of the video frame of the initial inspection; S14、采用作差的方法,提取S2中的关键帧与前一帧非关键帧的差异,获得目标图片,并对目标图片进行处理,获得带有箭矢信息的二值图像;S14, using a difference method to extract the difference between the key frame in S2 and the previous non-key frame, obtain a target image, and process the target image to obtain a binary image with arrow information; S15、结合S3获得的箭矢坐标位置及角度信息及S4获得的带有箭矢信息的二值图像,确定箭矢目标的关键点位置。S15. Determine the key point position of the arrow target by combining the arrow coordinate position and angle information obtained in S3 and the binary image with arrow information obtained in S4. 3.根据权利要求1所述的一种射箭训练与比赛模拟系统,其特征在于,生理特征检测模块的检测过程包括:3. The archery training and competition simulation system according to claim 1, wherein the detection process of the physiological characteristic detection module comprises: S21:将运动员的光电容积脉搏波信号通过智能指环进行采集,并进行预处理,得到PPG信号波形;S21: collecting the athlete's photoelectric volume pulse wave signal through the smart ring, and preprocessing it to obtain a PPG signal waveform; S22:将指环采集到的PPG信号通过蓝牙传输到运动员个人手机APP中;S22: The PPG signal collected by the ring is transmitted to the athlete's personal mobile phone APP via Bluetooth; S23:手机APP每2s将信号转发至远程服务器端;S23: The mobile APP forwards the signal to the remote server every 2 seconds; S24:服务器每2s针对指环信息和运动员信息进行计算,通过运动伪影去除和频率估计算法得到运动员的心率和心率变异性信息,并保存在服务器中;S24: the server calculates the ring information and the athlete information every 2 seconds, obtains the athlete's heart rate and heart rate variability information through motion artifact removal and frequency estimation algorithms, and stores the information in the server; S25:射箭系统请求服务器数据,将该运动员的心率和心率变异性数据显示在大屏幕上。S25: The archery system requests the server for data and displays the athlete's heart rate and heart rate variability data on the big screen. 4.根据权利要求3所述的一种射箭训练与比赛模拟系统,其特征在于,在步骤S21中:4. An archery training and competition simulation system according to claim 3, characterized in that in step S21: 智能指环通过led向运动员皮肤发射绿光,经过血管反射后形成光电容积脉搏波信号,通过指环的传感器获取信号,然后通过电路进行信号预处理,通过信号做差去除环境光的影响。The smart ring emits green light to the athlete's skin through LED, which reflects from the blood vessels to form a photoelectric volumetric pulse wave signal. The signal is acquired through the sensor of the ring, and then pre-processed through the circuit, and the influence of ambient light is removed by signal subtraction. 5.根据权利要求3所述的一种射箭训练与比赛模拟系统,其特征在于,在步骤S22中:5. The archery training and competition simulation system according to claim 3, characterized in that in step S22: 通过智能指环的蓝牙模块将PPG信号和加速度信号传输到与之配对的智能手机APP中。The PPG signal and acceleration signal are transmitted to the paired smartphone APP through the Bluetooth module of the smart ring. 6.根据权利要求3所述的一种射箭训练与比赛模拟系统,其特征在于,在步骤S24中:6. An archery training and competition simulation system according to claim 3, characterized in that in step S24: 步骤S41:服务器将手机端发送的2s PPG和加速度信号数据保存在数据库中,并读取当前时刻前10s的PPG和加速度信号数据、历史心率、历史峰峰距离等计算参数输入到算法函数中;Step S41: the server saves the 2s PPG and acceleration signal data sent by the mobile phone in a database, and reads the PPG and acceleration signal data, historical heart rate, historical peak-to-peak distance and other calculation parameters 10s before the current moment and inputs them into the algorithm function; 步骤S42:算法通过信号滤波、伪影去除、频率计算、峰峰距拟合等算法,得到运动员的心率和心率变异性数据,保存在数据库中。Step S42: The algorithm obtains the athlete's heart rate and heart rate variability data through algorithms such as signal filtering, artifact removal, frequency calculation, and peak-to-peak distance fitting, and stores them in a database. 7.根据权利要求1所述的一种射箭训练与比赛模拟系统,其特征在于,模比赛模拟模块包括:7. An archery training and competition simulation system according to claim 1, characterized in that the competition simulation module comprises: 运动员管理模块,运动员包括用户运动员和模拟运动员,每一位运动员都有唯一的user_ID,不可重复;运动员类型包括男子单人,女子单人,男子团体,女子团体,混合团体;运动员录入个人信息且生理健康设备绑定,以便比赛系统对于以运动员个体为单位进行信息存入分析及管理;Athlete management module. Athletes include user athletes and simulated athletes. Each athlete has a unique user_ID, which cannot be repeated. Athlete types include men's single, women's single, men's team, women's team, and mixed team. Athletes enter their personal information and bind their physiological health equipment so that the competition system can store, analyze, and manage information for individual athletes. 设备管理模块,包括对于系统包含的硬件设备进行管理的功能;用于选通和绑定赛事所需的靶面摄像头,运动员侧摄像头及相应的环境检测设备;用于查看和测验赛事所需的靶面摄像头,运动员侧摄像头及相应的环境检测设备的预览画面和信息稳定性;用于选择摄像头画面感兴趣区域并发送数据至后台;The equipment management module includes functions for managing the hardware devices included in the system; for selecting and binding the target cameras, athlete side cameras and corresponding environmental detection equipment required for the event; for viewing and testing the preview images and information stability of the target cameras, athlete side cameras and corresponding environmental detection equipment required for the event; for selecting the area of interest of the camera image and sending data to the background; 计划制定模块,包括用于制定数据库内包含运动员的模拟比赛计划。The planning module includes a method for formulating a simulated game plan for athletes included in the database. 8.根据权利要求1所述的一种射箭训练与比赛模拟系统,其特征在于,还包括赛事进行版面,用于在模拟比赛过程中通过展示所需的实时信息以及提示信息。8. An archery training and competition simulation system according to claim 1, characterized in that it also includes a competition progress page for displaying required real-time information and prompt information during the simulated competition.
CN202311733399.XA 2023-12-15 2023-12-15 Archery training and competition simulation system Pending CN117919677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311733399.XA CN117919677A (en) 2023-12-15 2023-12-15 Archery training and competition simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311733399.XA CN117919677A (en) 2023-12-15 2023-12-15 Archery training and competition simulation system

Publications (1)

Publication Number Publication Date
CN117919677A true CN117919677A (en) 2024-04-26

Family

ID=90767609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311733399.XA Pending CN117919677A (en) 2023-12-15 2023-12-15 Archery training and competition simulation system

Country Status (1)

Country Link
CN (1) CN117919677A (en)

Similar Documents

Publication Publication Date Title
US10391378B2 (en) Smart-court system and method for providing real-time debriefing and training services of sport games
US20180137363A1 (en) System for the automated analisys of a sporting match
US12370429B2 (en) Computer vision and artificial intelligence applications for performance evaluation and/or skills development
CN102947777B (en) Usertracking feeds back
CN101458434B (en) Accurately measure and predict table tennis trajectory system
CN101158883B (en) A virtual sports system based on computer vision and its implementation method
CN106131469A (en) Ball intelligent robot based on machine vision coach and judgment system
WO2019244153A1 (en) Device, system, and method of computer vision, object tracking, image analysis, and trajectory estimation
CN114618142A (en) Auxiliary training system and method for table tennis sports
CN109289187B (en) Table tennis training and level examination system
KR101864039B1 (en) System for providing solution of justice on martial arts sports and analyzing bigdata using augmented reality, and Drive Method of the Same
CN115475373B (en) Display method and device of motion data, storage medium and electronic device
CN111184994B (en) Batting training method, terminal equipment and storage medium
US20240307738A1 (en) Device for assisting sports coach and method implementing the same
CN109407826B (en) Ball game simulation method and device, storage medium and electronic equipment
CN110490064A (en) Processing method, device, computer equipment and the computer storage medium of sports video data
CN109126100A (en) Ball controlling percentage calculation method, device, equipment and storage medium
CN117919677A (en) Archery training and competition simulation system
CN117934805A (en) Object screening method and device, storage medium and electronic equipment
CN117065363A (en) A real-time prediction system for football games and matches based on deep learning
CN117785099A (en) Display equipment and virtual-real interaction method
CN113283384A (en) Taiji interaction system based on limb recognition technology
CN113877196B (en) Man-machine fighting system and method of golf simulator
US20250022346A1 (en) Method, system, and apparatus for tracking participants in a sporting event
CN120107892A (en) An artificial intelligence referee system for youth robot competitions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination