- 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!
推薦閱讀
- ATmega16單片機項目驅(qū)動教程
- Instant uTorrent
- Linux KVM虛擬化架構(gòu)實戰(zhàn)指南
- 辦公通信設(shè)備維修
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)
- Linux運維之道(第2版)
- BeagleBone By Example
- Intel FPGA/CPLD設(shè)計(高級篇)
- 數(shù)字邏輯(第3版)
- INSTANT ForgedUI Starter
- AMD FPGA設(shè)計優(yōu)化寶典:面向Vivado/SystemVerilog
- Mastering Adobe Photoshop Elements
- Machine Learning Solutions
- LPC1100系列處理器原理及應(yīng)用
- WebGL Hotshot