Skip to content

Commit

Permalink
Video Intelligence samples (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabubake authored Sep 20, 2017
1 parent e52d936 commit 476f33e
Show file tree
Hide file tree
Showing 5 changed files with 340 additions and 274 deletions.
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
Loading

0 comments on commit 476f33e

Please sign in to comment.