Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ブラウザの API でカメラを使った検出処理 / IoTLT vol.82
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
you(@youtoy)
PRO
December 21, 2021
Technology
0
290
ブラウザの API でカメラを使った検出処理 / IoTLT vol.82
you(@youtoy)
PRO
December 21, 2021
Tweet
Share
More Decks by you(@youtoy)
See All by you(@youtoy)
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
300
M5Stack Chain DualKey を UIFlow 2.0 + USB接続で試す / ビジュアルプログラミングIoTLT vol.22
you
PRO
2
150
ローカルLLMをJavaScriptで(少しAIエージェントSDKなどの話も) / 冬のJavaScript祭り @Pleasanter Lounge
you
PRO
0
940
Webの技術で「特殊なゲーム用コントローラーや他デバイスなど」とブラウザを連携させる / HTML5 11th Anniversary
you
PRO
0
80
ブラウザのAPIで Nintendo Switch用の特殊なゲーム用コントローラーを体験型コンテンツに / IoTLT @ストラタシス・ジャパン
you
PRO
0
200
ローカルLLMとLINE Botの組み合わせ その2(EVO-X2でgpt-oss-120bを利用) / LINE DC Generative AI Meetup #7
you
PRO
1
880
生成AIとM5Stack / M5 Japan Tour 2025 Autumn 東京
you
PRO
0
430
子ども向けの活動や自身のモノづくり活動などでやったこと / micro:bit ファンの集い
you
PRO
0
43
ブラウザのAPIで色々なデバイスをあれこれ扱ってみた話(主にWeb HID API) / IoTLT @JLCPCB オープンハードカンファレンス
you
PRO
0
170
Other Decks in Technology
See All in Technology
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
250
Tebiki Engineering Team Deck
tebiki
0
24k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
240
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3.1k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.8k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
350
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
180
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.2k
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Balancing Empowerment & Direction
lara
5
890
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Evolving SEO for Evolving Search Engines
ryanjones
0
120
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
Side Projects
sachag
455
43k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
76
Test your architecture with Archunit
thirion
1
2.1k
Transcript
ブラウザの API でカメラを使った検出処理 2021年12月21日 (火) IoT縛りの勉強会! IoTLT vol.82 @オンライン 豊田陽介(
) @youtoy
自己紹介 ビジュアルプログラミング IoTLT共同主催、その他にも 豊田陽介( ) 普段は、某通信会社勤務 @youtoy ・IT系イベント主催、登壇や運営なども ・子ども向けの活動いろいろ(IT系以外も) ・
Microsoft MVP(2021/10 から) プライベートでの活動 ・ガジェット好き ・アドベントカレンダーで記事を多数アップ その他 自宅にたくさん
本題(1つ目)へ
Barcode Detection API ブラウザで QRコードや 1次元バーコード等が読めるAPI 参照元: https://chromestatus.com/feature/4757990523535360 https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API
いろいろなバーコードに対応 こんなに色々あるのか... 参照元: https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API
最初に情報を見かけたのは
こちらのQiitaの記事 参照元: https://qiita.com/kan_dai/items/3486880236a2fcd9b527
そして実際に試してみたことも
こんなJavaScriptの処理
余談 (ブラウザのAPIじゃないけど)
JavaScriptライブラリ(jsQR)を使って 本来の用途と違う使い方を (あまりオススメできない...)
気になる情報も
バーコード以外も検出できる仕組み?
Face Detection API 参照元: https://chromestatus.com/feature/5678216012365824
Text Detection API 参照元: https://chromestatus.com/feature/5644087665360896
利用する場合
3つのうち2つはフラグの有効化が必要 This API is part of the new capabilities project.
Barcode detection has launched in Chrome 83. Face and text detection are available behind a flag. This post will be updated as the Shape Detection API evolves. 参照元: https://web.dev/shape-detection/
フラグの有効化 参照元: https://web.dev/shape-detection/ 「about://flags」にアクセスして、 「#enable-experimental-web-platform-features」 を有効に
試して記事にしてみたい (まだ未着手)
カメラつながりな話で
その他に見かけて気になったやつ 参照元: https://chromestatus.com/feature/5570717087170560 Pan/Tilt support for Camera【getUserMedia()】
試して記事にしてみたりなど
その他に気になっているやつ 参照元 :https://chromestatus.com/feature/5732397976911872 WebXR Plane Detection API(オリジントライアル)
終わり!