재작년 애플은 모바일에서 머신러닝을 실행시킬 수 있는 Core ML을 공개했고 뒤를 이어 구글의 Firebase도 ML Kit을 공개했습니다.
"Just Point It"라는 간단한 앱 소개와 함께 모바일과 머신러닝이 만나려면 어떤 준비를 해야하는지, 어떻게 사용하는지, 어떤 결과들이 나올 수 있는지 등을 이야기해 보고자 합니다.
참고링크(TF KR 공유글)에서 데모 영상을 확인할 수 있습니다. https://www.facebook.com/groups/TensorFlowKR/permalink/842354062772320/
3. MoT Labs
Machine Learning of Things
Jay Lee
(KakaoPay)
Joon ho Lee
(Neurophet)
Doyoung Gwak
(PNU)
Joongwon Hwang
(위메프)
DongSeok Yang
(DKU)
SungJin Lee
(DU)
Taekmin Kim
(SNU)
Yunbum BeakJaewook Kang
(Naver Clova)
Seoyeon Yang
(SNU)
Yonggeun LeeJeongah Shin
(HYU)
Jihwan Lee
(SNU)
Model / Optimization / Hardware / Mobile
28. 영역 표현법
회전 한계각
지원 언어
추론 시간
Core ML의
Text Detection API
ML Kit의
Text Recognition API
Quadrilateral
(Rectangle)
10 °
en
약 12 ms
Polygon
(Rotated Box)
45 ° 이상
en
(cloud: many)
약 60~200 ms
API 비교
(iPhone X, 19.03.10 기준)
https://tv.naver.com/v/4578167
30. Face tracking
Face Detection
Landmarks
Text Detection
Rectangle detection
Barcode detection
Object tracking
Image registration
Image labeling
Text recognition
Face detection
Barcode scanning
Landmark detection
Smart reply
Vision
(Core ML)
ML Kit
사용할 수 있는 API
31. Face tracking
Face Detection
Landmarks
Text Detection
Rectangle detection
Barcode detection
Object tracking
Image registration
Image labeling
Text recognition
Face detection
Barcode scanning
Landmark detection
Smart reply
Vision
(Core ML)
ML Kit
사용할 수 있는 API
No Finger Detection API
55. Pose Estimation
Text Detection
Words Extraction
Find a Nearest Word
Crop the Word
Text Recognition
Pointing Word
Recognition
performance
짚은 단어 인식
56. Pose Estimation
Text Detection
Words Extraction
Find a Nearest Word
Crop the Word
Text Recognition
Majority Voting
erfomanceformance performance
9% 87% 6%
다수결 투표 방법
57. 0 Pose Estimation
1 Text Detection
2 Word Extraction
3 Nearest Word
4 Word Cropping
5 Text Recongition
0
1
2
3
4
5
6 Majority Vote
6
Rule-based
function
ML-based
function
Finger
Detection
OCR
결과
62. 서비스
모델
앱 최적화(배터리 이슈)
학습
- 기능 추가
(사전, 연락처 저장, TTS 등)
- 인터렉션 추가
- 비용이 작은 모델부터 추론
- 필요시에만 추론 빈도 증가
- 모델 퀀타이제이션
https://heartbeat.fritz.ai/reducing-coreml2-model-size-by-4x-with-quantization-in
-ios12-b1c854651c4
https://goo.gl/im
ages/dKrZEm
Powered by
DongSeok Yang
(DKU)
63. 0. 정말로 모바일에서 머신러닝을 사용해야만 하나?
1. 프레임워크에서 제공되는 API 확인
2. 빠르게 파이프라인 구축
3. 앱 최적화
모바일 머신러닝 팁
마지막으로