matlab-deep-learning / stride-measurement-of-runner

This sample script is to measure the stride of a runner in video by using pretrained deep learning model and simple signal processing.

Home Page:https://jp.mathworks.com/products/deep-learning.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stride measurement of a runner

ランナーの歩幅計測

This sample script is to measure the stride of a runner in video by using deep learning model and simple signal processing.

このサンプルスクリプトでは、ディープラーニングモデルと簡単な信号処理を組合わせて、ビデオ中のランナーの歩幅を計測する方法を示します。

Pre-requisites

動作環境

  • MATLAB 2020a
  • Image Processing Toolbox
  • Computer Vision Toolbox
  • Deep Learning Toolbox

You need a Human Pose Estimation Network. Download this repository and set the path to the project. In detail, see the repository.

[Japanese]このサンプルを動かすためには姿勢推定のネットワークモデルが必要となります。こちらのリポジトリからダウンロードし、リポジトリへのパスを設定しておいてください。詳細はリポジトリのページをご覧ください。

Getting Started

サンプルデモを試す

First, open the project file

[Japanese]始めにプロジェクトファイルを開いてください。

open Stride_measurement_of_runner.prj;

This sample code requires a pretrained YOLOv3 network for detecting person from an image. Follow "src/YOLOv3/tb_darknet2yolo_mat.mlx" to get the pretrained YOLOv3 network.

[Japanese]このサンプルコードは、画像から人物を検出するために学習済みのYOLOv3ネットワークを必要とします。"src/YOLOv3/tb_darknet2yolo_mat.mlx"を実行して学習済みのYOLOv3ネットワークを準備してください。

open tb_darknet2yolo_mat.mlx; % and execute mlx

To run the main script, run "src/stride_measurement_of_runner.mlx".

[Japanese]メインスクリプトは"src/stride_measurement_of_runner.mlx"です。これを開いて実行してください。

open Stride_measurement_of_runner.mlx;

Resulted Video

処理結果のビデオ

The resulted video processed by the script above will be found at "data/processed/".

[Japanese]上のスクリプトで処理した結果のビデオは"data/processed/"にあります。

image_0.png

Documents

The powerpoint file are saved in "docs/".

[Japanese]パワーポイントファイルは"docs/"フォルダに保存しています。

Copyright 2020 The MathWorks, Inc.

About

This sample script is to measure the stride of a runner in video by using pretrained deep learning model and simple signal processing.

https://jp.mathworks.com/products/deep-learning.html

License:Other


Languages

Language:MATLAB 85.4%Language:TeX 14.6%