官术网_书友最值得收藏!

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!

主站蜘蛛池模板: 湛江市| 荣成市| 嘉峪关市| 海安县| 团风县| 沧州市| 濮阳市| 伽师县| 建始县| 舒兰市| 佳木斯市| 长沙市| 子洲县| 嘉鱼县| 汉中市| 深州市| 凤庆县| 滦南县| 大同县| 临漳县| 彰武县| 新绛县| 邯郸县| 科尔| 明星| 定兴县| 二手房| 深泽县| 商洛市| 炉霍县| 平顶山市| 承德县| 奎屯市| 丹寨县| 德江县| 临颍县| 汾西县| 石泉县| 高安市| 黄龙县| 衡山县|