Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Amazon Rekognitionを使ったインターホンハック
Search
KMiura
January 31, 2025
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Amazon Rekognitionを使ったインターホンハック
JAWS-UG名古屋1月会AWS Demo-1グランプリ
https://jawsug-nagoya.connpass.com/event/341107/
KMiura
January 31, 2025
Transcript
21 slides
Amazon Rekognitionを使ったインター ホンハック KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • Acallのバックエンドエンジニア • JAWS UG名古屋&神戸 運営
• 好きなAWSのサービス:AWS IoT, Lambda, ECS @k_miura_io koki.miura05
今回のテーマ
AWSでスマートホーム化計画 • 築20年超えのマンションには何もスマートホー ム要素が無い • QOLを上げるためにありとあらゆるハックをし てきた
例えばこんなこと カーテン&ライト コーヒーメーカー
次なるターゲット
マンションあるある • エントランスはオートロック • 鍵は2つ持ち(最近のマンションはそうでも 無いらしい) • 大体カメラ付き
顔認証でエントランスを突破したい
僕のバックグラウンド • 実は情報系ではなくロボット工学の専攻 • C、C++がメイン • ロボットで使われる技術の一つとして画 像認識をバリバリ触っていた
Open CV • インテルのエンジニアが開発した オープンソースのコンピュータビジョ ン向けライブラリ • ディープラーニングモデルを使った画 像検出や画像表示に使えるGUIのサ ポートもある
• ロボット工学、AI(ディープラーニング) の研究やってた人間で知らない人は いないぐらい画像認識の常識
しかしここで問題が • 自分の顔をフルスクラッチで学習するには膨大なデータが必要 • パワフルなGPUの載ったハイスペックなマシンが必要 • アプリ屋さんになった三浦はディープラーニングの知識はとっくに忘れた
Amazon Rekognitionが使えそう • AWSが提供しているクラウドベースの画像、 ビデオ分析サービス • Amazonのコンピュータビジョン研究者が開 発した実証済みのディープラーニング技術 を使って分析をしているらしい •
Recognitionじゃないよ、Rekognitionだよ
顔画像を比較するAPI がある • 2つの画像を比較し、それぞ れに映り込んでいる画像の 類似度を検出するAPIがある • 画素数が荒くてもちゃんと顔 を検出してくれる •
複数の顔が映り込んでても ちゃんと検出してくれるよう
これで顔認証できそう
システム構成
動作の仕組み • Raspberry Piに繋いだWebカメラでインターホンのモ ニターの映像を撮影 • インターホンのモニターで顔を検出したら画像を保存し てAmazon RekognitionのCompare Facesでベー
スの画像との類似度を計算 • 類似度90%超えるとサーボモータで解錠ボタンを押す • シグナルタワーは画像の検出結果のデバッグ用
実際の挙動 https://www.youtube.com/watch?v=WXetAa3L9NM
DEMO
まとめ • Amazon Rekognitionで思ってたより簡単に顔認証ができてしまった • 画質がどれだけ悪くても割と精度高く認識できる • 生成AIもいいけど、古のAI(ディープラーニング)もいいよ
宣伝 https://jawsdays2025.jaws-ug.jp/
END
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1.2k
Pythonでルンバをハックしてみた
miura55
0
280
あなたの知らないクラフトビールの世界
miura55
0
500
Storage Browser for Amazon S3を触ってみた + α
miura55
0
380
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
370
あのボタンでつながるSORACOM
miura55
0
210
Postman Flowsで作るAPI連携LINE Bot
miura55
0
470
Lambdaと共に歩んだAWS
miura55
3
1.1k
Bedrock Knowledge baseを使って今年の上半期のニュースを聞いてみた(リベンジ編)
miura55
0
430
Other Decks in Technology
See All in Technology
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
210
閉域網でのAPI公開の選択肢全部比較!
takano0131
5
690
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
320
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
260
kubellの最新データ分析環境
kubell_hr
2
260
設計手法を「道具」として使いこなすために
a_suenami
7
1.7k
飯から始まるデータエンジニア
sansantech
PRO
0
130
20261119_AgentCore
takuyay0ne
1
190
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
260
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
230
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
190
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
600
Optimizing for Happiness
mojombo
378
72k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380