JP2024016487A - Training movement counting program, training movement counting device, and training movement counting system - Google Patents

Training movement counting program, training movement counting device, and training movement counting system Download PDF

Info

Publication number
JP2024016487A
JP2024016487A JP2022118644A JP2022118644A JP2024016487A JP 2024016487 A JP2024016487 A JP 2024016487A JP 2022118644 A JP2022118644 A JP 2022118644A JP 2022118644 A JP2022118644 A JP 2022118644A JP 2024016487 A JP2024016487 A JP 2024016487A
Authority
JP
Japan
Prior art keywords
training
motion
determination
joint
counting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022118644A
Other languages
Japanese (ja)
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 サクサ株式会社
Priority to JP2022118644A priority Critical patent/JP2024016487A/en
Publication of JP2024016487A publication Critical patent/JP2024016487A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】トレーニング動作の撮影に関する自由度が大きく、高いユーザビリティを得る。【解決手段】本発明のトレーニング動作カウント装置10は、記憶装置15に、トレーニング動作の際に、所定の関節を基準として、前記所定の関節との位置関係が変化する身体の骨格における部位を記憶しておき、演算処理装置16が、トレーニング動作を撮影した映像の身体の骨格情報から関節Pjと上方部位Pの位置を示す位置情報を取得し、これらの位置情報に基づいて関節Pjに対する上方部位Pの垂直位置Hを検出し、垂直位置Hを上方判定位置Saと比較し、得られた比較結果に基づいてトレーニング動作の有効性を判定する。【選択図】 図1An object of the present invention is to provide a high degree of freedom in photographing training motions and achieve high usability. A training motion counting device 10 of the present invention stores, in a storage device 15, a region in a body skeleton whose positional relationship with a predetermined joint changes with respect to a predetermined joint during a training motion. In advance, the arithmetic processing unit 16 acquires positional information indicating the positions of the joint Pj and the upper part P from the body skeletal information of the video taken of the training motion, and based on this positional information, determines the position of the upper part Pj with respect to the joint Pj. The vertical position H of P is detected, the vertical position H is compared with the upper determination position Sa, and the effectiveness of the training motion is determined based on the obtained comparison result. [Selection diagram] Figure 1

Description

本発明は、トレーニング動作を撮影した映像を解析して有効性のある動作の回数をカウントするトレーニング動作カウント技術に関する。 The present invention relates to a training motion counting technique that analyzes videos of training motions and counts the number of effective motions.

人が健康の維持や促進を目的として個人的にトレーニング動作を行う場合、そのトレーニング動作を容易かつ客観的に評価する必要がある。このようなトレーニング動作を評価するための技術として、従来、トレーニング動作を撮影した映像を解析して身体の骨格情報を抽出し、得られた骨格情報から検出した身体の姿勢変化が、所定の判定条件を充足しているか否かに基づいて、トレーニング動作の有効性を評価し、有効性が認められた動作の回数を自動的にカウントするトレーニング動作カウント技術が提案されている(例えば、特許文献1など参照)。 When a person personally performs training movements for the purpose of maintaining or promoting health, it is necessary to easily and objectively evaluate the training movements. Conventionally, as a technology for evaluating such training movements, body skeletal information is extracted by analyzing videos taken of training movements, and changes in body posture detected from the obtained skeletal information are used for predetermined judgments. Training motion counting technology has been proposed that evaluates the effectiveness of training motions based on whether conditions are satisfied and automatically counts the number of motions that are recognized to be effective (for example, Patent Document (See 1 etc.)

特開2020-195573号公報Japanese Patent Application Publication No. 2020-195573

前述した従来技術では、トレーニング動作の有効性を判定する判定条件として、そのトレーニング動作で繰り返される特徴的な姿勢における関節動作の角度を予め設定しておき、映像を解析して得られた骨格情報から対象となる関節の角度を取得して、判定条件と比較している。例えばスクワット動作であれば、映像から得られた膝を曲げた時の膝角度が判定角度を満たしていれば、カウント適否を判断するための重要な姿勢の1つであるしゃがんだ姿勢であると判定される。 In the conventional technology described above, the angle of joint movement in a characteristic posture that is repeated in the training movement is set in advance as a criterion for determining the effectiveness of the training movement, and skeletal information obtained by analyzing the video is used. The angle of the target joint is obtained from the above and compared with the judgment conditions. For example, in the case of a squat motion, if the knee angle when bending the knee obtained from the video satisfies the judgment angle, it is considered to be a squatting posture, which is one of the important postures for determining whether or not counting is appropriate. It will be judged.

しかしながら、対象となる関節の角度は、トレーニング動作を撮影するカメラの位置によって変化しやすい。このため、有効な姿勢か否かを正確に判定するためには、カメラと身体の向きを厳密に調整する必要があるという問題点があった。 However, the angle of the target joint tends to change depending on the position of the camera that photographs the training motion. Therefore, in order to accurately determine whether or not the posture is valid, there is a problem in that it is necessary to precisely adjust the orientation of the camera and the body.

例えば、膝角度が60度である姿勢の場合、カメラの位置が膝の真横方向にある場合に正しく60度と検出できる。これは、膝角度を特定する3つの部位が存在する平面を、その平面の垂直方向からカメラで撮影しているからである。しかし、カメラの位置が真横方向から前後斜め方向にずれると、60度の膝角度は60度より大きな角度として検出される。これは、カメラの位置ずれによって、膝角度を特定する3つの部位が存在する平面を、前後斜め方向から撮影することになるからである。 For example, in the case of a posture in which the knee angle is 60 degrees, the angle of 60 degrees can be correctly detected if the camera is positioned directly beside the knees. This is because the plane in which the three parts for specifying the knee angle are present is photographed by the camera from a direction perpendicular to the plane. However, if the camera position deviates from the lateral direction to the front-rear diagonal direction, the knee angle of 60 degrees is detected as an angle larger than 60 degrees. This is because due to the positional shift of the camera, the plane in which the three parts for specifying the knee angle are present will be photographed from the front and back diagonal directions.

したがって、従来において、有効な姿勢か否かを正確に判定するには、トレーニング内容すなわち判定対象となる関節動作に応じて、カメラの位置や身体の向きを精度よく調整する必要がある。このため、従来技術は、トレーニング動作の撮影に関する自由度が乏しく、トレーニング動作をカウントする技術として、高いユーザビリティを得ることができない。 Therefore, conventionally, in order to accurately determine whether a posture is valid or not, it is necessary to accurately adjust the camera position and body orientation according to the training content, that is, the joint motion to be determined. For this reason, the conventional technology has a poor degree of freedom in photographing training motions, and cannot provide high usability as a technique for counting training motions.

本発明はこのような課題を解決するためのものであり、トレーニング動作の撮影に関する自由度が大きく、高いユーザビリティを得ることができるトレーニング動作カウント技術を提供することを目的としている。 The present invention is intended to solve such problems, and aims to provide a training motion counting technique that has a large degree of freedom in photographing training motions and can provide high usability.

このような目的を達成するために、本発明にかかるトレーニング動作カウントプログラムは、トレーニング動作の際に、所定の関節を基準として、前記所定の関節との位置関係が変化する身体の骨格における部位を記憶する記憶装置と、トレーニング動作を撮影した映像の身体の骨格情報から取得した前記所定の関節と前記部位の位置関係の変化に基づいて、前記トレーニング動作の回数をカウントする演算処理装置とを備えるトレーニング動作カウント装置で用いられるトレーニング動作カウントプログラムであって、前記演算処理装置に、前記所定の関節と前記部位の位置を示す位置情報を取得する位置情報取得ステップと、前記位置情報に基づいて前記所定の関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定する動作判定ステップと、前記有効性が認められたトレーニング動作の回数をカウントするカウントステップとを実行させるように構成されている。 In order to achieve such an object, the training motion counting program according to the present invention uses a predetermined joint as a reference and identifies parts of the body skeleton whose positional relationship with the predetermined joint changes during a training motion. A processing device that counts the number of times the training motion is performed based on a change in the positional relationship between the predetermined joint and the body part acquired from body skeletal information of a video of the training motion. A training motion counting program used in a training motion counting device, the program comprising: a position information acquisition step of acquiring, in the arithmetic processing device, position information indicating the positions of the predetermined joint and the body part; a motion determination step of detecting a vertical position of the part with respect to a predetermined joint, comparing the vertical position with a preset determination position, and determining the effectiveness of the training motion based on the obtained comparison result; and a counting step of counting the number of training movements for which effectiveness has been recognized.

また、本発明にかかるトレーニング動作カウントプログラムの一構成例は、前記動作判定ステップは、前記演算処理装置が、前記位置情報に基づいて前記関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている上方判定位置および下方判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定するステップからなるように構成されている。 Further, in one configuration example of the training motion counting program according to the present invention, in the motion determination step, the arithmetic processing device detects a vertical position of the part with respect to the joint based on the position information, and determines the vertical position. The method is configured to include a step of comparing with a preset upper determination position and a lower determination position, and determining the effectiveness of the training motion based on the obtained comparison result.

また、本発明にかかるトレーニング動作カウント装置は、トレーニング動作の際に、所定の関節を基準として、前記所定の関節との位置関係が変化する身体の骨格における部位を記憶する記憶装置と、トレーニング動作を撮影した映像の身体の骨格情報から取得した前記所定の関節と前記部位の位置関係の変化に基づいて、前記トレーニング動作の回数をカウントする演算処理装置とを備え、前記演算処理装置は、前記骨格情報から前記所定の関節と前記部位の位置を示す位置情報を取得する位置情報取得部と、前記位置情報に基づいて前記所定の関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定する動作判定部と、前記有効性が認められたトレーニング動作の回数をカウントするカウント部とを備えるように構成されている。 Further, the training motion counting device according to the present invention includes a storage device that stores, with respect to a predetermined joint, a part in a body skeleton whose positional relationship with the predetermined joint changes during a training motion; an arithmetic processing device that counts the number of training movements based on a change in the positional relationship between the predetermined joint and the body part obtained from body skeletal information in a video shot of the a position information acquisition unit that acquires position information indicating the position of the predetermined joint and the part from skeletal information; and a position information acquisition unit that detects the vertical position of the part with respect to the predetermined joint based on the position information, and determines the vertical position in advance. a motion determining section that compares the training motion with a set determination position and determines the effectiveness of the training motion based on the obtained comparison result; and a counting section that counts the number of times the training motion has been found to be effective. It is configured to be equipped.

また、本発明にかかるトレーニング動作カウントシステムは、上記のトレーニング動作カウント装置と、トレーニング動作を撮影した映像を、通信回線を介して前記トレーニング動作カウント装置へ送信するカメラ端末とを備え、前記トレーニング動作カウント装置は、前記カメラ端末から受信した前記映像に基づいて前記トレーニング動作の回数をカウントするように構成されている。 Further, a training motion counting system according to the present invention includes the above-described training motion counting device and a camera terminal that transmits an image of a training motion to the training motion counting device via a communication line, The counting device is configured to count the number of training movements based on the video received from the camera terminal.

本発明によれば、トレーニング動作を撮影した映像を解析して有効性のある動作の回数をカウントする場合、トレーニング動作の撮影に関する自由度が大きく、高いユーザビリティを得ることができる。 According to the present invention, when a video of a training motion is analyzed to count the number of effective motions, the degree of freedom regarding the shooting of the training motion is large, and high usability can be obtained.

図1は、第1の実施の形態にかかるトレーニング動作カウント装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a training motion counting device according to a first embodiment. 図2は、部位データの構成例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of the structure of part data. 図3は、骨格情報を示す説明図である。FIG. 3 is an explanatory diagram showing skeleton information. 図4は、第1の実施の形態にかかる判定データの構成例を示す説明図である。FIG. 4 is an explanatory diagram showing a configuration example of determination data according to the first embodiment. 図5は、第1の実施の形態にかかるスクワット動作で用いる垂直位置と判定データとの関係(側面)を示す説明図である。FIG. 5 is an explanatory diagram showing the relationship (side view) between the vertical position and determination data used in the squat motion according to the first embodiment. 図6は、基準姿勢からの基準垂直位置の検出を示す説明図である。FIG. 6 is an explanatory diagram showing detection of a reference vertical position from a reference posture. 図7は、第1の実施の形態にかかるトレーニング動作カウント装置の動作を示すフローチャートである。FIG. 7 is a flowchart showing the operation of the training motion counting device according to the first embodiment. 図8は、スクワット動作で用いる垂直位置と判定データの関係(正面)を示す説明図である。FIG. 8 is an explanatory diagram showing the relationship (front view) between the vertical position and the determination data used in the squat motion. 図9は、腕立て伏せ動作で用いる垂直位置と判定データの関係(側面)を示す説明図である。FIG. 9 is an explanatory diagram showing the relationship (side view) between the vertical position and the determination data used in the push-up motion. 図10は、腹筋動作で用いる垂直位置と判定データの関係(側面)を示す説明図である。FIG. 10 is an explanatory diagram showing the relationship (side view) between the vertical position and the determination data used in the abdominal muscle movement. 図11は、第2の実施の形態にかかる判定データの構成例を示す説明図である。FIG. 11 is an explanatory diagram showing a configuration example of determination data according to the second embodiment. 図12は、第2の実施の形態にかかるスクワット動作で用いる垂直位置と判定データとの関係(側面)を示す説明図である。FIG. 12 is an explanatory diagram showing the relationship (side view) between the vertical position and determination data used in the squat motion according to the second embodiment. 図13は、第2の実施の形態にかかるトレーニング動作カウント装置の動作を示すフローチャートである。FIG. 13 is a flowchart showing the operation of the training motion counting device according to the second embodiment.

次に、本発明の実施の形態について図面を参照して説明する。
[第1の実施の形態]
まず、図1を参照して、本発明の第1の実施の形態にかかるトレーニング動作カウント装置について説明する。図1は、第1の実施の形態にかかるトレーニング動作カウント装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
[First embodiment]
First, with reference to FIG. 1, a training motion counting device according to a first embodiment of the present invention will be described. FIG. 1 is a block diagram showing the configuration of a training motion counting device according to a first embodiment.

このトレーニング動作カウント装置10は、全体としてPCやサーバーなどのコンピュータからなり、トレーニング動作を撮影した映像を解析して有効性のあるトレーニング動作の回数を自動的にカウントするように構成されている。 This training motion counting device 10 is made up of a computer such as a PC or a server, and is configured to automatically count the number of effective training motions by analyzing video footage of training motions.

[本発明の原理]
一般に、トレーニング動作において、ある関節を動かした場合、その関節に接続されている骨が関節を基準として回動するため、関節とその骨のうち関節とは反対側に位置する部位との位置関係が大きく変化する。ここで、部位を回動時において主に関節より上方に位置する上方部位に限定すると、これら関節と上方部位との位置関係の変化は、関節に対する上方部位の、上方向における垂直位置、すなわち主に正の値を示す垂直位置の変化として検出することができる。また、この垂直位置は、骨格情報が得られれば特定できるため、関節動作時における垂直位置の変化度合は、カメラの位置や身体の向きが変化しても、その影響を受けにくい。
[Principle of the present invention]
Generally, when a certain joint is moved during a training motion, the bones connected to that joint rotate with respect to the joint, so the positional relationship between the joint and the part of that bone located on the opposite side of the joint changes significantly. Here, if we limit the parts to the upper part that is mainly located above the joint during rotation, the change in the positional relationship between these joints and the upper part will be the vertical position of the upper part with respect to the joint, that is, the main part. can be detected as a change in vertical position that shows a positive value. Furthermore, since this vertical position can be specified if skeletal information is obtained, the degree of change in the vertical position during joint movement is not easily affected by changes in the camera position or body orientation.

本発明は、このような関節に対する上方部位の垂直位置が持つ特徴に着目し、トレーニング動作を撮影した映像から関節と関節に対する上方部位の位置を検出して、関節に対する上方部位の垂直位置を検出し、得られた垂直位置と予め設定されている上方判定位置との比較結果に基づいて、トレーニング動作の有効性を判定し、有効性が認められたトレーニング動作の回数を自動的にカウントするように構成したものである。 The present invention focuses on the characteristics of the vertical position of the upper part with respect to the joint, detects the joint and the position of the upper part with respect to the joint from the video of the training motion, and detects the vertical position of the upper part with respect to the joint. Then, the effectiveness of the training motion is determined based on the comparison result between the obtained vertical position and a preset upper determination position, and the number of training motions that are found to be effective is automatically counted. It is composed of

トレーニング動作カウント装置10は、主な構成として、通信I/F11、操作入力装置12、画面表示装置13、カメラ14、記憶装置15、および演算処理装置16を備えている。 The training motion counting device 10 mainly includes a communication I/F 11, an operation input device 12, a screen display device 13, a camera 14, a storage device 15, and an arithmetic processing device 16.

[通信I/F]
通信I/F11は、インターネットなどの通信網NWを経由した通信回線LNを介してスマートホンなどのカメラ端末20と接続し、各種データ通信を行うことにより、トレーニング動作の映像などの各種データをやり取りするように構成されている。本実施の形態では、カメラ端末20で撮影されたトレーニング動作の映像を、通信I/F11を介してトレーニング動作カウント装置10が受信し、得られた映像に基づいてトレーニング動作の動作回数をカウントする場合を例として説明する。
[Communication I/F]
The communication I/F 11 connects to a camera terminal 20 such as a smart phone via a communication line LN via a communication network NW such as the Internet, and performs various data communications to exchange various data such as videos of training movements. is configured to do so. In this embodiment, the training motion counting device 10 receives a video of a training motion captured by the camera terminal 20 via the communication I/F 11, and counts the number of training motions based on the obtained video. A case will be explained as an example.

このようなトレーニング動作カウント装置10とカメラ端末20とを含むシステムをトレーニング動作カウントシステムという。トレーニング動作カウントシステムでは、トレーニング動作カウント装置10で得られた動作回数などのカウント結果をカメラ端末20へ送信することも可能である。 A system including such a training motion counting device 10 and a camera terminal 20 is referred to as a training motion counting system. In the training motion counting system, it is also possible to transmit count results such as the number of motions obtained by the training motion counting device 10 to the camera terminal 20.

[操作入力装置]
操作入力装置12は、キーボード、マウス、タッチキーなどの操作入力装置からなり、オペレータやユーザの操作を検出して演算処理装置16へ出力する機能を有している。
[Operation input device]
The operation input device 12 is composed of an operation input device such as a keyboard, a mouse, a touch key, etc., and has a function of detecting an operation by an operator or a user and outputting the detected operation to the arithmetic processing unit 16.

[画面表示装置]
画面表示装置13は、LCDなどの画面表示装置からなり、演算処理装置16から出力された、メニュー画面、設定画面、出力画面などの各種画面を画面表示するように構成されている。
[Screen display device]
The screen display device 13 is composed of a screen display device such as an LCD, and is configured to display various screens outputted from the arithmetic processing device 16, such as a menu screen, a setting screen, and an output screen.

[カメラ]
カメラ14は、イメージセンサを用いた撮影装置からなり、映像を撮影して演算処理装置16へ出力するように構成されている。カメラ14は、ノートPCのようにトレーニング動作カウント装置10に予め搭載されているカメラを用いてもよく、ウェブカメラなどの外付けカメラを、有線または無線インターフェースを介してトレーニング動作カウント装置10に接続して用いてもよい。
[camera]
The camera 14 is a photographing device using an image sensor, and is configured to photograph an image and output it to the arithmetic processing device 16. The camera 14 may be a camera pre-installed in the training motion counting device 10 such as a notebook PC, or an external camera such as a web camera may be connected to the training motion counting device 10 via a wired or wireless interface. It may also be used as

なお、本実施の形態では、カメラ端末20で撮影されたトレーニング動作の映像を、通信I/F11を介してトレーニング動作カウント装置10が取得する場合を例に説明する。 In the present embodiment, an example will be described in which the training motion counting device 10 acquires a video of a training motion captured by the camera terminal 20 via the communication I/F 11.

[記憶装置]
記憶装置15は、ハードディスクや半導体メモリなどの記憶装置からなり、演算処理装置16で実行する各種演算処理に用いる処理データやトレーニング動作カウントプログラム等のプログラム15Pを記憶するように構成されている。
[Storage device]
The storage device 15 is composed of a storage device such as a hard disk or a semiconductor memory, and is configured to store processing data used for various calculation processes executed by the calculation processing unit 16 and programs 15P such as a training motion count program.

プログラム15Pは、演算処理装置16のCPUと協働することにより、トレーニング動作有効性判定処理や動作カウント処理などを実行する各種の処理部を実現する。プログラム15Pは、通信回線LNを介して接続された外部装置や記録媒体(ともに図示せず)から予め読み込まれて、記憶装置15に保存される。 The program 15P realizes various processing units that execute training motion effectiveness determination processing, motion counting processing, etc. by cooperating with the CPU of the arithmetic processing unit 16. The program 15P is read in advance from an external device or a recording medium (both not shown) connected via the communication line LN, and is stored in the storage device 15.

記憶装置15で記憶する主な処理データとして、映像データ15A、部位データ15B、および判定データ15Cがある。
[映像データ]
映像データ15Aは、カメラ端末20で撮影したトレーニング動作の映像を示す映像データである。
The main processing data stored in the storage device 15 includes video data 15A, body part data 15B, and determination data 15C.
[Video data]
The video data 15A is video data showing a video of a training motion taken by the camera terminal 20.

[部位データ]
部位データ15Bは、トレーニング動作の有効性を判定するのに用いる関節と上方部位を示す設定データである。図2は、部位データの構成例を示す説明図である。図2の例では、トレーニング動作ごとに、動作の中心となる関節Pjと、この関節Pjに骨を介して接続されて関節Pjを中心として回動するとともに、回動時において主に関節Pjより上方に位置する上方部位Pとが登録されている。
[Part data]
Part data 15B is setting data indicating joints and upper parts used to determine the effectiveness of training motions. FIG. 2 is an explanatory diagram showing an example of the structure of part data. In the example of FIG. 2, for each training movement, there is a joint Pj that is the center of the movement, and it is connected to this joint Pj via a bone and rotates around the joint Pj. An upper region P located above is registered.

例えば、スクワット動作の場合、このスクワット動作で最も大きく動作する関節の1つである「膝」が関節Pjとして設定されている。また、この「膝」と大腿骨を介して接続されている「腰」が上方部位Pとして設定されている。 For example, in the case of a squat motion, the "knee", which is one of the joints that moves the most during the squat motion, is set as the joint Pj. Further, the "hip" connected to the "knee" via the femur is set as the upper part P.

図3は、骨格情報を示す説明図である。ここでは、スクワット動作のしゃがんだ姿勢を示す骨格情報が示されている。骨格情報は、主となる関節の座標位置と各関節を結ぶ線分が含まれている。この骨格情報は、人物領域推定技術SSD(Single Shot Multibox Detector)や骨格抽出技術CPN(Cascaded Pyramid Network)、さらにはConfidence MapとPart Affinity Fields(PAFs)を組み合わせた逐次予測プロセスなど、公知の手法で映像から抽出できる。図2に登録される上方部位Pは、骨格情報に含まれる関節を用いる場合が一般的であるが、各関節を結ぶ線分(図3中の太線)の途中または延長線上に設けた点であってもよい。 FIG. 3 is an explanatory diagram showing skeleton information. Here, skeletal information indicating the squatting posture of a squat motion is shown. The skeletal information includes coordinate positions of main joints and line segments connecting each joint. This skeletal information is obtained using known methods such as human region estimation technology SSD (Single Shot Multibox Detector), skeletal extraction technology CPN (Cascaded Pyramid Network), and a sequential prediction process that combines Confidence Map and Part Affinity Fields (PAFs). Can be extracted from video. The upper part P registered in Fig. 2 is generally a joint included in the skeletal information, but it is a point set in the middle or on an extension of a line segment connecting each joint (thick line in Fig. 3). There may be.

[判定データ]
判定データ15Cは、関節Pjに対する上方部位Pの垂直位置Hに基づき、トレーニング動作の有効性を判定するための設定データである。図4は、第1の実施の形態にかかる判定データの構成例を示す説明図である。
[Judgment data]
The determination data 15C is setting data for determining the effectiveness of the training motion based on the vertical position H of the upper part P with respect to the joint Pj. FIG. 4 is an explanatory diagram showing a configuration example of determination data according to the first embodiment.

図4の例では、トレーニング動作ごとに、上方判定位置Saが登録されている。例えば、スクワット動作の場合、上方判定位置Saには「30cm」という値が設定されている。この上方判定位置Saは、関節Pjすなわち基準垂直位置S0から上方向に垂直距離として30cm離れた位置を示している。なお、画素から長さへの変換は公知の方法から求めればよい。 In the example of FIG. 4, an upper determination position Sa is registered for each training motion. For example, in the case of a squat motion, a value of "30 cm" is set in the upper determination position Sa. This upper determination position Sa indicates a position 30 cm vertically away from the joint Pj, that is, the reference vertical position S0. Note that conversion from pixels to length may be obtained using a known method.

トレーニング動作は、特徴的な姿勢を繰り返し作る動作であると捉えることができ、この特徴姿勢とこれ以外の姿勢とが順に確認されて初めて有効なトレーニング動作と云える。 A training motion can be considered as a motion that repeatedly creates a characteristic posture, and can only be called an effective training motion when this characteristic posture and other postures are sequentially confirmed.

図4の例では、特徴姿勢とこれ以外の姿勢とからトレーニング動作が構成されているものとし、垂直位置Hが上方判定位置Sa以下の場合に、特徴姿勢を検出したと判定され、垂直位置Hが上方判定位置Saより大きい場合に、特徴姿勢以外の姿勢を検出したと判定される。上方判定位置Saの値については、予め複数の人から特徴姿勢における垂直位置Hを検出し、これらを統計処理して得られた結果に基づいて決定すればよい。 In the example of FIG. 4, it is assumed that the training motion is composed of the characteristic posture and other postures, and when the vertical position H is less than or equal to the upper determination position Sa, it is determined that the characteristic posture has been detected, and the vertical position H is larger than the upper determination position Sa, it is determined that a posture other than the characteristic posture has been detected. The value of the upper determination position Sa may be determined based on the results obtained by detecting vertical positions H in characteristic postures from a plurality of people in advance and statistically processing them.

[演算処理装置]
演算処理装置16は、CPUとその周辺回路を有し、記憶装置15のプログラム15Pを読み出してCPUと協働させることにより、トレーニング動作有効性判定処理や動作カウント処理などを実行する各種の処理部を実現する。演算処理装置16で実現される主な処理部として、映像取得部16A、位置情報取得部16B、動作判定部16C、および動作カウント部16Dがある。
[Computational processing unit]
The arithmetic processing unit 16 includes a CPU and its peripheral circuits, and includes various processing units that read out the program 15P from the storage device 15 and execute training motion effectiveness determination processing, motion counting processing, etc. by cooperating with the CPU. Realize. The main processing units implemented by the arithmetic processing unit 16 include a video acquisition unit 16A, a position information acquisition unit 16B, a motion determination unit 16C, and a motion count unit 16D.

[映像取得部]
映像取得部16Aは、通信I/F11から通信網NWを介してカメラ端末20とデータ通信を行うことにより、カメラ端末20で撮影されたトレーニング動作の映像を取得し、記憶装置15に映像データ15Aとして保存するように構成されている。
[Video acquisition section]
The video acquisition unit 16A performs data communication with the camera terminal 20 from the communication I/F 11 via the communication network NW, thereby acquiring the video of the training motion taken by the camera terminal 20, and stores the video data 15A in the storage device 15. It is configured to be saved as .

[位置情報取得部]
位置情報取得部16Bは、映像データ15Aを解析して身体の骨格情報を抽出し、得られた骨格情報から、部位データ15Bのうち対象となるトレーニング動作に対応する関節Pjと上方部位Pの位置情報(座標情報)を取得するように構成されている。
[Location information acquisition unit]
The position information acquisition unit 16B analyzes the video data 15A to extract body skeletal information, and from the obtained skeletal information, determines the position of the joint Pj and upper part P corresponding to the target training movement among the part data 15B. It is configured to acquire information (coordinate information).

[動作判定部]
動作判定部16Cは、位置情報取得部16Bで取得した位置情報に基づいて、関節Pjの基準垂直位置S0から上方部位Pまでの垂直距離、すなわち、関節Pjに対する上方部位Pの垂直位置Hを検出するように構成されている。図5は、第1の実施の形態にかかるスクワット動作で用いる垂直位置と判定データとの関係(側面)を示す説明図である。スクワット動作の場合、関節Pjは膝に相当し、上方部位Pは腰に相当する。
[Operation determination section]
The motion determination unit 16C detects the vertical distance from the reference vertical position S0 of the joint Pj to the upper part P, that is, the vertical position H of the upper part P with respect to the joint Pj, based on the position information acquired by the position information acquisition part 16B. is configured to do so. FIG. 5 is an explanatory diagram showing the relationship (side view) between the vertical position and determination data used in the squat motion according to the first embodiment. In the case of a squat motion, the joint Pj corresponds to the knee, and the upper region P corresponds to the lower back.

図5(a)の立ち上がった姿勢(特徴姿勢以外の姿勢)において、関節Pjと上方部位Pとの位置関係は垂直方向において大きく離れた状態にあり、図5(b)のしゃがんだ姿勢(特徴姿勢)において、関節Pjと上方部位Pとの位置関係は垂直方向において、立ち上がった姿勢のときより近づいた状態にある。このため、図5(b)における垂直位置Hは、図5(a)における垂直位置Hより低い(小さい)。 In the standing posture (a posture other than the characteristic posture) in FIG. 5(a), the positional relationship between the joint Pj and the upper region P is far apart in the vertical direction, and In the posture), the positional relationship between the joint Pj and the upper part P is closer in the vertical direction than in the standing posture. Therefore, the vertical position H in FIG. 5(b) is lower (smaller) than the vertical position H in FIG. 5(a).

また、動作判定部16Cは、検出した垂直位置Hを、判定データ15Cの上方判定位置Saと比較し、その比較結果に基づいて特徴姿勢か否かを判定することにより、特徴姿勢とそれ以外の姿勢から構成されるトレーニング動作の有効性を判定するように構成されている。 Further, the motion determining unit 16C compares the detected vertical position H with the upper determination position Sa of the determination data 15C, and determines whether or not it is a characteristic posture based on the comparison result, thereby distinguishing between the characteristic posture and other postures. The apparatus is configured to determine the effectiveness of a training motion comprised of postures.

判定データ15Cが前述した図4のように設定されている場合、図5に示したスクワット動作については、垂直位置Hが30cm(上方判定位置Sa)より高い場合には、図5(a)の立ち上がった姿勢(特徴姿勢以外の姿勢)が検出されたと判定される。 When the determination data 15C is set as shown in FIG. 4 described above, for the squat motion shown in FIG. 5, if the vertical position H is higher than 30 cm (upper determination position Sa), the squat action shown in FIG. It is determined that a standing posture (a posture other than the characteristic posture) has been detected.

また、垂直位置Hが30cm(上方判定位置Sa)以下であれば、図5(b)のしゃがんだ姿勢(特徴姿勢)が検出された判定される。これら有効性の判定処理は、映像データ15Aを構成する個々のフレームについて、連続してあるいは間欠的に実行すればよい。 Furthermore, if the vertical position H is 30 cm or less (upper determination position Sa), it is determined that the crouching posture (characteristic posture) shown in FIG. 5(b) has been detected. These validity determination processes may be performed continuously or intermittently for each frame forming the video data 15A.

動作判定部16Cで検出される垂直位置Hは、人によって多少のばらつきがあり、有効性判定の誤差の要因となりうる場合がある。このようなばらつきの影響を抑制する場合には、カウント動作開始前にユーザの身長をカメラ端末20や操作入力装置12から入力し、動作判定部16Cが、その身長から関節Pjと上方部位Pの位置情報を計算して基準垂直位置S0を求め、得られた基準垂直位置S0に基づいて上方判定位置Saを推定し、判定データ15Cに設定してもよい。 The vertical position H detected by the motion determining unit 16C varies to some extent depending on the person, and may cause an error in determining effectiveness. In order to suppress the influence of such variations, the user's height is input from the camera terminal 20 or the operation input device 12 before the start of the counting operation, and the motion determination unit 16C calculates the joint Pj and upper part P from the height. The reference vertical position S0 may be obtained by calculating the positional information, and the upper judgment position Sa may be estimated based on the obtained reference vertical position S0 and set in the judgment data 15C.

また、基準垂直位置S0については、予め正立姿勢などの基準姿勢を撮影して映像データ15Aに含めておき、その基準姿勢から基準垂直位置S0を抽出してもよい。図6は、基準姿勢からの基準垂直位置の検出を示す説明図である。 Further, regarding the reference vertical position S0, a reference posture such as an upright posture may be photographed in advance and included in the video data 15A, and the reference vertical position S0 may be extracted from the reference posture. FIG. 6 is an explanatory diagram showing detection of a reference vertical position from a reference posture.

図6に示すように、位置情報取得部16Bが、正立姿勢からなる基準姿勢の骨格情報から関節Pjと上方部位Pの位置情報を取得して、動作判定部16Cがこれら位置情報から基準垂直位置S0を検出し、得られた基準垂直位置S0に基づいて上方判定位置Saを推定し、判定データ15Cに設定してもよい。 As shown in FIG. 6, the position information acquisition section 16B acquires the position information of the joint Pj and the upper region P from the skeletal information of the reference posture consisting of the upright posture, and the motion determination section 16C determines the reference vertical position from this position information. The position S0 may be detected, and the upper judgment position Sa may be estimated based on the obtained reference vertical position S0 and set in the judgment data 15C.

[動作カウント部]
動作カウント部16Dは、動作判定部16Cで特徴姿勢以外の姿勢と特徴姿勢とが交互に検出された場合、トレーニング動作を構成する一連の動作が正しく行われたと判断して、動作回数をカウントアップするように構成されている。また、動作カウント部16Dは、得られたカウント結果を画面表示装置13で画面表示するようにしてもよく、通信I/F11から通信回線LNを介してカメラ端末20へ通知し、カメラ端末20で画面表示するようにしてもよい。
[Operation count section]
When the motion determining section 16C detects postures other than the characteristic posture and the characteristic posture alternately, the motion counting section 16D determines that the series of motions constituting the training motion has been performed correctly, and counts up the number of motions. is configured to do so. Further, the operation counting unit 16D may display the obtained count result on the screen display device 13, and may notify the camera terminal 20 from the communication I/F 11 via the communication line LN, and It may also be displayed on the screen.

[第1の実施の形態の動作]
次に、図7を参照して、本実施の形態にかかるトレーニング動作カウント装置10の動作について説明する。図7は、第1の実施の形態にかかるトレーニング動作カウント装置の動作を示すフローチャートである。ここでは、カウント動作を開始する前に、映像データ15Aと部位データ15Bが予め記憶装置15に保存されているものとする。
[Operation of the first embodiment]
Next, with reference to FIG. 7, the operation of the training motion counting device 10 according to this embodiment will be described. FIG. 7 is a flowchart showing the operation of the training motion counting device according to the first embodiment. Here, it is assumed that the video data 15A and the part data 15B are stored in the storage device 15 in advance before starting the counting operation.

なお、カウント動作を開始する前に、ユーザに合わせた判定データ15Cを設定してもよい。この場合には、前述したように、動作判定部16Cが、カウント動作開始前にカメラ端末20や操作入力装置12から入力したユーザの身長を取得して、その身長から上方判定位置Saを推定して判定データ15Cに設定すればよい。あるいは、前述したように、映像データ15Aに含まれる基準姿勢から検出した基準垂直位置S0に基づいて上方判定位置Saを推定して判定データ15Cに設定してもよい。 Note that, before starting the counting operation, the determination data 15C may be set according to the user. In this case, as described above, the motion determination unit 16C obtains the user's height input from the camera terminal 20 or the operation input device 12 before starting the counting operation, and estimates the upper determination position Sa from the height. What is necessary is to set it in the judgment data 15C. Alternatively, as described above, the upper determination position Sa may be estimated based on the reference vertical position S0 detected from the reference orientation included in the video data 15A, and set in the determination data 15C.

カウント動作において、まず、位置情報取得部16Bは、映像データ15Aの任意の1フレームを解析して身体の骨格情報を抽出し、得られた骨格情報から、部位データ15Bのうち対象となるトレーニング動作に対応する関節Pjと上方部位Pの位置情報(座標情報)を取得する(位置情報取得ステップ)(ステップ100)。 In the counting operation, the position information acquisition unit 16B first analyzes any one frame of the video data 15A to extract body skeletal information, and from the obtained skeletal information, selects a target training motion from the part data 15B. (position information acquisition step) (step 100).

続いて、動作判定部16Cは、位置情報取得部16Bで取得した位置情報に基づいて、関節Pjに対する上方部位Pの垂直位置Hを検出する(ステップ101)。 Subsequently, the motion determination unit 16C detects the vertical position H of the upper region P with respect to the joint Pj based on the position information acquired by the position information acquisition unit 16B (step 101).

この後、動作判定部16Cは、検出された垂直位置Hを判定データ15Cの上方判定位置Saと比較し、その比較結果に基づいて特徴姿勢以外の姿勢か否かを判定する(ステップ102)。ここで、垂直位置Hが上方判定位置Sa以下の場合(ステップ102:NO)、ステップ100へ戻って後続するフレームに関する処理を実行する。 After that, the motion determining unit 16C compares the detected vertical position H with the upper determination position Sa of the determination data 15C, and determines whether the posture is other than the characteristic posture based on the comparison result (step 102). Here, if the vertical position H is less than or equal to the upper determination position Sa (step 102: NO), the process returns to step 100 and processes regarding the subsequent frame are executed.

ステップ102において、垂直位置Hが上方判定位置Saより高い場合(ステップ102:YES)、位置情報取得部16Bは、特徴姿勢以外の姿勢が検出されたと判定して、続く特徴姿勢を検出するため、映像データ15Aの後続するフレームを解析して身体の骨格情報を抽出し、得られた骨格情報から、部位データ15Bのうち対象となるトレーニング動作に対応する関節Pjと上方部位Pの位置情報(座標情報)を取得する(ステップ103)。 In step 102, if the vertical position H is higher than the upper determination position Sa (step 102: YES), the position information acquisition unit 16B determines that a posture other than the characteristic posture has been detected, and detects the subsequent characteristic posture. The subsequent frames of the video data 15A are analyzed to extract body skeletal information, and from the obtained skeletal information, the position information (coordinates information) (step 103).

続いて、動作判定部16Cは、位置情報取得部16Bで取得した位置情報に基づいて、関節Pjに対する上方部位Pの垂直位置Hを検出する(ステップ104)。 Subsequently, the motion determination unit 16C detects the vertical position H of the upper region P with respect to the joint Pj based on the position information acquired by the position information acquisition unit 16B (step 104).

この後、動作判定部16Cは、垂直位置Hを判定データ15Cの上方判定位置Saと比較し、その比較結果に基づいて特徴姿勢か否かを判定する(動作判定ステップ)(ステップ105)。ここで、垂直位置Hが上方判定位置Saより高い場合(ステップ105:NO)、ステップ103へ戻って後続するフレームに関する処理を実行する。 After that, the motion determination unit 16C compares the vertical position H with the upper determination position Sa of the determination data 15C, and determines whether or not it is a characteristic posture based on the comparison result (motion determination step) (step 105). Here, if the vertical position H is higher than the upper determination position Sa (step 105: NO), the process returns to step 103 and processes regarding the subsequent frame are executed.

ステップ105において、垂直位置Hが上方判定位置Sa以下である場合(ステップ105:YES)、動作カウント部16Dは、動作判定部16Cで特徴姿勢以外の姿勢と特徴姿勢が交互に検出されたことから、トレーニング動作を構成する一連の動作が正しく行われたと判断して、動作回数をカウントアップする(カウントステップ)(ステップ106)。 In step 105, if the vertical position H is less than or equal to the upper determination position Sa (step 105: YES), the motion counting section 16D detects that the motion determining section 16C has alternately detected a posture other than the characteristic posture and a characteristic posture. , it is determined that the series of movements constituting the training movement has been performed correctly, and the number of movements is counted up (counting step) (step 106).

この後、動作判定部16Cは、カウント動作を終了するか判断する(ステップ107)。この際、動作回数が規定回数に到達したり、カウント動作の中止操作が行われたりした場合、終了と判断すればよい。 After this, the operation determination unit 16C determines whether to end the counting operation (step 107). At this time, if the number of operations reaches a predetermined number or an operation to stop the counting operation is performed, it may be determined that the counting operation has ended.

ステップ107において、カウント動作を継続する場合(ステップ107:NO)、ステップ100に戻って後続するフレームに関する処理を実行する。 In step 107, if the counting operation is to be continued (step 107: NO), the process returns to step 100 and processes regarding subsequent frames are executed.

一方、カウント動作を終了する場合(ステップ107:YES)、動作判定部16Cは、カウント結果を画面表示装置13やカメラ端末20へ出力し(ステップ108)、一連の処理を終了する。 On the other hand, when the counting operation is to be completed (step 107: YES), the operation determination unit 16C outputs the counting result to the screen display device 13 and the camera terminal 20 (step 108), and the series of processes is completed.

このように、トレーニング動作の有効性は、関節Pjに対する上方部位Pの垂直位置Hと判定データ15Cとの比較結果に基づいて判定される。この際、骨格情報が得られれば関節Pjと上方部位Pの位置が特定できるため、関節動作時における垂直位置Hの変化度合は、カメラの位置や身体の向きが変化しても、その影響を受けにくいことがわかる。 In this way, the effectiveness of the training motion is determined based on the comparison result between the vertical position H of the upper part P with respect to the joint Pj and the determination data 15C. At this time, if skeletal information is obtained, the positions of the joint Pj and the upper part P can be specified, so the degree of change in the vertical position H during joint movement is independent of the influence of changes in camera position and body orientation. I know it's hard to accept.

図8は、スクワット動作で用いる垂直位置と判定データの関係(正面)を示す説明図である。前述した図5では、トレーニング動作を人の側面から撮影した場合を例として説明したが、図8に示すように、人の正面から撮影した場合でも前述と同様にして、垂直位置Hを容易に検出できる。 FIG. 8 is an explanatory diagram showing the relationship (front view) between the vertical position and the determination data used in the squat motion. In the above-mentioned FIG. 5, the case where the training motion is photographed from the side of the person is explained as an example, but as shown in FIG. Can be detected.

また、以上では、スクワット動作を例にして説明したが、他のトレーニング動作についても同様に実施できる。図9は、腕立て伏せ動作で用いる垂直位置と判定データの関係(側面)を示す説明図である。図10は、腹筋動作で用いる垂直位置と判定データの関係(側面)を示す説明図である。いずれの場合も、関節Pjに対する上方部位Pの垂直位置Hを容易に検出できることがわかる。 In addition, although the squat motion has been described above as an example, other training motions can be performed in the same manner. FIG. 9 is an explanatory diagram showing the relationship (side view) between the vertical position and the determination data used in the push-up motion. FIG. 10 is an explanatory diagram showing the relationship (side view) between the vertical position and the determination data used in the abdominal muscle movement. It can be seen that in either case, the vertical position H of the upper region P with respect to the joint Pj can be easily detected.

また、これらについても、骨格情報が得られれば関節Pjと上方部位Pの位置が特定できるため、関節動作時における垂直位置Hの変化度合は、カメラの位置や身体の向きが変化しても、その影響を受けにくいことがわかる。 In addition, for these as well, if skeletal information is obtained, the positions of the joints Pj and the upper part P can be identified, so the degree of change in the vertical position H during joint movement can be determined even if the camera position or body orientation changes. It can be seen that it is not easily affected by this.

[第1の実施の形態の効果]
このように、本実施の形態は、記憶装置15で、所定の関節Pjを基準として回動するとともに、回動時において主に関節Pjより上方に位置する上方部位Pを記憶しておき、演算処理装置16が、トレーニング動作を撮影した映像から身体の骨格情報を抽出し、この骨格情報から関節Pjと上方部位Pの位置を示す位置情報を取得し、これら位置情報に基づいて関節Pjに対する上方部位Pの垂直位置Hを検出し、垂直位置Hを上方判定位置Saと比較し、得られた比較結果に基づいてトレーニング動作の有効性を判定するように構成したものである。
[Effects of the first embodiment]
In this way, in the present embodiment, the storage device 15 rotates with respect to a predetermined joint Pj, and also stores the upper part P that is mainly located above the joint Pj at the time of rotation, and performs calculations. The processing device 16 extracts body skeletal information from the video of the training motion, acquires positional information indicating the positions of the joint Pj and the upper part P from this skeletal information, and based on this positional information, determines the upper part of the joint Pj. The vertical position H of the part P is detected, the vertical position H is compared with the upper determination position Sa, and the effectiveness of the training motion is determined based on the obtained comparison result.

これにより、トレーニング動作の有効性が、関節Pjに対する上方部位Pの垂直位置Hに基づいて判定されるため、カメラの位置や身体の向きが変化しても、その影響を受けにくい。このため、関節の角度に基づいてトレーニング動作の有効性を判定する場合と比較して、カメラの位置や身体の向きの調整を厳密に行う必要がなくなる。したがって、トレーニング動作の撮影に関する自由度が大きく、高いユーザビリティを得ることができる。 As a result, the effectiveness of the training motion is determined based on the vertical position H of the upper region P with respect to the joint Pj, so that it is less affected by changes in the camera position or body orientation. Therefore, compared to the case where the effectiveness of a training motion is determined based on joint angles, there is no need to strictly adjust the camera position or body orientation. Therefore, the degree of freedom regarding photographing training motions is large, and high usability can be obtained.

[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。第1の実施の形態では、上方部位Pが、関節回動時において主に関節Pjより上方に位置することを前提として、垂直位置Hを上方判定位置Saと比較することにより、特徴姿勢か否かを判定する場合について説明した。本実施の形態では、第1の実施の形態と同様の特徴姿勢に加えて、上方部位Pが関節Pjより下方に位置する下方姿勢を検出する場合について説明する。
[Second embodiment]
Next, a second embodiment of the present invention will be described. In the first embodiment, on the premise that the upper part P is mainly located above the joint Pj when the joint rotates, it is determined whether or not it is a characteristic posture by comparing the vertical position H with the upper determination position Sa. We have explained the case of determining whether In this embodiment, in addition to the characteristic postures similar to those of the first embodiment, a case will be described in which a downward posture in which the upper part P is located below the joint Pj is detected.

[判定データ]
図11は、第2の実施の形態にかかる判定データの構成例を示す説明図である。図11の例では、トレーニング動作ごとに、上方判定位置Saと下方判定位置Sbとが登録されている。例えば、スクワット動作の場合、上方判定位置Saには「30cm」という判定値が設定されており、下方判定位置Sbには「20cm」という判定範囲が設定されている。
[Judgment data]
FIG. 11 is an explanatory diagram showing a configuration example of determination data according to the second embodiment. In the example of FIG. 11, an upper determination position Sa and a lower determination position Sb are registered for each training motion. For example, in the case of a squat motion, a determination value of "30 cm" is set at the upper determination position Sa, and a determination range of "20 cm" is set at the lower determination position Sb.

上方判定位置Sa「30cm」とは、関節Pjすなわち基準垂直位置S0から上方向に垂直距離として30cm離れた位置を示している。また、下方判定位置Sb「20cm」とは、関節Pjすなわち基準垂直位置S0から下方向に垂直距離として20cm離れた位置を示している。 The upper determination position Sa "30 cm" indicates a position 30 cm away from the joint Pj, that is, the reference vertical position S0 in the upward direction as a vertical distance. Further, the lower judgment position Sb "20 cm" indicates a position 20 cm away from the joint Pj, that is, the reference vertical position S0 in the downward direction as a vertical distance.

[動作判定部]
動作判定部16Cは、検出した垂直位置Hを、判定データ15Cの上方判定位置Saおよび下方判定位置Sbと比較し、その比較結果に基づいて特徴姿勢および下方姿勢を検出することにより、特徴姿勢とそれ以外の姿勢から構成されるトレーニング動作の有効性を判定するように構成されている。
[Operation determination section]
The motion determination unit 16C compares the detected vertical position H with the upper determination position Sa and the lower determination position Sb of the determination data 15C, and detects the characteristic posture and the downward posture based on the comparison result, thereby determining the characteristic posture. The apparatus is configured to determine the effectiveness of training movements composed of other postures.

図12は、第2の実施の形態にかかるスクワット動作で用いる垂直位置と判定データとの関係(側面)を示す説明図である。判定データ15Cが前述した図11の例のように設定されている場合、図12に示したスクワット動作については、垂直位置Hが上方30cm(上方判定位置Sa)より高い場合、図12(a)の立ち上がった姿勢(特徴姿勢以外の姿勢)が検出されたと判定される。 FIG. 12 is an explanatory diagram showing the relationship (side view) between the vertical position and determination data used in the squat motion according to the second embodiment. When the determination data 15C is set as in the example of FIG. 11 described above, for the squat motion shown in FIG. 12, if the vertical position H is higher than 30 cm above (upper determination position Sa), the squat motion shown in FIG. It is determined that a standing posture (a posture other than the characteristic posture) has been detected.

また、垂直位置Hが、関節Pjすなわち基準垂直位置S0を挟む、上方30cm(上方判定位置Sa)から下方20cm(下方判定位置Sb)までの範囲であれば、図12(b)のしゃがんだ姿勢(特徴姿勢)が検出された判定される。また、垂直位置Hが下方20cm(下方判定位置Sb)より低い場合には、図12(c)の座った姿勢が検出されたと判定される。 Furthermore, if the vertical position H is in the range from 30 cm above (upper judgment position Sa) to 20 cm below (lower judgment position Sb) across the joint Pj, that is, the reference vertical position S0, the squatting posture of FIG. 12(b) (characteristic posture) is detected. Further, when the vertical position H is lower than 20 cm downward (lower determination position Sb), it is determined that the sitting posture shown in FIG. 12(c) has been detected.

例えば、図12に示したように、スクワット動作の場合、ユーザによっては、図12(b)のしゃがんだ姿勢を示す特徴姿勢からさらに腰を下げて、図12(c)のような座った姿勢をとる場合がある。この座った姿勢は、例えば、スクワット動作を繰り返すうちに筋肉が疲労して腰が支えきれなくなった場合などに発生する、不完全な下方姿勢である。したがって、このような下方姿勢を含む動作を正規のスクワット動作ではないとして判定するには、本実施の形態のように、下方判定位置Sbを設けて垂直位置Hと比較すればよい。
なお、本実施の形態にかかるその他の構成については、第1の実施の形態と同様であり、ここでの説明は省略する。
For example, as shown in FIG. 12, in the case of a squat motion, some users lower their hips further from the characteristic posture of the squatting posture shown in FIG. 12(b) to take a sitting posture as shown in FIG. may be taken. This sitting posture is an incomplete downward posture that occurs, for example, when the muscles become fatigued during repeated squat movements and the lower back can no longer support the body. Therefore, in order to determine that a motion including such a downward posture is not a regular squat motion, a downward determination position Sb may be provided and compared with the vertical position H, as in the present embodiment.
Note that the other configurations according to this embodiment are the same as those in the first embodiment, and description thereof will be omitted here.

[第2の実施の形態の動作]
次に、図13を参照して、本実施の形態にかかるトレーニング動作カウント装置10の動作について説明する。図13は、第2の実施の形態にかかるトレーニング動作カウント装置の動作を示すフローチャートである。ここでは、カウント動作を開始する前に、映像データ15Aと部位データ15Bが予め記憶装置15に保存されているものとする。
[Operation of second embodiment]
Next, with reference to FIG. 13, the operation of the training motion counting device 10 according to this embodiment will be described. FIG. 13 is a flowchart showing the operation of the training motion counting device according to the second embodiment. Here, it is assumed that the video data 15A and the part data 15B are stored in the storage device 15 in advance before starting the counting operation.

なお、カウント動作を開始する前に、ユーザに合わせた判定データ15Cを設定してもよい。この場合には、前述したように、動作判定部16Cが、カウント動作開始前にカメラ端末20や操作入力装置12から入力したユーザの身長を取得して、その身長から上方判定位置Saおよび下方判定位置Sbを推定して判定データ15Cに設定すればよい。あるいは、前述したように、映像データ15Aに含まれる基準姿勢から検出した基準垂直位置S0に基づいて上方判定位置Saおよび下方判定位置Sbを推定して判定データ15Cに設定してもよい。 Note that, before starting the counting operation, the determination data 15C may be set according to the user. In this case, as described above, the motion determination unit 16C obtains the height of the user input from the camera terminal 20 or the operation input device 12 before starting the counting operation, and uses the height to determine the upper determination position Sa and the lower determination position Sa. The position Sb may be estimated and set in the determination data 15C. Alternatively, as described above, the upper determination position Sa and the lower determination position Sb may be estimated based on the reference vertical position S0 detected from the reference orientation included in the video data 15A, and set in the determination data 15C.

カウント動作において、まず、位置情報取得部16Bは、映像データ15Aの任意の1フレームを解析して身体の骨格情報を抽出し、得られた骨格情報から、部位データ15Bのうち対象となるトレーニング動作に対応する関節Pjと上方部位Pの位置情報(座標情報)を取得する(ステップ200)。 In the counting operation, the position information acquisition unit 16B first analyzes any one frame of the video data 15A to extract body skeletal information, and from the obtained skeletal information, selects a target training motion from the part data 15B. The positional information (coordinate information) of the joint Pj and upper part P corresponding to is acquired (step 200).

続いて、動作判定部16Cは、位置情報取得部16Bで取得した位置情報に基づいて、関節Pjに対する上方部位Pの垂直位置Hを検出する(ステップ201)。 Subsequently, the motion determination unit 16C detects the vertical position H of the upper region P with respect to the joint Pj based on the position information acquired by the position information acquisition unit 16B (step 201).

この後、動作判定部16Cは、検出された垂直位置Hを、判定データ15Cの上方判定位置Saと比較し、その比較結果に基づいて特徴姿勢以外の姿勢か否かを判定する(ステップ202)。ここで、垂直位置Hが上方判定位置Sa以下の場合(ステップ202:NO)、ステップ200へ戻って後続するフレームに関する処理を実行する。 After that, the motion determination unit 16C compares the detected vertical position H with the upper determination position Sa of the determination data 15C, and determines whether the posture is other than the characteristic posture based on the comparison result (step 202). . Here, if the vertical position H is less than or equal to the upper determination position Sa (step 202: NO), the process returns to step 200 and processes regarding the subsequent frame are executed.

ステップ202において、垂直位置Hが上方判定位置Saより高い場合(ステップ202:YES)、位置情報取得部16Bは、特徴姿勢以外の姿勢が検出されたと判定して、続く特徴姿勢を検出するため、映像データ15Aの後続するフレームを解析して身体の骨格情報を抽出し、得られた骨格情報から、部位データ15Bのうち対象となるトレーニング動作に対応する関節Pjと上方部位Pの位置情報(座標情報)を取得する(ステップ203)。 In step 202, if the vertical position H is higher than the upper determination position Sa (step 202: YES), the position information acquisition unit 16B determines that a posture other than the characteristic posture has been detected, and detects the subsequent characteristic posture. The subsequent frames of the video data 15A are analyzed to extract body skeletal information, and from the obtained skeletal information, the position information (coordinates information) (step 203).

続いて、動作判定部16Cは、位置情報取得部16Bで取得した位置情報に基づいて、関節Pjに対する上方部位Pの垂直位置Hを検出する(ステップ204)。 Subsequently, the motion determination unit 16C detects the vertical position H of the upper region P with respect to the joint Pj based on the position information acquired by the position information acquisition unit 16B (step 204).

この後、動作判定部16Cは、検出された垂直位置Hを、判定データ15Cの上方判定位置Saと比較し、その比較結果に基づいて特徴姿勢か否かを判定する(ステップ205)。ここで、垂直位置Hが上方判定位置Saより高い場合(ステップ205:NO)、ステップ203へ戻って後続するフレームに関する処理を実行する。 Thereafter, the motion determination unit 16C compares the detected vertical position H with the upper determination position Sa of the determination data 15C, and determines whether or not it is a characteristic posture based on the comparison result (step 205). Here, if the vertical position H is higher than the upper determination position Sa (step 205: NO), the process returns to step 203 and processes regarding the subsequent frame are executed.

ステップ205において、垂直位置Hが上方判定位置Sa以下である場合(ステップ205:YES)、動作カウント部16Dは、垂直位置Hを判定データ15Cの下方判定位置Sbと比較し、その比較結果に基づいて下方姿勢か否かを判定する(ステップ206)。ここで、垂直位置Hが下方判定位置Sbより低い場合(ステップ206:YES)、下方姿勢が検出されたことから、ステップ200へ戻って後続するフレームに関する処理を実行する。 In step 205, if the vertical position H is below the upper judgment position Sa (step 205: YES), the operation counting section 16D compares the vertical position H with the lower judgment position Sb of the judgment data 15C, and based on the comparison result. It is determined whether or not the robot is in a downward posture (step 206). Here, if the vertical position H is lower than the downward determination position Sb (step 206: YES), since a downward posture has been detected, the process returns to step 200 and processes regarding the subsequent frame are executed.

一方、ステップ206において、垂直位置Hが下方判定位置Sb以上である場合(ステップ206:NO)、動作判定部16Cで特徴姿勢以外の姿勢と特徴姿勢が交互に検出されたことから、トレーニング動作を構成する一連の動作が正しく行われたと判断して、動作回数をカウントアップする(ステップ207)。 On the other hand, in step 206, if the vertical position H is equal to or higher than the lower determination position Sb (step 206: NO), the motion determination unit 16C detects a posture other than the characteristic posture and a characteristic posture alternately, so the training motion is not performed. It is determined that the series of operations have been performed correctly, and the number of operations is counted up (step 207).

この後、動作判定部16Cは、カウント動作を終了するか判断する(ステップ208)。この際、動作回数が規定回数に到達したり、カウント動作の中止操作が行われたりした場合、終了と判断すればよい。 After this, the operation determination unit 16C determines whether to end the counting operation (step 208). At this time, if the number of operations reaches a predetermined number or an operation to stop the counting operation is performed, it may be determined that the counting operation has ended.

ステップ208において、カウント動作を継続する場合(ステップ208:NO)、ステップ200に戻って後続するフレームに関する処理を実行する。 In step 208, if the counting operation is to be continued (step 208: NO), the process returns to step 200 and processes regarding subsequent frames are executed.

一方、カウント動作を終了する場合(ステップ208:YES)、動作判定部16Cは、カウント結果を画面表示装置13やカメラ端末20へ出力し(ステップ209)、一連の処理を終了する。 On the other hand, when the counting operation is to be completed (step 208: YES), the operation determination unit 16C outputs the counting result to the screen display device 13 and the camera terminal 20 (step 209), and ends the series of processing.

このように、トレーニング動作の有効性は、関節Pjに対する上方部位Pの垂直位置Hと上方判定位置Saおよび下方判定位置Sbとの比較結果に基づいて判定される。これにより、特徴姿勢以外の姿勢と特徴姿勢に加えて、上方部位Pが関節Pjよりも下方に位置する不完全な下方姿勢を検出することができる。 In this way, the effectiveness of the training motion is determined based on the comparison result between the vertical position H of the upper part P with respect to the joint Pj, the upper determination position Sa, and the lower determination position Sb. Thereby, in addition to postures other than characteristic postures and characteristic postures, it is possible to detect an incomplete downward posture in which the upper region P is located below the joint Pj.

また、第1の実施の形態と同様に、骨格情報が得られれば関節Pjと上方部位Pの位置が特定できるため、関節動作時における垂直位置Hの変化度合は、カメラの位置や身体の向きが変化しても、その影響を受けにくいことがわかる。 Furthermore, as in the first embodiment, the positions of the joint Pj and the upper part P can be specified if skeletal information is obtained, so the degree of change in the vertical position H during joint movement depends on the camera position and body orientation. It can be seen that it is not easily affected by changes in the

また、以上の説明では、スクワット動作を例にして説明したが、他のトレーニング動作についても同様に実施できる。前述の図9や図10に示したように、腕立て伏せ動作や腹筋動作の場合にも、関節Pjに対する上方部位Pの垂直位置Hを容易に検出できる。また、これらについても、骨格情報が得られれば関節Pjと上方部位Pの位置が特定できるため、関節動作時における垂直位置Hの変化度合は、カメラの位置や身体の向きが変化しても、その影響を受けにくいことがわかる。 Further, in the above description, the squat motion was used as an example, but other training motions can be performed in the same manner. As shown in FIGS. 9 and 10 described above, the vertical position H of the upper part P with respect to the joint Pj can be easily detected even in the case of a push-up motion or a sit-up motion. In addition, for these as well, if skeletal information is obtained, the positions of the joints Pj and the upper part P can be identified, so the degree of change in the vertical position H during joint movement can be determined even if the camera position or body orientation changes. It can be seen that it is not easily affected by this.

[第2の実施の形態の効果]
このように、本実施の形態は、演算処理装置16が、トレーニング動作の有効性を判定する際、関節Pjと上方部位Pの位置情報に基づいて関節Pjに対する上方部位Pの垂直位置Hを検出し、垂直位置Hを予め設定されている上方判定位置Saおよび下方判定位置Sbと比較し、得られた比較結果に基づいてトレーニング動作の有効性を判定するように構成したものである。
[Effects of the second embodiment]
In this way, in the present embodiment, when determining the effectiveness of a training motion, the arithmetic processing unit 16 detects the vertical position H of the upper part P with respect to the joint Pj based on the position information of the joint Pj and the upper part P. However, the vertical position H is compared with a preset upper determination position Sa and a lower determination position Sb, and the effectiveness of the training motion is determined based on the obtained comparison results.

これにより、特徴姿勢以外の姿勢と特徴姿勢に加えて、上方部位Pが関節Pjよりも下方に位置する不完全な下方姿勢を検出することができるため、トレーニング動作の回数をより正確にカウントすることができる。 As a result, in addition to postures other than the characteristic postures and characteristic postures, it is possible to detect incomplete downward postures in which the upper part P is located below the joint Pj, so the number of training movements can be counted more accurately. be able to.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Expansion of embodiment]
Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above embodiments. The configuration and details of the present invention may be modified in various ways within the scope of the present invention by those skilled in the art. Moreover, each embodiment can be implemented in any combination within the range not contradictory.

10…トレーニング動作カウント装置、11…通信I/F、12…操作入力装置、13…画面表示装置、14…カメラ、15…記憶装置、15A…映像データ、15B…部位データ、15C…判定データ、16…演算処理装置、16A…映像取得部、16B…位置情報取得部、16C…動作判定部、16D…動作カウント部、20…カメラ端末、LN…通信回線、NW…通信網、Pj…関節、P…上方部位、H…垂直位置、Sa…上方判定位置、Sb…下方判定位置、S0…基準垂直位置。 10...Training action counting device, 11...Communication I/F, 12...Operation input device, 13...Screen display device, 14...Camera, 15...Storage device, 15A...Video data, 15B...Part data, 15C...Judgment data, 16... Arithmetic processing unit, 16A... Video acquisition section, 16B... Position information acquisition section, 16C... Motion determination section, 16D... Motion counting section, 20... Camera terminal, LN... Communication line, NW... Communication network, Pj... Joint, P...Upper part, H...Vertical position, Sa...Upper determination position, Sb...Lower determination position, S0...Reference vertical position.

Claims (4)

トレーニング動作の際に、所定の関節を基準として、前記所定の関節との位置関係が変化する身体の骨格における部位を記憶する記憶装置と、トレーニング動作を撮影した映像の身体の骨格情報から取得した前記所定の関節と前記部位の位置関係の変化に基づいて、前記トレーニング動作の回数をカウントする演算処理装置とを備えるトレーニング動作カウント装置で用いられるトレーニング動作カウントプログラムであって、
前記演算処理装置に、
前記所定の関節と前記部位の位置を示す位置情報を取得する位置情報取得ステップと、
前記位置情報に基づいて前記所定の関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定する動作判定ステップと、
前記有効性が認められたトレーニング動作の回数をカウントするカウントステップと
を実行させることを特徴とするトレーニング動作カウントプログラム。
A storage device that stores parts of the body skeleton whose positional relationship with the predetermined joints changes during training motions, with respect to the predetermined joints as a reference, and body skeletal information obtained from video footage of the training motions. A training motion counting program used in a training motion counting device comprising an arithmetic processing device that counts the number of training motions based on a change in the positional relationship between the predetermined joint and the body part,
The arithmetic processing device,
a position information acquisition step of acquiring position information indicating the positions of the predetermined joint and the part;
Detecting the vertical position of the part with respect to the predetermined joint based on the position information, comparing the vertical position with a preset determination position, and evaluating the effectiveness of the training motion based on the obtained comparison result. a motion determination step for determining;
A counting step of counting the number of training movements for which effectiveness has been recognized. A training movement counting program.
前記動作判定ステップは、前記演算処理装置が、前記位置情報に基づいて前記関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている上方判定位置および下方判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定するステップからなる
ことを特徴とする請求項1に記載のトレーニング動作カウントプログラム。
In the motion determination step, the arithmetic processing device detects a vertical position of the part with respect to the joint based on the position information, and compares the vertical position with a preset upper determination position and a lower determination position, The training motion counting program according to claim 1, further comprising the step of determining the effectiveness of the training motion based on the obtained comparison result.
トレーニング動作の際に、所定の関節を基準として、前記所定の関節との位置関係が変化する身体の骨格における部位を記憶する記憶装置と、トレーニング動作を撮影した映像の身体の骨格情報から取得した前記所定の関節と前記部位の位置関係の変化に基づいて、前記トレーニング動作の回数をカウントする演算処理装置とを備え、
前記演算処理装置は、
前記骨格情報から前記所定の関節と前記部位の位置を示す位置情報を取得する位置情報取得部と、
前記位置情報に基づいて前記所定の関節に対する前記部位の垂直位置を検出し、前記垂直位置を予め設定されている判定位置と比較し、得られた比較結果に基づいて前記トレーニング動作の有効性を判定する動作判定部と、
前記有効性が認められたトレーニング動作の回数をカウントするカウント部と
を備えることを特徴とするトレーニング動作カウント装置。
A storage device that stores parts of the body skeleton whose positional relationship with the predetermined joints changes during training motions, with respect to the predetermined joints as a reference, and body skeletal information obtained from video footage of the training motions. an arithmetic processing device that counts the number of training movements based on a change in the positional relationship between the predetermined joint and the body part;
The arithmetic processing device is
a position information acquisition unit that acquires position information indicating the position of the predetermined joint and the part from the skeletal information;
Detecting the vertical position of the part with respect to the predetermined joint based on the position information, comparing the vertical position with a preset determination position, and evaluating the effectiveness of the training motion based on the obtained comparison result. a motion determination unit that determines;
A counting unit that counts the number of training movements for which the effectiveness of the training movement has been recognized.
請求項3に記載のトレーニング動作カウント装置と、
トレーニング動作を撮影した映像を、通信回線を介して前記トレーニング動作カウント装置へ送信するカメラ端末と
を備え、
前記トレーニング動作カウント装置は、前記カメラ端末から受信した前記映像に基づいて前記トレーニング動作の回数をカウントする
ことを特徴とするトレーニング動作カウントシステム。
A training motion counting device according to claim 3;
and a camera terminal that transmits images of training movements to the training movement counting device via a communication line,
The training motion counting system is characterized in that the training motion counting device counts the number of training motions based on the video received from the camera terminal.
JP2022118644A 2022-07-26 2022-07-26 Training movement counting program, training movement counting device, and training movement counting system Pending JP2024016487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022118644A JP2024016487A (en) 2022-07-26 2022-07-26 Training movement counting program, training movement counting device, and training movement counting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022118644A JP2024016487A (en) 2022-07-26 2022-07-26 Training movement counting program, training movement counting device, and training movement counting system

Publications (1)

Publication Number Publication Date
JP2024016487A true JP2024016487A (en) 2024-02-07

Family

ID=89806590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022118644A Pending JP2024016487A (en) 2022-07-26 2022-07-26 Training movement counting program, training movement counting device, and training movement counting system

Country Status (1)

Country Link
JP (1) JP2024016487A (en)

Similar Documents

Publication Publication Date Title
US11745055B2 (en) Method and system for monitoring and feed-backing on execution of physical exercise routines
US11720185B2 (en) Method and system for determining a correct reproduction of a movement
US8213678B2 (en) System and method of analyzing the movement of a user
JP7463052B2 (en) Information processing device, information processing system, information processing method, and program
CN113850248B (en) Motion attitude evaluation method and device, edge calculation server and storage medium
JP7008342B2 (en) Exercise evaluation system
CN110751100A (en) Auxiliary training method and system for stadium
JP7241004B2 (en) Body motion analysis device, body motion analysis system, body motion analysis method, and program
JP2024016487A (en) Training movement counting program, training movement counting device, and training movement counting system
JP2024016484A (en) Training movement counting program, training movement counting device, and training movement counting system
JP2023072656A (en) Information processing method, device and program
KR102205269B1 (en) Body analysis system and computing device for executing the system
JP6940139B2 (en) Physical characteristic analyzer, physical characteristic analysis method, and program
CN113544736A (en) Lower limb muscle strength estimation system, lower limb muscle strength estimation method, and program
WO2023106846A1 (en) Skeleton point-based service providing apparatus and method
TW201510939A (en) Dynamic image analyzing system and operating method thereof
KR102626551B1 (en) Body analysis device
KR102289380B1 (en) Apparatus and method for determining pose based on voice guidance
US20220138458A1 (en) Estimation device, estimation system, estimation method and program
JP7482471B2 (en) How to generate a learning model
US20220061700A1 (en) Human body portion tracking method and human body portion tracking system
JP2021043730A (en) Stationary determining system, and computer program
KR20220156873A (en) Markerless motion capture of hands using multiple pose estimation engines
KR20230087397A (en) Apparatus and method for providing service based on skeleton point
JP2022126070A (en) Image processing method