V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cralison

从零开始在 iPhone 上运行视频流实时预测模型应用,只需 10 步

  •  1
     
  •   cralison · Nov 30, 2017 · 1998 views
    This topic created in 3082 days ago, the information mentioned may be changed or developed.
    1 、买一台苹果电脑,建议 MacBook Pro。

    2 、安装 Xcode。

    3 、克隆 TensorFlow:https://github.com/tensorflow/tensorflow.git

    4 、下载 TensorFlow 核心静态库,运行:tensorflow/contrib/makefiles/download_depencies.sh 。

    5 、编译生成 iOS 工程静态库,运行:tensorflow/contrib/makefile/build_all_iso.sh 。

    6 、进入 iOS 工程目录:/tensorflow/examples/ios/camera。

    7 、下载 Google Inception V1 模型,放到 data 目录:http://download.tensorflow.org/models/image/imagenet/inception-2015-12-05.tgz 。

    8 、下载工程依赖库,运行:Podpod install。

    9 、运行工程,点击:tf_camera_example.xcworkspace。

    10 、在 Xcode 选中 iPhone 作为打包设备,Run。

    计划帮助 1 万个人把程序跑起来,如有疑问,可以加我微信咨询,请注明:移动 AI。

    欢迎推荐上海机器学习工作机会,我的微信:qingxingfengzi
    Supplement 1  ·  Dec 9, 2017
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2974 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:50 · PVG 20:50 · LAX 05:50 · JFK 08:50
    ♥ Do have faith in what you're doing.