Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

samples: remove migrated samples #1084

Merged
merged 3 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
41 changes: 2 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ implementation 'com.google.cloud:google-cloud-video-intelligence'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-video-intelligence:2.4.0'
implementation 'com.google.cloud:google-cloud-video-intelligence:2.5.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.4.0"
libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.5.0"
```

## Authentication
Expand Down Expand Up @@ -116,43 +116,6 @@ use this Cloud Video Intelligence Client Library.



## Samples

Samples are in the [`samples/`](https://github.com/googleapis/java-video-intelligence/tree/main/samples) directory.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Detect | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/Detect.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/Detect.java) |
| Detect Logo | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/DetectLogo.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/DetectLogo.java) |
| Detect Logo Gcs | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/DetectLogoGcs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/DetectLogoGcs.java) |
| Streaming Annotation To Storage | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingAnnotationToStorage.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingAnnotationToStorage.java) |
| Streaming Auto Ml Action Recognition | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingAutoMlActionRecognition.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingAutoMlActionRecognition.java) |
| Streaming Auto Ml Classification | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingAutoMlClassification.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingAutoMlClassification.java) |
| Streaming Auto Ml Object Tracking | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingAutoMlObjectTracking.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingAutoMlObjectTracking.java) |
| Streaming Explicit Content Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingExplicitContentDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingExplicitContentDetection.java) |
| Streaming Label Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingLabelDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingLabelDetection.java) |
| Streaming Object Tracking | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingObjectTracking.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingObjectTracking.java) |
| Streaming Shot Change Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/StreamingShotChangeDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/StreamingShotChangeDetection.java) |
| Text Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/TextDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/TextDetection.java) |
| Track Objects | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/beta/video/TrackObjects.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/beta/video/TrackObjects.java) |
| Detect | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/Detect.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/Detect.java) |
| Logo Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/LogoDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/LogoDetection.java) |
| Logo Detection Gcs | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/LogoDetectionGcs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/LogoDetectionGcs.java) |
| Quickstart Sample | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/QuickstartSample.java) |
| Text Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/TextDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/TextDetection.java) |
| Track Objects | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/com/example/video/TrackObjects.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/video/TrackObjects.java) |
| Detect | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/Detect.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/Detect.java) |
| Detect Faces | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/DetectFaces.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/DetectFaces.java) |
| Detect Faces Gcs | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/DetectFacesGcs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/DetectFacesGcs.java) |
| Detect Person | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/DetectPerson.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/DetectPerson.java) |
| Detect Person Gcs | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/DetectPersonGcs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/DetectPersonGcs.java) |
| Logo Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/LogoDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/LogoDetection.java) |
| Logo Detection Gcs | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/LogoDetectionGcs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/LogoDetectionGcs.java) |
| Quickstart Sample | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/QuickstartSample.java) |
| Text Detection | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/TextDetection.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/TextDetection.java) |
| Track Objects | [source code](https://github.com/googleapis/java-video-intelligence/blob/main/samples/snippets/src/main/java/video/TrackObjects.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-video-intelligence&page=editor&open_in_editor=samples/snippets/src/main/java/video/TrackObjects.java) |



## Troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-video-intelligence-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</parent>

<name>Google Cloud video-intelligence BOM</name>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</parent>

<developers>
Expand Down Expand Up @@ -122,7 +122,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Binary file removed samples/snippets/resources/cat.mp4
Binary file not shown.
Binary file removed samples/snippets/resources/googlework_short.mp4
Binary file not shown.
139 changes: 0 additions & 139 deletions samples/snippets/src/main/java/beta/video/Detect.java

This file was deleted.

Loading