Skip to content

Commit

Permalink
samples: Vision region tag update (#1182)
Browse files Browse the repository at this point in the history
* updates region tags for detecting-crop-hints page

* updates region tags for detecting-faces page

* updates region tags for detecting-fulltext page

* updates region tags for detecting-labels page

* updates region tags for detecting-landmarks page

* update region tags for detect-logos page

* update region tags for detecting-properties page

* update region tags for detecting-safe-search page

* update region tags for detecting-text page

* update region tags for detecting-web page

* update beta tags to standard

* update PDF detection region tags to standard

* updates product search region tags to standard

* fix label detection tag

* remove region tags from imports

* updates to mirror python files

* Fix indentation
  • Loading branch information
alixhami authored and nnegrey committed Aug 15, 2018
1 parent a29ccf3 commit f878bf5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vision/snippets/src/main/java/com/example/vision/Detect.java
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ public static void detectDocumentTextGcs(String gcsPath, PrintStream out) throws
}
// [END vision_detect_document_uri]

// [START vision_async_detect_document_ocr]
// [START vision_text_detection_pdf_gcs]
/**
* Performs document text OCR with PDF/TIFF as source files on Google Cloud Storage.
*
Expand Down Expand Up @@ -1436,7 +1436,7 @@ public static void detectDocumentsGcs(String gcsSourcePath, String gcsDestinatio
}
}
}
// [END vision_async_detect_document_ocr]
// [END vision_text_detection_pdf_gcs]

// [START vision_localize_objects]
/**
Expand Down Expand Up @@ -1482,7 +1482,7 @@ public static void detectLocalizedObjects(String filePath, PrintStream out)
}
// [END vision_localize_objects]

// [START vision_localize_objects_uri]
// [START vision_localize_objects_gcs]
/**
* Detects localized objects in a remote image on Google Cloud Storage.
*
Expand Down Expand Up @@ -1525,7 +1525,7 @@ public static void detectLocalizedObjectsGcs(String gcsPath, PrintStream out)
}
}
}
// [END vision_localize_objects_uri]
// [END vision_localize_objects_gcs]

// [START vision_handwritten_ocr]
/**
Expand Down Expand Up @@ -1600,7 +1600,7 @@ public static void detectHandwrittenOcr(String filePath, PrintStream out) throws
}
// [END vision_handwritten_ocr]

// [START vision_handwritten_ocr_uri]
// [START vision_handwritten_ocr_gcs]
/**
* Performs handwritten text detection on a remote image on Google Cloud Storage.
*
Expand Down Expand Up @@ -1672,5 +1672,5 @@ public static void detectHandwrittenOcrGcs(String gcsPath, PrintStream out) thro
}
}
}
// [END vision_handwritten_ocr_uri]
// [END vision_handwritten_ocr_gcs]
}

0 comments on commit f878bf5

Please sign in to comment.