Image interference suppression system and method for complex training environment in weightlifting venues

By adopting a multi-level and classified image interference suppression system in the weightlifting training environment, combined with manual instructions, the difficulty of detecting barbell plates caused by complex image interference is solved, achieving stable and accurate detection and tracking of barbell plates, and improving training efficiency. and system real-time performance.

CN118474551BActive Publication Date: 2024-10-29CHINA INST OF SPORT SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410352838.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2024-10-29
Estimated Expiration
2044-03-26

AI Technical Summary

Technical Problem

In a weightlifting training environment, complex image interference makes it difficult to accurately detect and track target barbell plates. Existing technologies are difficult to effectively suppress interference, affecting training efficiency and accuracy.

Method used

An image interference suppression system for the complex training environment of weightlifting venues is adopted, including a video acquisition module, a barbell information extraction module, an on-site interference suppression module and a feedback output module. Through a multi-level, classified and distributed collaborative interference suppression strategy, combined with manual instructions , to achieve accurate detection and tracking of barbell plates.

Benefits of technology

It achieves stable and accurate detection and tracking of target barbell plates in complex training environments, reduces the system's computing and storage requirements, improves real-time performance and cost performance, and is suitable for multiple training venues and large-area mirrors in the national team training hall. Wall reflection interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474551B_ABST
    Figure CN118474551B_ABST
Patent Text Reader

Abstract

The present invention provides an image interference suppression system and method for a complex training environment of a weightlifting venue, including: a video acquisition module for shooting the spatial motion of a target barbell plate and performing interference suppression preprocessing; a barbell information extraction module for performing barbell detection on a single-frame video image to obtain static field information; a field interference suppression module for storing continuous multi-frame video images and obtaining dynamic motion state information of the barbell plate, and accurately detecting and suppressing other interferences that affect the detection and tracking of the target barbell plate; a feedback output module for fusing manual instructions with interference suppression information to form corrected interference suppression information and feedback, and outputting the video image after interference suppression to a subsequent processing or display device. The present invention obtains and fuses other interference information that can be distinguished from the target barbell plate from different dimensions, and obtains a more efficient and reliable field interference suppression effect, which greatly improves the detection and tracking performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automated intelligent monitoring in the process of competitive sports special training, and in particular to an image interference suppression system and method for a complex training environment of a weightlifting venue. Background Art

[0002] Vigorously strengthening the automated intelligent monitoring of the entire weightlifting training process is an important indicator for vigorously improving the automation, intelligence, and information level of weightlifting projects, and is an important measure to improve training efficiency, reduce injuries, and ensure results. The focus of weightlifting training is on the coordination between the characteristics of the barbell's motion trajectory and the characteristics of the athlete's technical movements, combined with information data such as the competitive state, injury state, and training intensity of national team athletes. Therefore, before conducting in-depth technical movement diagnosis, it is necessary to accurately, automatically, and in real time detect, track, identify, and analyze the video images continuously generated during long-term training. However, the training environment of the weightlifting venue is very complex, and the image will be subject to various interferences. It is urgent to fully suppress the interference in order to achieve accurate, stable, and continuous detection / identification / tracking of the target barbell plate. Summary of the invention

[0003] The present invention provides an image interference suppression system and method for a complex training environment of a weightlifting venue, to solve the problems existing in the prior art. The technical solution provided by the present invention is as follows:

[0004] On the one hand, an image interference suppression system for a complex training environment of a weightlifting venue is provided, the system comprising: a video acquisition module, a barbell information extraction module, a field interference suppression module and a feedback output module;

[0005] The video acquisition module is used to shoot the spatial movement of the target barbell plate held by the target athlete at a specified position and a specified angle in the weightlifting venue, and send the shot video image to the barbell information extraction module. At the same time, the video acquisition module is also used to receive the corrected interference suppression information fed back by the feedback output module, and perform interference suppression preprocessing on the shot single-frame video image according to the corrected interference suppression information;

[0006] The barbell information extraction module is used to receive the video image sent by the video acquisition module, and receive the corrected interference suppression information fed back by the feedback output module, generate interference suppression preprocessing operation instructions according to the corrected interference suppression information, perform barbell detection on a single-frame video image, adopt a multi-level information extraction control strategy for barbell plates, barbell heads, barbell bars, and human figures in order of priority, and extract static scene information, wherein the static scene information includes shape features and precise posture features of each target barbell plate and interference barbell plate in the scene, as well as rough posture features of the barbell head, barbell bar, and human figure that have completed detection, and then send the extracted static scene information and interference suppression information, as well as the video image that needs to suppress interference, to the scene interference suppression module;

[0007] The on-site interference suppression module is used to receive the video image, static on-site information and interference suppression information sent from the barbell information extraction module, store multiple frames of continuous video images and obtain the dynamic motion state information of the barbell pieces, and identify the states of the extracted target barbell pieces and interference barbell pieces, and accurately detect and suppress other interferences that affect the detection and tracking of the target barbell pieces, and then send the suppressed video image and interference suppression information to the feedback output module;

[0008] The feedback output module is used to fuse the manual instructions with the interference suppression information to form the corrected interference suppression information, and then feed back the corrected interference suppression information to the video acquisition module and the barbell information extraction module. At the same time, the video image after interference suppression and the relevant target state information are output to the subsequent processing or display device.

[0009] Optionally, the video acquisition module performs interference suppression preprocessing on the captured video image according to the corrected interference suppression information, specifically including at least one of the following:

[0010] Control camera parameters to complete video image acquisition, adjust camera servo status, transform or fill pixel values ​​at multiple specified locations in the image, eliminate or suppress clearly specified interference target areas, issue alarms for abnormal situations on site, and output specific video images.

[0011] Optionally, the barbell information extraction module adopts a multi-level information extraction control strategy of performing barbell plates, barbell heads, barbell bars, and human figures in order of priority to extract static on-site information, specifically including:

[0012] Priority is given to extracting barbell plate information. Only when the barbell plate information extraction cannot distinguish the target barbell plates from the interference barbell plates, it is necessary to extract information on the relevant barbell head and barbell rod. If it still cannot be satisfied, auxiliary judgment is performed through the extraction of nearby human figures.

[0013] Optionally, the barbell plate information extraction specifically includes:

[0014] The following five indicators are extracted:

[0015] The ellipse major axis direction, ellipse flattening, ellipse orientation, ellipse area, ellipse major axis and barbell diameter ratio of the side shape of the barbell plate,

[0016] According to one or more of the five indicators, it is determined whether the barbell plate is a target barbell plate or an interference barbell plate.

[0017] Optionally, the barbell plate information extraction specifically includes:

[0018] For spare plates:

[0019] For idle barbell plates placed flat on the ground, judging from the ellipse parameters on the image, their major axis is in the horizontal direction, and the central circular hole of the barbell plate is facing upward; for idle barbell plates placed vertically on the ground, judging from the ellipse parameters on the image, their major axis is in the vertical direction, and the central circular hole of the barbell plate is parallel to the ground; for idle barbell plates placed obliquely on the ground, or on the barbell plate rack on the ground, no matter how large the inclination angle is, the major axis is in a non-horizontal direction or a non-vertical direction; for barbell plates placed on the barbell bar and statically on the ground, or rolling horizontally near the ground by inertia, or bouncing vertically, the humanoid auxiliary detection method or the dynamic feature detection method is used to determine whether these barbell plates are in an idle state;

[0020] For non-idle interference plates:

[0021] If the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate in the image are significantly different due to different distances from the camera and different angles, a joint judgment is made based on the ellipse area and flattening of the barbell plate;

[0022] Assuming that the target barbell plate is the barbell plate on the left side of the target athlete, if the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate and the barbell plate lifted by another athlete in the image are the same or similar, according to the "barbell head-barbell plate-barbell bar-human figure" detection combination from left to right, only the target barbell plate and the barbell plate on the left side of the other athlete meet the requirements, and other barbell plates that do not meet the requirements are interference barbell plates. Furthermore, for the distinction between the target barbell plate and the barbell plate on the left side of the other athlete, the orientation of the target barbell plate and the orientation of the barbell plate on the left side of the other athlete are judged. The two orientations are different. The judgment criterion is that the overlapping part of the barbell head and the side of the target barbell plate is on the left side of the ellipse shape, while the overlapping part of the barbell plate on the left side of the other athlete and the barbell bar is on the right side of the ellipse shape;

[0023] For barbell plates of different sizes, placed at different distances from the camera while maintaining the same orientation, the pixel area of ​​a large barbell plate when it is far away may be consistent with the pixel area of ​​a small barbell plate when it is close. Without the help of spatial information, the distance blur in the two-dimensional image will cause ambiguity in the unique determination of the target barbell plate. For this scenario, the barbell diameter is further extracted without obtaining a particularly precise barbell diameter value. The difference in barbell diameter between men's and women's barbells is ignored. The ratio of the major axis to the bar diameter in the ellipse parameters is used to determine whether the barbell plate is a large-size barbell plate or a small-size barbell plate.

[0024] Optionally, the barbell plate information extraction further includes: using an algorithm for segmenting the edge of the ellipse contour using a group of multiple parallel lines under a concentric constraint to correct the ellipse parameter error caused by edge adhesion, specifically including:

[0025] First, assume that the detected edge of the barbell plate contour is a standard ellipse, and divide the standard ellipse into 8 quadrants. Use parallel lines separated by several pixels to cut the edge of each quadrant ellipse. If it is a standard ellipse, when a group of parallel lines cut the ellipse, a group of parallel chords will be generated. The midpoints of this group of parallel chord segments are connected to determine a straight line, and this straight line must pass through the center of the ellipse. If it is not a standard ellipse, 8 estimates of the center position of the ellipse will be obtained, and the center tolerance is set. Then, adhesion occurs on the edge of the ellipse in the quadrant outside the center tolerance range. The center position, semi-major axis length, and semi-minor axis length of the barbell plate are determined by the majority decision criterion to correct the barbell plate ellipse parameters.

[0026] Optionally, the on-site interference suppression module is specifically used to:

[0027] Combined with the static information of a single-frame image and the dynamic motion state information of multiple frames of images accumulated over time, after completing the fusion of the interference suppression information sent by the barbell information extraction module, an interference suppression operation instruction integrating the motion state features is generated, including but not limited to: obtaining the motion direction, obtaining the pixel area boundary of the maximum motion range, obtaining the normalized motion speed and acceleration based on the maximum motion range, obtaining the motion trajectory correlation between the target barbell piece / interference barbell piece / human figure, merging interference areas, obtaining the data fields marked by all interference areas, obtaining the data fields marked by all target barbell pieces / interference barbell pieces / human figure, removing the target barbell piece / interference barbell piece / human figure mark from the marked data field, adding the target barbell piece / interference barbell piece / human figure mark in the marked data field, the target barbell piece / interference barbell piece / human figure mark state error alarm, and for the interference barbell pieces that are clustered and whose trajectories overlap with each other, they are eliminated by connecting the interference areas.

[0028] Optionally, the feedback output module fuses the manual indication with the interference suppression information to form the corrected interference suppression information, specifically including:

[0029] According to manual instructions, specific interference targets or interference areas are directionally suppressed, and the interference suppression information sent by the on-site interference suppression module is integrated and corrected to form corrected interference suppression information, including but not limited to: specific interference targets or interference areas manually indicated, which module executes which specific processing strategies, or which modules cooperate to execute which specific processing strategies, and the interference suppression scheme that has been processed and coordinated by other previous modules at multiple levels is integrated to form the optimal comprehensive interference suppression scheme.

[0030] Optionally, the interference suppression scheme that has been processed and coordinated by other modules at multiple levels is integrated to form an optimal comprehensive interference suppression scheme, which specifically includes:

[0031] If the manually indicated interference position overlaps with other interference positions, it is necessary to comprehensively judge whether these interference positions can be classified as an interference area and uniformly marked or cleared, whether the video acquisition module identifies the area boundaries, replaces the color blocks, and directly clears them, and whether the barbell information extraction module identifies, replaces, and clears multiple interferences with significantly different shapes and postures one by one, and whether the on-site interference suppression module first performs a cumulative analysis of the motion features of the manually specified interference, and then identifies, replaces, and clears the manually specified interference by distinguishing the motion features.

[0032] On the other hand, a method for suppressing image interference in a complex training environment of a weightlifting venue is provided, and the above system is used to suppress image interference.

[0033] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the above-mentioned image interference suppression method for the complex training environment of a weightlifting venue.

[0034] On the other hand, a computer-readable storage medium is provided, wherein instructions are stored in the storage medium, and the instructions are loaded and executed by a processor to implement the above-mentioned image interference suppression method for the complex training environment of a weightlifting venue.

[0035] Compared with the prior art, the above technical solution has at least the following beneficial effects:

[0036] The present invention uses hierarchical, type-based, and distributed multi-module collaborative interference suppression, and integrates manual instructions to make the effect of on-site interference suppression more stable. It is suitable for the needs of simultaneous training in multiple training venues in the national team training hall, and is suitable for the needs of achieving stable detection and tracking of target barbell pieces under the condition of multiple reflection interference from large-area mirror walls on both sides of the national team training hall. The multi-level information extraction control strategy of on-demand calculation of auxiliary criteria can minimize the amount of calculation of object detection and information extraction, greatly reduce the system's requirements for calculation and storage components, and improve the system's real-time performance and cost performance. Only using a single camera, relying on a fine ellipse parameter correction strategy, it is possible to achieve the extraction of refined ellipse parameters, thereby obtaining detailed spatial orientation information of the barbell piece, and improving the problem of insufficient spatial depth information that can be provided by a single camera two-dimensional picture. The system has a simple structure and is easy to reinforce. It can be erected on the ground or suspended in the air, further reducing the impact of vibration on the equipment when the barbell falls to the ground. The system has no restrictions on the layout distance, and provides a convenient expansion method and a reliable basis for subsequent manual on-site analysis, function expansion, and machine automatic sorting and excavation. It has high theoretical significance and practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 A schematic diagram of the structure of an image interference suppression system for a complex training environment in a weightlifting venue provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram of a complex training environment for a weightlifting venue provided by an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of correcting the ellipse parameter error caused by edge adhesion provided by an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of eliminating interfering areas in a continuous manner provided by an embodiment of the present invention;

[0042] Figure 5 A flow chart of an image interference suppression method for a complex training environment in a weightlifting venue provided by an embodiment of the present invention;

[0043] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0045] like Figure 1 As shown, an embodiment of the present invention provides an image interference suppression system for a complex training environment of a weightlifting venue, the system comprising: a video acquisition module, a barbell information extraction module, a field interference suppression module and a feedback output module;

[0046] The video acquisition module is used to shoot the spatial movement of the target barbell plate held by the target athlete at a specified position and a specified angle in the weightlifting venue, and send the shot video image to the barbell information extraction module. At the same time, the video acquisition module is also used to receive the corrected interference suppression information fed back by the feedback output module, and perform interference suppression preprocessing on the shot single-frame video image according to the corrected interference suppression information;

[0047] The barbell information extraction module is used to receive the video image sent by the video acquisition module, and receive the corrected interference suppression information fed back by the feedback output module, generate interference suppression preprocessing operation instructions according to the corrected interference suppression information, perform barbell detection on a single-frame video image, adopt a multi-level information extraction control strategy for barbell plates, barbell heads, barbell bars, and human figures in order of priority, and extract static scene information, wherein the static scene information includes shape features and precise posture features of each target barbell plate and interference barbell plate in the scene, as well as rough posture features of the barbell head, barbell bar, and human figure that have completed detection, and then send the extracted static scene information and interference suppression information, as well as the video image that needs to suppress interference, to the scene interference suppression module;

[0048] The on-site interference suppression module is used to receive the video image, static on-site information and interference suppression information sent from the barbell information extraction module, store multiple frames of continuous video images and obtain the dynamic motion state information of the barbell pieces, and identify the states of the extracted target barbell pieces and interference barbell pieces, and accurately detect and suppress other interferences that affect the detection and tracking of the target barbell pieces, and then send the suppressed video image and interference suppression information to the feedback output module;

[0049] The feedback output module is used to fuse the manual instructions with the interference suppression information to form the corrected interference suppression information, and then feed back the corrected interference suppression information to the video acquisition module and the barbell information extraction module. At the same time, the video image after interference suppression and the relevant target state information are output to the subsequent processing or display device.

[0050] The technical problem to be solved by the embodiment of the present invention is that at the national team training site, through simple and rapid deployment, in a complex training environment where factors such as people, objects, equipment, reflections of mirror walls, light and shadow are intertwined, the motion trajectory of the target barbell plate, that is, the motion trajectory of the center of the target barbell plate can be accurately, stably, automatically and real-time detected and recorded, the interference barbell plate detection results that exist simultaneously or intermittently in the on-site image can be suppressed, and other moving barbell plates, stationary barbell plates, barbell plate images formed by multiple reflections between mirror walls, and any other objects or graphics similar to barbell plates can be filtered out. Finally, only the motion trajectory of the center of the target barbell plate is retained.

[0051] like Figure 2 As shown, in the complex training environment of a weightlifting venue, the interference problem for the detection and tracking of the target barbell includes the following main interference sources: idle barbells, idle barbell plates placed flat or upright on the ground and on the barbell rack, other barbells moving at the same time on the scene, synchronous motion images of the target barbell repeatedly projected between the large-scale mirror walls on both sides of the national team training hall, motion images of other barbells repeatedly projected between the large-scale mirror walls on both sides of the national team training hall, strong light and shadows, graphics and objects posted or placed on site that can present similar barbell plate shape features in a two-dimensional image. The embodiments of the present invention provide an image interference suppression system and method for the complex training environment of a weightlifting venue, so as to fully suppress these complex interferences and realize accurate, stable and continuous detection / identification / tracking of the target barbell plates.

[0052] The system and method of the embodiments of the present invention can not only automatically determine whether the barbell plate is interference and whether it should be suppressed through the joint judgment of the shape characteristics, posture characteristics, and motion state characteristics of the barbell plate, and the use of hierarchical, type-based, and distributed multi-module collaborative interference suppression, but the system and method of the embodiments of the present invention can also perform directionally suppression on specific interference targets or interference areas through manual instructions, thereby greatly improving practical effects.

[0053] The multiple modules of the embodiment of the present invention cooperate hierarchically to complete the processing, identification, and suppression work related to the interference target that is suitable for execution by each module. For example, for the video acquisition module, the interference part of the image can be identified, replaced, tracked and cancelled according to the corrected interference suppression information. For example, for the barbell information extraction module, by obtaining the elliptical contour information of the barbell plate, the posture state of all the detected barbell plates in the image can be judged more carefully, and then with the extraction of barbell bar related information, the interference barbell plates that do not match the target posture can be screened out and identified or filtered out. Since there may be many interferences on the scene, this part of the work content is not suitable for manual instructions. Point selection and filtering are completed in the video acquisition module in turn. In particular, for the interference whose moving range on the image overlaps with the moving range of the target barbell plate, it cannot be simply suppressed by manual instructions. Instead of controlling, a strategy of automatic tracking and continuous identification should be adopted to distinguish it from the target barbell piece in the image. For example, for the on-site interference suppression module, after two-level preprocessing of the video acquisition module and the barbell information extraction module, the calculation burden has been greatly reduced. For the complex interference that still remains, after accumulating multiple consecutive frames of images, the motion characteristics of the target barbell piece and the interfering barbell piece can be obtained, including moving speed, moving direction, maximum moving range, etc. According to the different motion characteristics, the interfering barbell piece is distinguished, and the interfering barbell piece is marked and eliminated. The corrected interference suppression information of the manual indication is integrated and distributed to the video acquisition module and the barbell information extraction module, finally forming clear interference suppression information and static on-site information. After the on-site interference suppression module completes the interference suppression, it is handed over to the feedback output module for display or other subsequent processing tasks.

[0054] The system and method of the embodiment of the present invention only need to deploy a camera on site, and the system is simple and easy to deploy. The system and method of the embodiment of the present invention adopts multiple features to jointly judge, instead of adopting the existing more comprehensive and complex image annotation and intelligent model training method, in order to target any other type of objects that may appear at any time in a complex on-site environment and are automatically identified as barbell plates. The existing comprehensive and complex image annotation will cause the size of the trained intelligent model file to surge, increase the cost and technical difficulty of the system, but it still cannot guarantee that false detection and missed detection can be avoided in all cases, and it is also impossible to meet the needs of automatic suppression of interference in the full-process automatic monitoring task of the national team's elite athletes' training. The system and method of the embodiment of the present invention provide a manual indication method, which can suppress interference targets under extremely special conditions. For example, during the training process, an athlete may have a barbell plate picture on his back clothes with the same size, color, direction and other feature information as the barbell plate he is lifting. It is difficult to eliminate it only from the appearance feature. Although it can be eliminated by combining other features, the amount of calculation increases rapidly. Under the same equipment computing power constraints and the same real-time requirements, eliminating the interfering barbell plate images on the back clothes through manual instructions greatly reduces the number of targets that can be detected and tracked at the same time, and also limits the number of interferences that can be suppressed at the same time. In more extreme cases, there is a flexible wearable display on the back clothes, or another large screen is placed in other locations. The content displayed is the real-time image of the barbell plates in the same proportion as the current viewing angle. For this type of interference, it is more difficult to automatically suppress it throughout the process. With manual instructions, specific interference targets can be easily and quickly tracked and eliminated in real time, which greatly reduces the computational complexity and amount of the method, and is conducive to greatly improving efficiency and reducing costs. Although the interface function of the manual instructions here is clear, the corresponding processing strategies still need to be implemented in each module.

[0055] Optionally, the video acquisition module (such as Figure 2 According to the corrected interference suppression information, interference suppression preprocessing is performed on the captured video image, specifically including at least one of the following:

[0056] Control camera parameters to complete video image acquisition (including black and white / color / frame rate / frame size / saturation / contrast / shutter and other parameters), adjust camera servo status (including camera translation / rotation / pitch / optical lens focal length adjustment / optical lens magnification adjustment, etc.), transform or fill pixel values ​​at multiple specified positions in the image, eliminate or suppress clearly specified interference target areas, and warn of abnormal situations on site (here means that abnormal situations on site can be warned by displaying warning text / image logos, issuing warning sounds, issuing warning lights, etc. Abnormal alarm situations mainly include: target being blocked, interference suppression Invalid, the camera angle of view suddenly changes due to external force, the lighting conditions at the scene are bad, the background color or pattern at the target is close and cannot be recognized, etc. For occasional warnings, such as personnel blocking, etc., they can be suppressed by warning and driving away. For light interference, such as direct sunlight through the glass in the afternoon and dim light at the scene in the evening, the detection and recognition performance of the target will be affected. After receiving the warning, the operator can change the camera shooting angle, or enhance the lighting at the scene to effectively suppress it), output specific video images (including whether to output video, whether to output images, whether to encode / compress output, output clarity and frame, etc.).

[0057] The corrected interference suppression information is also a kind of interference suppression information. The two have the same format definition, but they are the result of integrating and coordinating the existing interference suppression strategies in the case of manual indication. The interference suppression information mainly includes: information on various interference types, position information, associated state information, modules that need to respond, and response processing strategies. Among them, the interference types mainly include motion interference, static interference, independent interference, regional interference, etc. The specific type classification is related to the specific implementation of the processing strategy of each module. Some special interferences can be defined separately; the position information mainly includes the pixel position of the feature points of the interfering object, such as the center of the ellipse, the outline of the ellipse, the center position of the barbell, the pixel range boundary of the interference / target in the image, etc.; the associated state information mainly includes the polygon boundary point information of the collective area of ​​the pixel range occupied by the target / interference in each frame of the video, the orientation relationship between interference and interference / interference and target / target and target in the image, the relationship between the motion interference trajectory range and the static interference / target range, and the motion interference trajectory range and motion. The relationship between the interference / target trajectory range, the relationship between the moving target trajectory range and the moving target trajectory range, the size relationship, distance relationship, and speed relationship between the moving interference / target; the module that needs to respond refers to the video acquisition module, the barbell information extraction module, the on-site interference suppression module or the feedback output module; the response processing strategy refers to the processing method that different modules can execute and obtain a comprehensive and effective interference suppression effect according to the specified interference type. Customized development can be carried out for specific interference types. The corresponding information can be updated to the corrected interference suppression information field code and the instruction content generated by each module. For example, a certain interference suppression information has the following information elements, which can clearly express the division of labor of each module, including whether to respond to processing, how to process, etc. For example, for the video acquisition module, the interference suppression information should be in the preprocessing stage of the image acquisition process. Figure 2 The second group of idle barbells on the far right of the image are filtered out, and the boundary pixel positions are filtered out. According to the agreement during system design, the boundary data content field stored in the interference suppression information can be located through the agreed protocol. After obtaining the boundary data, the operation command field of the interference suppression information can be pressed to implement the filtering operation of the pixels within the boundary, such as setting all pixels to black.

[0058] Optionally, the barbell information extraction module adopts a multi-level information extraction control strategy of performing barbell plates, barbell heads, barbell bars, and human figures in order of priority to extract static on-site information, specifically including:

[0059] Priority is given to extracting barbell plate information. Only when the barbell plate information extraction cannot distinguish the target barbell plates from the interference barbell plates, it is necessary to extract information on the relevant barbell head and barbell rod. If it still cannot be satisfied, auxiliary judgment is performed through the extraction of nearby human figures.

[0060] Optionally, the barbell plate information extraction specifically includes:

[0061] The following five indicators are extracted:

[0062] The ellipse major axis direction, ellipse flattening, ellipse orientation, ellipse area, ellipse major axis and barbell diameter ratio of the side shape of the barbell plate,

[0063] According to one or more of the five indicators, it is determined whether the barbell plate is a target barbell plate or an interference barbell plate.

[0064] Optionally, the barbell plate information extraction specifically includes:

[0065] For spare plates:

[0066] For idle barbell plates placed flat on the ground, judging from the ellipse parameters on the image, their major axis is in the horizontal direction, and the central circular hole of the barbell plate is facing upward; for idle barbell plates placed vertically on the ground, judging from the ellipse parameters on the image, their major axis is in the vertical direction, and the central circular hole of the barbell plate is parallel to the ground; for idle barbell plates placed obliquely on the ground, or on the barbell plate rack on the ground, no matter how large the inclination angle is, the major axis is in a non-horizontal direction or a non-vertical direction; for barbell plates placed on the barbell bar and statically on the ground, or rolling horizontally near the ground by inertia, or bouncing vertically, the humanoid auxiliary detection method or the dynamic feature detection method is used to determine whether these barbell plates are in an idle state;

[0067] For non-idle interference plates:

[0068] If the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate in the image are significantly different due to different distances from the camera and different angles, a joint judgment is made based on the ellipse area and flattening of the barbell plate;

[0069] Assuming that the target barbell plate is the barbell plate on the left side of the target athlete, if the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate and the barbell plate lifted by another athlete in the image are the same or similar, according to the "barbell head-barbell plate-barbell bar-human figure" detection combination from left to right, only the target barbell plate and the barbell plate on the left side of the other athlete meet the requirements, and other barbell plates that do not meet the requirements are interference barbell plates. Furthermore, for the distinction between the target barbell plate and the barbell plate on the left side of the other athlete, the orientation of the target barbell plate and the orientation of the barbell plate on the left side of the other athlete are judged. The two orientations are different. The judgment criterion is that the overlapping part of the barbell head and the side of the target barbell plate is on the left side of the ellipse shape, while the overlapping part of the barbell plate on the left side of the other athlete and the barbell bar is on the right side of the ellipse shape;

[0070] For barbell plates of different sizes, placed at different distances from the camera while maintaining the same orientation, the pixel area of ​​a large barbell plate when it is far away may be consistent with the pixel area of ​​a small barbell plate when it is close. Without the help of spatial information, the distance blur in the two-dimensional image will cause ambiguity in the unique determination of the target barbell plate. For this scenario, the barbell diameter is further extracted without obtaining a particularly precise barbell diameter value. The difference in barbell diameter between men's and women's barbells is ignored. The ratio of the major axis to the bar diameter in the ellipse parameters is used to determine whether the barbell plate is a large-size barbell plate or a small-size barbell plate.

[0071] Optionally, the barbell plate information extraction further includes: using an algorithm for segmenting the edge of the ellipse contour using a group of multiple parallel lines under a concentric constraint to correct the ellipse parameter error caused by edge adhesion, specifically including:

[0072] First, assume that the detected edge of the barbell plate contour is a standard ellipse, and divide the standard ellipse into 8 quadrants. Use parallel lines separated by several pixels to cut the edge of each quadrant ellipse. If it is a standard ellipse, when a group of parallel lines cut the ellipse, a group of parallel chords will be generated. The midpoints of this group of parallel chord segments are connected to determine a straight line, and this straight line must pass through the center of the ellipse. If it is not a standard ellipse, 8 estimates of the center position of the ellipse will be obtained, and the center tolerance is set. Then, adhesion occurs on the edge of the ellipse in the quadrant outside the center tolerance range. The center position, semi-major axis length, and semi-minor axis length of the barbell plate are determined by the majority decision criterion to correct the barbell plate ellipse parameters.

[0073] Specifically, the barbell information extraction module can be a computing device product normally sold on the market, and the computing device product only needs to have the ability to support the mainstream AI model inference method in the market, such as a desktop / notebook / industrial computer / single-board computer running a certain version of open source LINUX / WINDOWS / MACOS operating system and having an X86 / ARM / RISC-V architecture CPU / FPGA processor, wherein the mainstream AI deduction models involved and their operating software environment can be obtained in the open source software market or the commercial market.

[0074] The barbell information extraction module has the ability to generate corresponding interference suppression preprocessing operation instructions based on the corrected interference suppression information transmitted by the feedback output module, has the ability to complete the reception of video stream / image data transmitted by the video acquisition module in accordance with the specified format standard according to the generated interference suppression preprocessing operation instructions, has the ability to complete barbell plate detection and information extraction at the specified position according to the generated interference suppression preprocessing operation instructions, has the ability to complete barbell bar detection and information extraction according to the generated interference suppression preprocessing operation instructions, has the ability to complete auxiliary human figure detection and information extraction according to the generated interference suppression preprocessing operation instructions, has the ability to complete the output of interference suppression information / static scene information / video stream / image and other data to the on-site interference suppression module according to the generated interference suppression preprocessing operation instructions, and has an extensible information extraction computing architecture and a convenient expansion interface, so that in extreme scenarios where a large number of targets or interferences exist, the real-time processing requirements of the entire system can still be met.

[0075] The main manifestations are as follows:

[0076] 1) Based on the ability to generate interference suppression preprocessing operation instructions after correction of interference suppression information transmitted from the feedback output module, identify the target and interference in the image, and clarify the set of operations required for specific processing, including whether to extract information from specific target barbell pieces or interference barbell pieces, whether to further extract information from barbell bars related to the target or interference, and whether to further extract information from human detection results near the target or interference, as well as identify and adjust static field information / interference suppression information that needs to be focused on by the field interference suppression module.

[0077] The information extraction of barbell plates, barbell bars, and human figures needs to be processed in descending order of priority, and not every target / interference processing process needs to complete these three types of information extraction work at the same time. Priority is given to the extraction of barbell plate information. Only when the barbell plate information extraction still cannot satisfy the need to distinguish between the target barbell plates and the interference barbell plates, is it necessary to extract information from the relevant barbell bar head and barbell bar. If it still cannot satisfy the need, auxiliary judgment is then performed through the extraction of nearby human figures (the specific extraction process of various information can use target detection algorithms such as YOIOv5, which are all prior arts and will not be repeated here). The embodiment of the present invention adopts multi-level information extraction control in order to minimize the workload required for calculation while ensuring that the target can be correctly, stably, and in real time identified, in exchange for being able to process more targets or suppress more interference at the same time. For example, when the elliptical surfaces of the target barbell plate and the interference barbell plate have different orientations in space, but the shape features (ellipse parameters) are exactly the same, the target barbell plate cannot be uniquely identified on the image based on the shape features (ellipse parameters), and it is impossible to maintain stable automatic tracking of the target barbell plate and further intelligent calculation and analysis. With the help of the position state of the barbell rod and the barbell rod head extending from the barbell plate, the difference in orientation of the target / interference barbell plate can be obtained, and then the target barbell plate can be uniquely identified. The orientation estimation here does not require precise calculation of the barbell rod to obtain a good interference recognition effect; for the same ellipse parameters , the target barbell pieces and the interference barbell pieces with the same orientation. A reasonable scenario that may occur at this time is that the training ground in front of the camera is shared by two athletes in a time-sharing manner. Therefore, there will be two pairs of barbells placed side by side with exactly the same ellipse parameters and orientations, and the weights may be different. Because the specific weight identification process has high computational complexity, high identification difficulty, and insufficient on-site adaptability, at this time, the two pairs of barbells interfere with each other. Only by judging the ellipse parameters and orientation, it is impossible to uniquely determine the target barbell piece. With the assistance of human shape detection, that is, judging whether there is a person near the relevant positions of the barbell piece, barbell bar, and barbell head, the target barbell piece can be uniquely determined. Here, it is natural to perform a target recognition operation with high redundancy through external constraint information such as the different motion states of the barbell, the different placement positions, and whether there is manual indication, but the implementation complexity and flexibility are much higher than those of human shape auxiliary detection, and the processing workload of the on-site interference suppression module is increased, which is easy to form a bottleneck for real-time processing. At the same time, human shape information is extracted in the barbell information extraction module and sent to the field interference suppression module as part of the static field information, which helps the field interference suppression module to grasp more comprehensive field information, increases the flexibility and redundancy of the system's overall interference suppression, and can obtain better field interference suppression effects.

[0078] 2) According to the generated interference suppression preprocessing operation instructions, the ability to complete barbell plate detection and information extraction is mainly aimed at all other target barbell plates and interference barbell plates that meet the detection conditions and can be automatically detected, as well as manually specified target barbell plates or interference barbell plates, except for the target barbell plates. Automatic detection of barbell plates in the video / image can obtain the positions of the above-mentioned range of barbell plates, as well as the positions of objects that are very similar to barbell plates and the target detection identification frame. The uniqueness detection of the target barbell plate is to only retain and display the detection identification of the target barbell plate on the video frame or image, and clear and do not display the detection identification of all other non-target barbell plates that may cause the target judgment to be ambiguous, so as to greatly reduce the calculation accuracy, calculation complexity, and calculation real-time performance of the subsequent barbell plate automatic tracking function.

[0079] Under normal shooting angles, the side profile of a barbell plate is an ellipse. In theory, as long as accurate ellipse parameters are obtained, the target barbell plate can be distinguished from most interfering barbell plates. In the image, the flattening of the ellipse can be obtained by the length ratio of the semi-major and minor axes. The larger the flattening, the larger the angle between the normal of the barbell plate plane and the normal of the camera, until it is completely vertical, the elliptical profile degenerates into a line segment, and the barbell plate degenerates into a long rectangle. Considering the imaging characteristics within the camera field of view, this situation is easier to handle. Therefore, as long as the length of the semi-major and minor axes is accurate enough, the flattening value containing orientation information can be obtained, and orientation information is the only important decision dimension to determine the target barbell plate. After obtaining the length of the semi-major and minor axes, the area of ​​the ellipse can be calculated according to the ellipse area formula. For barbell plates with the same actual size and the same orientation, the farther away from the camera, the smaller the pixel area in the image will become. Even if the optical lens compresses the distant or near view, the distance relationship between the barbell plates will not be changed. The pixel area is another important decision dimension to determine the target barbell plate. In the daily training practice of the national team, the superposition of the pixel area by the orientation information can guarantee the suppression effect of the interference barbell plate to a large extent. However, in theory, it is also necessary to consider the possible extreme scenarios. For barbell plates of different sizes, they are placed at different distances from the camera and keep the same orientation. Then, the pixel area of ​​the large barbell plate at a distance may be consistent with the pixel area of ​​the small barbell plate at a close distance. Without the help of spatial information, the distance blur phenomenon in this two-dimensional image will cause ambiguity in the unique determination of the target barbell plate. For this scenario, it is necessary to further extract the geometric information of the barbell bar. The embodiment of the present invention only focuses on the bar diameter of the barbell bar, that is, the number of pixels representing the thickness of the barbell bar in the image. Considering that the size specifications of the standard barbell plate are clear and the size difference is obvious, therefore, the embodiment of the present invention does not need to obtain a particularly accurate bar diameter value, and the difference in bar diameter between the male barbell bar and the female barbell bar can be ignored. After that, according to the ratio of the major axis to the bar diameter in the ellipse parameter, it can be judged whether the barbell plate is a large-size barbell plate or a small-size barbell plate. Based on the pixel position range of the barbell head on the barbell plate elliptical surface and the offset direction of the ellipse center, the blur problem when the angle between the ellipse surface normal and the camera normal exceeds a right angle can be eliminated, thereby further obtaining accurate barbell plate orientation information.

[0080] like Figure 2 As shown in the figure, once the camera angle in the lower left corner is determined, all the other barbell plates in the training area except the designated target barbell plates become interference barbell plates. There is a great deal of similarity between barbell plates, which requires more sophisticated parameter indicators and auxiliary information to distinguish them. Figure 2In the example, the left barbell plate held by the leftmost athlete in a squatting position is designated as the target barbell plate, and the motion trajectory of the center point of the barbell plate is considered to be the motion trajectory of the barbell. Since the right barbell plate of the same pair of barbells is often blocked by the athlete and the left barbell plate, detection and tracking are affected. Therefore, placing another device on the right side of the barbell can achieve the effect of simultaneous detection and tracking of the barbell plates on both sides. Figure 2 The shown scene is a single-camera state, where only the left barbell plate is detected and tracked. The purpose is to distinguish the left barbell plate from all other barbell plates in the image, so that only the target identification information of the left barbell plate is retained among the many detected barbell plates on the scene. First, it can be achieved through combined judgment. From left to right, the "barbell head-barbell plate-barbell bar-human figure" detection combination, only the target barbell plate and the left barbell plate of the middle stride-up athlete meet the requirements. Furthermore, other barbell plates that do not meet the requirements are interference barbell plates. Furthermore, for the distinction between the target barbell plate and the left barbell plate of the stride-up athlete, the orientation of the target barbell plate and the orientation of the left barbell plate of the other athlete are judged. The two orientations are different. The criterion is that the overlapping part of the barbell head and the side of the target barbell plate is in The left side of the elliptical shape, while the overlapping part of the left barbell plate and the barbell bar of the stride-up athlete is on the right side of the elliptical shape. Here, the combined judgment and superposition of the barbell plate orientation judgment are used, which is one of the most complicated situations in the training scene, because what we want to show here is how to use the combined auxiliary judgment criteria of the barbell bar and the human figure, as well as the barbell plate orientation judgment, to distinguish from the target barbell plate and ensure the unique certainty of the target barbell plate. In normal training, there are many situations where the size, elliptical area, elliptical semi-major axis, and elliptical semi-minor axis of the target barbell plate and the interference barbell plate in the image are obviously different due to different distances from the camera and different angles. The barbell plate elliptical area and flattening rate can be used for joint judgment.

[0081] For an idle barbell plate, for example, the long axis is in the horizontal direction, and the central circular hole of the barbell plate is facing upward. Generally, it is an idle barbell plate placed horizontally, and there is no need to continue to detect the barbell bar and human figure nearby. On the contrary, the long axis is in the vertical direction, and the central circular hole of the barbell plate is parallel to the ground, and it is placed vertically. If it is an oblique elliptical shape, regardless of the rotation of the camera's view normal around the vertical plane, the barbell plate is placed in an inclined state, such as the barbell plate ground bracket next to the weightlifting training platform. If the target barbell plate is still not uniquely determined, it is necessary to use the multi-frame images sampled and accumulated along the time dimension to further jointly extract the temporal change law of the barbell, that is, the dynamic motion state information, to achieve the unique determination of the target barbell plate. The extraction of dynamic motion state information is performed by an on-site interference suppression module with larger storage capacity and stronger computing power.

[0082] In summary, the embodiment of the present invention extracts five indicators, namely, the direction of the major axis of the ellipse, the flattening of the ellipse, the orientation of the ellipse, the area of ​​the ellipse, the major axis of the ellipse and the ratio of the barbell rod diameter, from the side shape contour of the barbell plate, and performs a scalable joint decision.

[0083] In the embodiments of the present invention, the detection and information extraction of the barbell plate, especially the information extraction of the elliptical parameters, have certain accuracy requirements to reduce the ambiguity of the judgment caused by the slight difference scenes that may appear in the training. In the conventional intelligent automatic target detection and recognition method, it is greatly dependent on the annotation quality and number of image features and the intelligent model training / inference technology. It is also necessary to consider that when collecting images on site, they are often affected by light and shadow, occlusion, and a series of influences such as camera acquisition resolution, color difference, and image compression algorithm. The barbell plate recognition frame inferred by the intelligent model often causes the frame range to be blurred and generalized due to these interferences and influences, and the edge areas are adhered and merged, which ultimately leads to a large deformation of the elliptical shape, affecting the accuracy of the elliptical parameters required in the aforementioned judgment method. Here, without considering false detection and missed detection, the shape parameters of the barbell plates that have been detected are refined and corrected and extracted to reduce the errors caused by interference and influence on parameter extraction.

[0084] There are many reasons for inaccurate edge detection of barbell plates, which results in a large deformation of the elliptical shape and requires fine correction, mainly including the following two situations:

[0085] In the first case, the barbell plates are old and new, and the color of the curved edges is similar to the background pattern and color, making it difficult to distinguish, especially in low light or backlit scenes, which makes it easier to make the edges blurred and difficult to distinguish. Especially for compressed video streams and images, such as H.264 and other compression encoding methods, for these scenes, large-scale edge blur will appear, and for adjacent areas with similar colors, continuous block blur will appear, making it difficult to accurately calibrate the edge position. In this case, the operator can adjust the brightness of the scene, adjust the camera position and shooting background, replace the new barbell plates with clear edges, close the curtains of the training hall, and other possible methods to improve image quality.

[0086] The second case, such as Figure 3As shown, the thickness side of a single barbell plate is included in the elliptical contour, or it is difficult to distinguish between multiple compact and adjacent barbell plates, resulting in the side adhesion of adjacent multiple barbell plates after detection. When the camera resolution is high enough and the shooting distance is relatively appropriate, the image quality can generally be well guaranteed. Therefore, this type of edge adhesion is included in the deformation error, which becomes the main source of elliptical parameter error. The embodiment of the present invention adopts an algorithm for segmenting the edge of the elliptical contour by a group of multiple parallel lines under a concentric constraint, and corrects the elliptical parameter error caused by edge adhesion to obtain a more refined barbell plate elliptical parameter. The core idea of ​​the refined correction of the ellipse parameters is to rely on the geometric properties of the ellipse, which is briefly described as follows: When a group of parallel lines cuts an ellipse, a group of parallel chords will be generated. The midpoints of this group of parallel chord segments are connected to determine a straight line, and this straight line must pass through the center of the ellipse. Based on this geometric property of the ellipse, it is first assumed that the detected edge of the barbell plate contour is a standard ellipse, and in multiple directions, such as 8 quadrants divided by 45 degrees, parallel lines separated by a number of pixels, such as 3 straight lines, cut the edge of the ellipse. The number of pixels between the parallel lines can be proportionally adjusted according to the total number of pixels occupied by the ellipse, with the constraint that the intersection of the two ends of the parallel lines does not exceed the 45-degree quadrant. Obtain 8 estimates of the center position of the ellipse, and set the center tolerance, such as 1 / 20 of the number of pixels occupied by the major axis of the ellipse. It can be determined which quadrant or quadrants are outside the center tolerance range. These ellipse edges are adhered. The center position, semi-major axis length, and semi-minor axis length of the barbell plate are determined by majority judgment criteria to correct the barbell plate ellipse parameters.

[0087] For a certain number of false detections and missed detections under constant image resolution, as mentioned above, the barbell plate, barbell bar, and human figure can be detected simultaneously. Because in the training process, the non-lying idle barbell plate, the barbell bar intersecting with the barbell plate, and the human figure between a pair of barbells, three redundant conditions are simultaneously met, and they may become the target that needs to be observed by the embodiment of the present invention. With this as a criterion, run for a short period of time, such as 30 to 60 frames of image time, until the system target detection effect is stable, and then remove the stubborn false detection and missed detection areas through manual instructions. In this way, although the effect can be guaranteed, the calculation amount is large, resulting in low system real-time performance. After removing the stubborn false detection and missed detection areas, gradually relax the constraints, and the system real-time performance can be further improved while ensuring the interference suppression effect. If there are too many false detections and missed detections, once the conditions are relaxed, the interference suppression effect will deteriorate sharply, then the operator should adjust the camera direction and improve the ambient light source, so as to improve the interference suppression effect.

[0088] Optionally, the on-site interference suppression module is specifically used to:

[0089] Combined with the static information of a single-frame image and the dynamic motion state information of multiple frames of images accumulated over time, after completing the fusion of the interference suppression information sent by the barbell information extraction module, an interference suppression operation instruction integrating the motion state features is generated, including but not limited to: obtaining the motion direction, obtaining the pixel area boundary of the maximum motion range, obtaining the normalized motion speed and acceleration based on the maximum motion range, obtaining the motion trajectory correlation between the target barbell piece / interference barbell piece / human figure, merging interference areas, obtaining the data fields marked by all interference areas, obtaining the data fields marked by all target barbell pieces / interference barbell pieces / human figure, removing the target barbell piece / interference barbell piece / human figure mark from the marked data field, adding the target barbell piece / interference barbell piece / human figure mark in the marked data field, the target barbell piece / interference barbell piece / human figure mark state error alarm, and for the interference barbell pieces that are clustered and whose trajectories overlap with each other, they are eliminated by connecting the interference areas.

[0090] Specifically, the on-site interference suppression module can be a computing device product that is normally sold on the market. The difference from the aforementioned barbell information extraction module is that the computing device product not only needs to have the ability to support the mainstream AI model inference method in the market, but also needs to have a large capacity, fast read and write cache, and support continuous real-time caching of enough video frame images sent by the previous module during operation, so as to achieve the training site requirements of the time series-based motion state information of the joint analysis of the target / interference between multiple frames, such as the target pixel motion distance / motion speed / motion acceleration at a specific time interval between frames. The beneficial effect of using different computing device products for the on-site interference module and the barbell information extraction module is that the cost / power consumption / volume / heat dissipation / main frequency requirements of the barbell information extraction module can be reasonably reduced, and the stability and cost performance of the entire system can be improved.

[0091] The on-site interference suppression module has the ability to generate corresponding interference suppression operation instructions based on the interference suppression information and static on-site information transmitted by the barbell information extraction module, and has the ability to receive the interference suppression information and static on-site information transmitted by the barbell information extraction module in accordance with the specified format standard according to the generated interference suppression operation instructions, and has the ability to store multiple consecutive video segments and multiple frames of images, with a sufficient number of frame rates and a small enough frame rate time interval to support the requirements of sufficiently accurate time series-based motion state extraction and comparison, and has the ability to review the interference suppression information based on the generated interference suppression operation instructions and the static on-site information, including multiple areas with fuzzy positional relationships in dense interference areas. The combination of barbell plates, barbell heads / bars, and human figures is verified and confirmed based on the motion state characteristics of the time series. If the barbell information extraction module is found to have misclassified the combination, it is marked as an alarm message and sent to the feedback output module for further manual confirmation and correction processing. It has the ability to generate interference suppression operation instructions based on the preliminary suppression results provided by the video acquisition module and the barbell information extraction module, combined with the interference suppression information and on-site information transmitted by the barbell information extraction module, and by extracting the dynamic motion state information of the target and interference that changes with time, it finally completes the accurate detection and suppression of interference, that is, removes the target / interference / human figure tags from the tag data field of the system interference suppression information.

[0092] Among them, the corresponding interference suppression operation instructions are generated according to the interference suppression information and static scene information transmitted by the barbell information extraction module, which means that the video acquisition module and the barbell information extraction module have received the corrected interference suppression information from the feedback output module, and according to the interference suppression allocation plan given in the corrected interference suppression information based on the overall optimization deployment of the system, the corresponding pre-processing operations such as interference suppression or target enhancement, as well as the information extraction of related targets / interferences are completed. This part of the work task does not involve the accumulation of multiple frames of video images in the time dimension, and the calculation tasks of automatic classification / discrimination / deduction of various motion states. The purpose is to minimize the adverse effects of specific personnel / equipment / other related objects in specific scenes on the scene on the subsequent interference suppression effect, and provide a single frame image with sufficiently rich and comprehensive interference / target / human figure and other information, so as to provide more basis for subsequent interference suppression. The on-site interference suppression module provides a sufficiently large buffer storage space to store enough continuous video frames. Through comparative analysis between continuous video frames, it obtains the motion state of the target / interference / human figure, such as the motion direction, motion trajectory, pixel area boundary of the maximum motion range, normalized motion speed based on the maximum motion range, etc. of the target / interference / human figure in the image. Finally, the on-site interference suppression module combines the previous single-frame image static information and the multi-frame image dynamic information accumulated over time. After completing the fusion of the original interference suppression information, it generates an interference suppression operation instruction that integrates the motion state features. The command includes obtaining the direction of movement, obtaining the pixel area boundary of the maximum movement range, obtaining the normalized movement speed and acceleration based on the maximum movement range, obtaining the movement trajectory correlation between the target / interference / human figure, merging the interference area, obtaining the data field of all interference area marks, obtaining the data field of all target / interference / human figure marks, removing the target / interference / human figure mark from the mark data field, adding the target / interference / human figure mark to the mark data field, the target / interference / human figure mark state error alarm, and for the interference barbell pieces that are clustered and have overlapping trajectories, they are eliminated by connecting the interference areas.

[0093] Among them, for the interfering barbell pieces that are clustered and have overlapping trajectories, the interfering areas are connected to eliminate them, such as Figure 4As shown, in the continuous multi-frame images, the central trajectory of the target barbell piece is marked by the curve on the left, and the inter-frame pixel displacement of the target barbell piece can be obtained, and then converted into motion state information such as motion speed and acceleration. The interfering barbell piece on the right is also obtained in the same way to obtain the corresponding motion state information, but the embodiment of the present invention is more concerned with the formation of continuous irregular occluded pixel areas of the interfering barbell piece in the image during the movement of the interfering barbell piece. Considering other interferences on the scene, there may be a large number, uneven distribution, and various motion directions. Therefore, for interfering barbell pieces that are clustered and have overlapping trajectories, the method of eliminating the interfering area piece by piece can greatly reduce the calculation amount of the interference part and improve the real-time and stability of the system.

[0094] Optionally, the feedback output module fuses the manual indication with the interference suppression information to form the corrected interference suppression information, specifically including:

[0095] According to manual instructions, specific interference targets or interference areas are directionally suppressed, and the interference suppression information sent by the on-site interference suppression module is integrated and corrected to form corrected interference suppression information, including but not limited to: specific interference targets or interference areas manually indicated, which module executes which specific processing strategies, or which modules cooperate to execute which specific processing strategies, and the interference suppression scheme that has been processed and coordinated by other previous modules at multiple levels is integrated to form the optimal comprehensive interference suppression scheme.

[0096] Optionally, the interference suppression scheme that has been processed and coordinated by other modules at multiple levels is integrated to form an optimal comprehensive interference suppression scheme, which specifically includes:

[0097] If the manually indicated interference position overlaps with other interference positions, it is necessary to comprehensively judge whether these interference positions can be classified as an interference area and uniformly marked or cleared, whether the video acquisition module identifies the area boundaries, replaces the color blocks, and directly clears them, and whether the barbell information extraction module identifies, replaces, and clears multiple interferences with significantly different shapes and postures one by one, and whether the on-site interference suppression module first performs a cumulative analysis of the motion features of the manually specified interference, and then identifies, replaces, and clears the manually specified interference by distinguishing the motion features.

[0098] The embodiment of the present invention also provides an image interference suppression method for a complex training environment of a weightlifting venue, and uses the above system to suppress image interference.

[0099] Optionally, the method comprises:

[0100] (I) Using a combination of automatic detection and tracking of target weights and manual instructions, a hierarchical and type-based optimized interference suppression strategy is formed to enhance the ability to flexibly adjust to the on-site environment and enhance the stability of target weight detection and tracking;

[0101] (II) Through distributed and concurrent extraction of multiple categories of redundant information in multiple modules, a deep fusion analysis of barbell plate position information, motion characteristics, and interaction relationships is achieved, including real-time detection, tracking, and information extraction of target barbell plates, interference barbell plates, barbell heads, barbell bars, and human figures;

[0102] (III) The results obtained through multi-dimensional barbell information fusion analysis are used to describe and continuously maintain the on-site information and interference suppression information. Through the feedback output function, the manual instructions and interference suppression information are integrated to form the corrected interference suppression information. This information is used as the system control command to control the processing methods that should be taken by the video acquisition function and the barbell information extraction function.

[0103] As an improvement to the above method, the accuracy requirements for the above detection and tracking tasks are different for the target barbell plate, interference barbell plate, barbell head, barbell bar, and human figure. Among them, the target barbell plate and the interference barbell plate require more refined ellipse parameter estimation to achieve a sufficiently high degree of distinction. Therefore, more precise parameters, larger model size, and longer inference time will be used in image annotation and model training. The barbell head, barbell bar, and human figure detection are all auxiliary judgment elements, and do not require overly detailed characterization. Fewer image annotations, smaller model sizes, and shorter inference times can be used.

[0104] As another improvement of the above method, the target barbell plate, interference barbell plate, barbell head, barbell bar, and human figure, only when there is ambiguity in the direction, size, distance, and idle judgment between the target barbell plate and the interference barbell plate, other auxiliary criteria are needed, and the calculation priority order is barbell plate, barbell head, barbell bar, and human figure.

[0105] Alternatively, if Figure 5 As shown, the image interference suppression method for the complex training environment of a weightlifting venue includes:

[0106] The first step is to turn on the camera switch of the video acquisition module, start the feedback output function, collect video image data of the training site environment, and manually clearly mark the barbell pieces of the barbell that need to be tracked and observed, as well as the positions of the relevant athletes;

[0107] The second step is to start the barbell information extraction function. By performing intelligent barbell plate detection and processing on the images taken by the camera, the barbell plate has an elliptical shape on the side with holes, and its elliptical parameters are refined and extracted. This is supplemented by the detection and judgment of the barbell head / barbell, human figure, etc., and finally the approximate distribution of the on-site target, interference, and human figure is obtained, and the static on-site information is extracted.

[0108] The third step is to make necessary adjustments to the camera perspective of the acquisition device or the intensity of on-site lighting by observing the distribution of barbells and athletes at the scene, as well as the contrast relationship between the background, target, interference, and human figure in the camera image at the current perspective, so as to maximize the improvement of the initial effects of target detection, recognition, tracking, and interference suppression;

[0109] Step 4: For the significant, difficult to eliminate, and hugely influential interfering barbell pieces, human figures, barbell-like objects and graphics, the interference is marked, the graphics are replaced or eliminated in the video acquisition module through manual instructions. If these interfering factors exist in a contiguous area that is clearly distinguishable from the target, they can also be manually marked as areas, and the area marking, graphics replacement or elimination are performed in the video acquisition module;

[0110] The fifth step is to improve the static interference suppression effect of a single-frame image to a certain expected level through the above steps, start the on-site interference suppression function, observe the motion interference suppression effect of multiple frames, and enter the normal detection and tracking workflow after the interference suppression effect is improved to a certain expected level. Feedback the detection and tracking results to the subsequent processing equipment, and the athletes, coaches, large-screen devices, mobile devices, and intelligent analysis servers will perform corresponding processing respectively. If an abnormal alarm occurs, repeat the third and fourth steps until the training tracking record requirements are met. After the interference suppression effect is improved to a certain expected level, the key criteria are that the target barbell piece is clear and has a clear contrast with the background pattern, the influence of the significant interference position in the image is eliminated, there are relatively few other interference barbell pieces in the image, and the space separation between the target barbell piece and the target barbell piece is as obvious as possible;

[0111] Step 6: During the operation of the system, pay attention to whether the system has any alarm information. If there is an alarm information, the operator will interpret the information and perform corresponding operations, including: adjusting the camera position due to changes in the on-site environment, driving away irrelevant personnel, removing objects that enter voluntarily or are placed by people, and manual indication of specific targets / interference / human figures;

[0112] Step 7. After the training is completed and the system completes the designated task, shut down all system functions, turn off the power, and the task is completed.

[0113] Figure 6It is a structural schematic diagram of an electronic device 600 provided in an embodiment of the present invention. The electronic device 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (centra lprocessing in its, CPU) 601 and one or more memories 602, wherein the memory 602 stores instructions, and the instructions are loaded and executed by the processor 601 to implement the steps of the above-mentioned image interference suppression method for the complex training environment of the weightlifting venue.

[0114] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the above-mentioned image interference suppression method for a complex training environment of a weightlifting venue. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0115] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0116] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An image interference suppression system for complex training environments in weightlifting venues, characterized in that: The system comprises: a video acquisition module, a barbell information extraction module, an on-site interference suppression module and a feedback output module; The video acquisition module is used to shoot the spatial movement of the target barbell plate held by the target athlete at a specified position and a specified angle in the weightlifting venue, and send the shot video image to the barbell information extraction module. At the same time, the video acquisition module is also used to receive the corrected interference suppression information fed back by the feedback output module, and perform interference suppression preprocessing on the shot single-frame video image according to the corrected interference suppression information, wherein the interference suppression information includes: each interference type information, position information, associated state information, a module that needs to respond, and a response processing strategy; The barbell information extraction module is used to receive the video image sent by the video acquisition module, and receive the corrected interference suppression information fed back by the feedback output module, generate interference suppression preprocessing operation instructions according to the corrected interference suppression information, perform barbell detection on a single-frame video image, adopt a multi-level information extraction control strategy for barbell plates, barbell heads, barbell bars, and human figures in order of priority, and extract static scene information, wherein the static scene information includes shape features and precise posture features of each target barbell plate and interference barbell plate in the scene, as well as rough posture features of the barbell head, barbell bar, and human figure that have completed detection, and then send the extracted static scene information and interference suppression information, as well as the video image that needs to suppress interference, to the scene interference suppression module; The on-site interference suppression module is used to receive the video image, static on-site information and interference suppression information sent from the barbell information extraction module, store multiple frames of continuous video images and obtain the dynamic motion state information of the barbell pieces, and identify the states of the extracted target barbell pieces and interference barbell pieces, and accurately detect and suppress other interferences that affect the detection and tracking of the target barbell pieces, and then send the suppressed video image and interference suppression information to the feedback output module; The feedback output module is used to fuse the manual instructions with the interference suppression information to form the corrected interference suppression information, and then feed back the corrected interference suppression information to the video acquisition module and the barbell information extraction module. At the same time, the video image after interference suppression and the relevant target state information are output to the subsequent processing or display device.

2. The system according to claim 1, characterized in that The video acquisition module performs interference suppression preprocessing on the captured video image according to the corrected interference suppression information, specifically including at least one of the following: Control camera parameters to complete video image acquisition, adjust camera servo status, transform or fill pixel values ​​at multiple specified locations in the image, eliminate or suppress clearly specified interference target areas, issue alarms for abnormal situations on site, and output specific video images.

3. The system according to claim 1, characterized in that The barbell information extraction module adopts a multi-level information extraction control strategy for barbell plates, barbell heads, barbell bars, and human figures in order of priority to extract static on-site information, specifically including: Priority is given to extracting barbell plate information. Only when the barbell plate information extraction cannot distinguish the target barbell plates from the interference barbell plates, it is necessary to extract information on the relevant barbell head and barbell rod. If it still cannot be satisfied, auxiliary judgment is performed through the extraction of nearby human figures.

4. The system according to claim 3, characterized in that The barbell plate information extraction specifically includes: The following five indicators are extracted: The ellipse major axis direction, ellipse flattening, ellipse orientation, ellipse area, ellipse major axis and barbell diameter ratio of the side shape of the barbell plate, According to one or more of the five indicators, it is determined whether the barbell plate is a target barbell plate or an interference barbell plate.

5. The system according to claim 4, characterized in that The barbell plate information extraction specifically includes: For spare plates: For idle barbell plates placed flat on the ground, judging from the ellipse parameters on the image, their major axis is in the horizontal direction, and the central circular hole of the barbell plate is facing upward; for idle barbell plates placed vertically on the ground, judging from the ellipse parameters on the image, their major axis is in the vertical direction, and the central circular hole of the barbell plate is parallel to the ground; for idle barbell plates placed obliquely on the ground, or on the barbell plate rack on the ground, no matter how large the inclination angle is, the major axis is in a non-horizontal direction or a non-vertical direction; for barbell plates placed on the barbell bar and statically on the ground, or rolling horizontally near the ground by inertia, or bouncing vertically, the humanoid auxiliary detection method or the dynamic feature detection method is used to determine whether these barbell plates are in an idle state; For non-idle interference plates: If the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate in the image are significantly different due to different distances from the camera and different angles, a joint judgment is made based on the ellipse area and flattening of the barbell plate; Assuming that the target barbell plate is the barbell plate on the left side of the target athlete, if the size, ellipse area, ellipse semi-major axis, and ellipse semi-minor axis of the target barbell plate and the barbell plate lifted by another athlete in the image are the same or similar, according to the "barbell head-barbell plate-barbell bar-human figure" detection combination from left to right, only the target barbell plate and the barbell plate on the left side of the other athlete meet the requirements, and the other barbell plates that do not meet the requirements are interference barbell plates. Furthermore, for the distinction between the target barbell plate and the barbell plate on the left side of the other athlete, the orientation of the target barbell plate and the orientation of the barbell plate on the left side of the other athlete are judged. The two orientations are different. The judgment criterion is that the overlapping part of the barbell head and the side of the target barbell plate is on the left side of the ellipse shape, while the overlapping part of the barbell plate on the left side of the other athlete and the barbell bar is on the right side of the ellipse shape; For barbell plates of different sizes, placed at different distances from the camera while maintaining the same orientation, the pixel area of ​​a large barbell plate when it is far away may be consistent with the pixel area of ​​a small barbell plate when it is close. Without the help of spatial information, the distance blur in the two-dimensional image will cause ambiguity in the unique determination of the target barbell plate. For this scenario, the barbell diameter is further extracted without obtaining a particularly precise barbell diameter value. The difference in barbell diameter between men's and women's barbells is ignored. The ratio of the major axis to the bar diameter in the ellipse parameters is used to determine whether the barbell plate is a large-size barbell plate or a small-size barbell plate.

6. The system according to claim 4, characterized in that The barbell plate information extraction further includes: using an algorithm for segmenting the edge of the ellipse contour using a group of multiple parallel lines under a concentric constraint to correct the ellipse parameter error caused by edge adhesion, specifically including: First, assume that the detected edge of the barbell plate contour is a standard ellipse, and divide the standard ellipse into 8 quadrants. Use parallel lines separated by several pixels to cut the edge of each quadrant ellipse. If it is a standard ellipse, when a group of parallel lines cut the ellipse, a group of parallel chords will be generated. The midpoints of this group of parallel chord segments are connected to determine a straight line, and this straight line must pass through the center of the ellipse. If it is not a standard ellipse, 8 estimates of the center position of the ellipse will be obtained, and the center tolerance is set. Then, adhesion occurs on the edge of the ellipse in the quadrant outside the center tolerance range. The center position, semi-major axis length, and semi-minor axis length of the barbell plate are determined by the majority decision criterion to correct the barbell plate ellipse parameters.

7. The system according to claim 1, characterized in that The on-site interference suppression module is specifically used for: Combined with the static information of a single-frame image and the dynamic motion state information of multiple frames of images accumulated over time, after completing the fusion of the interference suppression information sent by the barbell information extraction module, an interference suppression operation instruction integrating the motion state features is generated, including but not limited to: obtaining the motion direction, obtaining the pixel area boundary of the maximum motion range, obtaining the normalized motion speed and acceleration based on the maximum motion range, obtaining the motion trajectory correlation between the target barbell piece / interference barbell piece / human figure, merging interference areas, obtaining the data fields marked by all interference areas, obtaining the data fields marked by all target barbell pieces / interference barbell pieces / human figure, removing the target barbell piece / interference barbell piece / human figure mark from the marked data field, adding the target barbell piece / interference barbell piece / human figure mark in the marked data field, the target barbell piece / interference barbell piece / human figure mark state error alarm, and for the interference barbell pieces that are clustered and whose trajectories overlap with each other, they are eliminated by connecting the interference areas.

8. The system according to claim 1, characterized in that The feedback output module fuses the manual instruction with the interference suppression information to form the corrected interference suppression information, specifically including: According to manual instructions, specific interference targets or interference areas are directionally suppressed, and the interference suppression information sent by the on-site interference suppression module is integrated and corrected to form corrected interference suppression information, including but not limited to: specific interference targets or interference areas manually indicated, which module executes which specific processing strategies, or which modules cooperate to execute which specific processing strategies, and the interference suppression scheme that has been processed and coordinated by other previous modules at multiple levels is integrated to form the optimal comprehensive interference suppression scheme.

9. The system according to claim 8, characterized in that The above-mentioned interference suppression scheme is integrated with the interference suppression scheme that has been processed and coordinated by other modules to form the optimal comprehensive interference suppression scheme, which specifically includes: If the manually indicated interference position overlaps with other interference positions, it is necessary to comprehensively judge whether these interference positions can be classified as an interference area and uniformly marked or cleared, whether the video acquisition module identifies the area boundaries, replaces the color blocks, and directly clears them, and whether the barbell information extraction module identifies, replaces, and clears multiple interferences with significantly different shapes and postures one by one, and whether the on-site interference suppression module first performs a cumulative analysis of the motion features of the manually specified interference, and then identifies, replaces, and clears the manually specified interference by distinguishing the motion features.

10. A method for suppressing image interference in a complex training environment of a weightlifting venue, characterized in that: Use the system described in any one of claims 1 to 9 to suppress image interference.

Citation Information

Patent Citations

  • Method and device for detecting and tracking barbell central point

    CN102074017A

  • Barbell recognition and tracking control method based on YOLO and improved template matching

    CN114743125A