Adding an object detection feature to an iOS app

Now perform the following steps to add the model files, label file, and code to the app and run to see the object detection in action:

  1. Drag and drop the three object detection model graphs, ssd_mobilenet_v1_frozen_inference_graph.pb, faster_rcnn_inceptionv2_frozen_inference_graph.pb, and faster_rcnn_resnet101_frozen_inference_graph.pb, we downloaded (and renamed here for clarification) in the previous section, as well as the mscoco_label_map.pbtxt label map file and a couple of test images, to the TFObjectDetectionAPI project.
  2. Add the ios_image_load.mm and its .h files from the TensorFlow iOS sample simple app or the iOS app we created in the last chapter to the project.
  3. Download the Protocol ...

Get Intelligent Mobile Projects with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.