CN115311610B - Method for recognizing abnormity of fitness equipment - Google Patents
Method for recognizing abnormity of fitness equipment Download PDFInfo
- Publication number
- CN115311610B CN115311610B CN202211245039.0A CN202211245039A CN115311610B CN 115311610 B CN115311610 B CN 115311610B CN 202211245039 A CN202211245039 A CN 202211245039A CN 115311610 B CN115311610 B CN 115311610B
- Authority
- CN
- China
- Prior art keywords
- identified
- fitness equipment
- fitness
- degree
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/49—Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Psychiatry (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- Alarm Systems (AREA)
Abstract
The invention relates to a method for recognizing the abnormity of fitness equipment, belonging to the technical field of abnormity recognition of the fitness equipment. The method comprises the following steps: acquiring an image video of a target area in a set time period, wherein the target area comprises fitness equipment to be identified; dividing the image video according to the time index to obtain K image sub-videos; fitting according to the use heat of the fitness equipment to be identified corresponding to each image sub-video to obtain a use heat change function corresponding to the image video; obtaining the use duration and the nonstandard action degree corresponding to each fitness person using the fitness equipment to be identified according to the image video; calculating the corresponding non-standard use degree of the fitness equipment to be identified; and calculating the abnormal degree of the fitness equipment to be identified according to the use heat change function and the irregular use degree. The invention belongs to an automatic identification method, which does not depend on management personnel to carry out abnormity identification, and effectively improves the efficiency of abnormity detection on fitness equipment.
Description
Technical Field
The invention relates to the technical field of body-building equipment abnormity identification, in particular to a method for body-building equipment abnormity identification.
Background
With the development of society, more and more people start to go to the gymnasium to build up body, and the exercise using the fitness equipment can be carried out without the restriction of weather, and the fitness equipment has gradually become the exercise mode of most sporters. However, exercise equipment may be at risk of abnormalities for some reason, such as those caused by natural wear due to the exercise equipment being used for too long a period of time; or damage to the fitness equipment caused by irregular motions of the exerciser during the exercise process, such as over-stretching of the pull rod when the exerciser uses the rowing machine, over-pushing when the sitting chest-pushing trainer is used, and the like.
The safety problem of the fitness equipment of the fitness room is of great importance to fitness personnel, the fitness equipment of the fitness room is managed by management personnel at present, and related management personnel can only perform fault troubleshooting and inform maintenance personnel to repair the fitness equipment when finding that the fitness equipment is abnormal. For various fitness equipment in a gymnasium, a large amount of manpower and material resources are consumed during manual detection, each fitness equipment cannot be detected one by one, the detection effect is poor, the subjectivity of the manual detection is strong, and the conditions of wrong detection and missed detection are easy to occur.
Disclosure of Invention
The invention aims to provide a method for identifying the abnormity of fitness equipment, which is used for solving the problem that the efficiency of detecting the abnormity of the fitness equipment by using a manager is low.
In order to solve the above problems, the technical solution of the method for identifying an abnormality of a fitness equipment of the present invention comprises the following steps:
acquiring an image video of a target area in a set time period, wherein the target area comprises fitness equipment to be identified;
dividing the image video according to the time index to obtain K image sub-videos; fitting according to the using heat of the fitness equipment to be identified corresponding to each image sub-video to obtain a using heat change function corresponding to the image video, wherein K is more than or equal to 2;
obtaining the use duration and the nonstandard action degree corresponding to each fitness person using the fitness equipment to be identified according to the image video; calculating the nonstandard use degree corresponding to the fitness equipment to be identified according to the use duration and the action nonstandard degree corresponding to each fitness person;
and calculating the abnormal degree of the fitness equipment to be identified according to the use heat change function and the irregular use degree.
The invention has the beneficial effects that: the method obtains the use heat change function and the non-standard use degree of the fitness equipment to be identified in the set time period based on the acquired image video, and the use heat change function can reflect whether the use heat of the fitness equipment to be identified is obviously reduced by a user, wherein the obvious reduction is probably caused by the abnormity of the fitness equipment to be identified; the unnormalized use degree can reflect the damage degree of the fitness equipment to be identified by the fitness person, and the higher the unnormalized use degree is, the higher the damage degree of the fitness equipment to be identified is; the abnormal degree of the fitness equipment to be identified is calculated based on the heat change function and the non-standard usage of Cheng Duji, the method belongs to an automatic identification method, and the abnormal identification of the fitness equipment is not dependent on a manager, so that the efficiency of abnormal detection of the fitness equipment is effectively improved.
Further, the method for calculating the use heat of the fitness equipment to be identified corresponding to each image sub-video comprises the following steps:
marking the fitness person and the fitness equipment to be identified in each image sub-video by using the surrounding frame to obtain the surrounding frame of the fitness person and the surrounding frame of the fitness equipment to be identified;
judging whether the exerciser uses the fitness equipment to be identified or not according to the intersection ratio of the exerciser enclosure frame and the fitness equipment enclosure frame to be identified;
counting the use times and the single use duration of the fitness equipment to be identified in each image sub-video;
and calculating the use heat of the fitness equipment to be identified corresponding to each image sub-video according to the use times and the single use duration of the fitness equipment to be identified corresponding to each image sub-video.
Further, the use heat of the fitness equipment to be identified corresponding to each image sub-video is calculated by the following formula:
wherein k is the kth image sub-video,the using heat degree of the fitness equipment to be identified corresponding to the k image sub-video is judged and judged>For the corresponding number of uses of the sub-video of the k-th image, <' >>For the mean value of the time length of a single use corresponding to the k-th image sub-video>For the weight corresponding to the number of uses>The weight is corresponding to the average single-use duration.
Further, the method for calculating the degree of the action unnormality comprises the following steps:
identifying key points of a body builder using fitness equipment to be identified in the image video;
obtaining a fitness action sequence of the fitness person using the fitness equipment to be identified according to the human body key points;
and comparing the fitness action sequence of the exerciser using the fitness equipment to be identified with the standard fitness action sequence to obtain the corresponding action non-standard degree of the exerciser using the fitness equipment to be identified.
Calculating the corresponding non-standard use degree of the fitness equipment to be identified by using the following formula:
wherein the content of the first and second substances,the corresponding non-standard use degree of the fitness equipment to be identified, R is the total number of the fitness users using the fitness equipment to be identified, R is the R-th fitness user using the fitness equipment to be identified, J is the length of a fitness action sequence, I is the number of key points of a human body, I is the key point of the ith human body, J is the jth fitness action in the fitness action sequence, and/or>The horizontal coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is determined, and the judgment result is processed>For the abscissa of the ith person body key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person, the system and the method are adopted>The jth key corresponding to the body-building personThe ordinate of the ith personal key point in the body action>For the vertical coordinate of the ith person body key point in the standard fitness action corresponding to the jth fitness action corresponding to the fitness person, the judgment is made>Is the vertical coordinate of the ith personal body key point in the jth body-building action corresponding to the body-building person,is the vertical coordinate of the ith personal key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person,for the degree of the action irregularity of the r-th exerciser using the fitness equipment to be identified, the signal is selected>For the length of time the r-th exerciser used the exercise apparatus to be identified.
Further, the method for calculating the abnormal degree of the fitness equipment to be identified according to the usage heat change function and the irregular usage degree comprises the following steps:
judging the variation trend of the use heat of the fitness equipment to be identified according to the use heat variation function; if the change trend of the use heat of the fitness equipment to be identified is increased, calculating the abnormal degree of the fitness equipment to be identified according to the following formula:
wherein the content of the first and second substances,for the abnormal degree of the fitness equipment to be identified, the device>For the unnormal use degree corresponding to the fitness equipment to be identified, the device is combined with the identification device>For the used time length of the fitness equipment to be identified, the device>For not specifying the weight corresponding to the degree of use, is/are>The weight corresponding to the used time length.
Further, if the variation trend of the use heat of the fitness equipment to be identified is gradually decreased, and the difference between the use heat of the fitness equipment of the same type and the use heat of the fitness equipment to be identified is greater than the set use heat threshold, calculating the abnormal degree of the fitness equipment to be identified according to the following formula:
Drawings
FIG. 1 is a flow chart of a method for fitness equipment anomaly identification of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The embodiment aims to solve the problem that the efficiency of detecting the abnormality of the fitness equipment by using a manager is low, and as shown in fig. 1, the method for identifying the abnormality of the fitness equipment comprises the following steps:
(1) Acquiring an image video of a target area in a set time period, wherein the target area comprises fitness equipment to be identified;
in order to identify the abnormal conditions of all the fitness equipments in the gymnasium, a plurality of cameras are installed in the gymnasium to acquire the image videos related to all the fitness equipments in the gymnasium. The arrangement of the number of the cameras and the positions of the cameras can be adjusted according to the actual situation of the gymnasium, and in order to realize the abnormal recognition of each fitness equipment in the gymnasium, the acquisition range of the cameras needs to contain each fitness equipment area in the gymnasium.
After the camera is installed, the image video of each fitness equipment area is collected, and therefore the image video of a certain time duration corresponding to each fitness equipment can be obtained. The embodiment will next describe the recognition method of the embodiment by taking the length of the image video of one of the fitness equipments as K days.
(2) Dividing the image video according to the time index to obtain K image sub-videos; fitting according to the using heat of the fitness equipment to be identified corresponding to each image sub-video to obtain a using heat change function corresponding to the image video, wherein K is more than or equal to 2;
in consideration of the fact that under normal conditions, when the fitness equipment of the fitness room is abnormal, the use heat of the exerciser will be obviously reduced, and therefore, the use heat condition of the fitness equipment to be identified is taken as one of the bases for identification in the embodiment. The process of obtaining the usage heat variation function of the fitness equipment to be identified in the embodiment is as follows:
the method comprises the steps of detecting fitness equipment and a fitness person by adopting a target detection network, marking the bounding boxes of the fitness equipment and the fitness person in an image by using label data of the target detection network, marking coordinates, width, height and type of the center point of the bounding box, namely (x, y, w, h, class), wherein x is the horizontal coordinate of the center of the bounding box, y is the vertical coordinate of the center of the bounding box, w is the width of the bounding box, h is the height of the bounding box, and class is the category of the bounding box. And the target detection network adopts a mean square error loss function to carry out iterative training.
After the target in each frame of image is detected, the position relation of the fitness equipment and the exerciser is further analyzed: when the intersection ratio of the surrounding frame of the fitness equipment and the surrounding frame of the exerciser in the imageWhen the user needs to use the fitness equipment, the fitness equipment is considered to be in a used state; when the intersection ratio of the surrounding frame of the fitness equipment and the surrounding frame of the exerciser in the image is greater or less than>And if so, the fitness equipment is considered to be in an idle state. In practical application, the comparison value of the intersection ratio of the surrounding frames can be adjusted according to the type of the fitness equipment to be identified.
For K days of image videos of the fitness equipment to be identified, the K days of image videos are divided according to the time sequence to obtain K image sub-videos, each image sub-video corresponds to the image video of the fitness equipment to be identified for one day, and the image sub-video corresponding to the kth image sub-video corresponds to the kth image sub-video. Counting the usage frequency of the k dayAnd acquiring the duration sequence of the single use of the fitness equipment on the k day>Calculate the average of the duration of single use on day k:(ii) a Calculating a fitness machine based on the usage frequency and a single-use duration averageThe formula of the heat of use of the material is as follows:
wherein k is the kth image sub-video,the using heat degree of the fitness equipment to be identified corresponding to the k image sub-video is judged and judged>For the corresponding number of uses of the sub-video of the k-th image, <' >>Mean value of single-use duration corresponding to sub-video for the kth image>For the weight corresponding to the number of uses>The weight is corresponding to the average single-use duration. Considering that the average value of the duration of a single use of the fitness equipment can reflect the abnormal condition of the fitness equipment better, the setting of the embodiment isThe weights can be modified according to requirements in the actual application process.
Therefore, the use heat sequence within K days corresponding to the fitness equipment to be identified can be obtained. And fitting the data in the use heat sequence data to obtain a corresponding use heat change function. The fitting process of this embodiment specifically includes:
firstly, randomly selecting M using heat data from a sequence, fitting based on selected M points by taking time as an x axis and using heat as a y axis, marking an obtained curve as a curve 1, then calculating the distance from all using heat data to the curve 1, setting a distance threshold value D, judging that the using heat data belongs to the curve 1 if the distance is less than the threshold value D, and recording the number C1 of the using heat data belonging to the curve 1;
selecting M using heat data from the rest using heat data, similarly fitting according to the M re-selected using heat data, marking the obtained curve as a curve 2, then calculating the distance from all using heat data to the curve 2, if the distance is less than a threshold value D, judging that the data belongs to the curve 2, and counting the number C2 of the using heat data belonging to the curve 2;
repeating the steps until all the heat characteristic data in the sequence are selected, and fitting the heat characteristic data to obtain the heat characteristic dataThe curves are counted, the number of the use heat data belonging to each curve is counted, and the corresponding use heat data number sequence { C1, C2, …, C ^ is corresponding to>And taking the curve corresponding to the maximum numerical value in the number sequence as a final fitting function, and taking the curve as a corresponding use heat change function (or based on the function of the heat value) of the fitness equipment to be identified>。
The embodiment adopts the idea of batch fitting when fitting the data in the heat sequence data to obtain a more accurate fitting curve; as another example, the data in the heat sequence data may be fit as a whole in a conventional manner.
Obtaining the corresponding use heat change function of the fitness equipment to be identifiedThen, further acquisition is made>Is taken as a first derivative function>According to >>Analyzing the use heat variation trend of the fitness equipment to be identified: when/is>When the user needs to use the fitness equipment to be identified, the user can use the fitness equipment to be identified; when +>In the time, the using heat of the fitness equipment to be identified is decreased progressively, which indicates that the fitness person does not use the fitness equipment to be identified frequently as before.
The reason why the use heat of the fitness equipment to be identified is gradually decreased is that the interest of the fitness equipment to be identified is possibly reduced besides the abnormality of the fitness equipment to be identified; to eliminate the latter reason, the present embodiment is described inFor example, only when the difference between the use heat corresponding to the last sub-image video of the fitness equipment of the same type and the use heat corresponding to the last image video of the fitness equipment to be identified is larger than a certain value, the reason that the use heat of the fitness equipment to be identified is decreased is judged to be that the fitness equipment to be identified is abnormal, and the larger the difference is, the higher the abnormal degree is.
(3) Obtaining the use duration and the nonstandard action degree corresponding to each fitness person using the fitness equipment to be identified according to the image video; calculating the nonstandard use degree corresponding to the fitness equipment to be identified according to the use duration and the action nonstandard degree corresponding to each fitness person;
considering that the body-building person may also affect the body-building apparatus due to the irregular body-building posture, body-building action, and the like of the body-building person in the process of using the body-building apparatus to perform body-building, in this embodiment, when the abnormal condition of the body-building apparatus is identified, the irregular use degree corresponding to the body-building apparatus to be identified is further calculated according to the use duration and the action irregular degree corresponding to each body-building person, and the specific process is as follows:
the key point detection network which is completed through training detects key points of a human body in an image video, wherein the key points comprise head key points, neck key points, left and right shoulder joint points, left and right elbow joints, left and right wrist joints, spine center points, left and right hip joints, left and right knee joints and left and right ankle joints. After the key points of each exerciser are obtained, in order to distinguish the key points among the exercisers, the embodiment matches the key points of the human body by combining the relationship vector spectrums Part Affinity Fields (PAFs) to connect the corresponding key points of each exerciser. Detecting key points of a human body by using a key point detection network and matching key points of the human body by using PAFs are prior art and are not described herein again.
Based on the judgment method for whether the fitness equipment to be identified is used in the step (2), two-dimensional key point information corresponding to the fitness person using the fitness equipment to be identified can be obtained; in order to facilitate subsequent analysis of the degree of non-standardization of the exercise motions of the exerciser using the exercise equipment to be identified, the embodiment adopts the TCN network model to obtain the three-dimensional motion sequence corresponding to the two-dimensional key points. The process of acquiring three-dimensional motion sequence by using TCN network is prior art and will not be described herein.
In order to analyze the non-standard degree of the body-building action of the body-building person using the body-building apparatus to be identified, the three-dimensional action sequence of the body-building person is compared and analyzed with the standard body-building action in the body-building action simulator, so as to obtain the non-standard degree of the body-building action of the body-building person. The formula for specifically calculating the degree of irregularity of the exercise movement in this embodiment is as follows:
wherein r is the r-th exerciser using the fitness equipment to be identified, J is the length of the fitness action sequence, I is the number of key points of the human body, I is the ith key point of the human body, J is the jth fitness action in the fitness action sequence,the horizontal coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is determined, and the judgment result is processed>For the abscissa of the ith person body key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person, the system and the method are adopted>The vertical coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is judged and judged>For the vertical coordinate of the ith person body key point in the standard fitness action corresponding to the jth fitness action corresponding to the fitness person, the judgment is made>Is the vertical coordinate of the ith personal body key point in the jth body-building action corresponding to the body-building person,is the vertical coordinate of the ith personal key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person,the degree of irregularity of the motion of the individual using the fitness machine to be identified is the r-th.
It should be noted that, when comparing and analyzing the three-dimensional motion sequence of the exerciser with the standard exercise motions in the exercise motion simulator, not all the human body key points of the exerciser using the exercise equipment to be identified are compared, but the comparison and analysis are performed according to the related human body key points which may cause damage to the exercise equipment to be identified, for example, when the related human body key points which may cause damage to the exercise equipment to be identified are mainly leg key points, only the leg key points need to be compared.
Obtaining the action non-standard degree corresponding to each body-building person using the body-building equipment to be identified in the image video, and obtaining the action non-standard degree sequence corresponding to the body-building equipment to be identifiedAnd R is the total number of the fitness users using the fitness equipment to be identified in the image video. Considering that the longer the exercise time of the exerciser with the high irregular exercise action degree is, the greater the damage to the exercise equipment is, in this embodiment, the irregular use degree corresponding to the exercise equipment to be identified corresponding to the image video is calculated by using the following formula:
wherein the content of the first and second substances,for the corresponding non-standard use degree of the fitness equipment to be identified, the device is used>For the length of time the r-th exerciser used the exercise apparatus to be identified.
(4) And calculating the abnormal degree of the fitness equipment to be identified according to the use heat change function and the irregular use degree.
Based on the step (2), the use heat change function of the fitness equipment to be identified can be obtainedBased on using a heat change function>Whether the using heat of the fitness equipment to be identified is reduced or not can be judged, and whether the fitness equipment to be identified is abnormal or not can be judged by combining the using heat corresponding to the similar fitness equipment when the using heat is reduced.
The non-standard use degree of the fitness equipment to be identified can be obtained based on the step (3), and the damage size caused by the fitness equipment to be identified in the process of using the fitness equipment to be identified by the exerciser can be judged based on the non-standard use degree. In addition, in consideration of the influence of natural normal wear of the fitness equipment to be identified on the equipment, the embodiment also refers to the used time length of the fitness equipment to be identified, namely the time interval from the production date or the date of starting use of the fitness equipment to be identified to the identification time.
In view of the above considerations, the method of the present embodiment for calculating the degree of abnormality of the fitness equipment to be identified is as follows:
this embodiment is as followsAnd then, judging that the change trend of the use heat of the fitness equipment to be identified is increased progressively, and calculating the abnormal degree of the fitness equipment to be identified according to the following formula:
wherein the content of the first and second substances,for the abnormal degree of the fitness equipment to be identified, the device>For the corresponding non-standard use degree of the fitness equipment to be identified, the device is used>For the used time length of the fitness equipment to be identified, the device>For not specifying the weight corresponding to the degree of use, is/are>The weight corresponding to the used time length; this embodiment sets->,/>In practical application, the weights can be adjusted according to practical situations.
This is implemented inAnd if the difference between the use heat of the fitness equipment of the same type and the use heat of the fitness equipment to be identified is greater than the set use heat threshold value, calculating the abnormal degree of the fitness equipment to be identified according to the following formula:
wherein the content of the first and second substances,the difference between the use heat of the same type of fitness equipment and the use heat of the fitness equipment to be identified is judged>Is composed ofA corresponding weight; the present embodiment contemplates that>When the difference value is greater than the set use heat threshold value, the probability of abnormity of the fitness equipment to be identified is higher, and the setting->=0.7,/>,/>. In practical application, the weights can be adjusted according to practical situations.
Normalizing the calculated abnormal degree of the fitness equipment to be identified, comparing the normalized value with a set abnormal threshold value, and if the normalized value is smaller than the set abnormal threshold value, judging that the fitness equipment to be identified is abnormal temporarily; if the value after the normalization processing is larger than or equal to the set abnormal threshold value, the body-building equipment to be identified is judged to be abnormal or very easy to be abnormal, and managers can be reminded to pay key attention. In this embodiment, the abnormal threshold is set to 0.7, and the set abnormal threshold can be adjusted according to specific requirements in practical application.
In the embodiment, the used time of the fitness equipment to be identified is also considered when the abnormal degree of the fitness equipment to be identified is calculated, and as other implementation modes, only the use heat and the non-standard use degree of the fitness equipment to be identified can be considered.
The method obtains the use heat change function and the non-standard use degree of the fitness equipment to be identified in the set time period based on the acquired image video, and the use heat change function can reflect whether the use heat of the fitness equipment to be identified is obviously reduced by the exerciser or not, wherein the obvious reduction is probably caused by the abnormity of the fitness equipment to be identified; the unnormalized use degree can reflect the damage degree of the fitness equipment to be identified by the exerciser, and the higher the unnormalized use degree is, the greater the damage degree of the fitness equipment to be identified is; the abnormal degree of the fitness equipment to be identified is calculated by using the heat change function and using Cheng Duji in an irregular manner, the method belongs to an automatic identification method, abnormal identification of the fitness equipment is not required by a manager, and the efficiency of abnormal detection of the fitness equipment is effectively improved.
It should be noted that while the preferred embodiments of the present invention have been described, additional variations and modifications to those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
Claims (2)
1. A method for fitness equipment anomaly identification, comprising the steps of:
acquiring an image video of a target area in a set time period, wherein the target area comprises fitness equipment to be identified;
dividing the image video according to the time index to obtain K image sub-videos; fitting according to the using heat of the fitness equipment to be identified corresponding to each image sub-video to obtain a using heat change function corresponding to the image video, wherein K is more than or equal to 2;
obtaining the use duration and the nonstandard action degree corresponding to each fitness person using the fitness equipment to be identified according to the image video; calculating the nonstandard use degree corresponding to the fitness equipment to be identified according to the use duration and the action nonstandard degree corresponding to each fitness person;
calculating the abnormal degree of the fitness equipment to be identified according to the use heat change function and the non-standard use degree;
the method for calculating the use heat of the fitness equipment to be identified corresponding to each image sub-video comprises the following steps:
marking the fitness person and the fitness equipment to be identified in each image sub-video by using the surrounding frame to obtain the surrounding frame of the fitness person and the surrounding frame of the fitness equipment to be identified;
judging whether the exerciser uses the fitness equipment to be identified or not according to the intersection ratio of the exerciser enclosure frame and the fitness equipment enclosure frame to be identified;
counting the use times and the single use duration of the fitness equipment to be identified in each image sub-video;
calculating the use heat of the fitness equipment to be identified corresponding to each image sub-video according to the use times and the single use duration of the fitness equipment to be identified corresponding to each image sub-video;
calculating the use heat of the fitness equipment to be identified corresponding to each image sub-video by using the following formula:
wherein k is the kth image sub-video,the using heat degree, which is corresponding to the sub-video of the kth image and is used for the body-building equipment to be identified, is changed into the bright or dark state>For the corresponding number of uses of the sub-video of the k-th image, <' >>For the mean value of the time length of a single use corresponding to the k-th image sub-video>For the weight corresponding to the number of uses>The weight corresponding to the average single-use duration;
the method for calculating the degree of the action irregularity comprises the following steps:
identifying human body key points of a body builder using body building equipment to be identified in the image video;
obtaining a fitness action sequence of the fitness person using the fitness equipment to be identified according to the human body key points;
comparing the fitness action sequence of the exerciser using the fitness equipment to be identified with the standard fitness action sequence to obtain the nonstandard action degree corresponding to the exerciser using the fitness equipment to be identified;
calculating the corresponding non-standard use degree of the fitness equipment to be identified by using the following formula:
wherein, the first and the second end of the pipe are connected with each other,the corresponding non-standard use degree of the fitness equipment to be identified, R is the total number of the fitness users using the fitness equipment to be identified, R is the R-th fitness user using the fitness equipment to be identified, J is the length of a fitness action sequence, I is the number of key points of a human body, I is the key point of the ith human body, J is the jth fitness action in the fitness action sequence, and/or>The horizontal coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is determined, and the judgment result is processed>For the abscissa of the ith person body key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person, the system and the method are adopted>The vertical coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is judged and judged>For the vertical coordinate of the ith person body key point in the standard fitness action corresponding to the jth fitness action corresponding to the fitness person, the judgment is made>The vertical coordinate of the ith personal key point in the jth body-building action corresponding to the body-building person is judged and judged>For the vertical coordinate of the ith personal key point in the standard body-building action corresponding to the jth body-building action corresponding to the body-building person, the judgment is carried out>For the degree of the action irregularity of the r-th exerciser using the fitness equipment to be identified, the signal is selected>The using time length of the r-th exerciser using the fitness equipment to be identified;
the method for calculating the abnormal degree of the fitness equipment to be identified according to the use heat degree change function and the irregular use degree comprises the following steps:
judging the change trend of the use heat of the fitness equipment to be identified according to the use heat change function; if the change trend of the use heat of the fitness equipment to be identified is increased, calculating the abnormal degree of the fitness equipment to be identified according to the following formula:
wherein the content of the first and second substances,for the abnormal degree of the fitness equipment to be identified, the device>For the nonstandard use degree corresponding to the fitness equipment to be identified,for the used time length of the fitness equipment to be identified, the device>In order not to specify a weight corresponding to the degree of use>The weight corresponding to the used time length.
2. The method for abnormality identification of fitness equipment according to claim 1, wherein if the trend of the change of the heat of use of the fitness equipment to be identified is decreasing and the difference between the heat of use of the same type of fitness equipment and the heat of use of the fitness equipment to be identified is greater than the set heat of use threshold, the abnormality degree of the fitness equipment to be identified is calculated according to the following formula:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211245039.0A CN115311610B (en) | 2022-10-12 | 2022-10-12 | Method for recognizing abnormity of fitness equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211245039.0A CN115311610B (en) | 2022-10-12 | 2022-10-12 | Method for recognizing abnormity of fitness equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115311610A CN115311610A (en) | 2022-11-08 |
CN115311610B true CN115311610B (en) | 2023-03-28 |
Family
ID=83867864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211245039.0A Active CN115311610B (en) | 2022-10-12 | 2022-10-12 | Method for recognizing abnormity of fitness equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115311610B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113642896B (en) * | 2021-08-16 | 2022-07-12 | 江苏动泰运动用品有限公司 | Gymnasium safety risk early warning method and system based on artificial intelligence |
CN113627409B (en) * | 2021-10-13 | 2022-03-15 | 南通力人健身器材有限公司 | Body-building action recognition monitoring method and system |
CN113701825B (en) * | 2021-10-27 | 2022-02-22 | 南通高桥体育用品有限公司 | Body-building facility abnormity detection method and system based on artificial intelligence |
CN114870323A (en) * | 2022-04-11 | 2022-08-09 | 北京觅淘智联科技有限公司 | Fitness equipment and exercise evaluation method for fitness equipment |
-
2022
- 2022-10-12 CN CN202211245039.0A patent/CN115311610B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115311610A (en) | 2022-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110378232B (en) | Improved test room examinee position rapid detection method of SSD dual-network | |
CN106709438A (en) | Method for collecting statistics of number of people based on video conference | |
CN109544523A (en) | Quality of human face image evaluation method and device based on more attribute face alignments | |
CN108491830A (en) | A kind of job site personnel uniform dress knowledge method for distinguishing based on deep learning | |
CN113521683B (en) | Intelligent physical ability comprehensive training control system | |
CN111709365A (en) | Automatic human motion posture detection method based on convolutional neural network | |
CN116563922A (en) | Automatic rope skipping counting method based on artificial intelligence | |
CN108664886A (en) | A kind of fast face recognition method adapting to substation's disengaging monitoring demand | |
CN114187664B (en) | Rope skipping counting system based on artificial intelligence | |
CN114998986A (en) | Computer vision-based pull-up action specification intelligent identification method and system | |
CN111259844A (en) | Real-time monitoring method for examinees in standardized examination room | |
CN115311610B (en) | Method for recognizing abnormity of fitness equipment | |
CN114170686A (en) | Elbow bending behavior detection method based on human body key points | |
CN112233770A (en) | Intelligent gymnasium management decision-making system based on visual perception | |
CN114639168B (en) | Method and system for recognizing running gesture | |
CN107330416B (en) | A kind of pedestrian's recognition methods again for estimating study based on differentiation structure | |
CN115909400A (en) | Identification method for using mobile phone behaviors in low-resolution monitoring scene | |
CN113685965A (en) | Gymnasium temperature self-adaptive control method based on artificial intelligence | |
CN112802051A (en) | Fitting method and system of basketball shooting curve based on neural network | |
CN114220084A (en) | Distribution equipment defect identification method based on infrared image | |
CN114187663A (en) | Method for controlling unmanned aerial vehicle by posture based on radar detection gray level graph and neural network | |
CN115995093A (en) | Safety helmet wearing identification method based on improved YOLOv5 | |
CN111028949A (en) | Medical image examination training system and method based on Internet of things | |
CN110180155A (en) | A kind of the intensity remote supervision system and method for interval training | |
CN112528877B (en) | Squatting counting method based on face recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |