Skip to content

Commit

Permalink
Update vision/beta web detection samples to v1 (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored Feb 6, 2018
1 parent 76bcb8b commit 1ee5ae3
Show file tree
Hide file tree
Showing 5 changed files with 307 additions and 25 deletions.
11 changes: 10 additions & 1 deletion vision/cloud-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,17 @@ mvn exec:java -DDetect -Dexec.args="properties ./resources/city.jpg"
mvn exec:java -DDetect -Dexec.args="web ./resources/landmark.jpg"
```

#### Web Entities
```
mvn exec:java -DDetect -Dexec.args="web-entities ./resources/landmark.jpg"
```

#### Web Entities Include Geo
```
mvn exec:java -DDetect -Dexec.args="web-entities-include-geo ./resources/landmark.jpg"
```

#### Crop
```
mvn exec:java -DDetect -Dexec.args="crop ./resources/landmark.jpg"
```

2 changes: 1 addition & 1 deletion vision/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vision</artifactId>
<version>1.15.0</version>
<version>1.16.0</version>
</dependency>
<!-- [END dependencies] -->

Expand Down
Binary file added vision/cloud-client/resources/city.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1ee5ae3

Please sign in to comment.