Skip to content

Commit

Permalink
Remove video samples which have moved. (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored Oct 24, 2017
1 parent 18e9b91 commit 5c17b77
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 657 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on Google Cloud Platform.
* [Google Cloud Prediction API](#google-cloud-prediction-api)
* [Google Cloud Speech API (Beta)](#google-cloud-speech-api-beta)
* [Google Translate API](#google-translate-api)
* [Google Cloud Video Intelligence API](#google-cloud-video-intelligence-api)
* [Google Cloud Vision API](#google-cloud-vision-api)
* [**Management Tools**](#management-tools)
* [Stackdriver Debugger](#stackdriver-debugger)
Expand Down Expand Up @@ -334,6 +335,16 @@ View the [Translate API Node.js samples][translate_samples].
[translate_docs]: https://cloud.google.com/translate/docs/
[translate_samples]: translate

#### Google Cloud Video Intelligence API

The [Cloud Video Intelligence API][video_intelligence_docs] allows developers to
use Google video analysis technology as part of their applications.

View the [Cloud Video Intelligence API Node.js samples][video_intelligence_samples].

[video_intelligence_docs]: https://cloud.google.com/video-intelligence/docs/
[video_intelligence_samples]: https://github.com/googleapis/nodejs-video-intelligence/tree/master/samples

#### Google Cloud Vision API

The [Cloud Vision API][vision_docs] allows developers to easily integrate vision
Expand Down
2 changes: 0 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,4 @@ deployment:
- node scripts/build "storage-transfer"
- node scripts/build "trace"
- node scripts/build "translate"
# TODO: This build times out. Does video need more than 10 minutes?
# - node scripts/build "video"
- node scripts/build "vision"
80 changes: 4 additions & 76 deletions video/README.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,5 @@
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
Samples for the [Google Cloud Video Intelligence API Node.js Client][client]
have moved to [github.com/googleapis/nodejs-video-intelligence/tree/master/samples/][samples].

# Google Cloud Video Intelligence API Node.js Samples

[![Build](https://storage.googleapis.com/cloud-docs-samples-badges/GoogleCloudPlatform/nodejs-docs-samples/nodejs-docs-samples-videointelligence.svg)]()

The [Cloud Video Intelligence API](https://cloud.google.com/video-intelligence) allows developers to use Google video analysis technology as part of their applications.

## Table of Contents

* [Setup](#setup)
* [Samples](#samples)
* [Video Intelligence](#video-intelligence)
* [Running the tests](#running-the-tests)

## Setup

1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
1. Install dependencies:

With **npm**:

npm install

With **yarn**:

yarn install

[prereq]: ../README.md#prerequisites
[run]: ../README.md#how-to-run-a-sample

## Samples

### Video Intelligence

View the [documentation][video_0_docs] or the [source code][video_0_code].

__Usage:__ `node analyze.js --help`

```
Commands:
faces <gcsUri> Analyzes faces in a video stored in Google Cloud Storage using the Cloud Video Intelligence API.
shots <gcsUri> Analyzes shot angles in a video stored in Google Cloud Storage using the Cloud Video
Intelligence API.
labels-gcs <gcsUri> Labels objects in a video stored in Google Cloud Storage using the Cloud Video Intelligence API.
labels-file <gcsUri> Labels objects in a video stored locally using the Cloud Video Intelligence API.
safe-search <gcsUri> Detects explicit content in a video stored in Google Cloud Storage.
Options:
--help Show help [boolean]
Examples:
node analyze.js faces gs://demomaker/larry_sergey_ice_bucket_short.mp4
node analyze.js shots gs://demomaker/sushi.mp4
node analyze.js labels-gcs gs://demomaker/tomatoes.mp4
node analyze.js labels-file resources/cat.mp4
node analyze.js safe-search gs://demomaker/tomatoes.mp4
For more information, see https://cloud.google.com/video-intelligence/docs
```

[video_0_docs]: https://cloud.google.com/video-intelligence/docs
[video_0_code]: analyze.js

## Running the tests

1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.

1. Run the tests:

With **npm**:

npm test

With **yarn**:

yarn test
[client]: https://github.com/googleapis/nodejs-video-intelligence
[samples]: https://github.com/googleapis/nodejs-video-intelligence/tree/master/samples
Loading

0 comments on commit 5c17b77

Please sign in to comment.