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
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
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
640
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
160
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.8k
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
150
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
350
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
590
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.3k
AI駆動開発を事業のコアに置く
tasukuonizawa
1
170
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
220
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
From π to Pie charts
rasagy
0
120
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
700
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
It's Worth the Effort
3n
188
29k
The Limits of Empathy - UXLibs8
cassininazir
1
210
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
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(オリジントライアル)
終わり!