SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
GR-CARRYで
ジェスチャーの機械学習
ニャンパス 登尾
http://bit.ly/iotlt-carry
1
登尾 徳誠(@tnoborio)
• ニャンパス代表 / ソフトウェア開発
• 書籍「はじめてのClojure」
• Tokyo.clj等勉強会諸々開催
• 越谷市にて、コワーキングスペース
HaLake(http://halake.com)を運営
2
GR-CARRY
• ルネサス製
• BLE、加速度センサー、タッチセン
サー、フルカラーLED
• ボタン電池で動く
• (未発売) → ルネサスさんのイベント

「がじぇるねメイカソン」に参加し
たことでゲット!
3
がじぇるねメイカソンで

作ったもの
4
コンセプト:ジェスチャーで
エアコンやライトのON/OFFを制御!     
仕組み
加速度センサーからジェスチャー
を認識し、各種リモート操作が可
能なデバイスへ制御を行う
IRKit(赤外線制御)や、Wemo(電源
制御)など、Wifi経由で操作できる
ガジェットが対象
がじぇるねメイカソンでの

ジェスチャー認識
• ソフトウェアにProcessingを使用
• 加速度をタップされた強度として数値化し、その数値から動いたと判断
• 強度だけではジェスチャー認識は限界がある
6
ということで
• 流行りの機械学習を使って、

ジェスチャー認識をやってみたい!
• 機械学習ライブラリが充実のPythonを
使用
• 「実践機械学習システム」オライリー刊
を必要そうなところをかいつまんで読む
7
機械学習3ステップ
1. ジェスチャーを行い、加速度センサーからの
情報をデータとして保存(record.py)
2. 保存されたファイルから分類器を作成
(learn.py)
3. 分類器を使って実際の認識 → 外部のデバイス
へ指示(gesture.py)



https://github.com/nyampass/gr-carry-gesture
8
学習の具体的な流れ
• 取得できるのは、時間ごと
のXYZなので、これを一次
元のデータに変換
• scikit-learnを使いサポート
ベクターマシン(SVM)で、
多項式での分類
• データの半分を訓練に使い、
残り半分を評価するための
テストに使う 9
時間 X Y Z
0 -0.9051 -0.25746 0.2247
1 -0.9051 -0.25746 0.24006
2 -0.90186 -0.24702 0.2391
3 -0.90186 -0.24702 0.2391
4 -0.90186 -0.24702 0.23526
5 -0.8613 -0.25692 0.23526
6 -0.8613 -0.25692 0.23526
7 -0.8613 -0.25692 0.23526
8 -0.84642 -0.27174 0.24048
9 -0.84642 -0.27174 0.24048
10 -0.84642 -0.27174 0.24048
今後の展開
• より多くのサンプル・データ採取
• シリアル通信からの脱却 → BLEでやりと
り、スマートフォンとの連携
• HaLakeにてIoT勉強会、機械学習勉強会を
開催、知見を広める
10
コワーキングスペースHaLake
http://halake.com/
• 越谷市レイクタウン駅から徒歩30秒
• IoTガジェットの貸出も始めました
• 月額会員(1万2000円/月)になると、
• 3時間の技術支援
• 毎週日曜開催の親子!プログラミング教室(Arduino、Scratch)に
無償で参加
• イベント続々
• 10/31開催のlittleBitsワークショップ
• 11/6 ルネサスさんとのプロデューサーミーティング
• 今後のHaLakeでのイベント情報

https://halake.doorkeeper.jp/ 11
IoT開発の貸し出しサービスもスタート!
http://iot.halake.com/
12
ESP8266や、GRシリーズなど面白いボード、
マイコンが出ていて、IoTの波が来ています。

一緒に楽しみましょう!
資料 -> http://bit.ly/iotlt-carry
13

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

GR-CARRYで ジェスチャーの機械学習 - かぎーぱみゅぱみゅVer.2