WO2023151200A1 - Action-recognition-based human body activity level measurement method, system and apparatus, and medium - Google Patents

Action-recognition-based human body activity level measurement method, system and apparatus, and medium Download PDF

Info

Publication number
WO2023151200A1
WO2023151200A1 PCT/CN2022/094627 CN2022094627W WO2023151200A1 WO 2023151200 A1 WO2023151200 A1 WO 2023151200A1 CN 2022094627 W CN2022094627 W CN 2022094627W WO 2023151200 A1 WO2023151200 A1 WO 2023151200A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
average speed
seconds
point
bone
Prior art date
Application number
PCT/CN2022/094627
Other languages
French (fr)
Chinese (zh)
Inventor
曾晓嘉
刘易
薛立君
Original Assignee
成都拟合未来科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成都拟合未来科技有限公司 filed Critical 成都拟合未来科技有限公司
Publication of WO2023151200A1 publication Critical patent/WO2023151200A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Biophysics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physiology (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Image Analysis (AREA)

Abstract

The present disclosure relates to an action-recognition-based human body activity level measurement method, system and apparatus, and a medium, and relates to the field of fitness. The method comprises: collecting images of a user in an area within a preset time of t seconds, so as to obtain consecutive action image frames of the user; according to the consecutive action image frames, acquiring the average speed of the user within t seconds; and according to the average speed of the user, acquiring an activity level of the user within t seconds, and displaying the activity level. In the present disclosure, the average speed of a user is acquired by means of consecutive action image frames of the user, and an activity level of the user when an action occurs is acquired according to the average speed, such that the acquired activity level is more precise; and for a small-amplitude action, the average speed of the user can also be more accurately acquired by means of the consecutive action image frames, thereby reducing the error.

Description

基于动作识别的人体活跃度检测方法及系统及装置及介质Human activity detection method, system, device, and medium based on motion recognition 技术领域technical field
本公开涉及健身领域,具体涉及基于动作识别的人体活跃度检测方法及系统及装置及介质。The present disclosure relates to the field of fitness, in particular to a method, system, device, and medium for detecting human activity based on motion recognition.
背景技术Background technique
随着生活水平的提高,人们越来越注重对于健康生活的追求。随着科学技术的发展进步,现有的健身器械不断朝着家庭化、智能化方向发展,在此前提下,智能化镜面健身器逐渐开始出现在人们的生活中。智能化镜面健身器通过机体内置各类设备并由正面的镜面进行显示和镜像展示,在本案之前,申请人已就健身镜相关方案展开了大量研究并提起专利申请,包括对用户动作的有效识别、对用户动作的反馈等,随着研究的不断细化,本申请人发现,健身装置在朝向家庭化发展的过程中,用户运动的积极性是非常重要的,在使用家庭健身装置进行健身时,需要调动用户的健身积极性,从而使用户达到运动目标。基于此,本申请人发现通过向用户反馈运动量,即其运动的活跃度能较好的达到激励用户达成运动目标的效果,然而现有的活跃度检测方法大多是通过可穿戴设备进行检测,但该检测方法只能粗略的检测出用户的活跃度,并不适用于在健身过程中实时检测,进而达到激励用户的效果。With the improvement of living standards, people pay more and more attention to the pursuit of healthy life. With the development and progress of science and technology, the existing fitness equipment continues to develop in the direction of familyization and intelligence. Under this premise, intelligent mirror fitness equipment gradually begins to appear in people's lives. The intelligent mirror fitness device uses various equipment built into the body and is displayed and mirrored by the front mirror. Before this case, the applicant has carried out a lot of research on the fitness mirror related solutions and filed a patent application, including the effective recognition of user actions , feedback on user actions, etc. With the continuous refinement of the research, the applicant found that in the process of the development of the fitness device towards the home, the user's enthusiasm for exercise is very important. When using the home fitness device for fitness, It is necessary to mobilize the user's fitness enthusiasm so that the user can achieve the exercise goal. Based on this, the applicant found that by feeding back the amount of exercise to the user, that is, the activity of the exercise can better achieve the effect of motivating the user to achieve the exercise goal. However, most of the existing activity detection methods use wearable devices to detect, but This detection method can only roughly detect the activity of the user, and is not suitable for real-time detection during the fitness process, so as to achieve the effect of motivating the user.
发明内容Contents of the invention
本公开提供了基于动作识别的人体活跃度检测方法及系统及装置及介质,本公开的目的在于通过用户连续帧动作图像获取用户的平均速度,根据平均速度获取用户在发生动作时的活跃度。The disclosure provides a human activity detection method, system, device, and medium based on motion recognition. The purpose of the disclosure is to obtain the user's average speed through continuous frame motion images of the user, and obtain the user's activity when an action occurs based on the average speed.
为实现上述目的,本公开提供了基于动作识别的人体活跃度检测方法,包括:To achieve the above purpose, the present disclosure provides a method for detecting human activity based on motion recognition, including:
在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;Within the preset time T seconds, collect images of users in the area to obtain continuous frames of motion images of users;
根据连续帧动作图像获取T秒内用户的平均速度;Obtain the average speed of the user within T seconds according to the continuous frame action images;
根据用户的平均速度获取T秒内用户活跃度,并显示活跃度。Obtain user activity within T seconds according to the user's average speed, and display the activity.
现有的活跃度获取方法,通过终端采集人体的加速度数据,基于采集的加速度数据识别动作类型,基于识别的动作类型及查表得到的所述动作类型对应的代谢当量计算人体活跃度指标。本公开通过每一帧动作图像获取用户的平均速度,在根据用户的平均速度来获取活跃度,对于小幅度动作,现有的方法不能准确的体现用户的活跃度,而本公开通过连续帧的动作图像能够更加准确的体现用户活跃度。The existing method for obtaining activity degree collects the acceleration data of the human body through the terminal, identifies the action type based on the collected acceleration data, and calculates the human activity index based on the identified action type and the metabolic equivalent corresponding to the action type obtained by looking up the table. This disclosure obtains the user's average speed through each frame of action images, and obtains the activity degree based on the user's average speed. For small movements, the existing methods cannot accurately reflect the user's activity degree, but the present disclosure obtains the user's activity degree through continuous frames. Action images can more accurately reflect user activity.
用户的平均速度的获取有多种方法,可以为通过动作图像中某一个或多个骨骼点的坐标变化,还可以根据用户的动作获取一个最能体现用户动作幅度的位置,该位置可以为动作图 像中的某点,也可以为线段或围绕的图形,只要能准确的体现出用户运动的状态,最终得到用户的平均速度即可,也正是基于此,本公开通过用户平均速度能够进一步的体现用户的活跃度。There are many ways to obtain the user's average speed. It can be through the coordinate change of one or more bone points in the action image, and a position that can best reflect the user's action range can be obtained according to the user's action. This position can be an action A certain point in the image can also be a line segment or a surrounding graphic, as long as it can accurately reflect the state of the user's movement, and finally get the user's average speed. Reflect user activity.
在此基础上,为了本申请人发现通过动作图像中用户的骨骼点来确定用户的平均速度能更好的反应用户动作的变化,特别对于只发生了手部动作或腿部动作等局部动作而言,本方法能直接的得到最能反映用户动作的速度大小,具体包括:On this basis, in order for the applicant to find out that the user's average speed can be better reflected by determining the user's average speed through the user's skeletal points in the action image, especially for local actions such as hand movements or leg movements, etc. In other words, this method can directly obtain the speed that best reflects the user's actions, including:
获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Obtain several bone points of the user in each action image and the information corresponding to each bone point;
根据每个骨骼点对应的信息获取T秒内每个骨骼点的平均速度;Obtain the average speed of each bone point within T seconds according to the information corresponding to each bone point;
根据每个骨骼点的平均速度获取用户的平均速度。Get the user's average speed based on the average speed of each bone point.
其中,每个骨骼点对应的信息包括每个骨骼点对应的坐标,T秒内第j个骨骼点的平均速度:Among them, the information corresponding to each bone point includes the coordinates corresponding to each bone point, and the average speed of the jth bone point within T seconds:
Figure PCTCN2022094627-appb-000001
Figure PCTCN2022094627-appb-000001
其中n为T秒内包括的动作图像帧数,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。在本申请中共有j个骨骼点,j可以为16,也可以为12或14,根据实际的使用情况确定。根据上述公式确定T秒内每个骨骼点的平均速度后,由于对于一个动作而言,每个动作中每个骨骼点影响用户平均动作的比重各有不同,因此本公开在获取每个骨骼点的平均速度后,还要根据预设的每个骨骼点的权重,得到最终的用户平均速度,具体的,每个骨骼点预设有权重w j,j为正整数,用户的平均速度: Where n is the number of action image frames included in T seconds, (xi , y i ) is the coordinate of the skeleton point in the i-th action image, and j and i are both positive integers. In this application, there are j bone points in total, and j can be 16, 12 or 14, which is determined according to actual usage conditions. After determining the average speed of each skeletal point within T seconds according to the above formula, since for an action, the proportion of each skeletal point affecting the user's average action is different in each action, the present disclosure obtains each skeletal point After the average speed of each bone point, the final average speed of the user is also obtained according to the preset weight of each bone point. Specifically, each bone point is preset with a weight w j , j is a positive integer, and the average speed of the user is:
Figure PCTCN2022094627-appb-000002
Figure PCTCN2022094627-appb-000002
其中,v j为T秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量。在本申请中,每个骨骼点的权重大小,可以根据每个动作的类型来确定,还可以为经过归纳得到的,在本公开中,该权重的具体的大小为根据实际情况或动作的类型来确定的,只要能体现用户的动作图像中的每个骨骼点的比重,清楚准确体现用户动作即可。 Among them, v j is the average velocity of the j-th bone point within T seconds, w j is the preset weight of the j-th bone point, and m is the number of bone points of the user in the action image. In this application, the weight of each skeletal point can be determined according to the type of each action, and can also be obtained through induction. In this disclosure, the specific size of the weight is based on the actual situation or the type of action As long as it can reflect the proportion of each bone point in the user's action image and clearly and accurately reflect the user's action.
在本公开中,作为优选的,在用户的动作图像中共计有16个骨骼点,包括头部、脖子、喉咙、胯部、左手、右手、左手肘、右手肘、左脚、右脚、左肩、右肩、左膝盖、右膝盖、左臀和右臀,其中,头部、脖子、喉咙、胯部的权重为1,左手、右手、左手肘、右手肘的权重为1.5,左脚、右脚、左肩、右肩的权重为2.5,左膝盖、右膝盖的权重为4,左臀和右 臀的权重为4.5。In this disclosure, preferably, there are 16 skeletal points in the user's action image, including head, neck, throat, crotch, left hand, right hand, left elbow, right elbow, left foot, right foot, left shoulder , right shoulder, left knee, right knee, left hip, and right hip, where the weight of head, neck, throat, and hip is 1, the weight of left hand, right hand, left elbow, and right elbow is 1.5, and the weight of left foot, right Weight 2.5 for foot, left shoulder, right shoulder, weight 4 for left knee, right knee, weight 4.5 for left hip, right hip.
通过上述公式基于每个骨骼点的平均速度获取到用户的平均速度后,本申请人还发现,在采集区域内的用户图像时,同一个动作,用户站得近一点和站的远一点,因为成像近大远小的关系,站的近时骨骼点经过的像素距离更大,计算出来的用户的平均速度V会更大。因此为了使计算出的速度保持距离不变性,本申请人根据用户的平均速度和预设的人体基准距离获取用户相对平均速度
Figure PCTCN2022094627-appb-000003
根据用户相对平均速度
Figure PCTCN2022094627-appb-000004
获取T秒内用户活跃度。具体的,预设的人体基准距离为选取人体基准距离S,人体基准距离S通过上身中两个骨骼点来获取,两个骨骼点的选取可以为头顶骨骼点和盆骨骨骼点,还可以为喉咙骨骼点和胯部骨骼点等。用于确定人体基准距离的参照点,通过两个参照点之间的距离长度是稳定的,这样在用户站位较远或较近时,都能通过比例大小准确的得到用户相对平均速度
Figure PCTCN2022094627-appb-000005
优选的,在本公开中,选取喉咙骨骼点和胯部骨骼点来作为两个参照点,通过计算喉咙骨骼点和胯部骨骼点之间的欧式距离来获取人体基准距离S,然后通过用户的平均速度V与人体基准距离S的比值得到用户相对平均速度
Figure PCTCN2022094627-appb-000006
After obtaining the average speed of the user based on the average speed of each skeletal point through the above formula, the applicant also found that when collecting user images in the area, the user stands closer and farther away for the same action, because The image has a relationship between nearness, distance, and distance. When the station is near, the pixel distance passed by the skeleton point is greater, and the calculated average speed V of the user will be greater. Therefore, in order to keep the calculated speed invariant to the distance, the applicant obtains the relative average speed of the user according to the average speed of the user and the preset reference distance of the human body
Figure PCTCN2022094627-appb-000003
According to the relative average speed of users
Figure PCTCN2022094627-appb-000004
Get user activity within T seconds. Specifically, the preset human body reference distance is to select the human body reference distance S, and the human body reference distance S is obtained through two bone points in the upper body. The selection of the two bone points can be the top bone point and the pelvic bone point, or Throat bone points and hip bone points, etc. The reference point used to determine the reference distance of the human body is stable through the distance length between the two reference points, so that when the user stands far or close, the relative average speed of the user can be accurately obtained through the scale
Figure PCTCN2022094627-appb-000005
Preferably, in the present disclosure, the throat bone point and the crotch bone point are selected as two reference points, and the human body reference distance S is obtained by calculating the Euclidean distance between the throat bone point and the crotch bone point, and then through the user's The ratio of the average speed V to the reference distance S of the human body is used to obtain the relative average speed of the user
Figure PCTCN2022094627-appb-000006
在通过若干骨骼点得到用户相对平均速度
Figure PCTCN2022094627-appb-000007
后,需要将
Figure PCTCN2022094627-appb-000008
转换成一个更为直观的数据,这样更便于用户在运动的过程中直观的看到自己当前的活跃度,通常0-100的分数对于用户而言能最直观的体现用户的活跃度,因此在本公开中,将用户相对平均速度
Figure PCTCN2022094627-appb-000009
转换为0-100的分数,用于表示用户当前的活跃度。具体包括:
Get the user's relative average speed through several bone points
Figure PCTCN2022094627-appb-000007
After that, you need to add
Figure PCTCN2022094627-appb-000008
It is converted into a more intuitive data, which makes it easier for users to intuitively see their current activity during exercise. Usually, the score of 0-100 can most intuitively reflect the user's activity for users, so in In this disclosure, the user's relative average speed
Figure PCTCN2022094627-appb-000009
Converted to a score of 0-100, used to indicate the user's current activity. Specifically include:
预设用户平均速度与活跃度分数的映射函数;Preset the mapping function of user average speed and activity score;
根据获取的用户的平均速度和映射函数获取活跃度分数。Get the liveness score according to the obtained average speed of the user and the mapping function.
在本公开中,映射函数可以为线性函数也可以为非线性函数,在预设映射函数时,当用户相对平均速度
Figure PCTCN2022094627-appb-000010
为0时,活跃度分数为0,当用户相对平均速度
Figure PCTCN2022094627-appb-000011
大于或等于预设的相对平均速度最大值时,活跃度分数为100。
In this disclosure, the mapping function can be a linear function or a nonlinear function. When the mapping function is preset, when the user's relative average speed
Figure PCTCN2022094627-appb-000010
When it is 0, the activity score is 0, when the user's relative average speed
Figure PCTCN2022094627-appb-000011
When greater than or equal to the preset relative average speed maximum, the liveness score is 100.
在本公开中,共预设有三个映射函数,分别为第一非线性函数、第二非线性函数和线性函数,在选择映射函数时,根据实际的情况进行选择,若希望分数随着用户的骨骼点运动均匀线性增加,就选择线性映射;如果希望用户随着运动的加快,分数快速上升,则选择第一非线性函数,如果希望用户很难达到一个高分值的运动量,就选用第二非线性函数。In this disclosure, there are three preset mapping functions, which are the first nonlinear function, the second nonlinear function and the linear function. When selecting the mapping function, choose according to the actual situation. If the movement of bone points increases evenly and linearly, choose linear mapping; if you want the user's score to rise rapidly as the movement speeds up, choose the first nonlinear function; if you want it difficult for the user to achieve a high-score exercise, choose the second non-linear function.
其中,第一非线性函数为:
Figure PCTCN2022094627-appb-000012
Among them, the first nonlinear function is:
Figure PCTCN2022094627-appb-000012
第二非线性函数为:
Figure PCTCN2022094627-appb-000013
The second nonlinear function is:
Figure PCTCN2022094627-appb-000013
第一非线性函数为:
Figure PCTCN2022094627-appb-000014
其中Vmax为预设的相对平均速度最大值。
The first nonlinear function is:
Figure PCTCN2022094627-appb-000014
Where Vmax is a preset relative average speed maximum value.
与本公开中的方法对应,本公开还提供了基于动作识别的人体活跃度检测系统,包括:Corresponding to the method in the present disclosure, the present disclosure also provides a human activity detection system based on motion recognition, including:
采集模块,用于在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;The collection module is used to collect user images in the area within the preset time T seconds to obtain continuous frames of motion images of the user;
第一计算模块,用于根据连续帧动作图像获取T秒内用户的平均速度;The first calculation module is used to obtain the average speed of the user in T seconds according to the continuous frame action images;
第二计算模块,用于根据用户的平均速度获取T秒内用户活跃度;The second calculation module is used to obtain user activity within T seconds according to the average speed of the user;
显示模块,用于显示用户活跃度。The display module is used to display user activity.
骨骼点模块,用于获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的坐标。The bone point module is used to obtain several bone points of the user in each action image and the corresponding coordinates of each bone point.
本公开的基于动作识别的人体活跃度检测系统可以执行与所述基于动作识别的人体活跃度检测方法相应的操作。The motion recognition-based human activity detection system of the present disclosure can perform operations corresponding to the motion recognition-based human body activity detection method.
与本公开中的方法对应,本公开还提供了一种电子装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述基于动作识别的人体活跃度检测方法。Corresponding to the method in the present disclosure, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the The computer program realizes the above-mentioned human activity detection method based on motion recognition.
与本公开中的方法对应,本公开还提供了一种存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述基于动作识别的人体活跃度检测方法的操作。Corresponding to the method in the present disclosure, the present disclosure also provides a storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned human activity detection method based on motion recognition is realized operation.
本公开提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided by the present disclosure have at least the following technical effects or advantages:
本公开通过用户连续帧动作图像获取用户的平均速度,根据平均速度获取用户在发生动作时的活跃度,获取的活跃度更加精准,并且对于小幅度动作,本公开通过连续帧动作图像也能更加准确的获取用户的平均速度,减小误差。This disclosure obtains the average speed of the user through the user's continuous frame action images, and obtains the user's activity when the action occurs according to the average speed, and the acquired activity is more accurate. Accurately obtain the average speed of users and reduce errors.
同时,本公开将活跃度转换为分数进行展现,在用户运动过程中对用户展现当前运动的活跃度,能更好激励用户运动,提高积极性。At the same time, the disclosure converts the activeness into scores for display, and shows the activeness of the current exercise to the user during the user's exercise, which can better motivate the user to exercise and improve enthusiasm.
附图说明Description of drawings
此处所说明的附图用来提供对本公开实施例的进一步理解,构成本申请的一部分,并不构成对本公开实施例的限定。在附图中:The drawings described here are used to provide further understanding of the embodiments of the present disclosure, constitute a part of the application, and do not limit the embodiments of the present disclosure. In the attached picture:
图1为基于动作识别的人体活跃度检测方法的流程示意图;FIG. 1 is a schematic flow chart of a human activity detection method based on motion recognition;
图2为基于动作识别的人体活跃度检测系统的组成示意图。FIG. 2 is a schematic diagram of the composition of a human activity detection system based on motion recognition.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面结合附图和具体实施方式对本公开进行进一步的详细描述。需要说明的是,在相互不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present disclosure more clearly, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, under the condition of not conflicting with each other, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但是,本公开还可以采用其他不同于在此描述范围内的其他方式来实施,因此,本公开的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present disclosure. However, the present disclosure can also be implemented in other ways different from the scope of this description. Therefore, the protection scope of the present disclosure is not limited by the following disclosure. limitations of specific examples.
本领域技术人员应理解的是,在本公开的揭露中,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系是基于附图所示的方位或位置关系,其仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此上述术语不能理解为对本公开的限制。Those skilled in the art should understand that, in the disclosure of the present disclosure, the terms "vertical", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientation or positional relationship indicated by "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, which are only for the convenience of describing the present disclosure and The above terms are not to be construed as limiting the present disclosure because the description is simplified rather than indicating or implying that the device or element referred to must have a particular orientation, be constructed, and operate in a particular orientation.
可以理解的是,术语“一”应理解为“至少一”或“一个或多个”,即在一个实施例中,一个元件的数量可以为一个,而在另外的实施例中,该元件的数量可以为多个,术语“一”不能理解为对数量的限制。It can be understood that the term "a" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element The quantity can be multiple, and the term "a" cannot be understood as a limitation on the quantity.
实施例一Embodiment one
请参考图1,图1为基于动作识别的人体活跃度检测方法的流程示意图,本公开提供了基于动作识别的人体活跃度检测方法,所述方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for detecting human activity based on motion recognition. The present disclosure provides a method for detecting human activity based on motion recognition. The method includes:
在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;Within the preset time T seconds, collect images of users in the area to obtain continuous frames of motion images of users;
根据连续帧动作图像获取T秒内用户的平均速度;Obtain the average speed of the user within T seconds according to the continuous frame action images;
根据用户的平均速度获取T秒内用户活跃度,并显示活跃度。Obtain user activity within T seconds according to the user's average speed, and display the activity.
在本实施例中,通过连续帧动作图像获取T秒内用户的平均速度有多种方法,可以为根据用户的动作类型,确定动作图像中的一个关键点或多个关键点或关键点之间的连线,在动作图像中建立坐标系,在T秒内,通过连续帧动作图像中该关键点的位置变换,得到T秒内用户的平均速度。In this embodiment, there are many ways to obtain the user's average speed within T seconds through continuous frames of motion images, which can be to determine one key point or multiple key points or between key points in the motion image according to the user's action type. A coordinate system is established in the action image, and within T seconds, the average speed of the user within T seconds is obtained through the position transformation of the key point in the continuous frames of the action image.
在本实施例中,在本实施例中用户的平均速度与活跃度预设有对应关系,当得到用户的平均速度后,根据预设对应关系可以直接得到活跃度,并进行展示,进而激励用户。In this embodiment, there is a preset corresponding relationship between the average speed of the user and the degree of activity in this embodiment. After obtaining the average speed of the user, the degree of activity can be directly obtained according to the preset corresponding relationship, and displayed, thereby motivating the user .
实施例二Embodiment two
在实施例一的基础上,本实施例选择多个骨骼点作为关键点来获取用户的平均速度,具体包括:On the basis of Embodiment 1, this embodiment selects multiple skeleton points as key points to obtain the average speed of the user, specifically including:
在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;Within the preset time T seconds, collect images of users in the area to obtain continuous frames of motion images of users;
获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Obtain several bone points of the user in each action image and the information corresponding to each bone point;
根据每个骨骼点对应的信息获取T秒内每个骨骼点的平均速度;Obtain the average speed of each bone point within T seconds according to the information corresponding to each bone point;
每个骨骼点对应的信息包括每个骨骼点对应的坐标,T秒内第j个骨骼点的平均速度:The information corresponding to each bone point includes the coordinates corresponding to each bone point, and the average speed of the jth bone point within T seconds:
Figure PCTCN2022094627-appb-000015
Figure PCTCN2022094627-appb-000015
其中n为T秒内包括的动作图像帧数,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。 Where n is the number of action image frames included in T seconds, (xi , y i ) is the coordinate of the skeleton point in the i-th action image, and j and i are both positive integers.
根据每个骨骼点的平均速度获取用户的平均速度;Obtain the user's average speed according to the average speed of each bone point;
每个骨骼点预设有权重w j,j为正整数,用户的平均速度: Each skeletal point is preset with a weight w j , j is a positive integer, and the user's average speed:
Figure PCTCN2022094627-appb-000016
Figure PCTCN2022094627-appb-000016
其中,T秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量。 Among them, the average speed of the j-th bone point within T seconds, w j is the preset weight of the j-th bone point, and m is the number of bone points of the user in the action image.
根据用户的平均速度获取T秒内用户活跃度,并显示活跃度。Obtain user activity within T seconds according to the user's average speed, and display the activity.
在本实施例中,若干骨骼点可以为12个骨骼点,也可以为14个骨骼点,还可以为16个骨骼点,在本实施例中并不对骨骼点的数量和位置进行限定,只要能分别代表手部、腿部和头部的移动即可。In this embodiment, several skeleton points can be 12 skeleton points, can also be 14 skeleton points, can also be 16 skeleton points, in this embodiment, the number and position of the skeleton points are not limited, as long as they can Representing the movement of the hands, legs and head respectively.
下面结合具体的例子对本公开中的基于动作识别的人体活跃度检测方法进行介绍:The method for detecting human activity based on motion recognition in the present disclosure will be introduced in conjunction with specific examples below:
操作1在预设时间1秒内,采集区域内用户图像,得到用户的连续的25帧动作图像;Operation 1 collects user images in the area within 1 second of the preset time, and obtains 25 consecutive frames of user's action images;
操作2获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Operation 2 obtains several bone points of the user in each action image and information corresponding to each bone point;
操作2.1将动作图像的左下角为原点,水平方向为x轴,竖直方向为y轴,单位长度为1像素建立直角坐标系,通过AI定位出动作图像中用户的16个骨骼点及16个骨骼点的坐标,包括头部、脖子、喉咙、胯部、左手、右手、左手肘、右手肘、左脚、右脚、左肩、右肩、左膝盖、右膝盖、左臀和右臀。Operation 2.1 Set the lower left corner of the action image as the origin, the horizontal direction as the x-axis, the vertical direction as the y-axis, and the unit length as 1 pixel to establish a rectangular coordinate system, and use AI to locate the 16 bone points and 16 bone points of the user in the action image. Coordinates of bone points, including head, neck, throat, crotch, left hand, right hand, left elbow, right elbow, left foot, right foot, left shoulder, right shoulder, left knee, right knee, left hip, and right hip.
操作3根据每个骨骼点对应的信息获取1秒内每个骨骼点的平均速度;Operation 3 Obtain the average speed of each bone point within 1 second according to the information corresponding to each bone point;
1秒内第j个骨骼点的平均速度:The average speed of the jth bone point within 1 second:
Figure PCTCN2022094627-appb-000017
Figure PCTCN2022094627-appb-000017
其中n为1秒内包括的动作图像帧数,在本实施例中n为25,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。头部、脖子、喉咙、胯部、左手、右手、左手肘、右手肘、左脚、右脚、左肩、右肩、左膝盖、右膝盖、左臀和右臀依次排序,即头部为序号1,右臀为序号16,v 1为头部骨骼点的平均速度,v 16为右臀骨骼点的平均速度,通过公式1分别计算出16个骨骼点在1秒内25帧动作图像的平均速度v jWhere n is the number of action image frames included in 1 second, in this embodiment n is 25, ( xi , y i ) is the coordinates of the skeleton point in the i-th action image, j and i are both positive integers . Head, neck, throat, crotch, left hand, right hand, left elbow, right elbow, left foot, right foot, left shoulder, right shoulder, left knee, right knee, left buttock and right buttock in order, that is, the head is the serial number 1. The right hip is number 16, v 1 is the average speed of the head bone points, v 16 is the average speed of the right hip bone points, and the average of 25 frames of motion images in 1 second for 16 bone points is calculated by formula 1 Velocity v j .
操作4根据每个骨骼点的平均速度获取用户的平均速度;Operation 4 obtains the user's average speed according to the average speed of each bone point;
每个骨骼点预设有权重w j,j为正整数,用户的平均速度: Each skeletal point is preset with a weight w j , j is a positive integer, and the user's average speed:
Figure PCTCN2022094627-appb-000018
Figure PCTCN2022094627-appb-000018
其中,1秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量,在本实施例中m为16。 Wherein, the average speed of the jth bone point within 1 second, wj is the preset weight of the jth bone point, m is the number of user's bone points in the action image, and m is 16 in this embodiment.
在本实施例中,头部、脖子、喉咙、胯部的权重为1,左手、右手、左手肘、右手肘的权重为1.5,左脚、右脚、左肩、右肩的权重为2.5,左膝盖、右膝盖的权重为4,左臀和右臀的权重为4.5。In this embodiment, the weights of the head, neck, throat, and crotch are 1, the weights of the left hand, right hand, left elbow, and right elbow are 1.5, the weights of the left foot, right foot, left shoulder, and right shoulder are 2.5, and the weights of the left and right hands are 1.5. Knee, right knee weight 4, left hip and right hip weight 4.5.
操作5根据用户的平均速度v和预设的人体基准距离s获取用户相对平均速度
Figure PCTCN2022094627-appb-000019
Operation 5 Obtain the user's relative average speed according to the user's average speed v and the preset human reference distance s
Figure PCTCN2022094627-appb-000019
Figure PCTCN2022094627-appb-000020
Figure PCTCN2022094627-appb-000020
在本实施例中,人体基准距离s通过喉咙骨骼点和胯部骨骼点铼确定,喉咙骨骼点坐标为(x1,y1),部的坐标为(x2,y2),则基准像素距离s:In this embodiment, the reference distance s of the human body is determined by the bone point of the throat and the bone point of the crotch, the coordinates of the bone point of the throat are (x1, y1), and the coordinates of the body are (x2, y2), then the reference pixel distance s:
S=sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)),即常见的两点欧式距离。S=sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)), that is, the common two-point Euclidean distance.
操作6根据用户相对平均速度
Figure PCTCN2022094627-appb-000021
获取活跃度分数;
Operation 6 according to the user's relative average speed
Figure PCTCN2022094627-appb-000021
Get activity score;
操作6.1预设用户平均速度与活跃度分数的映射函数;Operation 6.1 Preset the mapping function of user average speed and activity score;
第一非线性函数为:
Figure PCTCN2022094627-appb-000022
The first nonlinear function is:
Figure PCTCN2022094627-appb-000022
第二非线性函数为:
Figure PCTCN2022094627-appb-000023
The second nonlinear function is:
Figure PCTCN2022094627-appb-000023
第一非线性函数为:
Figure PCTCN2022094627-appb-000024
其中Vmax为预设的相对平均速度最大值;
The first nonlinear function is:
Figure PCTCN2022094627-appb-000024
Where Vmax is the preset relative average speed maximum value;
操作6.2将用户相对平均速度
Figure PCTCN2022094627-appb-000025
作为x带入操作6.1中的映射函数,当用户相对平均速度
Figure PCTCN2022094627-appb-000026
大于或等于预设的相对平均速度最大值时,活跃度分数为100。
Operation 6.2 Calculate the relative average speed of users
Figure PCTCN2022094627-appb-000025
As x is brought into the mapping function in operation 6.1, when the user's relative average speed
Figure PCTCN2022094627-appb-000026
When greater than or equal to the preset relative average speed maximum, the liveness score is 100.
在本实施例中,选择第一非线性函数为映射函数获取活跃度,得到活跃度后,显示活跃度分数。In this embodiment, the first non-linear function is selected as the mapping function to obtain activity, and after the activity is obtained, the activity score is displayed.
在本实施例中,本装置为智能健身镜,智能健身镜机体内置各类设备,正面设置有用于显示和镜像展示的镜面,用户在进行运动时,可通过智能健身镜的镜面显示活跃度。In this embodiment, the device is a smart fitness mirror. The body of the smart fitness mirror has built-in various equipment, and a mirror surface for display and mirror display is provided on the front. When the user is exercising, the mirror surface of the smart fitness mirror can display the activity level.
在本实施例中,用户在运动的过程中,不断在智能健身镜的镜面显示活跃度。在本实施例中T=1秒,每秒包括25帧动作图像,假设某个时间段的连续帧号是1、2、3、4、5、6、....100,总共大概4秒的时间里,分别计算1-25帧,2-26帧,3-27帧,....76-100帧里每个骨骼点的平均速度。即在每个时刻,都能算出该时刻的前25帧每个骨骼点的平均速度。进而在每个时刻都能显示用户的活跃度,达到更好的激励效果。In this embodiment, the user continuously displays the activity level on the mirror surface of the smart fitness mirror during the exercise. In this embodiment, T=1 second, including 25 frames of action images per second, assuming that the continuous frame numbers of a certain period of time are 1, 2, 3, 4, 5, 6, ... 100, a total of about 4 seconds In the time, calculate the average speed of each bone point in 1-25 frames, 2-26 frames, 3-27 frames, ... 76-100 frames. That is, at each moment, the average speed of each bone point in the first 25 frames at that moment can be calculated. In turn, the activity of the user can be displayed at every moment to achieve a better incentive effect.
实施例三Embodiment three
请参考图2,图2为基于动作识别的人体活跃度检测系统的组成示意图,本公开实施例三提供了基于动作识别的人体活跃度检测系统,在实施例一或二的基础上,所述系统包括:Please refer to FIG. 2. FIG. 2 is a schematic diagram of the composition of a human activity detection system based on motion recognition. Embodiment 3 of the present disclosure provides a human body activity detection system based on motion recognition. On the basis of Embodiment 1 or 2, the The system includes:
采集模块,用于在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;采集模块包括摄像头,在本实施例中,通过摄像头获取用户图像;The collection module is used to collect user images in the area within the preset time T seconds to obtain continuous frame action images of the user; the collection module includes a camera, and in this embodiment, the user image is obtained through the camera;
骨骼点模块,用于获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的坐标。The bone point module is used to obtain several bone points of the user in each action image and the corresponding coordinates of each bone point.
第一计算模块,用于根据连续帧动作图像获取T秒内用户的平均速度;The first calculation module is used to obtain the average speed of the user in T seconds according to the continuous frame action images;
第二计算模块,用于根据用户的平均速度获取T秒内用户活跃度;The second calculation module is used to obtain user activity within T seconds according to the average speed of the user;
显示模块,用于显示用户活跃度。The display module is used to display user activity.
其中,第一计算模块用于根据连续帧动作图像中的若干骨骼点及每个骨骼点对应的坐标获取T秒内用户的平均速度。Wherein, the first calculation module is used to obtain the average speed of the user within T seconds according to several skeleton points in the continuous frames of action images and the coordinates corresponding to each skeleton point.
本实施例的基于动作识别的人体活跃度检测系统可以执行与实施例一和/或实施例二的基于动作识别的人体活跃度检测方法相应的操作。The system for detecting human activity based on motion recognition in this embodiment may perform operations corresponding to the method for detecting human activity based on motion recognition in Embodiment 1 and/or Embodiment 2.
实施例四Embodiment four
本公开实施例四提供了一种电子装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述基于动作识别的人体活跃度检测方法。Embodiment 4 of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the Human activity detection method based on action recognition.
其中,所述处理器可以是中央处理器,还可以是其他通用处理器、数字信号处理器、专用集成电路、现成可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Wherein, the processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的数据,实现本公开中基于动作识别的人体活跃度检测装置的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等。此外,存储器可以包括高速随机存取存储器、还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡,安全数字卡,闪存卡、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store the computer programs and/or modules, and the processor can implement various functions of the motion recognition-based human activity detection device in the present disclosure by running or executing the data stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.) and the like. In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disk, internal memory, plug-in hard disk, smart memory card, secure digital card, flash memory card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state memory devices.
实施例五Embodiment five
本公开实施例五提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现所述基于动作识别的人体活跃度检测方法的操作。Embodiment 5 of the present disclosure provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the operation of the method for detecting human activity based on motion recognition is realized. .
本公开实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线 的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ReadOnlyMemory,ROM)、可擦式可编程只读存储器((ErasableProgrammableReadOnlyMemory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present disclosure may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more conductors, portable computer disks, hard disks, random access memory (RAM), read-only memory (ReadOnlyMemory, ROM ), erasable programmable read-only memory ((ErasableProgrammableReadOnlyMemory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
尽管已描述了本公开的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本公开范围的所有变更和修改。While preferred embodiments of the present disclosure have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the present disclosure.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。It is obvious that those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies thereof, the present disclosure also intends to include these modifications and variations.

Claims (19)

  1. 基于动作识别的人体活跃度检测方法,包括:Human activity detection method based on action recognition, including:
    在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;Within the preset time T seconds, collect images of users in the area to obtain continuous frames of motion images of users;
    根据连续帧动作图像获取T秒内用户的平均速度;Obtain the average speed of the user within T seconds according to the continuous frame action images;
    根据用户的平均速度获取T秒内用户活跃度,并显示活跃度。Obtain user activity within T seconds according to the user's average speed, and display the activity.
  2. 根据权利要求1所述的基于动作识别的人体活跃度检测方法,其中,根据连续帧动作图像获取T秒内用户的平均速度,具体包括:The human body activity detection method based on motion recognition according to claim 1, wherein the average speed of the user within T seconds is obtained according to continuous frame motion images, specifically comprising:
    获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Obtain several bone points of the user in each action image and the information corresponding to each bone point;
    根据每个骨骼点对应的信息获取T秒内每个骨骼点的平均速度;Obtain the average speed of each bone point within T seconds according to the information corresponding to each bone point;
    根据每个骨骼点的平均速度获取用户的平均速度。Get the user's average speed based on the average speed of each bone point.
  3. 根据权利要求2所述的基于动作识别的人体活跃度检测方法,其中,每个骨骼点对应的信息包括每个骨骼点对应的坐标,The human body activity detection method based on action recognition according to claim 2, wherein the information corresponding to each skeletal point includes the coordinates corresponding to each skeletal point,
    T秒内第j个骨骼点的平均速度:The average speed of the jth bone point within T seconds:
    Figure PCTCN2022094627-appb-100001
    Figure PCTCN2022094627-appb-100001
    n为T秒内包括的动作图像帧数,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。 n is the number of action image frames included in T seconds, ( xi , y i ) is the coordinate of the skeleton point in the i-th action image, j and i are both positive integers.
  4. 根据权利要求2或3所述的基于动作识别的人体活跃度检测方法,其中,每个骨骼点预设有权重w j,j为正整数,用户的平均速度: The human activity detection method based on action recognition according to claim 2 or 3, wherein each skeletal point is preset with a weight w j , j is a positive integer, and the average speed of the user is:
    Figure PCTCN2022094627-appb-100002
    Figure PCTCN2022094627-appb-100002
    v j为T秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量。 v j is the average velocity of the j-th bone point within T seconds, w j is the preset weight of the j-th bone point, and m is the number of bone points of the user in the action image.
  5. 根据权利要求2-4任一项所述的基于动作识别的人体活跃度检测方法,其中,根据用户的平均速度和预设的人体基准距离获取用户相对平均速度,根据用户相对平均速度获取T秒内用户活跃度。The human body activity detection method based on motion recognition according to any one of claims 2-4, wherein the user's relative average speed is obtained according to the user's average speed and the preset human body reference distance, and T seconds is obtained according to the user's relative average speed internal user activity.
  6. 根据权利要求1所述的基于动作识别的人体活跃度检测方法,其中,根据用户的平均速度获取T秒内用户活跃度,具体包括:The human body activity detection method based on action recognition according to claim 1, wherein the user activity within T seconds is obtained according to the user's average speed, specifically comprising:
    预设用户平均速度与活跃度分数的映射函数;Preset the mapping function of user average speed and activity score;
    根据获取的用户的平均速度和映射函数获取活跃度分数。Get the liveness score according to the obtained average speed of the user and the mapping function.
  7. 基于动作识别的人体活跃度检测系统,包括:Human activity detection system based on motion recognition, including:
    采集模块,用于在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;The collection module is used to collect user images in the area within the preset time T seconds to obtain continuous frames of motion images of the user;
    第一计算模块,用于根据连续帧动作图像获取T秒内用户的平均速度;The first calculation module is used to obtain the average speed of the user in T seconds according to the continuous frame action images;
    第二计算模块,用于根据用户的平均速度获取T秒内用户活跃度;The second calculation module is used to obtain user activity within T seconds according to the average speed of the user;
    显示模块,用于显示用户活跃度。The display module is used to display user activity.
  8. 根据权利要求7所述的基于动作识别的人体活跃度检测系统,还包括:The human activity detection system based on action recognition according to claim 7, further comprising:
    骨骼点模块,用于获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的坐标。The bone point module is used to obtain several bone points of the user in each action image and the corresponding coordinates of each bone point.
  9. 根据权利要求7所述的基于动作识别的人体活跃度检测系统,其中,所述第一计算模块具体执行:The human activity detection system based on action recognition according to claim 7, wherein the first calculation module specifically executes:
    获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Obtain several bone points of the user in each action image and the information corresponding to each bone point;
    根据每个骨骼点对应的信息获取T秒内每个骨骼点的平均速度;Obtain the average speed of each bone point within T seconds according to the information corresponding to each bone point;
    根据每个骨骼点的平均速度获取用户的平均速度。Get the user's average speed based on the average speed of each bone point.
  10. 根据权利要求9所述的基于动作识别的人体活跃度检测系统,其中,每个骨骼点对应的信息包括每个骨骼点对应的坐标,The human activity detection system based on action recognition according to claim 9, wherein the information corresponding to each skeletal point includes the coordinates corresponding to each skeletal point,
    T秒内第j个骨骼点的平均速度:The average speed of the jth bone point within T seconds:
    Figure PCTCN2022094627-appb-100003
    Figure PCTCN2022094627-appb-100003
    n为T秒内包括的动作图像帧数,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。 n is the number of action image frames included in T seconds, ( xi , y i ) is the coordinate of the skeleton point in the i-th action image, j and i are both positive integers.
  11. 根据权利要求9或10所述的基于动作识别的人体活跃度检测系统,其中,The human body activity detection system based on motion recognition according to claim 9 or 10, wherein,
    每个骨骼点预设有权重w j,j为正整数,用户的平均速度: Each skeletal point is preset with a weight w j , j is a positive integer, and the user's average speed:
    Figure PCTCN2022094627-appb-100004
    Figure PCTCN2022094627-appb-100004
    v j为T秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量。 v j is the average velocity of the j-th bone point within T seconds, w j is the preset weight of the j-th bone point, and m is the number of bone points of the user in the action image.
  12. 根据权利要求9-11任一项所述的基于动作识别的人体活跃度检测系统,其中,The human activity detection system based on motion recognition according to any one of claims 9-11, wherein,
    第二计算模块根据用户的平均速度和预设的人体基准距离获取用户相对平均速度,根据用户相对平均速度获取T秒内用户活跃度。The second calculation module obtains the user's relative average speed according to the user's average speed and the preset human body reference distance, and obtains the user's activity within T seconds according to the user's relative average speed.
  13. 根据权利要求7所述的基于动作识别的人体活跃度检测系统,其中,第二计算模块根据用户的平均速度获取T秒内用户活跃度,具体包括:The human body activity detection system based on action recognition according to claim 7, wherein the second calculation module acquires user activity within T seconds according to the user's average speed, specifically comprising:
    预设用户平均速度与活跃度分数的映射函数;Preset the mapping function of user average speed and activity score;
    根据获取的用户的平均速度和映射函数获取活跃度分数。Get the liveness score according to the obtained average speed of the user and the mapping function.
  14. 一种存储介质,所述计算机可读存储介质存储有计算机程序,其中,所述计算机程序被处理器执行时实现以下基于动作识别的人体活跃度检测方法的操作:A storage medium, the computer-readable storage medium stores a computer program, wherein, when the computer program is executed by a processor, the following operations of the human body activity detection method based on motion recognition are realized:
    在预设时间T秒内,采集区域内用户图像,得到用户的连续帧动作图像;Within the preset time T seconds, collect images of users in the area to obtain continuous frames of motion images of users;
    根据连续帧动作图像获取T秒内用户的平均速度;Obtain the average speed of the user within T seconds according to the continuous frame action images;
    根据用户的平均速度获取T秒内用户活跃度,并显示活跃度。Obtain user activity within T seconds according to the user's average speed, and display the activity.
  15. 根据权利要求14所述的存储介质,其中,根据连续帧动作图像获取T秒内用户的平均速度,具体包括:The storage medium according to claim 14, wherein obtaining the average speed of the user within T seconds according to the continuous frames of action images specifically includes:
    获取每个动作图像中用户的若干骨骼点及每个骨骼点对应的信息;Obtain several bone points of the user in each action image and the information corresponding to each bone point;
    根据每个骨骼点对应的信息获取T秒内每个骨骼点的平均速度;Obtain the average speed of each bone point within T seconds according to the information corresponding to each bone point;
    根据每个骨骼点的平均速度获取用户的平均速度。Get the user's average speed based on the average speed of each bone point.
  16. 根据权利要求15所述的存储介质,其中,每个骨骼点对应的信息包括每个骨骼点对应的坐标,The storage medium according to claim 15, wherein the information corresponding to each skeletal point includes the coordinates corresponding to each skeletal point,
    T秒内第j个骨骼点的平均速度:The average speed of the jth bone point within T seconds:
    Figure PCTCN2022094627-appb-100005
    Figure PCTCN2022094627-appb-100005
    n为T秒内包括的动作图像帧数,(x i,y i)为该骨骼点在第i个动作图像中的坐标,j和i均为正整数。 n is the number of action image frames included in T seconds, ( xi , y i ) is the coordinate of the skeleton point in the i-th action image, j and i are both positive integers.
  17. 根据权利要求15或16所述的存储介质,其中,每个骨骼点预设有权重w j,j为正整数,用户的平均速度: The storage medium according to claim 15 or 16, wherein each skeletal point is preset with a weight w j , j is a positive integer, and the average speed of the user is:
    Figure PCTCN2022094627-appb-100006
    Figure PCTCN2022094627-appb-100006
    v j为T秒内第j个骨骼点的平均速度,w j为第j个骨骼点预设的权重,m为动作图像中用户的骨骼点数量。 v j is the average velocity of the j-th bone point within T seconds, w j is the preset weight of the j-th bone point, and m is the number of bone points of the user in the action image.
  18. 根据权利要求15-17任一项所述的存储介质,其中,根据用户的平均速度和预设的人体基准距离获取用户相对平均速度,根据用户相对平均速度获取T秒内用户活跃度。The storage medium according to any one of claims 15-17, wherein the user's relative average speed is obtained according to the user's average speed and the preset human body reference distance, and the user's activity within T seconds is obtained according to the user's relative average speed.
  19. 根据权利要求14所述的存储介质,其中,根据用户的平均速度获取T秒内用户活跃度,具体包括:The storage medium according to claim 14, wherein obtaining user activity within T seconds according to the average speed of the user specifically includes:
    预设用户平均速度与活跃度分数的映射函数;Preset the mapping function of user average speed and activity score;
    根据获取的用户的平均速度和映射函数获取活跃度分数。Get the liveness score according to the obtained average speed of the user and the mapping function.
PCT/CN2022/094627 2022-02-10 2022-05-24 Action-recognition-based human body activity level measurement method, system and apparatus, and medium WO2023151200A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210125184.9A CN116631045A (en) 2022-02-10 2022-02-10 Human body liveness detection method, system and device based on action recognition and medium
CN202210125184.9 2022-02-10

Publications (1)

Publication Number Publication Date
WO2023151200A1 true WO2023151200A1 (en) 2023-08-17

Family

ID=87563517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094627 WO2023151200A1 (en) 2022-02-10 2022-05-24 Action-recognition-based human body activity level measurement method, system and apparatus, and medium

Country Status (2)

Country Link
CN (1) CN116631045A (en)
WO (1) WO2023151200A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035557A (en) * 2014-05-22 2014-09-10 华南理工大学 Kinect action identification method based on joint activeness
CN110338804A (en) * 2019-07-02 2019-10-18 中山大学 Human body liveness appraisal procedure based on action recognition
CN112169296A (en) * 2019-07-05 2021-01-05 华为技术有限公司 Motion data monitoring method and device
WO2021240679A1 (en) * 2020-05-27 2021-12-02 日本電気株式会社 Video processing device, video processing method, and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035557A (en) * 2014-05-22 2014-09-10 华南理工大学 Kinect action identification method based on joint activeness
CN110338804A (en) * 2019-07-02 2019-10-18 中山大学 Human body liveness appraisal procedure based on action recognition
CN112169296A (en) * 2019-07-05 2021-01-05 华为技术有限公司 Motion data monitoring method and device
WO2021240679A1 (en) * 2020-05-27 2021-12-02 日本電気株式会社 Video processing device, video processing method, and recording medium

Also Published As

Publication number Publication date
CN116631045A (en) 2023-08-22

Similar Documents

Publication Publication Date Title
WO2021129064A1 (en) Posture acquisition method and device, and key point coordinate positioning model training method and device
US11948401B2 (en) AI-based physical function assessment system
TW452723B (en) Method and apparatus for three-dimensional input entry
CN109343700B (en) Eye movement control calibration data acquisition method and device
TWI512645B (en) Gesture recognition apparatus and method using depth images
Chen et al. User-defined gestures for gestural interaction: extending from hands to other body parts
GB2498299B (en) Evaluating an input relative to a display
CN109375765B (en) Eyeball tracking interaction method and device
CN106874826A (en) Face key point-tracking method and device
CN103201710A (en) Image processing system, image processing method, and storage medium storing image processing program
CN104461176A (en) Information processor, processing method, and projection system
WO2022237055A1 (en) Virtual keyboard interaction method and system
Marinoiu et al. Pictorial human spaces: How well do humans perceive a 3d articulated pose?
WO2023151200A1 (en) Action-recognition-based human body activity level measurement method, system and apparatus, and medium
Dhamanaskar et al. Enhancing egocentric 3d pose estimation with third person views
Ueng et al. Vision based multi-user human computer interaction
CN105446490A (en) Interactive interface switching method and system for education machine
Lin et al. Automatic upright orientation and good view recognition for 3D man-made models
CN115006822A (en) Intelligent fitness mirror control system
CN116266415A (en) Action evaluation method, system and device based on body building teaching training and medium
CN111739086A (en) Method and device for measuring area, electronic equipment and storage medium
CN111739098A (en) Speed measuring method and device, electronic equipment and storage medium
WO2019134606A1 (en) Terminal control method, device, storage medium, and electronic apparatus
Liu et al. New anti-blur and illumination-robust combined invariant for stereo vision in human belly reconstruction
Sielski et al. Comparative analysis of multitouch interactive surfaces

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22925559

Country of ref document: EP

Kind code of ref document: A1