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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1.2k
Pythonでルンバをハックしてみた
miura55
0
270
あなたの知らないクラフトビールの世界
miura55
0
480
Storage Browser for Amazon S3を触ってみた + α
miura55
0
330
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
330
あのボタンでつながるSORACOM
miura55
0
190
Postman Flowsで作るAPI連携LINE Bot
miura55
0
460
Lambdaと共に歩んだAWS
miura55
3
1.1k
Bedrock Knowledge baseを使って今年の上半期のニュースを聞いてみた(リベンジ編)
miura55
0
410
Other Decks in Technology
See All in Technology
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
1.9k
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
0
2.2k
HHKBエバンジェリストになる方法
941
0
100
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.2k
LLMに渡さなかった仕事
nanaism
0
170
Railsのように考える: See through the Master
snoozer05
PRO
3
850
synctest時代のhttptest Go 1.27で変わるHTTPサーバテストの裏側 / go conference2026 synctest and httptest
budougumi0617
1
3k
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
320
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
240
生成AIエージェントを用いた、 手動テスト手順書から自動テストへの 変換手法の検討
magicpod
0
160
AI de Idea
kawaguti
PRO
2
110
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
560
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
The Language of Interfaces
destraynor
162
27k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
My Coaching Mixtape
mlcsv
0
310
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
300
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Transcript
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