Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update region tags for detect-logos page
  • Loading branch information
alixhami committed Aug 15, 2018
commit 2861c4fcf7ab3c523817efd7f1525b7dfa9b6400
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ public static void detectLandmarksGcs(String gcsPath, PrintStream out) throws Ex
* @throws Exception on errors while closing the client.
* @throws IOException on Input/Output errors.
*/
// [START vision_logo_detection]
public static void detectLogos(String filePath, PrintStream out) throws Exception, IOException {
List<AnnotateImageRequest> requests = new ArrayList<>();

Expand Down Expand Up @@ -518,6 +519,7 @@ public static void detectLogos(String filePath, PrintStream out) throws Exceptio
}
}
}
// [END vision_logo_detection]

/**
* Detects logos in the specified remote image on Google Cloud Storage.
Expand All @@ -528,6 +530,7 @@ public static void detectLogos(String filePath, PrintStream out) throws Exceptio
* @throws Exception on errors while closing the client.
* @throws IOException on Input/Output errors.
*/
// [START vision_logo_detection_gcs]
public static void detectLogosGcs(String gcsPath, PrintStream out) throws Exception,
IOException {
List<AnnotateImageRequest> requests = new ArrayList<>();
Expand Down Expand Up @@ -556,6 +559,7 @@ public static void detectLogosGcs(String gcsPath, PrintStream out) throws Except
}
}
}
// [END vision_logo_detection_gcs]

/**
* Detects text in the specified image.
Expand Down