[go: nahoru, domu]

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Digit Classifier iOS sample

Requirements

  • Xcode 10.3 (installed on a Mac machine)
  • An iOS Simuiator running iOS 12 or above
  • Xcode command-line tools (run xcode-select --install)
  • CocoaPods (run sudo gem install cocoapods)

Build and run

  1. Clone the TensorFlow examples GitHub repository to your computer to get the demo application.
    git clone https://github.com/tensorflow/examples
  2. Install the pod to generate the workspace file:
    cd examples/lite/examples/digit_classifier/ios && pod install
    Note: If you have installed this pod before and that command doesn't work, try pod update.
    At the end of this step you should have a directory called DigitClassifier.xcworkspace.
  3. Open the project in Xcode with the following command:
    open DigitClassifier.xcworkspace
    This launches Xcode and opens the DigitClassifier project.
  4. Select Product -> Run to install the app on an iOS Simulator or a physical device.