30
22

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PoseNet:TensorFlow.js動かしてみた

Last updated at Posted at 2018-05-08

#Twitterでこんな記事が流れてきた
Google、スマートフォン含むWebブラウザでリアルタイムに人間の姿勢推定を可能にする機械学習モデルPoseNet:TensorFlow.jsバーション発表
https://shiropen.com/seamless/google-tensorflow-posenet

すげええええええええ!!!!

#自分のPCで動かしてみよう
gitにもデモがあったので動かしてみました
https://github.com/tensorflow/tfjs-models/tree/master/posenet
npm install @tensorflow-models/posenet だとうまくうごかなかったので
git clone https://github.com/tensorflow/tfjs-models/tree/master/posenet
で落としました。/demosのREADMEに書いてある通りに

cd into the demos folder
cd demos
Install dependencies and prepare the build directory:
yarn
To watch files for changes, and launch a dev server:
yarn watch

yarnを使ったことがなかったので
yarnを使ってみた
https://qiita.com/masterkey1009/items/50f95b1187646a7db385
を頼りにyarnを導入し、READMEに従ったら動きました
スクリーンショット 2018-05-08 13.04.21.png

すごい!!

30
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
30
22

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?