From 190f0f89fef1b3fa639cb35cd1f7188be22b7ac0 Mon Sep 17 00:00:00 2001
From: Gus Class <gguuss@gmail.com>
Date: Wed, 31 May 2017 13:07:01 -0700
Subject: [PATCH] Updates examples for video
 [(#968)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/968)

---
 .../samples/analyze/README.rst                       | 10 +++++-----
 .../samples/analyze/analyze.py                       |  2 +-
 .../samples/analyze/resources/README.md              | 12 ++++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 packages/google-cloud-videointelligence/samples/analyze/resources/README.md

diff --git a/packages/google-cloud-videointelligence/samples/analyze/README.rst b/packages/google-cloud-videointelligence/samples/analyze/README.rst
index cb3d4954dd71..0f8f74dda280 100644
--- a/packages/google-cloud-videointelligence/samples/analyze/README.rst
+++ b/packages/google-cloud-videointelligence/samples/analyze/README.rst
@@ -88,11 +88,11 @@ To run this sample:
     
     Usage Examples:
     
-        python analyze.py faces gs://cloudmleap/video/next/volleyball_court.mp4
-        python analyze.py labels gs://cloudmleap/video/next/fox-snatched.mp4
-        python analyze.py labels_file resources/fox-snatched.mp4
-        python analyze.py shots gs://cloudmleap/video/next/gbikes_dinosaur.mp4
-        python analyze.py safe_search gs://cloudmleap/video/next/animals.mp4
+        python analyze.py faces gs://demomaker/google_gmail.mp4
+        python analyze.py labels gs:/cloud-ml-sandbox/video/chicago.mp4
+        python analyze.py labels_file resources/cat.mp4
+        python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
+        python analyze.py safe_search gs://demomaker/gbikes_dinosaur.mp4
     
     positional arguments:
       {faces,labels,labels_file,safe_search,shots}
diff --git a/packages/google-cloud-videointelligence/samples/analyze/analyze.py b/packages/google-cloud-videointelligence/samples/analyze/analyze.py
index 4054807d6994..285c62bcaaed 100644
--- a/packages/google-cloud-videointelligence/samples/analyze/analyze.py
+++ b/packages/google-cloud-videointelligence/samples/analyze/analyze.py
@@ -21,7 +21,7 @@
 
     python analyze.py faces gs://demomaker/google_gmail.mp4
     python analyze.py labels gs:/cloud-ml-sandbox/video/chicago.mp4
-    python analyze.py labels_file resources/fox-snatched.mp4
+    python analyze.py labels_file resources/cat.mp4
     python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
     python analyze.py safe_search gs://demomaker/gbikes_dinosaur.mp4
 
diff --git a/packages/google-cloud-videointelligence/samples/analyze/resources/README.md b/packages/google-cloud-videointelligence/samples/analyze/resources/README.md
new file mode 100644
index 000000000000..a88a180da90b
--- /dev/null
+++ b/packages/google-cloud-videointelligence/samples/analyze/resources/README.md
@@ -0,0 +1,12 @@
+# Resources folder for local files
+
+Copy from Google Cloud Storage to this folder for testing video analysis
+of local files. For `cat.mp4` used in the usage example, run the following
+`gcloud` command.
+
+    gsutil cp gs://demomaker/cat.mp4 .
+
+Now, when you run the following command, the video used for label detection
+will be passed from here:
+
+    python analyze.py labels_file resources/cat.mp4