private static void printUsage()

in tensorflow-examples-legacy/object_detection/src/main/java/DetectObjects.java [168:187]


  private static void printUsage(PrintStream s) {
    s.println("USAGE: <model> <label_map> <image> [<image>] [<image>]");
    s.println("");
    s.println("Where");
    s.println("<model> is the path to the SavedModel directory of the model to use.");
    s.println("        For example, the saved_model directory in tarballs from ");
    s.println(
        "        https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md)");
    s.println("");
    s.println(
        "<label_map> is the path to a file containing information about the labels detected by the model.");
    s.println("            For example, one of the .pbtxt files from ");
    s.println(
        "            https://github.com/tensorflow/models/tree/master/research/object_detection/data");
    s.println("");
    s.println("<image> is the path to an image file.");
    s.println("        Sample images can be found from the COCO, Kitti, or Open Images dataset.");
    s.println(
        "        See: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md");
  }