https://github.com/tucan9389/mobilenet-mlkit
MLKit을 사용하여 MobileNet.tflite를 실행시켜본 예제입니다.
https://github.com/tucan9389/mobilenet-mlkit
Last synced: 3 months ago
JSON representation
MLKit을 사용하여 MobileNet.tflite를 실행시켜본 예제입니다.
- Host: GitHub
- URL: https://github.com/tucan9389/mobilenet-mlkit
- Owner: tucan9389
- License: mit
- Created: 2018-06-12T07:39:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T03:30:06.000Z (over 6 years ago)
- Last Synced: 2025-04-29T10:47:54.321Z (6 months ago)
- Language: Swift
- Size: 20 MB
- Stars: 11
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MobileNetApp-MLKit


본 프로젝트는 [MoTLabs/mot-ios-tensorflow](https://github.com/motlabs/mot-ios-tensorflow)에서 연재하는 iOS용 머신러닝 모델 사용법에대한 예제프로젝트입니다.

> [Core ML 사용했던 예제](https://github.com/tucan9389/MobileNetApp-CoreML)와 동일한 UI를 사용했습니다.
## 요구환경
- Xcode 9.0+
- iOS 8+
- Swift 3.0+
- CocoaPods 1.2.0+## 준비물
- Tensorflow Lite 모델(`mobilenet_quant_v1_224.tflite`)과 레이블 파일(`labels.txt`)
☞ [Tensorflow Lite 홈페이지에서 다운](https://www.tensorflow.org/versions/r1.5/mobile/tflite/demo_android)## 빌드 준비
### Firebase 설정
1. [애플 개발자 인증센터](https://developer.apple.com/account/ios/certificate/)에서 `App ID` 생성
2. [Firebase 콘솔](https://console.firebase.google.com/u/0/)에 프로젝트를 추가(`App ID` 필요)
☞ 프로젝트 추가할때 `GoogleService-Info.plist` 내려받기
3. [iOS 프로젝트에 Firebase 추가](https://firebase.google.com/docs/ios/setup)
- Bundle Identifier에 `App ID` 입력
- Xcode 프로젝트에 `GoogleService-Info.plist` 추가