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
商品がスキャンできない!ちょっとおバカな Vision フレームワーク
Search
Yu Takahashi
September 20, 2025
Programming
54
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
商品がスキャンできない!ちょっとおバカな Vision フレームワーク
Yu Takahashi
September 20, 2025
More Decks by Yu Takahashi
See All by Yu Takahashi
How Swift runs on Android ~Swift SDK for Android & KMP~
taka2120
0
77
Why Can't We Have Nice Macros for #Preview?
taka2120
0
25
Swift をつくろう!
taka2120
0
48
Foundation Models で On-device AI を実現する / Foundation Models for On-device AI
taka2120
0
130
Other Decks in Programming
See All in Programming
Jetpack Compose メカニズム
skydoves
0
470
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
220
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.2k
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
8.4k
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
570
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
160
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
3.4k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
620
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
190
Intent as Code
shoppingjaws
6
1.1k
速習iPhone Duo対応
yuukiw00w
2
760
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
18
15k
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Technical Leadership for Architectural Decision Making
baasie
3
580
Chasing Engaging Ingredients in Design
codingconduct
0
340
ラッコキーワード サービス紹介資料
rakko
1
5M
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Transcript
Yu Takahashi (@yutk_941) ͕εΩϟϯͰ͖ͳ͍ʂ ͪΐͬͱ͓όΧͳ Vision ϑϨʔϜϫʔΫ
/ 31 ࣗݾհ ߴڮ ༝ (Yu Takahashi) • STORES ϨδνʔϜ
iOS ΞϓϦΤϯδχΞ 26 ଔఆऀΞϧόΠτ • SwiftUI ͕ग़ͨࠒʹ Swift ࢝Ίͨ 2 X: @yutk_941
ϨδΞϓϦͷεΩϟϯͷ͘͠Έ
/ 31 ϨδΞϓϦͷεΩϟϯͷ͘͠Έ 4 όοΫΤϯυ όʔίʔυͰݕࡧ ߹க͢Δ ΞΠςϜΛฦ٫ ϨδΞϓϦ όʔίʔυεΩϟϯ
/ 31 όʔίʔυεΩϟϯͷ͘͠Έ 5 Apple Vision ϑϨʔϜϫʔΫ import Vision let
request = VNDetectBarcodesRequest() let handler = VNImageRequestHandler(•••) try handler.perform([request]) if let results = request.results, let barcode = results.first?.payloadStringValue { print(barcode) }
ϨδΞϓϦͰൃੜͨ͠
/ 31 12 ܻόʔίʔυ͕ಡΊͳ͍!!! 7 073854000861
/ 31 0073854000861 12 ܻόʔίʔυ͕ಡΊͳ͍!!! 8 !?
/ 31 ݱঢ় 9 όοΫΤϯυ _073854000861 0073854000861 Ͷ͐ΑͦΜͳΜ! ϨδΞϓϦ
ͳΜͰͶΜ!
/ 31 11 όʔίʔυͷن֨ ԿΛنఆ͍ͯ͠Δ? • ͑Δจࣈ • ܻ etc…
ྫ) • JAN (EAN-13) • UPC-A • Code 128 etc…
/ 31 12 ༧ EAN-13 UPC-A Խ͚ͨΜ͡ΌͶ?
/ 31 υΩϡϝϯτݟͯΈͨ 13 VNBarcodeSymbology Vision ͕αϙʔτ͍ͯ͠Δ όʔίʔυҰཡ UPC-A ͕αϙʔτ͞Εͯͳ͍!?
UPC-A (12 ܻόʔίʔυ)
/ 31 15 UPC-A (12 ܻόʔίʔυ) ίʔυ νΣοΫσδοτ
/ 31 16 0 7 3 8 5 4 0
0 0 8 61 0 7 3 8 5 4 0 0 0 8 6 = 69 ••• 8+18 × 3 × 1 × 3 × 1 × 3 × 1 × 3 × 1 × 3 × 1 × 3 69 % 10 = 9 10 - 9 = 1 UPC-A νΣοΫσδοτܭࢉํ๏
ݕূ
/ 31 ݕূ 18 UPC-A ͷઌ಄ʹ 0 Λ͚ͯΈΔ ҟৗͳ EAN-13
ͳΒ 0 Λফͯ͠ݕࡧ~ ♪
EAN-13 (13 ܻόʔίʔυ)
/ 31 EAN-13 (13 ܻόʔίʔυ) 20 ࠃίʔυ
/ 31 21 0 0 7 3 8 5 4
0 0 0 8 61 = 69 × 3 × 1 × 3 × 1 × 3 × 1 × 3 × 1 × 3 × 1 × 3 × 1 70 - 69 = 1 EAN-13 (13 ܻόʔίʔυ) 0 7 9 8 15 4 0 0 0 8 18 0
/ 31 22 ݕূ݁Ռ Խ͚ͨ UPC-A = ਖ਼ৗͳEAN-13 ·͔͡Α 😇
/ 31 ͱ͍͏͜ͱ… Vision ϑϨʔϜϫʔΫ… UPC-A ʹҙਤతʹ 0 Λ͚ͯ EAN-13
ʹ͍ͯ͠Δ 23 υΩϡϝϯτʹॻ͍ͯ͘ΕΑʂ
/ 31 Ͳ͏͠Α͏ ઌ಄ 0 ͷ EAN-13 όʔίʔυओʹถ༻Ͱ༻ ୯ʹ 0
Λফ͚ͩ͢Ͱ͍͚ͳ͍ ʮUPC-A ͩͬͨՄೳੑ͕͋Δ͔ʯ Λผ͢Δ͔͠ͳ͍ 24
/ 31 ༨ஊ 25 Google ͷ ML Kit Ͱ ͪΌΜͱ
UPC-A (12 ܻ) ͷ·· ಡΈऔΕΔ
मਖ਼
/ 31 ΞΠςϜݕࡧϑϩʔͷमਖ਼ 27
/ 31 ݁Ռ 28
None
Thank you! X (@yutk_941) Blog