- Machine Learning Projects for Mobile Applications
- Karthikeyan NG
- 145字
- 2021-06-10 19:41:40
Building the iOS demo app
If you are not very familiar with iOS application building, please look at some basic tutorials for this. You need to install cocoapods to install all the dependencies:
sudo gem install cocoapods
There is a shell script available to download the model files required to run this application:
sh tensorflow/contrib/lite/examples/ios/download_models.sh
You can go to the project directory and install pod from the command line:
cd tensorflow/contrib/lite/examples/ios/camera
pod install
pod update
Once the update is done, you should be able to see tflite_camera_example.xcworkspace. Then, you can open the application in Xcode. You can use the following command as well:
open tflite_camera_example.xcworkspace
It is now time to build and run the application on your iPhone.
You need to allow the app the user permissions for camera usage. Use the camera to point to objects, and start seeing the classification results!
推薦閱讀
- The Applied AI and Natural Language Processing Workshop
- INSTANT ForgedUI Starter
- Mastering Adobe Photoshop Elements
- 筆記本電腦維修300問
- 筆記本電腦使用、維護與故障排除從入門到精通(第5版)
- Hands-On Artificial Intelligence for Banking
- 筆記本電腦維修實踐教程
- RISC-V處理器與片上系統設計:基于FPGA與云平臺的實驗教程
- WebGL Hotshot
- The Artificial Intelligence Infrastructure Workshop
- 單片機原理與技能訓練
- Exceptional C++:47個C++工程難題、編程問題和解決方案(中文版)
- Applied Deep Learning with Keras
- 數據恢復與硬盤修理
- OpenCV 4 Computer Vision Application Programming Cookbook(Fourth Edition)