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

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!

主站蜘蛛池模板: 博罗县| 广丰县| 聂荣县| 恩施市| 四子王旗| 日照市| 商丘市| 高安市| 广昌县| 灵寿县| 资阳市| 莆田市| 敦化市| 东宁县| 碌曲县| 西峡县| 稻城县| 湖州市| 竹溪县| 阿勒泰市| 赤壁市| 普兰县| 呼玛县| 舒城县| 泾川县| 漠河县| 崇州市| 中西区| 鄄城县| 拉萨市| 平昌县| 锦屏县| 城口县| 依兰县| 天镇县| 明溪县| 微博| 会理县| 龙江县| 梁河县| 蛟河市|