Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
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
10 changes: 5 additions & 5 deletions video/cloud-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ After you have authorized, you can analyze videos.
Detect Faces
```
java -cp target/video-google-cloud-samples-1.0.0-jar-with-dependencies.jar \
com.example.video.Detect faces gs://cloudmleap/video/next/volleyball_court.mp4
com.example.video.Detect faces gs://demomaker/google_gmail.mp4
```

Detect Labels
Expand All @@ -48,19 +48,19 @@ java -cp target/video-google-cloud-samples-1.0.0-jar-with-dependencies.jar \
com.example.video.Detect labels-file ./resources/cat.mp4
```

Detect Safe Search annotations
Detect Explicit content annotations
```
java -cp target/video-google-cloud-samples-1.0.0-jar-with-dependencies.jar \
com.example.video.Detect safesearch gs://demomaker/cat.mp4
com.example.video.Detect explicit-content gs://demomaker/gbikes_dinosaur.mp4
```

Detect Shots
```
java -cp target/video-google-cloud-samples-1.0.0-jar-with-dependencies.jar \
com.example.video.Detect shots gs://cloudmleap/video/next/gbikes_dinosaur.mp4
com.example.video.Detect shots gs://demomaker/gbikes_dinosaur.mp4
```

From Windows, you may need to supply your classpath diferently, for example:
From Windows, you may need to supply your classpath differently, for example:
```
java -cp target\\video-google-cloud-samples-1.0.0-jar-with-dependencies.jar com.example.video.Detect labels gs://demomaker/cat.mp4
```
Expand Down
3 changes: 2 additions & 1 deletion video/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@
<artifactId>guava</artifactId>
<version>20.0</version>
</dependency>
<!-- TODO replace with release version -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-video-intelligence</artifactId>
<version>0.21.1-alpha</version>
<version>0.22.1-alpha-SNAPSHOT</version>
Copy link
Member

@dizcology dizcology Sep 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</dependency>
<!-- [END dependencies] -->

Expand Down
Loading